Home
last modified time | relevance | path

Searched refs:vdm (Results 1 – 21 of 21) sorted by relevance

/frameworks/proto_logging/stats/express/catalog/
Dvirtual_devices.cfg5 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/
DProxyManager.java164 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/
DAudioManagerUnitTest.java90 private static Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument
93 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
DAudioRecordUnitTest.java131 private Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument
134 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
DAudioTrackUnitTest.java129 private static Context getVirtualDeviceMockContext(int deviceId, VirtualDeviceManager vdm) { in getVirtualDeviceMockContext() argument
132 when(mockContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm); in getVirtualDeviceMockContext()
DMediaPlayerUnitTest.java144 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/
DAndroid.bp8 config_namespace: "vdm",
/frameworks/base/media/java/android/media/
DPlayerBase.java576 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()
DAudioRecord.java1098 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()
DAudioManager.java4071 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/
DACameraManager.cpp56 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/
DSensorManager.cpp58 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/
DAuthService.java318 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/
DTextToSpeech.java834 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/
DFingerprintService.java343 VirtualDeviceManagerInternal vdm = getLocalService(
345 if (vdm != null) {
346 vdm.onAuthenticationPrompt(callingUid);
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java1107 VirtualDeviceManagerInternal vdm = LocalServices.getService( in isVirtualDevice() local
1109 return vdm != null && vdm.isInputDeviceOwnedByVirtualDevice(deviceId); in isVirtualDevice()
/frameworks/base/core/java/android/app/
DContextImpl.java2888 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()
DActivityThread.java4971 VirtualDeviceManager vdm = context.getSystemService(VirtualDeviceManager.class); in handleCreateService() local
4972 if (vdm != null && vdm.isValidVirtualDeviceId(mLastReportedDeviceId)) { in handleCreateService()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1061 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/
DDisplayManagerServiceTest.java406 VirtualDeviceManager vdm = new VirtualDeviceManager(mIVirtualDeviceManager, mContext);
407 when(mContext.getSystemService(VirtualDeviceManager.class)).thenReturn(vdm);
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1550 final VirtualDeviceManager vdm = mContext.getSystemService(VirtualDeviceManager.class); in createVirtualDisplayInternal() local
1552 if (!vdm.isValidVirtualDeviceId(virtualDevice.getDeviceId())) { in createVirtualDisplayInternal()