[−]Struct jni_android_sys::android::os::Process
public class Process
Required feature: "android-os-Process"
Methods
impl Process
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Process>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Process>, Local<'env, Throwable>>
pub fn getElapsedCpuTime<'env>(
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
pub fn getStartElapsedRealtime<'env>(
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
pub fn getStartUptimeMillis<'env>(
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
pub fn is64Bit<'env>(
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
pub fn myPid<'env>(__jni_env: &'env Env) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn myTid<'env>(__jni_env: &'env Env) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn myUid<'env>(__jni_env: &'env Env) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn myUserHandle<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn isApplicationUid<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn isIsolated<'env>(
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
pub fn getUidForName<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getGidForName<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setThreadPriority_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getExclusiveCores<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
pub fn setThreadPriority_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getThreadPriority<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn supportsProcesses<'env>(
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
pub fn killProcess<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn sendSignal<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub const FIRST_APPLICATION_UID: i32
[src]
public static final FIRST_APPLICATION_UID
pub const LAST_APPLICATION_UID: i32
[src]
public static final LAST_APPLICATION_UID
pub const PHONE_UID: i32
[src]
public static final PHONE_UID
pub const SIGNAL_KILL: i32
[src]
public static final SIGNAL_KILL
pub const SIGNAL_QUIT: i32
[src]
public static final SIGNAL_QUIT
pub const SIGNAL_USR1: i32
[src]
public static final SIGNAL_USR1
pub const SYSTEM_UID: i32
[src]
public static final SYSTEM_UID
pub const THREAD_PRIORITY_AUDIO: i32
[src]
public static final THREAD_PRIORITY_AUDIO
pub const THREAD_PRIORITY_BACKGROUND: i32
[src]
public static final THREAD_PRIORITY_BACKGROUND
pub const THREAD_PRIORITY_DEFAULT: i32
[src]
public static final THREAD_PRIORITY_DEFAULT
pub const THREAD_PRIORITY_DISPLAY: i32
[src]
public static final THREAD_PRIORITY_DISPLAY
pub const THREAD_PRIORITY_FOREGROUND: i32
[src]
public static final THREAD_PRIORITY_FOREGROUND
pub const THREAD_PRIORITY_LESS_FAVORABLE: i32
[src]
public static final THREAD_PRIORITY_LESS_FAVORABLE
pub const THREAD_PRIORITY_LOWEST: i32
[src]
public static final THREAD_PRIORITY_LOWEST
pub const THREAD_PRIORITY_MORE_FAVORABLE: i32
[src]
public static final THREAD_PRIORITY_MORE_FAVORABLE
pub const THREAD_PRIORITY_URGENT_AUDIO: i32
[src]
public static final THREAD_PRIORITY_URGENT_AUDIO
pub const THREAD_PRIORITY_URGENT_DISPLAY: i32
[src]
public static final THREAD_PRIORITY_URGENT_DISPLAY
pub const THREAD_PRIORITY_VIDEO: i32
[src]
public static final THREAD_PRIORITY_VIDEO
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Process
impl AsValidJObjectAndEnv for Process
impl Deref for Process
impl JniType for Process
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Process
impl !Send for Process
impl !Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,