/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 251 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_grantUserSet() 254 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_grantUserSet() 271 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet() 274 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet() 286 eq(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT), eq(10), anyString()); in testSetNotificationPermission_revokeUserSet() 289 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_revokeUserSet() 301 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_grantNotUserSet() 303 USER_FLAG_MASK, 0, true, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_grantNotUserSet() 315 eq(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT), eq(10), anyString()); in testSetNotificationPermission_revokeNotUserSet() 317 USER_FLAG_MASK, 0, true, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, 10); in testSetNotificationPermission_revokeNotUserSet() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PermissionHelper.java | 200 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in setNotificationPermission() 203 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId, TAG); in setNotificationPermission() 209 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in setNotificationPermission() 212 flagMask, 0, true, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in setNotificationPermission() 241 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in isPermissionFixed() 258 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in isPermissionUserSet() 275 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in isPermissionGrantedByDefaultOrRole()
|
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/ |
D | PermissionManagerPerfTest.kt | 20 import android.companion.virtual.VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT 66 permissionManager.getAllPermissionStates(PKG_NAME, PERSISTENT_DEVICE_ID_DEFAULT) in testGetAllPermissionStates()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 22 import static android.companion.virtual.VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; 212 testService.getUidMode(uid, PERSISTENT_DEVICE_ID_DEFAULT, op1), in assertSameModes() 213 testService.getUidMode(uid, PERSISTENT_DEVICE_ID_DEFAULT, op2) in assertSameModes() 281 uid, PERSISTENT_DEVICE_ID_DEFAULT, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() 292 uid, PERSISTENT_DEVICE_ID_DEFAULT, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() 341 uid, PERSISTENT_DEVICE_ID_DEFAULT, OP_USE_FULL_SCREEN_INTENT); in resetUseFullScreenIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsDeviceAwareServiceTest.java | 88 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in setUp() 97 .isEqualTo(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in noteProxyOp_proxyAppOnDefaultDevice()
|
D | AppOpsRecentAccessPersistenceTest.java | 130 .get(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT) in validateUidStates() 133 .isEqualTo(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in validateUidStates()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | OnOpModeChangedListener.java | 109 if (Objects.equals(persistentDeviceId, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in onOpModeChanged()
|
D | AppOpsRecentAccessPersistence.java | 21 import static android.companion.virtual.VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; 252 deviceId = PERSISTENT_DEVICE_ID_DEFAULT; in readAttributionOp() 368 deviceId, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in writeDeviceAttributedOps() 393 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in writeDeviceAttributedOps()
|
D | AppOpsCheckingServiceImpl.java | 23 import static android.companion.virtual.VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; 613 PERSISTENT_DEVICE_ID_DEFAULT, in upgradeScheduleExactAlarmLocked() 618 PERSISTENT_DEVICE_ID_DEFAULT, in upgradeScheduleExactAlarmLocked() 655 PERSISTENT_DEVICE_ID_DEFAULT, in resetUseFullScreenIntentLocked()
|
D | AppOpsService.java | 68 import static android.companion.virtual.VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; 626 mDeviceAttributedOps.put(PERSISTENT_DEVICE_ID_DEFAULT, in Op() 640 if (!Objects.equals(PERSISTENT_DEVICE_ID_DEFAULT, in removeAttributionsWithNoTime() 693 PERSISTENT_DEVICE_ID_DEFAULT); in createSingleAttributionEntryLocked() 968 mKnownDeviceIds.put(Context.DEVICE_ID_DEFAULT, PERSISTENT_DEVICE_ID_DEFAULT); in AppOpsService() 1117 devices.add(PERSISTENT_DEVICE_ID_DEFAULT); in systemReady() 1450 uid, PERSISTENT_DEVICE_ID_DEFAULT); in onUidStateChanged() 1473 PERSISTENT_DEVICE_ID_DEFAULT, in onUidStateChanged() 1478 PERSISTENT_DEVICE_ID_DEFAULT, in onUidStateChanged() 1483 this, code, uidState.uid, true, PERSISTENT_DEVICE_ID_DEFAULT)); in onUidStateChanged() [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppOpService.kt | 199 deviceId != VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT && in <lambda>() 424 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 483 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 629 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 704 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>() 857 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>() 868 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>() 1128 if (deviceId == VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT) { in <lambda>() 1454 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>() 1596 deviceId == VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 1621 deviceId == VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 2654 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in <lambda>() 2746 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 367 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); in grantRuntimePermission() 387 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId, null); in revokeRuntimePermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundInstallControlService.java | 298 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in handlePackageAdd() 536 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in isInstaller()
|
D | DumpHelper.java | 165 pkg, perm, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, user)); in doDump()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 383 persistentDeviceIds.add(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in getOpUsageDataForAllDevices() 492 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in getOpUsagesByDevice()
|
D | PermissionManager.java | 1342 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in getIndicatorAppOpUsageData() 1951 persistentDeviceId = VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentDeviceId()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDeviceManager.java | 170 public static final String PERSISTENT_DEVICE_ID_DEFAULT = field in VirtualDeviceManager
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 930 return checkPermission(pkgName, permName, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in checkPermission() 1002 return checkUidPermission(uid, permName, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in checkUidPermission() 1511 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT) in revokeRuntimePermission() 2099 permInfo.name, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId) in revokeStoragePermissionsIfScopeExpandedInternal() 2267 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId); 5358 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT);
|
D | PermissionManagerService.java | 270 return VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentDeviceId()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerService.java | 892 return VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentIdForDevice()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 838 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) in getDisplayNameForPersistentDeviceId_defaultDevicePeristentId_returnsNull() 1968 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in getPersistentIdForDevice_defaultDeviceId()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 241 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in onStart()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 2987 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); 3001 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); 3017 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 314 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in setAppOps()
|