/frameworks/base/core/java/android/companion/virtual/ |
D | IVirtualDeviceManager.aidl | 91 boolean isValidVirtualDeviceId(int deviceId); in isValidVirtualDeviceId() method
|
D | VirtualDeviceManager.java | 438 public boolean isValidVirtualDeviceId(int deviceId) { in isValidVirtualDeviceId() method in VirtualDeviceManager 444 return mService.isValidVirtualDeviceId(deviceId); in isValidVirtualDeviceId()
|
/frameworks/base/services/core/java/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerInternal.java | 158 public abstract boolean isValidVirtualDeviceId(int deviceId); in isValidVirtualDeviceId() method in VirtualDeviceManagerInternal
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 448 assertThat(mVdm.isValidVirtualDeviceId(DEVICE_ID_INVALID)).isFalse(); in isDeviceIdValid_invalidDeviceId_returnsFalse() 449 assertThat(mLocalService.isValidVirtualDeviceId(DEVICE_ID_INVALID)).isFalse(); in isDeviceIdValid_invalidDeviceId_returnsFalse() 454 assertThat(mVdm.isValidVirtualDeviceId(DEVICE_ID_DEFAULT)).isFalse(); in isDeviceIdValid_defaultDeviceId_returnsFalse() 455 assertThat(mLocalService.isValidVirtualDeviceId(DEVICE_ID_DEFAULT)).isFalse(); in isDeviceIdValid_defaultDeviceId_returnsFalse() 460 assertThat(mVdm.isValidVirtualDeviceId(mDeviceImpl.getDeviceId())).isTrue(); in isDeviceIdValid_validVirtualDeviceId_returnsTrue() 461 assertThat(mLocalService.isValidVirtualDeviceId(mDeviceImpl.getDeviceId())).isTrue(); in isDeviceIdValid_validVirtualDeviceId_returnsTrue() 466 assertThat(mVdm.isValidVirtualDeviceId(mDeviceImpl.getDeviceId() + 1)).isFalse(); in isDeviceIdValid_nonExistentDeviceId_returnsFalse() 467 assertThat(mLocalService.isValidVirtualDeviceId(mDeviceImpl.getDeviceId() + 1)).isFalse(); in isDeviceIdValid_nonExistentDeviceId_returnsFalse()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerService.java | 598 public boolean isValidVirtualDeviceId(int deviceId) { in isValidVirtualDeviceId() method in VirtualDeviceManagerService.VirtualDeviceManagerImpl 885 public boolean isValidVirtualDeviceId(int deviceId) { in isValidVirtualDeviceId() method in VirtualDeviceManagerService.LocalService 886 return mImpl.isValidVirtualDeviceId(deviceId); in isValidVirtualDeviceId()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 1070 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1126 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1152 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1185 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1315 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1344 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1377 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1409 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1445 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); 1481 when(mIVirtualDeviceManager.isValidVirtualDeviceId(1)).thenReturn(true); [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 2827 if (!isValidVirtualDeviceId(virtualDeviceId)) { in checkOperationImpl() 3013 if (!isValidVirtualDeviceId(proxyVirtualDeviceId)) { in noteProxyOperationImpl() 3094 if (!isValidVirtualDeviceId(virtualDeviceId)) { in noteOperationImpl() 3582 if (!isValidVirtualDeviceId(virtualDeviceId)) { in startOperationImpl() 3673 if (!isValidVirtualDeviceId(proxyVirtualDeviceId)) { in startProxyOperationImpl() 3682 if (!isValidVirtualDeviceId(proxiedVirtualDeviceId)) { in startProxyOperationImpl() 4003 if (!isValidVirtualDeviceId(virtualDeviceId)) { in finishOperationImpl() 4052 if (!isValidVirtualDeviceId(proxyVirtualDeviceId)) { in finishProxyOperationImpl() 4351 private boolean isValidVirtualDeviceId(int virtualDeviceId) { in isValidVirtualDeviceId() method in AppOpsService 4358 if (mVirtualDeviceManagerInternal.isValidVirtualDeviceId(virtualDeviceId)) { in isValidVirtualDeviceId()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 894 if (deviceId != DEVICE_ID_DEFAULT && !mVdm.isValidVirtualDeviceId(deviceId)) { in getClipboardLocked()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2889 if (vdm == null || !vdm.isValidVirtualDeviceId(deviceId)) { in createDeviceContext() 3172 if (!vdm.isValidVirtualDeviceId(updatedDeviceId)) { in updateDeviceId()
|
D | ActivityThread.java | 4972 if (vdm != null && vdm.isValidVirtualDeviceId(mLastReportedDeviceId)) { in handleCreateService()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 1552 if (!vdm.isValidVirtualDeviceId(virtualDevice.getDeviceId())) { in createVirtualDisplayInternal()
|
/frameworks/base/services/ |
D | art-profile | 1189 HSPLcom/android/server/appop/AppOpsService;->isValidVirtualDeviceId(I)Z+]Landroid/util/SparseArray;…
|
D | art-wear-profile | 7720 PLcom/android/server/appop/AppOpsService;->isValidVirtualDeviceId(I)Z
|