Home
last modified time | relevance | path

Searched refs:mAppsOnVirtualDeviceListener (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java104 mAppsOnVirtualDeviceListener; field in ProxyManager
187 if (mAppsOnVirtualDeviceListener == null) { in registerProxy()
188 mAppsOnVirtualDeviceListener = allRunningUids -> in registerProxy()
192 localVdm.registerAppsOnVirtualDeviceListener(mAppsOnVirtualDeviceListener); in registerProxy()
337 if (localVdm != null && mAppsOnVirtualDeviceListener != null) { in updateStateForRemovedDisplay()
339 mAppsOnVirtualDeviceListener); in updateStateForRemovedDisplay()
340 mAppsOnVirtualDeviceListener = null; in updateStateForRemovedDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java268 private VirtualDeviceManagerInternal.AppsOnVirtualDeviceListener mAppsOnVirtualDeviceListener; field in VirtualDeviceManagerServiceTest
867 mLocalService.registerAppsOnVirtualDeviceListener(mAppsOnVirtualDeviceListener); in onAppsOnVirtualDeviceChanged_singleVirtualDevice_listenersNotified()
872 verify(mAppsOnVirtualDeviceListener).onAppsOnAnyVirtualDeviceChanged(uids); in onAppsOnVirtualDeviceChanged_singleVirtualDevice_listenersNotified()
881 mLocalService.registerAppsOnVirtualDeviceListener(mAppsOnVirtualDeviceListener); in onAppsOnVirtualDeviceChanged_multipleVirtualDevices_listenersNotified()
886 verify(mAppsOnVirtualDeviceListener).onAppsOnAnyVirtualDeviceChanged( in onAppsOnVirtualDeviceChanged_multipleVirtualDevices_listenersNotified()
893 verify(mAppsOnVirtualDeviceListener).onAppsOnAnyVirtualDeviceChanged( in onAppsOnVirtualDeviceChanged_multipleVirtualDevices_listenersNotified()
902 verify(mAppsOnVirtualDeviceListener).onAppsOnAnyVirtualDeviceChanged( in onAppsOnVirtualDeviceChanged_multipleVirtualDevices_listenersNotified()
911 verifyNoMoreInteractions(mAppsOnVirtualDeviceListener); in onAppsOnVirtualDeviceChanged_multipleVirtualDevices_listenersNotified()
1278 mLocalService.registerAppsOnVirtualDeviceListener(mAppsOnVirtualDeviceListener); in closedDevice_lateCallToRunningAppsChanged_isIgnored()
1283 verify(mAppsOnVirtualDeviceListener, never()).onAppsOnAnyVirtualDeviceChanged(any()); in closedDevice_lateCallToRunningAppsChanged_isIgnored()