/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 75 private <T> void verifySupportedExtension(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedExtension() argument 77 List<Size> availableSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedExtension() 83 private <T> void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 85 verifySupportedExtension(chars, cameraId, extension, klass); in verifySupportedSizes() 88 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedSizes() 102 private void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 104 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, format); in verifySupportedSizes() 122 private <T> void verifyUnsupportedExtension(CameraExtensionCharacteristics chars, in verifyUnsupportedExtension() argument 125 chars.getExtensionSupportedSizes(extension, klass); in verifyUnsupportedExtension() 227 CameraExtensionCharacteristics chars = in testExtensionLatencyRanges() local [all …]
|
D | RobustnessTest.java | 308 CameraCharacteristics chars = info.getCharacteristics(); in testMandatoryUseCaseOutputCombinations() local 311 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryUseCaseOutputCombinations() 342 CameraCharacteristics chars = info.getCharacteristics(); in testMandatoryPreviewStabilizationOutputCombinations() local 346 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryPreviewStabilizationOutputCombinations() 636 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatory10BitStreamCombinations() local 638 chars, CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT)) { in testMandatory10BitStreamCombinations() 646 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatory10BitStreamCombinations() 817 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatoryReprocessConfigurations() local 819 chars, CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_REMOSAIC_REPROCESSING)) { in testMandatoryReprocessConfigurations() 831 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryReprocessConfigurations() [all …]
|
D | CameraExtensionSessionTest.java | 693 CameraExtensionCharacteristics chars = in testConcurrentSessions() local 695 if (chars.getSupportedExtensions().isEmpty()) { in testConcurrentSessions() 699 concurrentExtensionChars = chars; in testConcurrentSessions()
|
D | ExtendedCameraCharacteristicsTest.java | 2750 ArrayList<CameraCharacteristics> chars = new ArrayList<> (mCharacteristics); in testLegacyCameraDeviceParity() local 2771 for (CameraCharacteristics ch : chars) { in testLegacyCameraDeviceParity() 2779 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/tests/graphics/src/android/graphics/fonts/ |
D | SystemEmojiTest.java | 52 public String getFontName(String chars) { in getFontName() argument 56 chars, 0, chars.length(), 0, chars.length(), 0f, 0f, false, paint); in getFontName()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 55 inline void operator()(ACameraMetadata* chars) const { ACameraMetadata_free(chars); } in operator ()() 834 explicit StaticInfo(ACameraMetadata* chars) : mChars(chars) {} in StaticInfo() argument 1133 ACameraMetadata* chars; in getCameraChars() local 1135 mCameraManager, cameraId, &chars); in getCameraChars() 1140 return chars; in getCameraChars() 1149 ACameraMetadata* chars; in getCameraChars() local 1150 camera_status_t ret = ACameraManager_getCameraCharacteristics(mCameraManager, id, &chars); in getCameraChars() 1155 return chars; in getCameraChars() 1972 std::unique_ptr<ACameraMetadata> chars(c); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() local 1977 chars.get(), &physicalCameraCnt, &physicalCameraIds)) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() [all …]
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PackageUtil.java | 140 final char[] chars = new char[charCount]; in computePackageSignatureDigest() local 143 chars[i * 3] = HEX_ARRAY[byteHex >>> 4]; in computePackageSignatureDigest() 144 chars[i * 3 + 1] = HEX_ARRAY[byteHex & 0x0F]; in computePackageSignatureDigest() 146 chars[i * 3 + 2] = ':'; in computePackageSignatureDigest() 149 return new String(chars); in computePackageSignatureDigest()
|
D | BaseDefaultPermissionGrantPolicyTest.java | 295 final char[] chars = new char[charCount]; in computePackageCertDigest() local 298 chars[i * 2] = HEX_ARRAY[byteHex >>> 4]; in computePackageCertDigest() 299 chars[i * 2 + 1] = HEX_ARRAY[byteHex & 0x0F]; in computePackageCertDigest() 301 return new String(chars); in computePackageCertDigest()
|
/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/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 74 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storeCameraInfo() local 77 storeCameraChars(chars); in storeCameraInfo() 90 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storePhysicalCameraInfo() local 94 storeCameraChars(chars); in storePhysicalCameraInfo() 358 private static Object getKeyValue(CameraCharacteristics chars, Object keyObj) { in getKeyValue() argument 359 return chars.get((CameraCharacteristics.Key) keyObj); in getKeyValue() 363 CameraCharacteristics chars) throws Exception { in storeEntry() argument 366 Object keyValue = getKeyValue(chars, keyObj); in storeEntry() 439 CameraCharacteristics chars) throws Exception { in storeArrayEntry() argument 442 Object keyValue = getKeyValue(chars, keyObj); in storeArrayEntry() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
D | V3RotationTest.java | 358 final char[] chars = str.toCharArray(); in fromHexToByteArray() local 359 final int charLength = chars.length; in fromHexToByteArray() 364 (byte)(((getIndex(chars[i * 2]) << 4) & 0xF0) in fromHexToByteArray() 365 | (getIndex(chars[i * 2 + 1]) & 0x0F)); in fromHexToByteArray()
|
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
D | SimPhonebookContract_SimRecordsTest.java | 343 char[] chars = new char[cursor.getInt(0)]; in insertAdn_valueLengthLimits() local 344 Arrays.fill(chars, 'a'); in insertAdn_valueLengthLimits() 345 name = new String(chars); in insertAdn_valueLengthLimits() 346 chars = new char[cursor.getInt(1)]; in insertAdn_valueLengthLimits() 347 Arrays.fill(chars, '1'); in insertAdn_valueLengthLimits() 348 phoneNumber = new String(chars); in insertAdn_valueLengthLimits()
|
/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/app.usage/src/android/app/usage/cts/ |
D | DumpOnFailureRule.java | 69 final String shortenedClassName = className.chars() in getShortenedTestName()
|
/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 | 514 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(camId); in openCameraDevice() local 516 chars, ImageFormat.YUV_420_888); in openCameraDevice()
|
/cts/apps/CameraITS/utils/ |
D | its_session_utils.py | 366 chars = [] 367 while not chars or chars[-1] != '\n': 372 chars.append(ch) 373 line = ''.join(chars)
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 517 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);
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchSessionCtsTestBase.java | 681 char[] chars = new char[1024]; // 1KiB in testPutLargeDocumentBatch() local 682 Arrays.fill(chars, ' '); in testPutLargeDocumentBatch() 683 String body = String.valueOf(chars) + "the end."; in testPutLargeDocumentBatch()
|