H A D | DevicePolicyManager.java | 17 package android.app.admin; 72 * <a href="{@docRoot}guide/topics/admin/device-admin.html">device administrator</a>. Additionally, 80 * <a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a> 142 * <p> During device owner provisioning a device admin app is set as the owner of the device. 211 * <p> When this extra is set, the application must have exactly one device admin receiver. 212 * This receiver will be set as the profile or device owner and active admin. 223 * A ComponentName extra indicating the device admin receiver of the mobile device management 224 * application that will be set as the profile owner or device owner and active admin 824 isAdminActive(@onNull ComponentName admin) argument 832 isAdminActiveAsUser(@onNull ComponentName admin, int userId) argument 847 isRemovingAdmin(@onNull ComponentName admin, int userId) argument 905 removeActiveAdmin(@onNull ComponentName admin) argument 924 hasGrantedPolicy(@onNull ComponentName admin, int usesPolicy) argument 1025 setPasswordQuality(@onNull ComponentName admin, int quality) argument 1041 getPasswordQuality(@ullable ComponentName admin) argument 1046 getPasswordQuality(@ullable ComponentName admin, int userHandle) argument 1078 setPasswordMinimumLength(@onNull ComponentName admin, int length) argument 1094 getPasswordMinimumLength(@ullable ComponentName admin) argument 1099 getPasswordMinimumLength(@ullable ComponentName admin, int userHandle) argument 1132 setPasswordMinimumUpperCase(@onNull ComponentName admin, int length) argument 1155 getPasswordMinimumUpperCase(@ullable ComponentName admin) argument 1160 getPasswordMinimumUpperCase(@ullable ComponentName admin, int userHandle) argument 1193 setPasswordMinimumLowerCase(@onNull ComponentName admin, int length) argument 1216 getPasswordMinimumLowerCase(@ullable ComponentName admin) argument 1221 getPasswordMinimumLowerCase(@ullable ComponentName admin, int userHandle) argument 1253 setPasswordMinimumLetters(@onNull ComponentName admin, int length) argument 1274 getPasswordMinimumLetters(@ullable ComponentName admin) argument 1279 getPasswordMinimumLetters(@ullable ComponentName admin, int userHandle) argument 1311 setPasswordMinimumNumeric(@onNull ComponentName admin, int length) argument 1333 getPasswordMinimumNumeric(@ullable ComponentName admin) argument 1338 getPasswordMinimumNumeric(@ullable ComponentName admin, int userHandle) argument 1370 setPasswordMinimumSymbols(@onNull ComponentName admin, int length) argument 1391 getPasswordMinimumSymbols(@ullable ComponentName admin) argument 1396 getPasswordMinimumSymbols(@ullable ComponentName admin, int userHandle) argument 1428 setPasswordMinimumNonLetter(@onNull ComponentName admin, int length) argument 1450 getPasswordMinimumNonLetter(@ullable ComponentName admin) argument 1455 getPasswordMinimumNonLetter(@ullable ComponentName admin, int userHandle) argument 1488 setPasswordHistoryLength(@onNull ComponentName admin, int length) argument 1520 setPasswordExpirationTimeout(@onNull ComponentName admin, long timeout) argument 1539 getPasswordExpirationTimeout(@ullable ComponentName admin) argument 1560 getPasswordExpiration(@ullable ComponentName admin) argument 1578 getPasswordHistoryLength(@ullable ComponentName admin) argument 1583 getPasswordHistoryLength(@ullable ComponentName admin, int userHandle) argument 1682 setMaximumFailedPasswordsForWipe(@onNull ComponentName admin, int num) argument 1699 getMaximumFailedPasswordsForWipe(@ullable ComponentName admin) argument 1704 getMaximumFailedPasswordsForWipe(@ullable ComponentName admin, int userHandle) argument 1801 setMaximumTimeToLock(@onNull ComponentName admin, long timeMs) argument 1819 getMaximumTimeToLock(@ullable ComponentName admin) argument 1824 getMaximumTimeToLock(@ullable ComponentName admin, int userHandle) argument 1912 setGlobalProxy(@onNull ComponentName admin, Proxy proxySpec, List<String> exclusionList ) argument 1977 setRecommendedGlobalProxy(@onNull ComponentName admin, @Nullable ProxyInfo proxyInfo) argument 2124 setStorageEncryption(@onNull ComponentName admin, boolean encrypt) argument 2144 getStorageEncryption(@ullable ComponentName admin) argument 2200 installCaCert(@ullable ComponentName admin, byte[] certBuffer) argument 2218 uninstallCaCert(@ullable ComponentName admin, byte[] certBuffer) argument 2240 getInstalledCaCerts(@ullable ComponentName admin) argument 2267 uninstallAllUserCaCerts(@ullable ComponentName admin) argument 2285 hasCaCertInstalled(@ullable ComponentName admin, byte[] certBuffer) argument 2311 installKeyPair(@ullable ComponentName admin, PrivateKey privKey, Certificate cert, String alias) argument 2353 setCertInstallerPackage(@onNull ComponentName admin, @Nullable String installerPackage) argument 2372 getCertInstallerPackage(@onNull ComponentName admin) argument 2395 setCameraDisabled(@onNull ComponentName admin, boolean disabled) argument 2411 getCameraDisabled(@ullable ComponentName admin) argument 2416 getCameraDisabled(@ullable ComponentName admin, int userHandle) argument 2442 setScreenCaptureDisabled(@onNull ComponentName admin, boolean disabled) argument 2458 getScreenCaptureDisabled(@ullable ComponentName admin) argument 2463 getScreenCaptureDisabled(@ullable ComponentName admin, int userHandle) argument 2486 setAutoTimeRequired(@onNull ComponentName admin, boolean required) argument 2540 setKeyguardDisabledFeatures(@onNull ComponentName admin, int which) argument 2558 getKeyguardDisabledFeatures(@ullable ComponentName admin) argument 2563 getKeyguardDisabledFeatures(@ullable ComponentName admin, int userHandle) argument 2626 getRemoveWarning(@ullable ComponentName admin, RemoteCallback result) argument 2809 setDeviceInitializer(@ullable ComponentName admin, @NonNull ComponentName initializer) argument 2849 clearDeviceInitializerApp(@onNull ComponentName admin) argument 2912 setUserEnabled(@onNull ComponentName admin) argument 2940 setActiveProfileOwner(@onNull ComponentName admin, @Deprecated String ownerName) argument 2965 clearProfileOwner(@onNull ComponentName admin) argument 3006 setProfileOwner(@onNull ComponentName admin, @Deprecated String ownerName, int userHandle) argument 3033 setProfileEnabled(@onNull ComponentName admin) argument 3054 setProfileName(@onNull ComponentName admin, String profileName) argument 3171 addPersistentPreferredActivity(@onNull ComponentName admin, IntentFilter filter, @NonNull ComponentName activity) argument 3192 clearPackagePersistentPreferredActivities(@onNull ComponentName admin, String packageName) argument 3232 setApplicationRestrictions(@onNull ComponentName admin, String packageName, Bundle settings) argument 3262 setTrustAgentConfiguration(@onNull ComponentName admin, @NonNull ComponentName target, PersistableBundle configuration) argument 3287 getTrustAgentConfiguration(@ullable ComponentName admin, @NonNull ComponentName agent) argument 3293 getTrustAgentConfiguration(@ullable ComponentName admin, @NonNull ComponentName agent, int userHandle) argument 3315 setCrossProfileCallerIdDisabled(@onNull ComponentName admin, boolean disabled) argument 3334 getCrossProfileCallerIdDisabled(@onNull ComponentName admin) argument 3392 setBluetoothContactSharingDisabled(@onNull ComponentName admin, boolean disabled) argument 3414 getBluetoothContactSharingDisabled(@onNull ComponentName admin) argument 3456 addCrossProfileIntentFilter(@onNull ComponentName admin, IntentFilter filter, int flags) argument 3472 clearCrossProfileIntentFilters(@onNull ComponentName admin) argument 3503 setPermittedAccessibilityServices(@onNull ComponentName admin, List<String> packageNames) argument 3524 getPermittedAccessibilityServices(@onNull ComponentName admin) argument 3582 setPermittedInputMethods(@onNull ComponentName admin, List<String> packageNames) argument 3603 getPermittedInputMethods(@onNull ComponentName admin) argument 3652 createUser(@onNull ComponentName admin, String name) argument 3689 createAndInitializeUser(@onNull ComponentName admin, String name, String ownerName, @NonNull ComponentName profileOwnerComponent, Bundle adminExtras) argument 3708 removeUser(@onNull ComponentName admin, UserHandle userHandle) argument 3726 switchUser(@onNull ComponentName admin, @Nullable UserHandle userHandle) argument 3748 getApplicationRestrictions(@onNull ComponentName admin, String packageName) argument 3770 addUserRestriction(@onNull ComponentName admin, String key) argument 3791 clearUserRestriction(@onNull ComponentName admin, String key) argument 3811 setApplicationHidden(@onNull ComponentName admin, String packageName, boolean hidden) argument 3830 isApplicationHidden(@onNull ComponentName admin, String packageName) argument 3848 enableSystemApp(@onNull ComponentName admin, String packageName) argument 3867 enableSystemApp(@onNull ComponentName admin, Intent intent) argument 3893 setAccountManagementDisabled(@onNull ComponentName admin, String accountType, boolean disabled) argument 3952 setLockTaskPackages(@onNull ComponentName admin, String[] packages) argument 3969 getLockTaskPackages(@onNull ComponentName admin) argument 4032 setGlobalSetting(@onNull ComponentName admin, String setting, String value) argument 4060 setSecureSetting(@onNull ComponentName admin, String setting, String value) argument 4080 setRestrictionsProvider(@onNull ComponentName admin, @Nullable ComponentName provider) argument 4097 setMasterVolumeMuted(@onNull ComponentName admin, boolean on) argument 4113 isMasterVolumeMuted(@onNull ComponentName admin) argument 4132 setUninstallBlocked(@onNull ComponentName admin, String packageName, boolean uninstallBlocked) argument 4157 isUninstallBlocked(@ullable ComponentName admin, String packageName) argument 4185 addCrossProfileWidgetProvider(@onNull ComponentName admin, String packageName) argument 4212 removeCrossProfileWidgetProvider(@onNull ComponentName admin, String packageName) argument 4233 getCrossProfileWidgetProviders(@onNull ComponentName admin) argument 4253 setUserIcon(@onNull ComponentName admin, Bitmap icon) argument 4272 setSystemUpdatePolicy(@onNull ComponentName admin, SystemUpdatePolicy policy) argument 4312 setKeyguardDisabled(@onNull ComponentName admin, boolean disabled) argument 4332 setStatusBarDisabled(@onNull ComponentName admin, boolean disabled) argument 4378 setPermissionPolicy(@onNull ComponentName admin, int policy) argument 4392 getPermissionPolicy(ComponentName admin) argument 4428 setPermissionGrantState(@onNull ComponentName admin, String packageName, String permission, int grantState) argument 4455 getPermissionGrantState(@onNull ComponentName admin, String packageName, String permission) argument [all...] |