/frameworks/proto_logging/stats/express/catalog/ |
D | virtual_devices.cfg | 5 owner_email: "if-vdm@google.com" 13 owner_email: "if-vdm@google.com" 21 owner_email: "if-vdm@google.com" 29 owner_email: "if-vdm@google.com" 37 owner_email: "if-vdm@google.com" 45 owner_email: "if-vdm@google.com" 53 owner_email: "if-vdm@google.com" 61 owner_email: "if-vdm@google.com" 69 owner_email: "if-vdm@google.com" 77 owner_email: "if-vdm@google.com" [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | ProxyManager.java | 164 VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in registerProxy() local 165 if (vdm == null) { in registerProxy() 168 final int deviceId = vdm.getDeviceIdForDisplayId(displayId); in registerProxy() 221 VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in registerVirtualDeviceListener() local 222 if (vdm == null || !android.companion.virtual.flags.Flags.vdmPublicApis()) { in registerVirtualDeviceListener() 234 vdm.registerVirtualDeviceListener(mContext.getMainExecutor(), mVirtualDeviceListener); in registerVirtualDeviceListener() 238 VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in unregisterVirtualDeviceListener() local 239 if (vdm == null || !android.companion.virtual.flags.Flags.vdmPublicApis()) { in unregisterVirtualDeviceListener() 242 vdm.unregisterVirtualDeviceListener(mVirtualDeviceListener); in unregisterVirtualDeviceListener() 385 final VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in displayBelongsToCaller() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | AudioManagerUnitTest.java | 90 private static Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument 93 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
|
D | AudioRecordUnitTest.java | 131 private Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument 134 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
|
D | AudioTrackUnitTest.java | 129 private static Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument 132 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
|
D | MediaPlayerUnitTest.java | 144 private Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument 147 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
|
/frameworks/av/services/camera/virtualcamera/flags/ |
D | Android.bp | 8 config_namespace: "vdm",
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 576 VirtualDeviceManager vdm = context.getSystemService(VirtualDeviceManager.class); in resolvePlaybackSessionId() local 577 if (vdm == null || vdm.getDevicePolicy(deviceId, POLICY_TYPE_AUDIO) in resolvePlaybackSessionId() 582 return vdm.getAudioPlaybackSessionId(deviceId); in resolvePlaybackSessionId()
|
D | AudioRecord.java | 1098 VirtualDeviceManager vdm = context.getSystemService(VirtualDeviceManager.class); in resolveSessionId() local 1099 if (vdm == null || vdm.getDevicePolicy(deviceId, POLICY_TYPE_AUDIO) in resolveSessionId() 1104 return vdm.getAudioRecordingSessionId(deviceId); in resolveSessionId()
|
D | AudioManager.java | 4071 VirtualDeviceManager vdm = getVirtualDeviceManager(); in delegateSoundEffectToVdm() local 4072 vdm.playSoundEffect(mOriginalContextDeviceId, effectType); in delegateSoundEffectToVdm() 4083 VirtualDeviceManager vdm = getVirtualDeviceManager(); in hasCustomPolicyVirtualDeviceContext() local 4084 return vdm != null && vdm.getDevicePolicy(mOriginalContextDeviceId, POLICY_TYPE_AUDIO) in hasCustomPolicyVirtualDeviceContext()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 56 static sp<IVirtualDeviceManagerNative> vdm = connectToVirtualDeviceManagerNative(); in getVirtualDeviceManager() local 57 return vdm; in getVirtualDeviceManager() 67 auto vdm = getVirtualDeviceManager(); in getCurrentDeviceId() local 68 if (vdm == nullptr) { in getCurrentDeviceId() 74 Status status = vdm->getDeviceIdsForUid(myUid, &deviceIds); in getCurrentDeviceId() 96 auto vdm = getVirtualDeviceManager(); in getDevicePolicyForDeviceId() local 97 if (vdm == nullptr) { in getDevicePolicyForDeviceId() 102 Status status = vdm->getDevicePolicy(deviceId, IVirtualDeviceManagerNative::POLICY_TYPE_CAMERA, in getDevicePolicyForDeviceId()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 58 auto vdm = interface_cast<IVirtualDeviceManagerNative>(binder); in getDeviceIdForUid() local 60 vdm->getDeviceIdsForUid(uid, &deviceIds); in getDeviceIdForUid() 68 vdm->getDevicePolicy(deviceId, in getDeviceIdForUid()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthService.java | 318 VirtualDeviceManagerInternal vdm = getLocalService( in authenticate() local 320 if (vdm != null) { in authenticate() 321 vdm.onAuthenticationPrompt(callingUid); in authenticate()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 834 VirtualDeviceManager vdm = context.getSystemService(VirtualDeviceManager.class); in getDeviceSpecificPlaybackSessionId() local 835 if (vdm == null) { in getDeviceSpecificPlaybackSessionId() 838 return vdm.getAudioPlaybackSessionId(deviceId); in getDeviceSpecificPlaybackSessionId()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/ |
D | FingerprintService.java | 343 VirtualDeviceManagerInternal vdm = getLocalService( 345 if (vdm != null) { 346 vdm.onAuthenticationPrompt(callingUid);
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardLayoutManager.java | 1107 VirtualDeviceManagerInternal vdm = LocalServices.getService( in isVirtualDevice() local 1109 return vdm != null && vdm.isInputDeviceOwnedByVirtualDevice(deviceId); in isVirtualDevice()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2888 VirtualDeviceManager vdm = getSystemService(VirtualDeviceManager.class); in createDeviceContext() local 2889 if (vdm == null || !vdm.isValidVirtualDeviceId(deviceId)) { in createDeviceContext() 3156 VirtualDeviceManager vdm = getSystemService(VirtualDeviceManager.class); in updateDeviceIdIfChanged() local 3157 if (vdm != null) { in updateDeviceIdIfChanged() 3158 int deviceId = vdm.getDeviceIdForDisplayId(displayId); in updateDeviceIdIfChanged() 3171 VirtualDeviceManager vdm = getSystemService(VirtualDeviceManager.class); in updateDeviceId() local 3172 if (!vdm.isValidVirtualDeviceId(updatedDeviceId)) { in updateDeviceId()
|
D | ActivityThread.java | 4971 VirtualDeviceManager vdm = context.getSystemService(VirtualDeviceManager.class); in handleCreateService() local 4972 if (vdm != null && vdm.isValidVirtualDeviceId(mLastReportedDeviceId)) { in handleCreateService()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 1061 auto vdm = interface_cast<IVirtualDeviceManagerNative>(binder); in getVirtualDeviceIds() local 1064 vdm->getDeviceIdsForUid(uid, &deviceIds); in getVirtualDeviceIds()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 406 VirtualDeviceManager vdm = new VirtualDeviceManager(mIVirtualDeviceManager, mContext); 407 when(mContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 1550 final VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in createVirtualDisplayInternal() local 1552 if (!vdm.isValidVirtualDeviceId(virtualDevice.getDeviceId())) { in createVirtualDisplayInternal()
|