/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 126 String deviceId; field in DngCreatorTest.DngDebugParams 166 String deviceId = mCameraIdsUnderTest[i]; in testSingleImageBasic() local 171 if (!mAllStaticInfo.get(deviceId).isCapabilitySupported( in testSingleImageBasic() 178 openDevice(deviceId); in testSingleImageBasic() 197 String dngFilePath = mDebugFileNameBase + "/camera_basic_" + deviceId + "_" + in testSingleImageBasic() 204 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + dngFilePath); in testSingleImageBasic() 209 closeDevice(deviceId); in testSingleImageBasic() 241 String deviceId = mCameraIdsUnderTest[i]; in testSingleImageBasicMaximumResolution() local 248 if (!mAllStaticInfo.get(deviceId).isCapabilitySupported( in testSingleImageBasicMaximumResolution() 255 openDevice(deviceId); in testSingleImageBasicMaximumResolution() [all …]
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceMultiDeviceKeyEventTest.java | 128 private String createDeviceRegisterCommand(int deviceId, int[] keys) { in createDeviceRegisterCommand() argument 132 json.put("id", deviceId); in createDeviceRegisterCommand() 137 json.put("pid", GOOGLE_VIRTUAL_KEYBOARD_ID + deviceId); in createDeviceRegisterCommand() 227 private KeyEvent generateKeyEvent(int deviceId, int action, String label, int repeat) { in generateKeyEvent() argument 232 repeat, /* metaState */ 0, mInputManagerDeviceIds[deviceId], /* scanCode */ 0, in generateKeyEvent() 242 private void pressKeyDown(int deviceId, int evKeyCode) { in pressKeyDown() argument 246 mUinputDevices[deviceId].injectEvents(Arrays.toString(evCodesDown)); in pressKeyDown() 253 private void pressKeyUp(int deviceId, int evKeyCode) { in pressKeyUp() argument 257 mUinputDevices[deviceId].injectEvents(Arrays.toString(evCodesUp)); in pressKeyUp() 260 private void assertKeyRepeat(int deviceId, String label, int repeat, int count) { in assertKeyRepeat() argument [all …]
|
D | InputDeviceVibratorTest.java | 177 if (result.reason.equals("vibrating") && result.deviceId == mDeviceId in testInputVibratorEvents()
|
D | InputDeviceVibratorManagerTest.java | 130 if (result.reason.equals("vibrating") && result.deviceId == mDeviceId in getVibrationCount()
|
/cts/libs/input/src/com/android/cts/input/ |
D | HidDevice.java | 60 result.deviceId = Integer.decode(mReader.nextString()); in readResults() 86 public synchronized List<HidResultData> getResults(int deviceId, byte eventId) in getResults() argument 91 if (deviceId == result.deviceId && eventId == result.eventId) { in getResults() 106 if (mId == result.deviceId && mResults != null) { in addResult()
|
D | UinputDevice.java | 59 result.deviceId = Integer.decode(mReader.nextString()); in readResults() 82 public synchronized List<UinputResultData> getResults(int deviceId, String reason) in getResults() argument 87 if (deviceId == result.deviceId && reason.equals(reason)) { in getResults() 102 if (mId == result.deviceId && mResults != null) { in addResult()
|
D | VirtualInputDevice.java | 224 private void updateInputDevice(int deviceId) { in updateInputDevice() argument 225 InputDevice device = mInputManager.getInputDevice(deviceId); in updateInputDevice() 239 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument 241 updateInputDevice(deviceId); in onInputDeviceAdded() 245 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument 247 updateInputDevice(deviceId); in onInputDeviceChanged() 251 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument 252 if (deviceId == mDeviceId) { in onInputDeviceRemoved()
|
D | UinputResultData.java | 28 public int deviceId; field in UinputResultData
|
D | HidResultData.java | 28 public int deviceId; field in HidResultData
|
/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/tv/src/android/media/tv/cts/ |
D | TvInputManagerTest.java | 426 int deviceId = 0; in testAcquireTvInputHardware() local 431 mManager.addHardwareDevice(deviceId); in testAcquireTvInputHardware() 434 deviceId = hardwareList.get(0).getDeviceId(); in testAcquireTvInputHardware() 447 deviceId, mStubTvInputInfo, null /*tvInputSessionId*/, in testAcquireTvInputHardware() 454 deviceId, mStubTvInputInfo, null /*tvInputSessionId*/, in testAcquireTvInputHardware() 462 mManager.removeHardwareDevice(deviceId); in testAcquireTvInputHardware()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 136 status_t setOutputDevice(audio_port_handle_t deviceId) { return OK; } in setOutputDevice() argument 138 status_t getRoutedDeviceId(audio_port_handle_t *deviceId) { return OK; } in getRoutedDeviceId() argument
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 56 outMsg->body.key.deviceId = msg.body.key.deviceId; in sanitizeMessage() 85 outMsg->body.motion.deviceId = msg.body.motion.deviceId; in sanitizeMessage()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 182 int deviceId = event.getDeviceId(); in sendKey() local 197 metaState, deviceId, scanCode, flags, source); in sendKey()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 1052 String deviceId = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testGetDeviceId() local 1054 verifyDeviceId(deviceId); in testGetDeviceId() 1077 String deviceId = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testGetDeviceIdForSlot() local 1079 verifyDeviceId(deviceId); in testGetDeviceIdForSlot() 1090 private void verifyDeviceId(String deviceId) { in verifyDeviceId() argument 1094 assertImei(deviceId); in verifyDeviceId() 1096 assertMeidEsn(deviceId); in verifyDeviceId() 1124 private static void assertImeiCheckDigit(String deviceId) { in assertImeiCheckDigit() argument 1125 int expectedCheckDigit = getLuhnCheckDigit(deviceId.substring(0, 14)); in assertImeiCheckDigit() 1126 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); in assertImeiCheckDigit() [all …]
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 102 deviceId = buildInfo.getAttribute("deviceID") 110 self.addKV("serial", deviceId)
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 89 int deviceId = mParser.readDeviceId(mRegisterResourceId); in setUp() local 91 setUpDevice(deviceId, mParser.readVendorId(mRegisterResourceId), in setUp()
|
D | InputHidTestCase.java | 305 if (result.deviceId == mDeviceId in testInputVibratorEvents() 373 if (result.deviceId == mDeviceId in testInputVibratorManagerEvents()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_stream_builder.cpp | 105 static void runtest_aaudio_devices(int32_t deviceId, Expect expect) { in runtest_aaudio_devices() argument 108 AAudioStreamBuilder_setDeviceId(aaudioBuilder, deviceId); in runtest_aaudio_devices()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 305 int deviceId = 1; in testGetDeviceId() local 307 KeyEvent.META_SHIFT_ON, deviceId, 1); in testGetDeviceId() 308 assertEquals(deviceId, mKeyEvent.getDeviceId()); in testGetDeviceId()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmClearkeyTest.java | 951 final byte[] deviceId = getByteArrayProperty(drm, DEVICEID_PROPERTY_KEY); in testSetProperties() 956 if (!Arrays.equals(deviceId, getByteArrayProperty(drm, DEVICEID_PROPERTY_KEY))) { in testSetProperties()
|