Home
last modified time | relevance | path

Searched refs:PERSISTENT_DEVICE_ID_DEFAULT (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java251 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/
DPermissionHelper.java200 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/
DPermissionManagerPerfTest.kt20 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/
DAppOpsUpgradeTest.java22 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/
DAppOpsDeviceAwareServiceTest.java88 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in setUp()
97 .isEqualTo(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in noteProxyOp_proxyAppOnDefaultDevice()
DAppOpsRecentAccessPersistenceTest.java130 .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/
DOnOpModeChangedListener.java109 if (Objects.equals(persistentDeviceId, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in onOpModeChanged()
DAppOpsRecentAccessPersistence.java21 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()
DAppOpsCheckingServiceImpl.java23 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()
DAppOpsService.java68 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/
DAppOpService.kt199 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/
DPermissionService.kt629 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/
DUiAutomationConnection.java367 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/
DBackgroundInstallControlService.java298 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in handlePackageAdd()
536 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, in isInstaller()
DDumpHelper.java165 pkg, perm, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, user)); in doDump()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java383 persistentDeviceIds.add(VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in getOpUsageDataForAllDevices()
492 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in getOpUsagesByDevice()
DPermissionManager.java1342 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in getIndicatorAppOpUsageData()
1951 persistentDeviceId = VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentDeviceId()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceManager.java170 public static final String PERSISTENT_DEVICE_ID_DEFAULT = field in VirtualDeviceManager
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java930 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);
DPermissionManagerService.java270 return VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentDeviceId()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceManagerService.java892 return VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT; in getPersistentIdForDevice()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java838 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/
DPermissionPolicyService.java241 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) { in onStart()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java2987 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/
DAppStateTrackerTest.java314 VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in setAppOps()

12