/cts/tests/input/src/android/input/cts/ |
D | GamepadWithAccessibilityTest.kt | 126 assertNotEquals(keyEvent.getDeviceId(), VIRTUAL_KEYBOARD) in testDeviceId() 127 assertEquals(keyEvent.getDeviceId(), uInputDevice.getDeviceId()) in testDeviceId()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DeviceIdentifiersTest.java | 51 TelephonyManager::getDeviceId), telephonyManager.getDeviceId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DeviceIdentifiersTest.java | 48 TelephonyManager::getDeviceId), telephonyManager.getDeviceId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 238 assertEquals(INJECTED_EVENT_DEVICE_ID, received.getDeviceId()); in testDeviceIdBecomesVirtualForInjectedKeys() 242 assertEquals(INJECTED_EVENT_DEVICE_ID, verified.getDeviceId()); in testDeviceIdBecomesVirtualForInjectedKeys() 268 assertEquals(INJECTED_EVENT_DEVICE_ID, received.getDeviceId()); in testDeviceIdBecomesVirtualForInjectedMotions() 272 assertEquals(INJECTED_EVENT_DEVICE_ID, verified.getDeviceId()); in testDeviceIdBecomesVirtualForInjectedMotions() 301 assertEquals(INJECTED_EVENT_DEVICE_ID, verified.getDeviceId()); in compareKeys() 321 assertEquals(INJECTED_EVENT_DEVICE_ID, verified.getDeviceId()); in compareMotions()
|
D | KeyEventTest.java | 308 assertEquals(deviceId, mKeyEvent.getDeviceId()); in testGetDeviceId() 655 assertEquals(mKeyEvent.getDeviceId(), keyEvent.getDeviceId()); in testWriteToParcel() 703 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeAction() 720 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeFlags() 741 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeTimeRepeat()
|
D | MotionEventTest.java | 118 assertEquals(0, mMotionEvent1.getDeviceId()); in testObtainBasic() 138 assertEquals(mMotionEvent2.getDeviceId(), mMotionEventDynamic.getDeviceId()); in testObtainFromMotionEvent() 160 assertEquals(DEVICE_ID_1, mMotionEventDynamic.getDeviceId()); in testObtainAllFields() 276 assertEquals(mMotionEvent2.getDeviceId(), motionEvent.getDeviceId()); in testWriteToParcel()
|
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/ |
D | DeviceIdentifierAppOpTest.java | 57 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testAccessToDeviceIdentifiersWithAppOp()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DeviceIdentifiersTest.java | 40 assertAccessDenied(telephonyManager::getDeviceId, mayReturnNull); in testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | UsbMicrophoneTester.java | 38 sb.append(" Id : " + usbDevice.getDeviceId() + "\n"); in getUSBDeviceListString()
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | TelephonyManagerTest.java | 66 mTelephonyManager.getDeviceId()); in testDeviceIdentifiersAreNotAccessible()
|
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/ |
D | TelephonyManagerPermissionTest.java | 74 String id = mTelephonyManager.getDeviceId(); in testGetDeviceId() 80 String id = mTelephonyManager.getDeviceId(0); in testGetDeviceId()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceMultiDeviceKeyEventTest.java | 209 assertEquals("DeviceId: " + log, expectedKeyEvent.getDeviceId(), in assertReceivedKeyEvent() 210 receivedKeyEvent.getDeviceId()); in assertReceivedKeyEvent()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 339 event.getDeviceId(), event.getEdgeFlags(), in splitBatchedMotionEvent() 350 event.getDeviceId(), event.getEdgeFlags(), in splitBatchedMotionEvent()
|
/cts/libs/input/src/com/android/cts/input/ |
D | VirtualInputDevice.java | 197 public int getDeviceId() { in getDeviceId() method in VirtualInputDevice
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 182 int deviceId = event.getDeviceId(); in sendKey()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 128 (telephonyManager) -> telephonyManager.getDeviceId()); in onStart()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 887 assertThat(actual.getDeviceId()).isEqualTo(expected.getDeviceId()); in assertKeyEventEquals() 910 assertThat(actual).hasDeviceId(expected.getDeviceId()); in assertMotionEventEquals()
|
D | TvInputManagerTest.java | 434 deviceId = hardwareList.get(0).getDeviceId(); in testAcquireTvInputHardware()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 2117 assertFalse(knownDeviceIds.contains(device.getDeviceId())); in enumerateDevices() 2118 knownDeviceIds.add(device.getDeviceId()); in enumerateDevices() 2120 assertEquals(device.getDeviceName(), UsbDevice.getDeviceName(device.getDeviceId())); in enumerateDevices()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 695 (tm) -> tm.getDeviceId()); in testTelephonyManager() 697 (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 1053 (tm) -> tm.getDeviceId()); in testGetDeviceId() 1078 (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); in testGetDeviceIdForSlot() 1086 (tm) -> tm.getDeviceId(currI)); in testGetDeviceIdForSlot()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 196 assertEquals(VIRTUAL_KEYBOARD, clickDown.getDeviceId()); in testClickAt_producesDownThenUp()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 342 assertEquals(KeyCharacterMap.VIRTUAL_KEYBOARD, keyEvent.getDeviceId());
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 505 mTelephonyManager.getDeviceId(); in testTelephonyApisAreAccessible()
|