Home
last modified time | relevance | path

Searched refs:mVirtualDeviceRule (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DVirtualAudioTest.java105 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in VirtualAudioTest
125 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(params); in setUp()
126 mVirtualDisplay = mVirtualDeviceRule.createManagedVirtualDisplay( in setUp()
137 android.companion.virtual.VirtualDevice virtualDevice = mVirtualDeviceRule.getVirtualDevice( in virtualDevice_hasAudioInput_withoutFlag_isFalse()
150 android.companion.virtual.VirtualDevice virtualDevice = mVirtualDeviceRule.getVirtualDevice( in virtualDevice_hasAudioInput_withoutMicrophoneAndCustomPolicy()
167 android.companion.virtual.VirtualDevice virtualDevice = mVirtualDeviceRule.getVirtualDevice( in virtualDevice_hasAudioInput_withMicrophone_isTrue()
183 VirtualDevice secondDevice = mVirtualDeviceRule.createManagedVirtualDevice(params); in multipleVirtualDevices_hasAudioInput_microphoneCapabilitiesOrCustomPolicy()
184 VirtualDisplay secondDisplay = mVirtualDeviceRule.createManagedVirtualDisplay(secondDevice, in multipleVirtualDevices_hasAudioInput_microphoneCapabilitiesOrCustomPolicy()
191 mVirtualDeviceRule.startActivityOnDisplaySync(mVirtualDisplay, AudioActivity.class); in multipleVirtualDevices_hasAudioInput_microphoneCapabilitiesOrCustomPolicy()
192 android.companion.virtual.VirtualDevice deviceOne = mVirtualDeviceRule.getVirtualDevice( in multipleVirtualDevices_hasAudioInput_microphoneCapabilitiesOrCustomPolicy()
[all …]
DVirtualAudioPermissionTest.java81 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in VirtualAudioPermissionTest
219 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(params); in setupVirtualDevice()
221 mVirtualDisplay = mVirtualDeviceRule.createManagedVirtualDisplay(mVirtualDevice, in setupVirtualDevice()
282 return mVirtualDeviceRule.startActivityOnDisplaySync(displayId, PermissionActivity.class); in launchPermissionActivity()
DTextToSpeechTest.java73 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in TextToSpeechTest
94 VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice( in setUp()
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/
DVirtualSensorNativeTest.java62 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualSensorNativeTest
72 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice( in setUp()
92 NativeSensorTestActivity activity = mVirtualDeviceRule.startActivityOnDisplaySync( in activityOnDefaultDisplayGetsDefaultDeviceSensor()
103 VirtualDisplay virtualDisplay = mVirtualDeviceRule.createManagedVirtualDisplay( in activityOnVirtualDisplayGetsVirtualDeviceSensor()
105 NativeSensorTestActivity activity = mVirtualDeviceRule.startActivityOnDisplaySync( in activityOnVirtualDisplayGetsVirtualDeviceSensor()
DVirtualSensorTest.java105 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualSensorTest
150 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(builder.build()); in setUpVirtualSensor()
265 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(builder.build()); in createVirtualSensor_multipleSensorsSameType()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceKeyguardTest.java51 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualDeviceKeyguardTest
56 private final WindowManagerStateHelper mWmState = mVirtualDeviceRule.getWmState();
66 VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(); in setUp()
106 mVirtualDeviceRule.runWithTemporaryPermission( in deviceIsSecureNotLocked()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java496 private final VirtualDeviceRule mVirtualDeviceRule; field in VirtualDeviceRule.VirtualCameraSupportRule
500 mVirtualDeviceRule = virtualDeviceRule; in VirtualCameraSupportRule()
515 try (VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice( in getVirtualCameraSupport()