[]Struct jni_android_sys::android::os::Debug

#[repr(transparent)]
pub struct Debug(_);

public final class Debug

Required feature: "android-os-Debug"

Methods

impl Debug

pub fn waitForDebugger<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn waitingForDebugger<'env>(
    __jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isDebuggerConnected<'env>(
    __jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn changeDebugPort<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn startNativeTracing<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn stopNativeTracing<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn enableEmulatorTraceOutput<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn startMethodTracing<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn startMethodTracing_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

startMethodTracing

Required features: "java-lang-String"

pub fn startMethodTracing_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

startMethodTracing

Required features: "java-lang-String"

pub fn startMethodTracing_String_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

startMethodTracing

Required features: "java-lang-String"

pub fn startMethodTracingSampling<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

startMethodTracingSampling

Required features: "java-lang-String"

pub fn stopMethodTracing<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn threadCpuTimeNanos<'env>(
    __jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn startAllocCounting<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn stopAllocCounting<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalFreedCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalFreedCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalFreedSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalFreedSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalGcInvocationCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalGcInvocationCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalClassInitCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalClassInitCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalClassInitTime<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalClassInitTime<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalExternalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalExternalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalExternalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalExternalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalExternalFreedCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalExternalFreedCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getGlobalExternalFreedSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetGlobalExternalFreedSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getThreadAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetThreadAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getThreadAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetThreadAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getThreadExternalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetThreadExternalAllocCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getThreadExternalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetThreadExternalAllocSize<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getThreadGcInvocationCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn resetThreadGcInvocationCount<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn resetAllCounts<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getRuntimeStat<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getRuntimeStat

Required features: "java-lang-String"

pub fn getRuntimeStats<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]

getRuntimeStats

Required features: "java-util-Map"

pub fn getNativeHeapSize<'env>(
    __jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getNativeHeapAllocatedSize<'env>(
    __jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getNativeHeapFreeSize<'env>(
    __jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getMemoryInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Debug_MemoryInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

getMemoryInfo

Required features: "android-os-Debug_MemoryInfo"

pub fn getPss<'env>(__jni_env: &'env Env) -> Result<i64, Local<'env, Throwable>>[src]

pub fn setAllocationLimit<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn setGlobalAllocationLimit<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn printLoadedClasses<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getLoadedClassCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn dumpHprofData<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpHprofData

Required features: "java-lang-String"

pub fn getBinderSentTransactions<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getBinderReceivedTransactions<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getBinderLocalObjectCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getBinderProxyObjectCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getBinderDeathObjectCount<'env>(
    __jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn dumpService<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FileDescriptor>>,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dumpService

Required features: "java-io-FileDescriptor", "java-lang-String"

pub fn attachJvmtiAgent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
[src]

attachJvmtiAgent

Required features: "java-lang-ClassLoader", "java-lang-String"

pub const SHOW_CLASSLOADER: i32[src]

public static final SHOW_CLASSLOADER

pub const SHOW_FULL_DETAIL: i32[src]

public static final SHOW_FULL_DETAIL

pub const SHOW_INITIALIZED: i32[src]

public static final SHOW_INITIALIZED

pub const TRACE_COUNT_ALLOCS: i32[src]

Deprecated

public static final TRACE_COUNT_ALLOCS

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Debug

impl AsValidJObjectAndEnv for Debug

impl Deref for Debug

type Target = Object

The resulting type after dereferencing.

impl JniType for Debug

Auto Trait Implementations

impl RefUnwindSafe for Debug

impl !Send for Debug

impl !Sync for Debug

impl Unpin for Debug

impl UnwindSafe for Debug

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.