Struct android_manifest::Profileable [−][src]
pub struct Profileable {
pub shell: bool,
}Expand description
Specifies how the following tools can access profiling information:
android.os.Tracetracing APIssimpleperfam profilecommands
Unless this element is declared, and the <shell> tag set to true,
the above tools and APIs will work only when an app is debuggable.
Debuggable apps incur significant and varied performance degradation,
and are not useful for measuring timing accurately.This element is strongly
recommended for local performance measurements, in order to capture accurate results.
XML Syntax
<profileable android:shell=["true" | "false"] />
Contained in
Introduced in
API Level 29
Fields
shell: boolIndicates whether this application may be profiled by the shell process.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
fn serialize_attributes(
&self,
source_attributes: Vec<OwnedAttribute>,
source_namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>[src]Auto Trait Implementations
impl RefUnwindSafe for Profileableimpl Send for Profileableimpl Sync for Profileableimpl Unpin for Profileableimpl UnwindSafe for ProfileableBlanket Implementations
Mutably borrows from an owned value. Read more