Home
last modified time | relevance | path

Searched refs:isDeviceOwner (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
116 if (hasCarrierPrivileges || isDeviceOwner in checkAccessLevel()
/frameworks/base/core/java/android/os/
DUserManagerInternal.java54 boolean isDeviceOwner, int cameraRestrictionScope); in setDevicePolicyUserRestrictions() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java422 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()
DUserManagerService.java1499 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/
DDevicePolicyManagerService.java2580 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/
DActivityStarterTests.java676 doReturn(isCallingUidDeviceOwner).when(mService).isDeviceOwner(callingUid); in runAndVerifyBackgroundActivityStartsSubtest()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java1005 if (mService.isDeviceOwner(callingUid)) { in shouldAbortBackgroundActivityStart()
DActivityTaskManagerService.java6001 boolean isDeviceOwner(int uid) { in isDeviceOwner() method in ActivityTaskManagerService
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4978 assertTrue(dpms.isDeviceOwner(admin1, UserHandle.USER_SYSTEM)); in testRevertDeviceOwnership_noMetadataFile()
/frameworks/base/services/
Dart-profile6312 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->isDeviceOwner(Landroid/content/Compo…
15353 PLcom/android/server/wm/ActivityTaskManagerService;->isDeviceOwner(Ljava/lang/String;)Z