/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 17 package android.app.admin; 35 import android.app.admin.SecurityLog.SecurityEvent; 1558 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive() argument 1560 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive() 1567 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() argument 1570 return mService.isAdminActive(admin, userId); in isAdminActiveAsUser() 1583 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() argument 1586 return mService.isRemovingAdmin(admin, userId); in isRemovingAdmin() 1658 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin() argument 1662 mService.removeActiveAdmin(admin, myUserId()); in removeActiveAdmin() [all …]
|
D | IDevicePolicyManager.aidl | 18 package android.app.admin; 20 import android.app.admin.NetworkEvent; 23 import android.app.admin.SystemUpdateInfo; 24 import android.app.admin.SystemUpdatePolicy; 25 import android.app.admin.PasswordMetrics; 83 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe() argument 84 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe() argument 99 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy() argument 101 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy() argument 154 …String[] setPackagesSuspended(in ComponentName admin, in String callerPackage, in String[] package… in setPackagesSuspended() argument [all …]
|
D | IDeviceAdminService.aidl | 17 package android.app.admin;
|
D | DnsEvent.aidl | 17 package android.app.admin;
|
D | PasswordMetrics.aidl | 18 package android.app.admin;
|
D | ConnectEvent.aidl | 17 package android.app.admin;
|
D | SystemUpdateInfo.aidl | 18 package android.app.admin;
|
D | NetworkEvent.aidl | 17 package android.app.admin;
|
D | SystemUpdatePolicy.aidl | 18 package android.app.admin;
|
D | DeviceAdminService.java | 16 package android.app.admin;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 19 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; 20 import static android.app.admin.DevicePolicyManager.PROFILE_KEYGUARD_FEATURES_AFFECT_OWNER; 26 import android.app.admin.DevicePolicyManager; 144 final LockSettingCheck check = (dpm, admin, checkUser) -> { in checkIfKeyguardFeaturesDisabled() 145 int effectiveFeatures = dpm.getKeyguardDisabledFeatures(admin, checkUser); in checkIfKeyguardFeaturesDisabled() 180 for (ComponentName admin : admins) { in findEnforcedAdmin() 181 if (check.isEnforcing(dpm, admin, userId)) { in findEnforcedAdmin() 183 enforcedAdmin = new EnforcedAdmin(admin, userId); in findEnforcedAdmin() 241 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfInputMethodDisallowed() local 243 if (admin != null) { in checkIfInputMethodDisallowed() [all …]
|
D | RestrictedPreferenceHelper.java | 137 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local 139 setDisabledByAdmin(admin); in checkRestrictionAndSetDisabled() 149 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() argument 150 final boolean disabled = (admin != null ? true : false); in setDisabledByAdmin() 151 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
D | RestrictedPreference.java | 110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() argument 111 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 27 import android.app.admin.DevicePolicyManager; 133 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin() argument 135 setUpPackageManagerForAdmin(admin, packageUid, in setUpPackageManagerForAdmin() 139 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() argument 141 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin() 144 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() argument 146 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin() 147 admin); in setUpPackageManagerForAdmin() 150 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin() argument 153 setUpPackageManagerForFakeAdmin(admin, packageUid, in setUpPackageManagerForFakeAdmin() [all …]
|
D | NetworkEventTest.java | 18 import android.app.admin.ConnectEvent; 19 import android.app.admin.DnsEvent;
|
D | DummyDeviceAdmins.java | 18 import android.app.admin.DeviceAdminReceiver;
|
D | DevicePolicyManagerTestable.java | 18 import android.app.admin.DevicePolicyManager;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 21 import static android.app.admin.DevicePolicyManager.CODE_ACCOUNTS_NOT_EMPTY; 22 import static android.app.admin.DevicePolicyManager.CODE_ADD_MANAGED_PROFILE_DISALLOWED; 23 import static android.app.admin.DevicePolicyManager.CODE_CANNOT_ADD_MANAGED_PROFILE; 24 import static android.app.admin.DevicePolicyManager.CODE_DEVICE_ADMIN_NOT_SUPPORTED; 25 import static android.app.admin.DevicePolicyManager.CODE_HAS_DEVICE_OWNER; 26 import static android.app.admin.DevicePolicyManager.CODE_HAS_PAIRED; 27 import static android.app.admin.DevicePolicyManager.CODE_MANAGED_USERS_NOT_SUPPORTED; 28 import static android.app.admin.DevicePolicyManager.CODE_NONSYSTEM_USER_EXISTS; 29 import static android.app.admin.DevicePolicyManager.CODE_NOT_SYSTEM_USER; 30 import static android.app.admin.DevicePolicyManager.CODE_NOT_SYSTEM_USER_SPLIT; [all …]
|
D | Owners.java | 20 import android.app.admin.SystemUpdateInfo; 21 import android.app.admin.SystemUpdatePolicy; 196 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent() 209 return mDeviceOwner != null ? mDeviceOwner.admin : null; in getDeviceOwnerComponent() 225 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() argument 232 setDeviceOwnerWithRestrictionsMigrated(admin, ownerName, userId, in setDeviceOwner() 239 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated() argument 242 mDeviceOwner = new OwnerInfo(ownerName, admin, userRestrictionsMigrated, in setDeviceOwnerWithRestrictionsMigrated() 261 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() argument 264 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner() [all …]
|
D | NetworkLogger.java | 19 import android.app.admin.ConnectEvent; 20 import android.app.admin.DnsEvent; 21 import android.app.admin.NetworkEvent;
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 19 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; 20 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT; 21 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_REMOTE_INPUT; 22 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS; 30 import android.app.admin.DevicePolicyManager;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; 20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX; 21 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; 22 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_MANAGED; 20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/ |
D | User.java | 85 public void setAdmin(boolean admin) { in setAdmin() argument 86 mAdmin = admin; in setAdmin()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 27 import android.app.admin.DeviceAdminInfo; 28 import android.app.admin.DevicePolicyManagerInternal;
|