Searched refs:isDeviceOwner (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel() 116 if (hasCarrierPrivileges || isDeviceOwner in checkAccessLevel()
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 54 boolean isDeviceOwner, int cameraRestrictionScope); in setDevicePolicyUserRestrictions() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 422 public static void sortToGlobalAndLocal(@Nullable Bundle in, boolean isDeviceOwner, in sortToGlobalAndLocal() argument 438 if (isGlobal(isDeviceOwner, key)) { in sortToGlobalAndLocal() 449 private static boolean isGlobal(boolean isDeviceOwner, String key) { in isGlobal() argument 450 return (isDeviceOwner && in isGlobal()
|
D | UserManagerService.java | 1499 boolean isDeviceOwner, int cameraRestrictionScope) { in setDevicePolicyUserRestrictionsInner() argument 1504 UserRestrictionsUtils.sortToGlobalAndLocal(restrictions, isDeviceOwner, in setDevicePolicyUserRestrictionsInner() 1515 if (isDeviceOwner) { in setDevicePolicyUserRestrictionsInner() 4122 boolean isDeviceOwner, int cameraRestrictionScope) { in setDevicePolicyUserRestrictions() argument 4124 isDeviceOwner, cameraRestrictionScope); in setDevicePolicyUserRestrictions()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2580 Set<String> exceptionList, boolean isDeviceOwner) { in migrateUserRestrictionsForUser() argument 2591 final boolean canOwnerChange = isDeviceOwner in migrateUserRestrictionsForUser() 2739 final boolean isDeviceOwner = isDeviceOwner(admin.info.getComponent(), userId); in getActiveAdminOrCheckPermissionForCallerLocked() 2750 if (DA_DISALLOWED_POLICIES.contains(reqPolicy) && !isDeviceOwner && !isProfileOwner) { in getActiveAdminOrCheckPermissionForCallerLocked() 2854 final boolean ownsDevice = isDeviceOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked() 3463 && !isDeviceOwner(deviceAdminComponent, userHandle); in shouldOverwritePoliciesFromXml() 4030 if (isDeviceOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin() 4109 if (isDeviceOwner(adminReceiver, userHandle) in removeActiveAdmin() 6595 if (!isDeviceOwner(admin, userId)) { in wipeDataNoLock() 7882 boolean isDeviceOwner(ActiveAdmin admin) { in isDeviceOwner() method [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStarterTests.java | 676 doReturn(isCallingUidDeviceOwner).when(mService).isDeviceOwner(callingUid); in runAndVerifyBackgroundActivityStartsSubtest()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStarter.java | 1005 if (mService.isDeviceOwner(callingUid)) { in shouldAbortBackgroundActivityStart()
|
D | ActivityTaskManagerService.java | 6001 boolean isDeviceOwner(int uid) { in isDeviceOwner() method in ActivityTaskManagerService
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 4978 assertTrue(dpms.isDeviceOwner(admin1, UserHandle.USER_SYSTEM)); in testRevertDeviceOwnership_noMetadataFile()
|
/frameworks/base/services/ |
D | art-profile | 6312 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->isDeviceOwner(Landroid/content/Compo… 15353 PLcom/android/server/wm/ActivityTaskManagerService;->isDeviceOwner(Ljava/lang/String;)Z
|