[−]Struct jni_android_sys::android::content::pm::PackageManager
public class PackageManager
Required feature: "android-content-pm-PackageManager"
Methods
impl PackageManager
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, PackageManager>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, PackageManager>, Local<'env, Throwable>>
pub fn getPackageInfo_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageInfo", "java-lang-String"
pub fn getPackageInfo_VersionedPackage_int<'env>(
&'env self,
arg0: impl Into<Option<&'env VersionedPackage>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VersionedPackage>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageInfo", "android-content-pm-VersionedPackage"
pub fn currentToCanonicalPackageNames<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
currentToCanonicalPackageNames
Required features: "java-lang-String"
pub fn canonicalToCurrentPackageNames<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
canonicalToCurrentPackageNames
Required features: "java-lang-String"
pub fn getLaunchIntentForPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "java-lang-String"
pub fn getLeanbackLaunchIntentForPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
getLeanbackLaunchIntentForPackage
Required features: "android-content-Intent", "java-lang-String"
pub fn getPackageGids_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPackageGids_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPackageUid<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPermissionInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PermissionInfo", "java-lang-String"
pub fn queryPermissionsByGroup<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-List"
pub fn getPermissionGroupInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionGroupInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionGroupInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PermissionGroupInfo", "java-lang-String"
pub fn getAllPermissionGroups<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getApplicationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-String"
pub fn getActivityInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-pm-ActivityInfo"
pub fn getReceiverInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-pm-ActivityInfo"
pub fn getServiceInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ServiceInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ServiceInfo>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-pm-ServiceInfo"
pub fn getProviderInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-pm-ProviderInfo"
pub fn getInstalledPackages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getPackagesHoldingPermissions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-List"
pub fn checkPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isPermissionRevokedByPolicy<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn addPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-pm-PermissionInfo"
pub fn addPermissionAsync<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-pm-PermissionInfo"
pub fn removePermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkSignatures_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkSignatures_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getPackagesForUid<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getNameForUid<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getInstalledApplications<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn isInstantApp<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isInstantApp_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getInstantAppCookieMaxBytes<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getInstantAppCookie<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn clearInstantAppCookie<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn updateInstantAppCookie<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn getSystemSharedLibraryNames<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSharedLibraries<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getChangedPackages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ChangedPackages>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ChangedPackages>>, Local<'env, Throwable>>
Required features: "android-content-pm-ChangedPackages"
pub fn getSystemAvailableFeatures<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<FeatureInfo, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<FeatureInfo, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-pm-FeatureInfo"
pub fn hasSystemFeature_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn hasSystemFeature_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn resolveActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-pm-ResolveInfo"
pub fn queryIntentActivities<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "java-util-List"
pub fn queryIntentActivityOptions<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent", "java-util-List"
pub fn queryBroadcastReceivers<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "java-util-List"
pub fn resolveService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-pm-ResolveInfo"
pub fn queryIntentServices<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "java-util-List"
pub fn queryIntentContentProviders<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "java-util-List"
pub fn resolveContentProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-ProviderInfo", "java-lang-String"
pub fn queryContentProviders<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-List"
pub fn getInstrumentationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, InstrumentationInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, InstrumentationInfo>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-pm-InstrumentationInfo"
pub fn queryInstrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-List"
pub fn getDrawable<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable", "java-lang-String"
pub fn getActivityIcon_ComponentName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn getActivityIcon_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn getActivityBanner_ComponentName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn getActivityBanner_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn getDefaultActivityIcon<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getApplicationIcon_ApplicationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn getApplicationIcon_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn getApplicationBanner_ApplicationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn getApplicationBanner_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn getActivityLogo_ComponentName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn getActivityLogo_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn getApplicationLogo_ApplicationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn getApplicationLogo_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn getUserBadgedIcon<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable", "android-os-UserHandle"
pub fn getUserBadgedDrawableForDensity<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
getUserBadgedDrawableForDensity
Required features: "android-graphics-Rect", "android-graphics-drawable-Drawable", "android-os-UserHandle"
pub fn getUserBadgedLabel<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle", "java-lang-CharSequence"
pub fn getText<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-CharSequence", "java-lang-String"
pub fn getXml<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, XmlResourceParser>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, XmlResourceParser>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-content-res-XmlResourceParser", "java-lang-String"
pub fn getApplicationLabel<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-CharSequence"
pub fn getResourcesForActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-res-Resources"
pub fn getResourcesForApplication_ApplicationInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo", "android-content-res-Resources"
pub fn getResourcesForApplication_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources", "java-lang-String"
pub fn getPackageArchiveInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageInfo", "java-lang-String"
pub fn verifyPendingInstall<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn extendVerificationTimeout<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
pub fn setInstallerPackageName<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getInstallerPackageName<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn addPackageToPreferred<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn removePackageFromPreferred<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPreferredPackages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn addPreferredActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentFilter>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<ComponentName, Throwable>>>,
arg3: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentFilter>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<ComponentName, Throwable>>>,
arg3: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-IntentFilter"
pub fn clearPackagePreferredActivities<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
clearPackagePreferredActivities
Required features: "java-lang-String"
pub fn getPreferredActivities<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-List"
pub fn setComponentEnabledSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getComponentEnabledSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setApplicationEnabledSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getApplicationEnabledSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isSafeMode<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isPackageSuspended<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getSuspendedPackageAppExtras<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn setApplicationCategoryHint<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPackageInstaller<'env>(
&'env self
) -> Result<Option<Local<'env, PackageInstaller>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PackageInstaller>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageInstaller"
pub fn canRequestPackageInstalls<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn hasSigningCertificate_String_byte_array_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn hasSigningCertificate_int_byte_array_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
pub const CERT_INPUT_RAW_X509: i32
[src]
public static final CERT_INPUT_RAW_X509
pub const CERT_INPUT_SHA256: i32
[src]
public static final CERT_INPUT_SHA256
pub const COMPONENT_ENABLED_STATE_DEFAULT: i32
[src]
public static final COMPONENT_ENABLED_STATE_DEFAULT
pub const COMPONENT_ENABLED_STATE_DISABLED: i32
[src]
public static final COMPONENT_ENABLED_STATE_DISABLED
pub const COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED: i32
[src]
public static final COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
pub const COMPONENT_ENABLED_STATE_DISABLED_USER: i32
[src]
public static final COMPONENT_ENABLED_STATE_DISABLED_USER
pub const COMPONENT_ENABLED_STATE_ENABLED: i32
[src]
public static final COMPONENT_ENABLED_STATE_ENABLED
pub const DONT_KILL_APP: i32
[src]
public static final DONT_KILL_APP
pub const EXTRA_VERIFICATION_ID: &'static str
[src]
public static final EXTRA_VERIFICATION_ID
pub const EXTRA_VERIFICATION_RESULT: &'static str
[src]
public static final EXTRA_VERIFICATION_RESULT
pub const FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS: &'static str
[src]
public static final FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS
pub const FEATURE_APP_WIDGETS: &'static str
[src]
public static final FEATURE_APP_WIDGETS
pub const FEATURE_AUDIO_LOW_LATENCY: &'static str
[src]
public static final FEATURE_AUDIO_LOW_LATENCY
pub const FEATURE_AUDIO_OUTPUT: &'static str
[src]
public static final FEATURE_AUDIO_OUTPUT
pub const FEATURE_AUDIO_PRO: &'static str
[src]
public static final FEATURE_AUDIO_PRO
pub const FEATURE_AUTOFILL: &'static str
[src]
public static final FEATURE_AUTOFILL
pub const FEATURE_AUTOMOTIVE: &'static str
[src]
public static final FEATURE_AUTOMOTIVE
pub const FEATURE_BACKUP: &'static str
[src]
public static final FEATURE_BACKUP
pub const FEATURE_BLUETOOTH: &'static str
[src]
public static final FEATURE_BLUETOOTH
pub const FEATURE_BLUETOOTH_LE: &'static str
[src]
public static final FEATURE_BLUETOOTH_LE
pub const FEATURE_CAMERA: &'static str
[src]
public static final FEATURE_CAMERA
pub const FEATURE_CAMERA_ANY: &'static str
[src]
public static final FEATURE_CAMERA_ANY
pub const FEATURE_CAMERA_AR: &'static str
[src]
public static final FEATURE_CAMERA_AR
pub const FEATURE_CAMERA_AUTOFOCUS: &'static str
[src]
public static final FEATURE_CAMERA_AUTOFOCUS
pub const FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING: &'static str
[src]
public static final FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING
pub const FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR: &'static str
[src]
public static final FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR
pub const FEATURE_CAMERA_CAPABILITY_RAW: &'static str
[src]
public static final FEATURE_CAMERA_CAPABILITY_RAW
pub const FEATURE_CAMERA_EXTERNAL: &'static str
[src]
public static final FEATURE_CAMERA_EXTERNAL
pub const FEATURE_CAMERA_FLASH: &'static str
[src]
public static final FEATURE_CAMERA_FLASH
pub const FEATURE_CAMERA_FRONT: &'static str
[src]
public static final FEATURE_CAMERA_FRONT
pub const FEATURE_CAMERA_LEVEL_FULL: &'static str
[src]
public static final FEATURE_CAMERA_LEVEL_FULL
pub const FEATURE_CANT_SAVE_STATE: &'static str
[src]
public static final FEATURE_CANT_SAVE_STATE
pub const FEATURE_COMPANION_DEVICE_SETUP: &'static str
[src]
public static final FEATURE_COMPANION_DEVICE_SETUP
pub const FEATURE_CONNECTION_SERVICE: &'static str
[src]
public static final FEATURE_CONNECTION_SERVICE
pub const FEATURE_CONSUMER_IR: &'static str
[src]
public static final FEATURE_CONSUMER_IR
pub const FEATURE_DEVICE_ADMIN: &'static str
[src]
public static final FEATURE_DEVICE_ADMIN
pub const FEATURE_EMBEDDED: &'static str
[src]
public static final FEATURE_EMBEDDED
pub const FEATURE_ETHERNET: &'static str
[src]
public static final FEATURE_ETHERNET
pub const FEATURE_FAKETOUCH: &'static str
[src]
public static final FEATURE_FAKETOUCH
pub const FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT: &'static str
[src]
public static final FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT
pub const FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND: &'static str
[src]
public static final FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND
pub const FEATURE_FINGERPRINT: &'static str
[src]
public static final FEATURE_FINGERPRINT
pub const FEATURE_FREEFORM_WINDOW_MANAGEMENT: &'static str
[src]
public static final FEATURE_FREEFORM_WINDOW_MANAGEMENT
pub const FEATURE_GAMEPAD: &'static str
[src]
public static final FEATURE_GAMEPAD
pub const FEATURE_HIFI_SENSORS: &'static str
[src]
public static final FEATURE_HIFI_SENSORS
pub const FEATURE_HOME_SCREEN: &'static str
[src]
public static final FEATURE_HOME_SCREEN
pub const FEATURE_INPUT_METHODS: &'static str
[src]
public static final FEATURE_INPUT_METHODS
pub const FEATURE_LEANBACK: &'static str
[src]
public static final FEATURE_LEANBACK
pub const FEATURE_LEANBACK_ONLY: &'static str
[src]
public static final FEATURE_LEANBACK_ONLY
pub const FEATURE_LIVE_TV: &'static str
[src]
public static final FEATURE_LIVE_TV
pub const FEATURE_LIVE_WALLPAPER: &'static str
[src]
public static final FEATURE_LIVE_WALLPAPER
pub const FEATURE_LOCATION: &'static str
[src]
public static final FEATURE_LOCATION
pub const FEATURE_LOCATION_GPS: &'static str
[src]
public static final FEATURE_LOCATION_GPS
pub const FEATURE_LOCATION_NETWORK: &'static str
[src]
public static final FEATURE_LOCATION_NETWORK
pub const FEATURE_MANAGED_USERS: &'static str
[src]
public static final FEATURE_MANAGED_USERS
pub const FEATURE_MICROPHONE: &'static str
[src]
public static final FEATURE_MICROPHONE
pub const FEATURE_MIDI: &'static str
[src]
public static final FEATURE_MIDI
pub const FEATURE_NFC: &'static str
[src]
public static final FEATURE_NFC
pub const FEATURE_NFC_HOST_CARD_EMULATION: &'static str
[src]
public static final FEATURE_NFC_HOST_CARD_EMULATION
pub const FEATURE_NFC_HOST_CARD_EMULATION_NFCF: &'static str
[src]
public static final FEATURE_NFC_HOST_CARD_EMULATION_NFCF
pub const FEATURE_OPENGLES_EXTENSION_PACK: &'static str
[src]
public static final FEATURE_OPENGLES_EXTENSION_PACK
pub const FEATURE_PC: &'static str
[src]
public static final FEATURE_PC
pub const FEATURE_PICTURE_IN_PICTURE: &'static str
[src]
public static final FEATURE_PICTURE_IN_PICTURE
pub const FEATURE_PRINTING: &'static str
[src]
public static final FEATURE_PRINTING
pub const FEATURE_RAM_LOW: &'static str
[src]
public static final FEATURE_RAM_LOW
pub const FEATURE_RAM_NORMAL: &'static str
[src]
public static final FEATURE_RAM_NORMAL
pub const FEATURE_SCREEN_LANDSCAPE: &'static str
[src]
public static final FEATURE_SCREEN_LANDSCAPE
pub const FEATURE_SCREEN_PORTRAIT: &'static str
[src]
public static final FEATURE_SCREEN_PORTRAIT
pub const FEATURE_SECURELY_REMOVES_USERS: &'static str
[src]
public static final FEATURE_SECURELY_REMOVES_USERS
pub const FEATURE_SENSOR_ACCELEROMETER: &'static str
[src]
public static final FEATURE_SENSOR_ACCELEROMETER
pub const FEATURE_SENSOR_AMBIENT_TEMPERATURE: &'static str
[src]
public static final FEATURE_SENSOR_AMBIENT_TEMPERATURE
pub const FEATURE_SENSOR_BAROMETER: &'static str
[src]
public static final FEATURE_SENSOR_BAROMETER
pub const FEATURE_SENSOR_COMPASS: &'static str
[src]
public static final FEATURE_SENSOR_COMPASS
pub const FEATURE_SENSOR_GYROSCOPE: &'static str
[src]
public static final FEATURE_SENSOR_GYROSCOPE
pub const FEATURE_SENSOR_HEART_RATE: &'static str
[src]
public static final FEATURE_SENSOR_HEART_RATE
pub const FEATURE_SENSOR_HEART_RATE_ECG: &'static str
[src]
public static final FEATURE_SENSOR_HEART_RATE_ECG
pub const FEATURE_SENSOR_LIGHT: &'static str
[src]
public static final FEATURE_SENSOR_LIGHT
pub const FEATURE_SENSOR_PROXIMITY: &'static str
[src]
public static final FEATURE_SENSOR_PROXIMITY
pub const FEATURE_SENSOR_RELATIVE_HUMIDITY: &'static str
[src]
public static final FEATURE_SENSOR_RELATIVE_HUMIDITY
pub const FEATURE_SENSOR_STEP_COUNTER: &'static str
[src]
public static final FEATURE_SENSOR_STEP_COUNTER
pub const FEATURE_SENSOR_STEP_DETECTOR: &'static str
[src]
public static final FEATURE_SENSOR_STEP_DETECTOR
pub const FEATURE_SIP: &'static str
[src]
public static final FEATURE_SIP
pub const FEATURE_SIP_VOIP: &'static str
[src]
public static final FEATURE_SIP_VOIP
pub const FEATURE_STRONGBOX_KEYSTORE: &'static str
[src]
public static final FEATURE_STRONGBOX_KEYSTORE
pub const FEATURE_TELEPHONY: &'static str
[src]
public static final FEATURE_TELEPHONY
pub const FEATURE_TELEPHONY_CDMA: &'static str
[src]
public static final FEATURE_TELEPHONY_CDMA
pub const FEATURE_TELEPHONY_EUICC: &'static str
[src]
public static final FEATURE_TELEPHONY_EUICC
pub const FEATURE_TELEPHONY_GSM: &'static str
[src]
public static final FEATURE_TELEPHONY_GSM
pub const FEATURE_TELEPHONY_MBMS: &'static str
[src]
public static final FEATURE_TELEPHONY_MBMS
pub const FEATURE_TELEVISION: &'static str
[src]
public static final FEATURE_TELEVISION
pub const FEATURE_TOUCHSCREEN: &'static str
[src]
public static final FEATURE_TOUCHSCREEN
pub const FEATURE_TOUCHSCREEN_MULTITOUCH: &'static str
[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH
pub const FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT: &'static str
[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT
pub const FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND: &'static str
[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND
pub const FEATURE_USB_ACCESSORY: &'static str
[src]
public static final FEATURE_USB_ACCESSORY
pub const FEATURE_USB_HOST: &'static str
[src]
public static final FEATURE_USB_HOST
pub const FEATURE_VERIFIED_BOOT: &'static str
[src]
public static final FEATURE_VERIFIED_BOOT
pub const FEATURE_VR_HEADTRACKING: &'static str
[src]
public static final FEATURE_VR_HEADTRACKING
pub const FEATURE_VR_MODE: &'static str
[src]
public static final FEATURE_VR_MODE
pub const FEATURE_VR_MODE_HIGH_PERFORMANCE: &'static str
[src]
public static final FEATURE_VR_MODE_HIGH_PERFORMANCE
pub const FEATURE_VULKAN_HARDWARE_COMPUTE: &'static str
[src]
public static final FEATURE_VULKAN_HARDWARE_COMPUTE
pub const FEATURE_VULKAN_HARDWARE_LEVEL: &'static str
[src]
public static final FEATURE_VULKAN_HARDWARE_LEVEL
pub const FEATURE_VULKAN_HARDWARE_VERSION: &'static str
[src]
public static final FEATURE_VULKAN_HARDWARE_VERSION
pub const FEATURE_WATCH: &'static str
[src]
public static final FEATURE_WATCH
pub const FEATURE_WEBVIEW: &'static str
[src]
public static final FEATURE_WEBVIEW
pub const FEATURE_WIFI: &'static str
[src]
public static final FEATURE_WIFI
pub const FEATURE_WIFI_AWARE: &'static str
[src]
public static final FEATURE_WIFI_AWARE
pub const FEATURE_WIFI_DIRECT: &'static str
[src]
public static final FEATURE_WIFI_DIRECT
pub const FEATURE_WIFI_PASSPOINT: &'static str
[src]
public static final FEATURE_WIFI_PASSPOINT
pub const FEATURE_WIFI_RTT: &'static str
[src]
public static final FEATURE_WIFI_RTT
pub const GET_ACTIVITIES: i32
[src]
public static final GET_ACTIVITIES
pub const GET_CONFIGURATIONS: i32
[src]
public static final GET_CONFIGURATIONS
pub const GET_DISABLED_COMPONENTS: i32
[src]
public static final GET_DISABLED_COMPONENTS
pub const GET_DISABLED_UNTIL_USED_COMPONENTS: i32
[src]
public static final GET_DISABLED_UNTIL_USED_COMPONENTS
pub const GET_GIDS: i32
[src]
public static final GET_GIDS
pub const GET_INSTRUMENTATION: i32
[src]
public static final GET_INSTRUMENTATION
pub const GET_INTENT_FILTERS: i32
[src]
public static final GET_INTENT_FILTERS
pub const GET_META_DATA: i32
[src]
public static final GET_META_DATA
pub const GET_PERMISSIONS: i32
[src]
public static final GET_PERMISSIONS
pub const GET_PROVIDERS: i32
[src]
public static final GET_PROVIDERS
pub const GET_RECEIVERS: i32
[src]
public static final GET_RECEIVERS
pub const GET_RESOLVED_FILTER: i32
[src]
public static final GET_RESOLVED_FILTER
pub const GET_SERVICES: i32
[src]
public static final GET_SERVICES
pub const GET_SHARED_LIBRARY_FILES: i32
[src]
public static final GET_SHARED_LIBRARY_FILES
pub const GET_SIGNATURES: i32
[src]
public static final GET_SIGNATURES
pub const GET_SIGNING_CERTIFICATES: i32
[src]
public static final GET_SIGNING_CERTIFICATES
pub const GET_UNINSTALLED_PACKAGES: i32
[src]
public static final GET_UNINSTALLED_PACKAGES
pub const GET_URI_PERMISSION_PATTERNS: i32
[src]
public static final GET_URI_PERMISSION_PATTERNS
pub const INSTALL_REASON_DEVICE_RESTORE: i32
[src]
public static final INSTALL_REASON_DEVICE_RESTORE
pub const INSTALL_REASON_DEVICE_SETUP: i32
[src]
public static final INSTALL_REASON_DEVICE_SETUP
pub const INSTALL_REASON_POLICY: i32
[src]
public static final INSTALL_REASON_POLICY
pub const INSTALL_REASON_UNKNOWN: i32
[src]
public static final INSTALL_REASON_UNKNOWN
pub const INSTALL_REASON_USER: i32
[src]
public static final INSTALL_REASON_USER
pub const MATCH_ALL: i32
[src]
public static final MATCH_ALL
pub const MATCH_DEFAULT_ONLY: i32
[src]
public static final MATCH_DEFAULT_ONLY
pub const MATCH_DIRECT_BOOT_AWARE: i32
[src]
public static final MATCH_DIRECT_BOOT_AWARE
pub const MATCH_DIRECT_BOOT_UNAWARE: i32
[src]
public static final MATCH_DIRECT_BOOT_UNAWARE
pub const MATCH_DISABLED_COMPONENTS: i32
[src]
public static final MATCH_DISABLED_COMPONENTS
pub const MATCH_DISABLED_UNTIL_USED_COMPONENTS: i32
[src]
public static final MATCH_DISABLED_UNTIL_USED_COMPONENTS
pub const MATCH_SYSTEM_ONLY: i32
[src]
public static final MATCH_SYSTEM_ONLY
pub const MATCH_UNINSTALLED_PACKAGES: i32
[src]
public static final MATCH_UNINSTALLED_PACKAGES
pub const MAXIMUM_VERIFICATION_TIMEOUT: i64
[src]
public static final MAXIMUM_VERIFICATION_TIMEOUT
pub const PERMISSION_DENIED: i32
[src]
public static final PERMISSION_DENIED
pub const PERMISSION_GRANTED: i32
[src]
public static final PERMISSION_GRANTED
pub const SIGNATURE_FIRST_NOT_SIGNED: i32
[src]
public static final SIGNATURE_FIRST_NOT_SIGNED
pub const SIGNATURE_MATCH: i32
[src]
public static final SIGNATURE_MATCH
pub const SIGNATURE_NEITHER_SIGNED: i32
[src]
public static final SIGNATURE_NEITHER_SIGNED
pub const SIGNATURE_NO_MATCH: i32
[src]
public static final SIGNATURE_NO_MATCH
pub const SIGNATURE_SECOND_NOT_SIGNED: i32
[src]
public static final SIGNATURE_SECOND_NOT_SIGNED
pub const SIGNATURE_UNKNOWN_PACKAGE: i32
[src]
public static final SIGNATURE_UNKNOWN_PACKAGE
pub const VERIFICATION_ALLOW: i32
[src]
public static final VERIFICATION_ALLOW
pub const VERIFICATION_REJECT: i32
[src]
public static final VERIFICATION_REJECT
pub const VERSION_CODE_HIGHEST: i32
[src]
public static final VERSION_CODE_HIGHEST
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 PackageManager
impl AsValidJObjectAndEnv for PackageManager
impl Deref for PackageManager
impl JniType for PackageManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PackageManager
impl !Send for PackageManager
impl !Sync for PackageManager
impl Unpin for PackageManager
impl UnwindSafe for PackageManager
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>,