Home
last modified time | relevance | path

Searched refs:mVdmInternal (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DSensorController.java80 private final VirtualDeviceManagerInternal mVdmInternal; field in SensorController
90 mVdmInternal = LocalServices.getService(VirtualDeviceManagerInternal.class); in SensorController()
232 VirtualSensor sensor = mVdmInternal.getVirtualSensor(mVirtualDeviceId, handle); in onConfigurationChanged()
288 VirtualSensor sensor = mVdmInternal.getVirtualSensor(mVirtualDeviceId, sensorHandle); in onDirectChannelConfigured()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java142 private final VirtualDeviceManagerInternal mVdmInternal; field in ClipboardService
182 mVdmInternal = LocalServices.getService(VirtualDeviceManagerInternal.class); in ClipboardService()
183 mVdm = (mVdmInternal == null) ? null : getContext().getSystemService( in ClipboardService()
222 if (!android.companion.virtual.flags.Flags.vdmPublicApis() && mVdmInternal != null) { in onStart()
423 if (mVdmInternal == null) { in getIntendingDeviceId()
427 ArraySet<Integer> virtualDeviceIds = mVdmInternal.getDeviceIdsForUid(uid); in getIntendingDeviceId()
461 if (mVdmInternal.getDeviceOwnerUid(requestedDeviceId) == uid in getIntendingDeviceId()
1377 allowed = (mVdmInternal != null) in clipboardAccessAllowed()
1378 && mVdmInternal.getDeviceOwnerUid(intendingDeviceId) == uid; in clipboardAccessAllowed()
1470 if (clipboard.deviceId != DEVICE_ID_DEFAULT && mVdmInternal.getDeviceOwnerUid( in showAccessNotificationLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
DFingerprintServiceTest.java119 private VirtualDeviceManagerInternal mVdmInternal; field in FingerprintServiceTest
142 LocalServices.addService(VirtualDeviceManagerInternal.class, mVdmInternal); in setup()
290 verify(mVdmInternal).onAuthenticationPrompt(uidCaptor.capture()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthServiceTest.java127 private VirtualDeviceManagerInternal mVdmInternal; field in AuthServiceTest
151 LocalServices.addService(VirtualDeviceManagerInternal.class, mVdmInternal); in setUp()
366 verify(mVdmInternal).onAuthenticationPrompt(uidCaptor.capture()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java373 private VirtualDeviceManagerInternal mVdmInternal = null; field in InputMethodManagerService
2177 if (mVdmInternal == null) { in startInputUncheckedLocked()
2178 mVdmInternal = LocalServices.getService(VirtualDeviceManagerInternal.class); in startInputUncheckedLocked()
2180 if (mVdmInternal != null && editorInfo.hintLocales == null) { in startInputUncheckedLocked()
2181 LocaleList hintsFromVirtualDevice = mVdmInternal.getPreferredLocaleListForUid(cs.mUid); in startInputUncheckedLocked()
2253 if (mVdmInternal == null) { in computeCurrentDeviceMethodIdLocked()
2254 mVdmInternal = LocalServices.getService(VirtualDeviceManagerInternal.class); in computeCurrentDeviceMethodIdLocked()
2256 if (mVdmInternal == null || !android.companion.virtual.flags.Flags.vdmCustomIme()) { in computeCurrentDeviceMethodIdLocked()
2264 final int newDeviceId = mVdmInternal.getDeviceIdForDisplayId(displayIdToShowIme); in computeCurrentDeviceMethodIdLocked()