/cts/tests/tests/hardware/src/android/hardware/input/cts/ |
D | InputCtsActivity.java | 79 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument 80 mInputCallback.onInputDeviceAdded(deviceId); in onInputDeviceAdded() 84 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument 85 mInputCallback.onInputDeviceRemoved(deviceId); in onInputDeviceRemoved() 89 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument 90 mInputManager.getInputDevice(deviceId); // if this isn't called, won't get new notifications in onInputDeviceChanged() 91 mInputCallback.onInputDeviceChanged(deviceId); in onInputDeviceChanged()
|
D | InputCallback.java | 25 public void onInputDeviceAdded(int deviceId); in onInputDeviceAdded() argument 26 public void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved() argument 27 public void onInputDeviceChanged(int deviceId); in onInputDeviceChanged() argument
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 283 String deviceId = mTelephonyManager.getDeviceId(mTelephonyManager.getSlotIndex()); in testGetDeviceIdForSlot() local 284 verifyDeviceId(deviceId); in testGetDeviceIdForSlot() 291 private void verifyDeviceId(String deviceId) { in verifyDeviceId() argument 295 assertImei(deviceId); in verifyDeviceId() 297 assertMeidEsn(deviceId); in verifyDeviceId() 325 private static void assertImeiCheckDigit(String deviceId) { in assertImeiCheckDigit() argument 326 int expectedCheckDigit = getLuhnCheckDigit(deviceId.substring(0, 14)); in assertImeiCheckDigit() 327 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); in assertImeiCheckDigit() 328 assertEquals("Incorrect check digit for " + deviceId, expectedCheckDigit, actualCheckDigit); in assertImeiCheckDigit() 347 private static int getLuhnCheckDigit(String deviceId) { in getLuhnCheckDigit() argument [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 138 String deviceId = mCameraIds[i]; in testSingleImageBasic() local 143 openDevice(deviceId); in testSingleImageBasic() 170 String dngFilePath = DEBUG_FILE_NAME_BASE + "/camera_basic_" + deviceId + "_" + in testSingleImageBasic() 177 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + dngFilePath); in testSingleImageBasic() 182 closeDevice(deviceId); in testSingleImageBasic() 213 String deviceId = mCameraIds[i]; in testSingleImageThumbnail() local 220 openDevice(deviceId); in testSingleImageThumbnail() 279 String filePath = DEBUG_FILE_NAME_BASE + "/camera_thumb_" + deviceId + "_" + in testSingleImageThumbnail() 287 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + filePath); in testSingleImageThumbnail() 339 closeDevice(deviceId); in testSingleImageThumbnail() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyboardShortcutsActivity.java | 83 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { in onProvideKeyboardShortcuts() argument 91 super.onProvideKeyboardShortcuts(data, menu, deviceId); in onProvideKeyboardShortcuts()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 230 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument 235 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument 239 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 176 int deviceId = event.getDeviceId(); in sendKey() local 191 metaState, deviceId, scanCode, flags, source); in sendKey()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 102 deviceId = buildInfo.getAttribute("deviceID") 110 self.addKV("serial", deviceId)
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_stream_builder.cpp | 58 static void runtest_aaudio_devices(int32_t deviceId, Expect expect) { in runtest_aaudio_devices() argument 61 AAudioStreamBuilder_setDeviceId(aaudioBuilder, deviceId); in runtest_aaudio_devices()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 294 int deviceId = 1; in testGetDeviceId() local 296 KeyEvent.META_SHIFT_ON, deviceId, 1); in testGetDeviceId() 297 assertEquals(deviceId, mKeyEvent.getDeviceId()); in testGetDeviceId()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmClearkeyTest.java | 696 final byte[] deviceId = getByteArrayProperty(drm, DEVICEID_PROPERTY_KEY); in testSetProperties() 701 if (!Arrays.equals(deviceId, getByteArrayProperty(drm, DEVICEID_PROPERTY_KEY))) { in testSetProperties()
|