Home
last modified time | relevance | path

Searched refs:getDeviceId (Results 1 – 23 of 23) sorted by relevance

/cts/tests/input/src/android/input/cts/
DGamepadWithAccessibilityTest.kt126 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/
DDeviceIdentifiersTest.java51 TelephonyManager::getDeviceId), telephonyManager.getDeviceId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDeviceIdentifiersTest.java48 TelephonyManager::getDeviceId), telephonyManager.getDeviceId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()
/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java238 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()
DKeyEventTest.java308 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()
DMotionEventTest.java118 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/
DDeviceIdentifierAppOpTest.java57 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testAccessToDeviceIdentifiersWithAppOp()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDeviceIdentifiersTest.java40 assertAccessDenied(telephonyManager::getDeviceId, mayReturnNull); in testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMicrophoneTester.java38 sb.append(" Id : " + usbDevice.getDeviceId() + "\n"); in getUSBDeviceListString()
/cts/tests/tests/telephony3/src/android/telephony3/cts/
DTelephonyManagerTest.java66 mTelephonyManager.getDeviceId()); in testDeviceIdentifiersAreNotAccessible()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java74 String id = mTelephonyManager.getDeviceId(); in testGetDeviceId()
80 String id = mTelephonyManager.getDeviceId(0); in testGetDeviceId()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceMultiDeviceKeyEventTest.java209 assertEquals("DeviceId: " + log, expectedKeyEvent.getDeviceId(), in assertReceivedKeyEvent()
210 receivedKeyEvent.getDeviceId()); in assertReceivedKeyEvent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java339 event.getDeviceId(), event.getEdgeFlags(), in splitBatchedMotionEvent()
350 event.getDeviceId(), event.getEdgeFlags(), in splitBatchedMotionEvent()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java197 public int getDeviceId() { in getDeviceId() method in VirtualInputDevice
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java182 int deviceId = event.getDeviceId(); in sendKey()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java128 (telephonyManager) -> telephonyManager.getDeviceId()); in onStart()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java887 assertThat(actual.getDeviceId()).isEqualTo(expected.getDeviceId()); in assertKeyEventEquals()
910 assertThat(actual).hasDeviceId(expected.getDeviceId()); in assertMotionEventEquals()
DTvInputManagerTest.java434 deviceId = hardwareList.get(0).getDeviceId(); in testAcquireTvInputHardware()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java2117 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/
DTelephonyManagerTest.java695 (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/
DAccessibilityGestureDispatchTest.java196 assertEquals(VIRTUAL_KEYBOARD, clickDown.getDeviceId()); in testClickAt_producesDownThenUp()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java342 assertEquals(KeyCharacterMap.VIRTUAL_KEYBOARD, keyEvent.getDeviceId());
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java505 mTelephonyManager.getDeviceId(); in testTelephonyApisAreAccessible()