Searched refs:mVirtualDeviceManager (Results 1 – 5 of 5) sorted by relevance
100 private VirtualDeviceManager mVirtualDeviceManager; field in VirtualDeviceManagerBasicTest114 mVirtualDeviceManager = mContext.getSystemService(VirtualDeviceManager.class); in setUp()117 mVirtualDeviceManager.registerVirtualDeviceListener( in setUp()127 mVirtualDeviceManager.unregisterVirtualDeviceListener(mVirtualDeviceListener); in tearDown()135 () -> mVirtualDeviceManager.getDisplayNameForPersistentDeviceId(null)); in getDisplayNameForPersistentId_nullPersistentId_throws()141 assertThat(mVirtualDeviceManager.getDisplayNameForPersistentDeviceId( in getDisplayNameForPersistentId_nonExistentPersistentId_returnsNull()149 assertThat(mVirtualDeviceManager.getDisplayNameForPersistentDeviceId( in getDisplayNameForPersistentId_defaultDevicePersistentId_returnsNull()158 mVirtualDeviceManager in getDisplayNameForPersistentId_validVirtualDevice_returnsCorrectId()162 mVirtualDeviceManager.getDisplayNameForPersistentDeviceId( in getDisplayNameForPersistentId_validVirtualDevice_returnsCorrectId()174 assertThat(mVirtualDeviceManager.getAllPersistentDeviceIds()).isEmpty(); in getAllPersistentDeviceIds_empty()[all …]
61 private VirtualDeviceManager mVirtualDeviceManager; field in VirtualDisplayTest66 mVirtualDeviceManager = in setUp()177 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(display.getDisplayId())) in createVirtualDisplay_public_createsMirrorDisplay()191 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(display.getDisplayId())) in createVirtualDisplay_autoMirror_createsMirrorDisplay()206 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(display.getDisplayId())) in createVirtualDisplay_publicAutoMirror_createsMirrorDisplay()221 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(display.getDisplayId())) in createVirtualDisplay_ownContentOnly_doesNotCreateMirrorDisplay()236 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(display.getDisplayId())) in createVirtualDisplay_autoMirrorAndOwnContentOnly_doesNotCreateMirrorDisplay()301 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(Display.INVALID_DISPLAY)) in isVirtualDeviceOwnedMirrorDisplay_invalidDisplay_returnsFalse()308 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(Display.DEFAULT_DISPLAY)) in isVirtualDeviceOwnedMirrorDisplay_defaultDisplay_returnsFalse()321 assertThat(mVirtualDeviceManager.isVirtualDeviceOwnedMirrorDisplay(displayId)).isFalse(); in isVirtualDeviceOwnedMirrorDisplay_unownedAutoMirrorDisplay_returnsFalse()[all …]
87 private VirtualDeviceManager mVirtualDeviceManager; field in AudioFocusWithVdmTest92 mVirtualDeviceManager = context.getSystemService(VirtualDeviceManager.class); in setUp()93 assumeNotNull(mVirtualDeviceManager); in setUp()110 try (VirtualDeviceManager.VirtualDevice vd = mVirtualDeviceManager.createVirtualDevice( in testAudioFocusRequestOnVdmContextWithCustomDevicePolicy()143 try (VirtualDeviceManager.VirtualDevice vd = mVirtualDeviceManager.createVirtualDevice( in testAudioFocusRequestOnVdmContextWithDefaultDevicePolicy()
121 private final VirtualDeviceManager mVirtualDeviceManager = field in VirtualDeviceRule154 assumeNotNull(mVirtualDeviceManager); in apply()163 return mVirtualDeviceManager.getVirtualDevice(deviceId); in getVirtualDevice()165 return mVirtualDeviceManager.getVirtualDevices().stream() in getVirtualDevice()185 final VirtualDevice virtualDevice = mVirtualDeviceManager.createVirtualDevice( in createManagedVirtualDevice()
259 private VirtualDeviceManager mVirtualDeviceManager; field in AccessibilityDisplayProxyTest327 mVirtualDeviceManager = context.getSystemService(VirtualDeviceManager.class); in setUp()328 assumeNotNull(mVirtualDeviceManager); in setUp()1668 mVirtualDevice = mVirtualDeviceManager.createVirtualDevice( in createVirtualDeviceAndLaunchVirtualDisplay()