/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | StreamedAppClipboardTest.java | 192 assertThat(virtualDevice.readClipboardFromActivity(defaultDevice.mDeviceId)).isNull(); in streamedAppCanNotReadDefaultDeviceClipboard() 201 virtualDevice.writeClipboardFromActivity(defaultDevice.mDeviceId); in streamedAppCanNotWriteDefaultDeviceClipboard() 241 verifyClipData(virtualDevice.readClipboardFromActivity(virtualDevice.mDeviceId)); in customPolicy_streamedAppReadsFromDefaultDeviceClipboard() 254 virtualDevice.writeClipboardFromActivity(virtualDevice.mDeviceId); in customPolicy_streamedAppWritesToDefaultDeviceClipboard() 268 assertThat(virtualDevice.readClipboardFromActivity(anotherVirtualDevice.mDeviceId)) in streamedAppCanNotReadAnotherVirtualDeviceClipboard() 278 virtualDevice.writeClipboardFromActivity(anotherVirtualDevice.mDeviceId); in streamedAppCanNotWriteAnotherVirtualDeviceClipboard() 290 assertThat(defaultDevice.readClipboardFromActivity(virtualDevice.mDeviceId)).isNull(); in defaultDeviceAppCanNotReadVirtualDeviceClipboard() 299 defaultDevice.writeClipboardFromActivity(virtualDevice.mDeviceId); in defaultDeviceAppCanNotWriteVirtualDeviceClipboard() 316 verifyClipData(defaultDevice.readClipboardFromActivity(virtualDevice.mDeviceId)); in customPolicy_defaultDeviceAppCanReadVirtualDeviceClipboard() 329 defaultDevice.writeClipboardFromActivity(virtualDevice.mDeviceId); in customPolicy_defaultDeviceAppCanWriteVirtualDeviceClipboard() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/ |
D | VirtualInputDeviceCreator.java | 168 private final int mDeviceId; field in VirtualInputDeviceCreator.InputDeviceHolder 172 mDeviceId = deviceId; in InputDeviceHolder() 180 return mDeviceId; in getDeviceId() 197 private int mDeviceId; field in VirtualInputDeviceCreator.InputDeviceAddedWaiter 222 mDeviceId = deviceId; in onInputDeviceChanged() 235 return mDeviceId; in await()
|
/cts/libs/input/src/com/android/cts/input/ |
D | VirtualInputDevice.java | 63 private int mDeviceId = Integer.MIN_VALUE; field in VirtualInputDevice 203 return mDeviceId; in getDeviceId() 249 mDeviceId = device.getId(); in updateInputDevice() 274 if (deviceId == mDeviceId) { in onInputDeviceRemoved()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceVibratorTest.java | 79 private int mDeviceId; field in InputDeviceVibratorTest 115 mDeviceId = mUinputDevice.getRegisterCommandDeviceId(); in setup() 171 results = mUinputDevice.getResults(mDeviceId, "vibrating"); in testInputVibratorEvents() 178 if (result.reason.equals("vibrating") && result.deviceId == mDeviceId in testInputVibratorEvents()
|
D | InputDeviceVibratorManagerTest.java | 70 private int mDeviceId; field in InputDeviceVibratorManagerTest 103 mDeviceId = mUinputDevice.getRegisterCommandDeviceId(); in setup() 129 results = mUinputDevice.getResults(mDeviceId, "vibrating"); in getVibrationCount() 136 if (result.reason.equals("vibrating") && result.deviceId == mDeviceId in getVibrationCount()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 83 private int mDeviceId; field in InputHidTestCase 109 mDeviceId = mParser.readDeviceId(mRegisterResourceId); in onSetUp() 111 mDeviceId, in onSetUp() 289 results = mHidDevice.getResults(mDeviceId, UHID_EVENT_TYPE_UHID_OUTPUT); in testInputVibratorEvents() 296 if (result.deviceId == mDeviceId in testInputVibratorEvents() 357 results = mHidDevice.getResults(mDeviceId, UHID_EVENT_TYPE_UHID_OUTPUT); in testInputVibratorManagerEvents() 364 if (result.deviceId == mDeviceId in testInputVibratorManagerEvents() 444 List<HidResultData> results = mHidDevice.getResults(mDeviceId, in testInputLightsManager()
|
D | VirtualInputDeviceGenericTest.java | 204 private final int mDeviceId; field in VirtualInputDeviceGenericTest.InputDeviceRemovedWaiter 207 mDeviceId = deviceId; in InputDeviceRemovedWaiter() 218 if (deviceId == mDeviceId) { in onInputDeviceRemoved()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | PreferredMixerAttributesTestActivity.java | 264 private final int mDeviceId; field in PreferredMixerAttributesTestActivity.MyPreferredMixerAttributesListener 271 mDeviceId = deviceId; in MyPreferredMixerAttributesListener() 278 if (device.getId() == mDeviceId && mAttr.equals(attributes)) { in onPreferredMixerAttributesChanged()
|