Home
last modified time | relevance | path

Searched refs:getPersistentDeviceId (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java83 mVirtualDevice.getPersistentDeviceId()); in setUp()
105 assertThat(proxyInfo.getDeviceId()).isEqualTo(mVirtualDevice.getPersistentDeviceId()); in noteProxyOp_proxyAppOnRemoteDevice()
130 mVirtualDevice.getPersistentDeviceId()); in noteProxyOpWithDeviceId()
DAppOpsActiveWatcherTest.java171 virtualDevice.getPersistentDeviceId() in testWatchActiveOpsForExternalDevice()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceTest.java90 assertThat(virtualDevice.getPersistentDeviceId()).isNull(); in build_onlyRequiredFields()
105 assertThat(device.getPersistentDeviceId()).isEqualTo(PERSISTENT_ID); in parcelable_shouldRecreateSuccessfully()
DVirtualDeviceManagerServiceTest.java776 mLocalService.onPersistentDeviceIdsRemoved(Set.of(mDeviceImpl.getPersistentDeviceId())); in onPersistentDeviceIdsRemoved_listenersNotified()
779 verify(mPersistentDeviceIdRemovedListener).accept(mDeviceImpl.getPersistentDeviceId()); in onPersistentDeviceIdsRemoved_listenersNotified()
794 verify(mPersistentDeviceIdRemovedListener).accept(mDeviceImpl.getPersistentDeviceId()); in onCdmAssociationsChanged_persistentDeviceIdRemovedListenersNotified()
812 .containsExactly(mDeviceImpl.getPersistentDeviceId()); in getAllPersistentDeviceIds_respectsCurrentAssociations()
846 mVdm.getDisplayNameForPersistentDeviceId(mDeviceImpl.getPersistentDeviceId()); in getDisplayNameForPersistentDeviceId_validVirtualDevice_returnsCorrectId()
1974 .isEqualTo(mDeviceImpl.getPersistentDeviceId()); in getPersistentIdForDevice_returnsCorrectId()
2007 assertThat(virtualDeviceImpl.getPersistentDeviceId()) in createVirtualDevice()
/frameworks/base/core/java/android/permission/
DPermissionManager.java637 String persistentDeviceId = getPersistentDeviceId(mContext.getDeviceId()); in grantRuntimePermission()
710 String persistentDeviceId = getPersistentDeviceId(mContext.getDeviceId()); in revokeRuntimePermission()
783 String persistentDeviceId = getPersistentDeviceId(mContext.getDeviceId()); in getPermissionFlags()
846 String persistentDeviceId = getPersistentDeviceId(mContext.getDeviceId()); in updatePermissionFlags()
1941 String persistentDeviceId = getPersistentDeviceId(deviceId); in checkPackageNamePermission()
1947 private String getPersistentDeviceId(int deviceId) { in getPersistentDeviceId() method in PermissionManager
1961 persistentDeviceId = virtualDevice.getPersistentDeviceId(); in getPersistentDeviceId()
DPermissionGroupUsage.java181 public @NonNull String getPersistentDeviceId() { in getPersistentDeviceId() method in PermissionGroupUsage
DPermissionUsageHelper.java381 persistentDeviceIds.add(virtualDevices.get(num).getPersistentDeviceId()); in getOpUsageDataForAllDevices()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDevice.java115 public @Nullable String getPersistentDeviceId() { in getPersistentDeviceId() method in VirtualDevice
DIVirtualDevice.aidl69 String getPersistentDeviceId(); in getPersistentDeviceId() method
DVirtualDeviceInternal.java173 @Nullable String getPersistentDeviceId() { in getPersistentDeviceId() method in VirtualDeviceInternal
175 return mVirtualDevice.getPersistentDeviceId(); in getPersistentDeviceId()
DVirtualDeviceManager.java587 public @Nullable String getPersistentDeviceId() { in getPersistentDeviceId() method in VirtualDeviceManager.VirtualDevice
588 return mVirtualDeviceInternal.getPersistentDeviceId(); in getPersistentDeviceId()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java254 String persistentDeviceId = getPersistentDeviceId(deviceId); in checkUidPermission()
268 private String getPersistentDeviceId(int deviceId) { in getPersistentDeviceId() method in PermissionManagerService
605 String persistentDeviceId = getPersistentDeviceId(deviceId); in shouldShowRequestPermissionRationale()
613 String persistentDeviceId = getPersistentDeviceId(deviceId); in isPermissionRevokedByPolicy()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java345 this, getDeviceId(), getPersistentDeviceId(), mParams.getName(),
349 this, getDeviceId(), getPersistentDeviceId(), mParams.getName());
451 public @Nullable String getPersistentDeviceId() {
DVirtualDeviceManagerService.java366 if (removedPersistentDeviceIds.contains(virtualDevice.getPersistentDeviceId())) { in onCdmAssociationsChanged()
899 return virtualDevice == null ? null : virtualDevice.getPersistentDeviceId(); in getPersistentIdForDevice()
/frameworks/base/core/api/
Dlint-baseline.txt1326 UnflaggedApi: android.companion.virtual.VirtualDevice#getPersistentDeviceId():
1327 …be flagged with @FlaggedApi: method android.companion.virtual.VirtualDevice.getPersistentDeviceId()
Dsystem-lint-baseline.txt1942 UnflaggedApi: android.companion.virtual.VirtualDeviceManager.VirtualDevice#getPersistentDeviceId():
1943 …gedApi: method android.companion.virtual.VirtualDeviceManager.VirtualDevice.getPersistentDeviceId()
Dsystem-current.txt3482 …"android.companion.virtual.flags.vdm_public_apis") @Nullable public String getPersistentDeviceId();
11545 …ission.flags.device_aware_permission_apis_enabled") @NonNull public String getPersistentDeviceId();
Dcurrent.txt9907 …"android.companion.virtual.flags.vdm_public_apis") @Nullable public String getPersistentDeviceId();
/frameworks/base/services/
Dart-profile2798 HSPLcom/android/server/pm/permission/PermissionManagerService;->getPersistentDeviceId(I)Ljava/lang/…
Dart-wear-profile17562 HPLcom/android/server/permission/access/permission/PermissionService;->getPersistentDeviceId(I)Ljav…