[−]Struct jni_android_sys::android::app::admin::DevicePolicyManager
public class DevicePolicyManager
Required feature: "android-app-admin-DevicePolicyManager"
Methods
impl DevicePolicyManager
pub fn isAdminActive<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getActiveAdmins<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn removeActiveAdmin<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn hasGrantedPolicy<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setPasswordQuality<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordQuality<'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 setPasswordMinimumLength<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumLength<'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 setPasswordMinimumUpperCase<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumUpperCase<'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 setPasswordMinimumLowerCase<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumLowerCase<'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 setPasswordMinimumLetters<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumLetters<'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 setPasswordMinimumNumeric<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumNumeric<'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 setPasswordMinimumSymbols<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumSymbols<'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 setPasswordMinimumNonLetter<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordMinimumNonLetter<'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 setPasswordHistoryLength<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setPasswordExpirationTimeout<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordExpirationTimeout<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordExpiration<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPasswordHistoryLength<'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 getPasswordMaximumLength<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn isActivePasswordSufficient<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isUsingUnifiedPassword<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getCurrentFailedPasswordAttempts<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumFailedPasswordsForWipe<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
setMaximumFailedPasswordsForWipe
Required features: "android-content-ComponentName"
pub fn getMaximumFailedPasswordsForWipe<'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>>
getMaximumFailedPasswordsForWipe
Required features: "android-content-ComponentName"
pub fn resetPassword<'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 setResetPasswordToken<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn clearResetPasswordToken<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isResetPasswordTokenActive<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn resetPasswordWithToken<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ByteArray>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ByteArray>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setMaximumTimeToLock<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getMaximumTimeToLock<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setRequiredStrongAuthTimeout<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getRequiredStrongAuthTimeout<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn lockNow<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn lockNow_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wipeData_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wipeData_int_CharSequence<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setRecommendedGlobalProxy<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ProxyInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ProxyInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-net-ProxyInfo"
pub fn setStorageEncryption<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getStorageEncryption<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getStorageEncryptionStatus<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn installCaCert<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn uninstallCaCert<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getInstalledCaCerts<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn uninstallAllUserCaCerts<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn hasCaCertInstalled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn installKeyPair_ComponentName_PrivateKey_Certificate_String<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env Certificate>>,
arg3: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env Certificate>>,
arg3: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"
pub fn installKeyPair_ComponentName_PrivateKey_Certificate_array_String_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"
pub fn installKeyPair_ComponentName_PrivateKey_Certificate_array_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env PrivateKey>>,
arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"
pub fn removeKeyPair<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn generateKeyPair<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env KeyGenParameterSpec>>,
arg3: i32
) -> Result<Option<Local<'env, AttestedKeyPair>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env KeyGenParameterSpec>>,
arg3: i32
) -> Result<Option<Local<'env, AttestedKeyPair>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-security-AttestedKeyPair", "android-security-keystore-KeyGenParameterSpec", "java-lang-String"
pub fn isDeviceIdAttestationSupported<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setKeyPairCertificate<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env List>>,
arg3: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env List>>,
arg3: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"
pub fn setCertInstallerPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getCertInstallerPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setDelegatedScopes<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"
pub fn getDelegatedScopes<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"
pub fn getDelegatePackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"
pub fn setAlwaysOnVpnPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getAlwaysOnVpnPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setCameraDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getCameraDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn requestBugreport<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setScreenCaptureDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getScreenCaptureDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setAutoTimeRequired<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getAutoTimeRequired<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setKeyguardDisabledFeatures<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getKeyguardDisabledFeatures<'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 isDeviceOwnerApp<'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 clearDeviceOwnerApp<'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 clearProfileOwner<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setDeviceOwnerLockScreenInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getDeviceOwnerLockScreenInfo<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setPackagesSuspended<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: bool
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: bool
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isPackageSuspended<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setProfileEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setProfileName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isProfileOwnerApp<'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 addPersistentPreferredActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
addPersistentPreferredActivity
Required features: "android-content-ComponentName", "android-content-IntentFilter"
pub fn clearPackagePersistentPreferredActivities<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
clearPackagePersistentPreferredActivities
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setApplicationRestrictionsManagingPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
setApplicationRestrictionsManagingPackage
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getApplicationRestrictionsManagingPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
getApplicationRestrictionsManagingPackage
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isCallerApplicationRestrictionsManagingPackage<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setApplicationRestrictions<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn setTrustAgentConfiguration<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-PersistableBundle"
pub fn getTrustAgentConfiguration<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setCrossProfileCallerIdDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
setCrossProfileCallerIdDisabled
Required features: "android-content-ComponentName"
pub fn getCrossProfileCallerIdDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
getCrossProfileCallerIdDisabled
Required features: "android-content-ComponentName"
pub fn setCrossProfileContactsSearchDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
setCrossProfileContactsSearchDisabled
Required features: "android-content-ComponentName"
pub fn getCrossProfileContactsSearchDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
getCrossProfileContactsSearchDisabled
Required features: "android-content-ComponentName"
pub fn setBluetoothContactSharingDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
setBluetoothContactSharingDisabled
Required features: "android-content-ComponentName"
pub fn getBluetoothContactSharingDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
getBluetoothContactSharingDisabled
Required features: "android-content-ComponentName"
pub fn addCrossProfileIntentFilter<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-IntentFilter"
pub fn clearCrossProfileIntentFilters<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
clearCrossProfileIntentFilters
Required features: "android-content-ComponentName"
pub fn setPermittedAccessibilityServices<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
setPermittedAccessibilityServices
Required features: "android-content-ComponentName", "java-util-List"
pub fn getPermittedAccessibilityServices<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getPermittedAccessibilityServices
Required features: "android-content-ComponentName", "java-util-List"
pub fn setPermittedInputMethods<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn getPermittedInputMethods<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setPermittedCrossProfileNotificationListeners<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
setPermittedCrossProfileNotificationListeners
Required features: "android-content-ComponentName", "java-util-List"
pub fn getPermittedCrossProfileNotificationListeners<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getPermittedCrossProfileNotificationListeners
Required features: "android-content-ComponentName", "java-util-List"
pub fn getKeepUninstalledPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setKeepUninstalledPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn createAndManageUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ComponentName>>,
arg3: impl Into<Option<&'env PersistableBundle>>,
arg4: i32
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ComponentName>>,
arg3: impl Into<Option<&'env PersistableBundle>>,
arg4: i32
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-PersistableBundle", "android-os-UserHandle", "java-lang-String"
pub fn removeUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-UserHandle"
pub fn switchUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-UserHandle"
pub fn startUserInBackground<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-UserHandle"
pub fn stopUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-UserHandle"
pub fn logoutUser<'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 getSecondaryUsers<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn isEphemeralUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getApplicationRestrictions<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn addUserRestriction<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn clearUserRestriction<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getUserRestrictions<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle"
pub fn createAdminSupportIntent<'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 setApplicationHidden<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isApplicationHidden<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn enableSystemApp_ComponentName_String<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn enableSystemApp_ComponentName_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Intent>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Intent>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn installExistingPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setAccountManagementDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getAccountTypesWithManagementDisabled<'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>>
getAccountTypesWithManagementDisabled
Required features: "java-lang-String"
pub fn setLockTaskPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getLockTaskPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isLockTaskPermitted<'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 setLockTaskFeatures<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getLockTaskFeatures<'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 setGlobalSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setSystemSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setTime<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setTimeZone<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setSecureSetting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn setRestrictionsProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setMasterVolumeMuted<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isMasterVolumeMuted<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setUninstallBlocked<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isUninstallBlocked<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn addCrossProfileWidgetProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn removeCrossProfileWidgetProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
removeCrossProfileWidgetProvider
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getCrossProfileWidgetProviders<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getCrossProfileWidgetProviders
Required features: "android-content-ComponentName", "java-util-List"
pub fn setUserIcon<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-graphics-Bitmap"
pub fn setSystemUpdatePolicy<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env SystemUpdatePolicy>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env SystemUpdatePolicy>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-admin-SystemUpdatePolicy", "android-content-ComponentName"
pub fn getSystemUpdatePolicy<'env>(
&'env self
) -> Result<Option<Local<'env, SystemUpdatePolicy>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SystemUpdatePolicy>>, Local<'env, Throwable>>
Required features: "android-app-admin-SystemUpdatePolicy"
pub fn setKeyguardDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setStatusBarDisabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPendingSystemUpdate<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, SystemUpdateInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, SystemUpdateInfo>>, Local<'env, Throwable>>
Required features: "android-app-admin-SystemUpdateInfo", "android-content-ComponentName"
pub fn setPermissionPolicy<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getPermissionPolicy<'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 setPermissionGrantState<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn getPermissionGrantState<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn isProvisioningAllowed<'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 isManagedProfile<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getWifiMacAddress<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-String"
pub fn reboot<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setShortSupportMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getShortSupportMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn setLongSupportMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getLongSupportMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getParentProfileInstance<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, DevicePolicyManager>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, DevicePolicyManager>>, Local<'env, Throwable>>
Required features: "android-app-admin-DevicePolicyManager", "android-content-ComponentName"
pub fn setSecurityLoggingEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isSecurityLoggingEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn retrieveSecurityLogs<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setMeteredDataDisabledPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
setMeteredDataDisabledPackages
Required features: "android-content-ComponentName", "java-util-List"
pub fn getMeteredDataDisabledPackages<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getMeteredDataDisabledPackages
Required features: "android-content-ComponentName", "java-util-List"
pub fn retrievePreRebootSecurityLogs<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setOrganizationColor<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getOrganizationColor<'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 setOrganizationName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getOrganizationName<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn setAffiliationIds<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Set>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Set>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-Set"
pub fn getAffiliationIds<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-Set"
pub fn isAffiliatedUser<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setBackupServiceEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isBackupServiceEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn setNetworkLoggingEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isNetworkLoggingEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn retrieveNetworkLogs<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i64
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn bindDeviceAdminServiceAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: impl Into<Option<&'env ServiceConnection>>,
arg3: i32,
arg4: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: impl Into<Option<&'env ServiceConnection>>,
arg3: i32,
arg4: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent", "android-content-ServiceConnection", "android-os-UserHandle"
pub fn getBindDeviceAdminTargetUsers<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn clearApplicationUserData<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Executor>>,
arg3: impl Into<Option<&'env DevicePolicyManager_OnClearApplicationUserDataListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Executor>>,
arg3: impl Into<Option<&'env DevicePolicyManager_OnClearApplicationUserDataListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-admin-DevicePolicyManager_OnClearApplicationUserDataListener", "android-content-ComponentName", "java-lang-String", "java-util-concurrent-Executor"
pub fn setLogoutEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isLogoutEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn transferOwnership<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-PersistableBundle"
pub fn setStartUserSessionMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn setEndUserSessionMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getStartUserSessionMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn getEndUserSessionMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-lang-CharSequence"
pub fn addOverrideApn<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ApnSetting>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env ApnSetting>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-telephony-data-ApnSetting"
pub fn updateOverrideApn<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: impl Into<Option<&'env ApnSetting>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: impl Into<Option<&'env ApnSetting>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-telephony-data-ApnSetting"
pub fn removeOverrideApn<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getOverrideApns<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "java-util-List"
pub fn setOverrideApnsEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn isOverrideApnEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getTransferOwnershipBundle<'env>(
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
Required features: "android-os-PersistableBundle"
pub const ACTION_ADD_DEVICE_ADMIN: &'static str
[src]
public static final ACTION_ADD_DEVICE_ADMIN
pub const ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED: &'static str
[src]
public static final ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED
pub const ACTION_DEVICE_ADMIN_SERVICE: &'static str
[src]
public static final ACTION_DEVICE_ADMIN_SERVICE
pub const ACTION_DEVICE_OWNER_CHANGED: &'static str
[src]
public static final ACTION_DEVICE_OWNER_CHANGED
pub const ACTION_MANAGED_PROFILE_PROVISIONED: &'static str
[src]
public static final ACTION_MANAGED_PROFILE_PROVISIONED
pub const ACTION_PROFILE_OWNER_CHANGED: &'static str
[src]
public static final ACTION_PROFILE_OWNER_CHANGED
pub const ACTION_PROVISIONING_SUCCESSFUL: &'static str
[src]
public static final ACTION_PROVISIONING_SUCCESSFUL
pub const ACTION_PROVISION_MANAGED_DEVICE: &'static str
[src]
public static final ACTION_PROVISION_MANAGED_DEVICE
pub const ACTION_PROVISION_MANAGED_PROFILE: &'static str
[src]
public static final ACTION_PROVISION_MANAGED_PROFILE
pub const ACTION_SET_NEW_PARENT_PROFILE_PASSWORD: &'static str
[src]
public static final ACTION_SET_NEW_PARENT_PROFILE_PASSWORD
pub const ACTION_SET_NEW_PASSWORD: &'static str
[src]
public static final ACTION_SET_NEW_PASSWORD
pub const ACTION_START_ENCRYPTION: &'static str
[src]
public static final ACTION_START_ENCRYPTION
pub const ACTION_SYSTEM_UPDATE_POLICY_CHANGED: &'static str
[src]
public static final ACTION_SYSTEM_UPDATE_POLICY_CHANGED
pub const DELEGATION_APP_RESTRICTIONS: &'static str
[src]
public static final DELEGATION_APP_RESTRICTIONS
pub const DELEGATION_BLOCK_UNINSTALL: &'static str
[src]
public static final DELEGATION_BLOCK_UNINSTALL
pub const DELEGATION_CERT_INSTALL: &'static str
[src]
public static final DELEGATION_CERT_INSTALL
pub const DELEGATION_ENABLE_SYSTEM_APP: &'static str
[src]
public static final DELEGATION_ENABLE_SYSTEM_APP
pub const DELEGATION_INSTALL_EXISTING_PACKAGE: &'static str
[src]
public static final DELEGATION_INSTALL_EXISTING_PACKAGE
pub const DELEGATION_KEEP_UNINSTALLED_PACKAGES: &'static str
[src]
public static final DELEGATION_KEEP_UNINSTALLED_PACKAGES
pub const DELEGATION_PACKAGE_ACCESS: &'static str
[src]
public static final DELEGATION_PACKAGE_ACCESS
pub const DELEGATION_PERMISSION_GRANT: &'static str
[src]
public static final DELEGATION_PERMISSION_GRANT
pub const ENCRYPTION_STATUS_ACTIVATING: i32
[src]
public static final ENCRYPTION_STATUS_ACTIVATING
pub const ENCRYPTION_STATUS_ACTIVE: i32
[src]
public static final ENCRYPTION_STATUS_ACTIVE
pub const ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY: i32
[src]
public static final ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY
pub const ENCRYPTION_STATUS_ACTIVE_PER_USER: i32
[src]
public static final ENCRYPTION_STATUS_ACTIVE_PER_USER
pub const ENCRYPTION_STATUS_INACTIVE: i32
[src]
public static final ENCRYPTION_STATUS_INACTIVE
pub const ENCRYPTION_STATUS_UNSUPPORTED: i32
[src]
public static final ENCRYPTION_STATUS_UNSUPPORTED
pub const EXTRA_ADD_EXPLANATION: &'static str
[src]
public static final EXTRA_ADD_EXPLANATION
pub const EXTRA_DELEGATION_SCOPES: &'static str
[src]
public static final EXTRA_DELEGATION_SCOPES
pub const EXTRA_DEVICE_ADMIN: &'static str
[src]
public static final EXTRA_DEVICE_ADMIN
pub const EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE: &'static str
[src]
public static final EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE
pub const EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE: &'static str
[src]
public static final EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME
pub const EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM: &'static str
[src]
public static final EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM
pub const EXTRA_PROVISIONING_DISCLAIMERS: &'static str
[src]
public static final EXTRA_PROVISIONING_DISCLAIMERS
pub const EXTRA_PROVISIONING_DISCLAIMER_CONTENT: &'static str
[src]
public static final EXTRA_PROVISIONING_DISCLAIMER_CONTENT
pub const EXTRA_PROVISIONING_DISCLAIMER_HEADER: &'static str
[src]
public static final EXTRA_PROVISIONING_DISCLAIMER_HEADER
pub const EXTRA_PROVISIONING_EMAIL_ADDRESS: &'static str
[src]
public static final EXTRA_PROVISIONING_EMAIL_ADDRESS
pub const EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION: &'static str
[src]
public static final EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION
pub const EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED: &'static str
[src]
public static final EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED
pub const EXTRA_PROVISIONING_LOCALE: &'static str
[src]
public static final EXTRA_PROVISIONING_LOCALE
pub const EXTRA_PROVISIONING_LOCAL_TIME: &'static str
[src]
public static final EXTRA_PROVISIONING_LOCAL_TIME
pub const EXTRA_PROVISIONING_LOGO_URI: &'static str
[src]
public static final EXTRA_PROVISIONING_LOGO_URI
pub const EXTRA_PROVISIONING_MAIN_COLOR: &'static str
[src]
public static final EXTRA_PROVISIONING_MAIN_COLOR
pub const EXTRA_PROVISIONING_SKIP_ENCRYPTION: &'static str
[src]
public static final EXTRA_PROVISIONING_SKIP_ENCRYPTION
pub const EXTRA_PROVISIONING_SKIP_USER_CONSENT: &'static str
[src]
public static final EXTRA_PROVISIONING_SKIP_USER_CONSENT
pub const EXTRA_PROVISIONING_TIME_ZONE: &'static str
[src]
public static final EXTRA_PROVISIONING_TIME_ZONE
pub const EXTRA_PROVISIONING_WIFI_HIDDEN: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_HIDDEN
pub const EXTRA_PROVISIONING_WIFI_PAC_URL: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_PAC_URL
pub const EXTRA_PROVISIONING_WIFI_PASSWORD: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_PASSWORD
pub const EXTRA_PROVISIONING_WIFI_PROXY_BYPASS: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_PROXY_BYPASS
pub const EXTRA_PROVISIONING_WIFI_PROXY_HOST: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_PROXY_HOST
pub const EXTRA_PROVISIONING_WIFI_PROXY_PORT: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_PROXY_PORT
pub const EXTRA_PROVISIONING_WIFI_SECURITY_TYPE: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_SECURITY_TYPE
pub const EXTRA_PROVISIONING_WIFI_SSID: &'static str
[src]
public static final EXTRA_PROVISIONING_WIFI_SSID
pub const FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY: i32
[src]
public static final FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY
pub const FLAG_MANAGED_CAN_ACCESS_PARENT: i32
[src]
public static final FLAG_MANAGED_CAN_ACCESS_PARENT
pub const FLAG_PARENT_CAN_ACCESS_MANAGED: i32
[src]
public static final FLAG_PARENT_CAN_ACCESS_MANAGED
pub const ID_TYPE_BASE_INFO: i32
[src]
public static final ID_TYPE_BASE_INFO
pub const ID_TYPE_IMEI: i32
[src]
public static final ID_TYPE_IMEI
pub const ID_TYPE_MEID: i32
[src]
public static final ID_TYPE_MEID
pub const ID_TYPE_SERIAL: i32
[src]
public static final ID_TYPE_SERIAL
pub const INSTALLKEY_REQUEST_CREDENTIALS_ACCESS: i32
[src]
public static final INSTALLKEY_REQUEST_CREDENTIALS_ACCESS
pub const INSTALLKEY_SET_USER_SELECTABLE: i32
[src]
public static final INSTALLKEY_SET_USER_SELECTABLE
pub const KEYGUARD_DISABLE_BIOMETRICS: i32
[src]
public static final KEYGUARD_DISABLE_BIOMETRICS
pub const KEYGUARD_DISABLE_FACE: i32
[src]
public static final KEYGUARD_DISABLE_FACE
pub const KEYGUARD_DISABLE_FEATURES_ALL: i32
[src]
public static final KEYGUARD_DISABLE_FEATURES_ALL
pub const KEYGUARD_DISABLE_FEATURES_NONE: i32
[src]
public static final KEYGUARD_DISABLE_FEATURES_NONE
pub const KEYGUARD_DISABLE_FINGERPRINT: i32
[src]
public static final KEYGUARD_DISABLE_FINGERPRINT
pub const KEYGUARD_DISABLE_IRIS: i32
[src]
public static final KEYGUARD_DISABLE_IRIS
pub const KEYGUARD_DISABLE_REMOTE_INPUT: i32
[src]
public static final KEYGUARD_DISABLE_REMOTE_INPUT
pub const KEYGUARD_DISABLE_SECURE_CAMERA: i32
[src]
public static final KEYGUARD_DISABLE_SECURE_CAMERA
pub const KEYGUARD_DISABLE_SECURE_NOTIFICATIONS: i32
[src]
public static final KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
pub const KEYGUARD_DISABLE_TRUST_AGENTS: i32
[src]
public static final KEYGUARD_DISABLE_TRUST_AGENTS
pub const KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS: i32
[src]
public static final KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS
pub const KEYGUARD_DISABLE_WIDGETS_ALL: i32
[src]
public static final KEYGUARD_DISABLE_WIDGETS_ALL
pub const LEAVE_ALL_SYSTEM_APPS_ENABLED: i32
[src]
public static final LEAVE_ALL_SYSTEM_APPS_ENABLED
pub const LOCK_TASK_FEATURE_GLOBAL_ACTIONS: i32
[src]
public static final LOCK_TASK_FEATURE_GLOBAL_ACTIONS
pub const LOCK_TASK_FEATURE_HOME: i32
[src]
public static final LOCK_TASK_FEATURE_HOME
pub const LOCK_TASK_FEATURE_KEYGUARD: i32
[src]
public static final LOCK_TASK_FEATURE_KEYGUARD
pub const LOCK_TASK_FEATURE_NONE: i32
[src]
public static final LOCK_TASK_FEATURE_NONE
pub const LOCK_TASK_FEATURE_NOTIFICATIONS: i32
[src]
public static final LOCK_TASK_FEATURE_NOTIFICATIONS
pub const LOCK_TASK_FEATURE_OVERVIEW: i32
[src]
public static final LOCK_TASK_FEATURE_OVERVIEW
pub const LOCK_TASK_FEATURE_SYSTEM_INFO: i32
[src]
public static final LOCK_TASK_FEATURE_SYSTEM_INFO
pub const MAKE_USER_EPHEMERAL: i32
[src]
public static final MAKE_USER_EPHEMERAL
pub const MIME_TYPE_PROVISIONING_NFC: &'static str
[src]
public static final MIME_TYPE_PROVISIONING_NFC
pub const PASSWORD_QUALITY_ALPHABETIC: i32
[src]
public static final PASSWORD_QUALITY_ALPHABETIC
pub const PASSWORD_QUALITY_ALPHANUMERIC: i32
[src]
public static final PASSWORD_QUALITY_ALPHANUMERIC
pub const PASSWORD_QUALITY_BIOMETRIC_WEAK: i32
[src]
public static final PASSWORD_QUALITY_BIOMETRIC_WEAK
pub const PASSWORD_QUALITY_COMPLEX: i32
[src]
public static final PASSWORD_QUALITY_COMPLEX
pub const PASSWORD_QUALITY_NUMERIC: i32
[src]
public static final PASSWORD_QUALITY_NUMERIC
pub const PASSWORD_QUALITY_NUMERIC_COMPLEX: i32
[src]
public static final PASSWORD_QUALITY_NUMERIC_COMPLEX
pub const PASSWORD_QUALITY_SOMETHING: i32
[src]
public static final PASSWORD_QUALITY_SOMETHING
pub const PASSWORD_QUALITY_UNSPECIFIED: i32
[src]
public static final PASSWORD_QUALITY_UNSPECIFIED
pub const PERMISSION_GRANT_STATE_DEFAULT: i32
[src]
public static final PERMISSION_GRANT_STATE_DEFAULT
pub const PERMISSION_GRANT_STATE_DENIED: i32
[src]
public static final PERMISSION_GRANT_STATE_DENIED
pub const PERMISSION_GRANT_STATE_GRANTED: i32
[src]
public static final PERMISSION_GRANT_STATE_GRANTED
pub const PERMISSION_POLICY_AUTO_DENY: i32
[src]
public static final PERMISSION_POLICY_AUTO_DENY
pub const PERMISSION_POLICY_AUTO_GRANT: i32
[src]
public static final PERMISSION_POLICY_AUTO_GRANT
pub const PERMISSION_POLICY_PROMPT: i32
[src]
public static final PERMISSION_POLICY_PROMPT
pub const POLICY_DISABLE_CAMERA: &'static str
[src]
public static final POLICY_DISABLE_CAMERA
pub const POLICY_DISABLE_SCREEN_CAPTURE: &'static str
[src]
public static final POLICY_DISABLE_SCREEN_CAPTURE
pub const RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT: i32
[src]
public static final RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT
pub const RESET_PASSWORD_REQUIRE_ENTRY: i32
[src]
public static final RESET_PASSWORD_REQUIRE_ENTRY
pub const SKIP_SETUP_WIZARD: i32
[src]
public static final SKIP_SETUP_WIZARD
pub const WIPE_EUICC: i32
[src]
public static final WIPE_EUICC
pub const WIPE_EXTERNAL_STORAGE: i32
[src]
public static final WIPE_EXTERNAL_STORAGE
pub const WIPE_RESET_PROTECTION_DATA: i32
[src]
public static final WIPE_RESET_PROTECTION_DATA
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 DevicePolicyManager
impl AsValidJObjectAndEnv for DevicePolicyManager
impl Deref for DevicePolicyManager
impl JniType for DevicePolicyManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DevicePolicyManager
impl !Send for DevicePolicyManager
impl !Sync for DevicePolicyManager
impl Unpin for DevicePolicyManager
impl UnwindSafe for DevicePolicyManager
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>,