Searched refs:mVirtualDeviceRule (Results 1 – 7 of 7) sorted by relevance
105 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in VirtualAudioTest125 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 …]
81 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in VirtualAudioPermissionTest219 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(params); in setupVirtualDevice()221 mVirtualDisplay = mVirtualDeviceRule.createManagedVirtualDisplay(mVirtualDevice, in setupVirtualDevice()282 return mVirtualDeviceRule.startActivityOnDisplaySync(displayId, PermissionActivity.class); in launchPermissionActivity()
73 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.withAdditionalPermissions( field in TextToSpeechTest94 VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice( in setUp()
62 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualSensorNativeTest72 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()
105 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualSensorTest150 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(builder.build()); in setUpVirtualSensor()265 mVirtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(builder.build()); in createVirtualSensor_multipleSensorsSameType()
51 public VirtualDeviceRule mVirtualDeviceRule = VirtualDeviceRule.createDefault(); field in VirtualDeviceKeyguardTest56 private final WindowManagerStateHelper mWmState = mVirtualDeviceRule.getWmState();66 VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice(); in setUp()106 mVirtualDeviceRule.runWithTemporaryPermission( in deviceIsSecureNotLocked()
496 private final VirtualDeviceRule mVirtualDeviceRule; field in VirtualDeviceRule.VirtualCameraSupportRule500 mVirtualDeviceRule = virtualDeviceRule; in VirtualCameraSupportRule()515 try (VirtualDevice virtualDevice = mVirtualDeviceRule.createManagedVirtualDevice( in getVirtualCameraSupport()