/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | RegexUtils.java | 105 CharSequence chars = null; field in RegexUtils.TimeoutCharSequence 107 TimeoutCharSequence(CharSequence chars, long timeout) { in TimeoutCharSequence() argument 108 this.chars = chars; in TimeoutCharSequence() 118 return chars.charAt(index); in charAt() 123 return chars.length(); in length() 128 return new TimeoutCharSequence(chars.subSequence(start, end), in subSequence() 134 return chars.toString(); in toString()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 70 private <T> void verifySupportedExtension(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedExtension() argument 72 List<Size> availableSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedExtension() 78 private <T> void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 80 verifySupportedExtension(chars, cameraId, extension, klass); in verifySupportedSizes() 83 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedSizes() 97 private void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 99 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, format); in verifySupportedSizes() 117 private <T> void verifyUnsupportedExtension(CameraExtensionCharacteristics chars, in verifyUnsupportedExtension() argument 120 chars.getExtensionSupportedSizes(extension, klass); in verifyUnsupportedExtension() 221 CameraExtensionCharacteristics chars = in testExtensionLatencyRanges() local [all …]
|
D | RobustnessTest.java | 491 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatoryReprocessConfigurations() local 493 chars, CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_REMOSAIC_REPROCESSING)) { in testMandatoryReprocessConfigurations() 505 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryReprocessConfigurations() 1466 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(id); in testConfigureInvalidSensorPixelModes() local 1468 chars.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in testConfigureInvalidSensorPixelModes() 1470 … chars.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION); in testConfigureInvalidSensorPixelModes()
|
D | CameraExtensionSessionTest.java | 650 CameraExtensionCharacteristics chars = in testConcurrentSessions() local 652 if (chars.getSupportedExtensions().isEmpty()) { in testConcurrentSessions() 656 concurrentExtensionChars = chars; in testConcurrentSessions()
|
D | ExtendedCameraCharacteristicsTest.java | 2502 ArrayList<CameraCharacteristics> chars = new ArrayList<> (mCharacteristics); in testLegacyCameraDeviceParity() local 2523 for (CameraCharacteristics ch : chars) { in testLegacyCameraDeviceParity() 2531 chars.remove(found); in testLegacyCameraDeviceParity()
|
/cts/tests/tests/content/jni/ |
D | NativeCursorWindow.cpp | 79 const char* chars = env->GetStringUTFChars(filename, NULL); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() local 81 ALOGI("opening %s", chars); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() 85 int fd = open(chars, O_CREAT | O_RDWR | O_CLOEXEC, 0700); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() 89 ALOGE("open(%s) failed: %d", chars, errno); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() 97 ALOGE("mmap(%s) failed: %d", chars, errno); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/ |
D | ModuleDetector.java | 94 final char[] chars = new char[charCount]; in getSignatureDigest() local 97 chars[i * 3] = HEX_ARRAY[byteHex >>> 4]; in getSignatureDigest() 98 chars[i * 3 + 1] = HEX_ARRAY[byteHex & 0x0F]; in getSignatureDigest() 100 chars[i * 3 + 2] = ':'; in getSignatureDigest() 104 String ret = new String(chars); in getSignatureDigest()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 55 inline void operator()(ACameraMetadata* chars) const { ACameraMetadata_free(chars); } in operator ()() 800 explicit StaticInfo(ACameraMetadata* chars) : mChars(chars) {} in StaticInfo() argument 1098 ACameraMetadata* chars; in getCameraChars() local 1100 mCameraManager, cameraId, &chars); in getCameraChars() 1105 return chars; in getCameraChars() 1114 ACameraMetadata* chars; in getCameraChars() local 1115 camera_status_t ret = ACameraManager_getCameraCharacteristics(mCameraManager, id, &chars); in getCameraChars() 1120 return chars; in getCameraChars() 1893 std::unique_ptr<ACameraMetadata> chars(c); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() local 1898 chars.get(), &physicalCameraCnt, &physicalCameraIds)) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PackageUtil.java | 134 final char[] chars = new char[charCount]; in computePackageSignatureDigest() local 137 chars[i * 3] = HEX_ARRAY[byteHex >>> 4]; in computePackageSignatureDigest() 138 chars[i * 3 + 1] = HEX_ARRAY[byteHex & 0x0F]; in computePackageSignatureDigest() 140 chars[i * 3 + 2] = ':'; in computePackageSignatureDigest() 143 return new String(chars); in computePackageSignatureDigest()
|
D | BaseDefaultPermissionGrantPolicyTest.java | 279 final char[] chars = new char[charCount]; in computePackageCertDigest() local 282 chars[i * 2] = HEX_ARRAY[byteHex >>> 4]; in computePackageCertDigest() 283 chars[i * 2 + 1] = HEX_ARRAY[byteHex & 0x0F]; in computePackageCertDigest() 285 return new String(chars); in computePackageCertDigest()
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 1036 private JsonToken decodeNumber(char[] chars, int offset, int length) { in decodeNumber() argument 1038 int c = chars[i]; in decodeNumber() 1041 c = chars[++i]; in decodeNumber() 1045 c = chars[++i]; in decodeNumber() 1047 c = chars[++i]; in decodeNumber() 1049 c = chars[++i]; in decodeNumber() 1056 c = chars[++i]; in decodeNumber() 1058 c = chars[++i]; in decodeNumber() 1063 c = chars[++i]; in decodeNumber() 1065 c = chars[++i]; in decodeNumber() [all …]
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | HkdfTest.java | 42 String chars = "0123456789abcdef"; in hexEncode() local 47 result.append(chars.charAt(val / 16)); in hexEncode() 48 result.append(chars.charAt(val % 16)); in hexEncode()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 71 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storeCameraInfo() local 74 storeCameraChars(chars); in storeCameraInfo() 87 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storePhysicalCameraInfo() local 91 storeCameraChars(chars); in storePhysicalCameraInfo() 294 private static Object getKeyValue(CameraCharacteristics chars, Object keyObj) { in getKeyValue() argument 295 return chars.get((CameraCharacteristics.Key) keyObj); in getKeyValue() 299 CameraCharacteristics chars) throws Exception { in storeEntry() argument 302 Object keyValue = getKeyValue(chars, keyObj); in storeEntry() 367 CameraCharacteristics chars) throws Exception { in storeArrayEntry() argument 370 Object keyValue = getKeyValue(chars, keyObj); in storeArrayEntry() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyCharacterMapTest.java | 42 private final char[] chars = {'A', 'B', 'C'}; field in KeyCharacterMapTest 297 assertEquals('\0', mKeyCharacterMap.getMatch(getCharacterKeyCode('E'), chars)); in testGetMatch() 298 assertEquals('A', mKeyCharacterMap.getMatch(getCharacterKeyCode('A'), chars)); in testGetMatch() 299 assertEquals('B', mKeyCharacterMap.getMatch(getCharacterKeyCode('B'), chars)); in testGetMatch() 304 char[] chars = new char[] {Character.toLowerCase(oneChar)}; in getCharacterKeyCode() local 305 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); in getCharacterKeyCode() 316 assertEquals('\0', mKeyCharacterMap.getMatch(1000, chars, 2)); in testGetMatchMetaState() 317 assertEquals('\0', mKeyCharacterMap.getMatch(10000, chars, 2)); in testGetMatchMetaState() 318 assertEquals('\0', mKeyCharacterMap.getMatch(getCharacterKeyCode('E'), chars)); in testGetMatchMetaState() 319 assertEquals('A', mKeyCharacterMap.getMatch(getCharacterKeyCode('A'), chars)); in testGetMatchMetaState() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
D | V3RotationTest.java | 259 final char[] chars = str.toCharArray(); in fromHexToByteArray() local 260 final int charLength = chars.length; in fromHexToByteArray() 265 (byte)(((getIndex(chars[i * 2]) << 4) & 0xF0) in fromHexToByteArray() 266 | (getIndex(chars[i * 2 + 1]) & 0x0F)); in fromHexToByteArray()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 175 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in checkCamera2Features() local 176 Integer hwLevel = chars.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in checkCamera2Features() 177 int[] capabilities = chars.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in checkCamera2Features() 202 Boolean flashAvailable = chars.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in checkCamera2Features()
|
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
D | SimPhonebookContract_SimRecordsTest.java | 427 char[] chars = new char[cursor.getInt(0)]; in insertAdn_valueLengthLimits() local 428 Arrays.fill(chars, 'a'); in insertAdn_valueLengthLimits() 429 name = new String(chars); in insertAdn_valueLengthLimits() 430 chars = new char[cursor.getInt(1)]; in insertAdn_valueLengthLimits() 431 Arrays.fill(chars, '1'); in insertAdn_valueLengthLimits() 432 phoneNumber = new String(chars); in insertAdn_valueLengthLimits()
|
/cts/apps/CameraITS/utils/ |
D | its_session_utils.py | 332 chars = [] 333 while not chars or chars[-1] != '\n': 338 chars.append(ch) 339 line = ''.join(chars)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 483 CameraCharacteristics chars = (CameraCharacteristics) md; in serialize() local 484 List<CameraCharacteristics.Key<?>> charsKeys = chars.getKeys(); in serialize() 485 List<CaptureRequest.Key<?>> requestKeys = chars.getAvailableCaptureRequestKeys(); in serialize() 486 List<CaptureResult.Key<?>> resultKeys = chars.getAvailableCaptureResultKeys(); in serialize() 487 Set<String> physicalCamIds = chars.getPhysicalCameraIds(); in serialize()
|
D | ItsService.java | 406 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(camId); in openCameraDevice() local 408 chars, ImageFormat.YUV_420_888); in openCameraDevice()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 707 final int newDisplayCount = 1 + (int) value.chars().filter(ch -> ch == ';').count(); in set()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 2002 final char[] chars = { 'a', 'b', 'a', 'b' }; 2006 paint.getTextRunAdvances(chars, 0, 4, 0, 4, false /* isRtl */, buffer, 0), 0.0f); 2014 paint.getTextRunAdvances(chars, 1, 2, 1, 2, false /* isRtl */, buffer, 5), 0.0f);
|