/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 130 private <T> void verifySupportedExtension(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedExtension() argument 132 List<Size> availableSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedExtension() 138 private <T> void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 140 verifySupportedExtension(chars, cameraId, extension, klass); in verifySupportedSizes() 143 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedSizes() 157 private void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() argument 159 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, format); in verifySupportedSizes() 177 private <T> void verifyUnsupportedExtension(CameraExtensionCharacteristics chars, in verifyUnsupportedExtension() argument 180 chars.getExtensionSupportedSizes(extension, klass); in verifyUnsupportedExtension() 285 CameraExtensionCharacteristics chars = in testExtensionLatencyRanges() local [all …]
|
D | RobustnessTest.java | 318 CameraCharacteristics chars = info.getCharacteristics(); in testMandatoryUseCaseOutputCombinations() local 321 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryUseCaseOutputCombinations() 354 CameraCharacteristics chars = info.getCharacteristics(); in testMandatoryPreviewStabilizationOutputCombinations() local 358 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryPreviewStabilizationOutputCombinations() 681 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatory10BitStreamCombinations() local 683 chars, CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT)) { in testMandatory10BitStreamCombinations() 691 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatory10BitStreamCombinations() 862 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatoryReprocessConfigurations() local 864 chars, CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_REMOSAIC_REPROCESSING)) { in testMandatoryReprocessConfigurations() 876 MandatoryStreamCombination[] combinations = chars.get(ck); in testMandatoryReprocessConfigurations() [all …]
|
D | CameraDeviceSetupTest.java | 93 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in testCameraDeviceSetupSupport() local 94 Integer queryVersion = chars.get( in testCameraDeviceSetupSupport()
|
D | CameraExtensionSessionTest.java | 1273 CameraExtensionCharacteristics chars = in testConcurrentSessions() local 1275 if (chars.getSupportedExtensions().isEmpty()) { in testConcurrentSessions() 1279 concurrentExtensionChars = chars; in testConcurrentSessions()
|
D | ExtendedCameraCharacteristicsTest.java | 3265 ArrayList<CameraCharacteristics> chars = new ArrayList<> (mCharacteristics); in testLegacyCameraDeviceParity() local 3286 for (CameraCharacteristics ch : chars) { in testLegacyCameraDeviceParity() 3294 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/tests/tests/graphics/src/android/graphics/fonts/ |
D | SystemEmojiTest.java | 51 public String getFontName(String chars) { in getFontName() argument 55 chars, 0, chars.length(), 0, chars.length(), 0f, 0f, false, paint); in getFontName()
|
/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 | 58 inline void operator()(ACameraMetadata* chars) const { ACameraMetadata_free(chars); } in operator ()() 881 explicit StaticInfo(ACameraMetadata* chars) : mChars(chars) {} in StaticInfo() argument 1180 ACameraMetadata* chars; in getCameraChars() local 1182 mCameraManager, cameraId, &chars); in getCameraChars() 1187 return chars; in getCameraChars() 1196 ACameraMetadata* chars; in getCameraChars() local 1197 camera_status_t ret = ACameraManager_getCameraCharacteristics(mCameraManager, id, &chars); in getCameraChars() 1202 return chars; in getCameraChars() 2042 std::unique_ptr<ACameraMetadata> chars(c); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() local 2047 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 | 297 final char[] chars = new char[charCount]; in computePackageCertDigest() local 300 chars[i * 2] = HEX_ARRAY[byteHex >>> 4]; in computePackageCertDigest() 301 chars[i * 2 + 1] = HEX_ARRAY[byteHex & 0x0F]; in computePackageCertDigest() 303 return new String(chars); in computePackageCertDigest()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyCharacterMapTest.java | 44 private final char[] chars = {'A', 'B', 'C'}; field in KeyCharacterMapTest 299 assertEquals('\0', mKeyCharacterMap.getMatch(getCharacterKeyCode('E'), chars)); in testGetMatch() 300 assertEquals('A', mKeyCharacterMap.getMatch(getCharacterKeyCode('A'), chars)); in testGetMatch() 301 assertEquals('B', mKeyCharacterMap.getMatch(getCharacterKeyCode('B'), chars)); in testGetMatch() 306 char[] chars = new char[] {Character.toLowerCase(oneChar)}; in getCharacterKeyCode() local 307 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); in getCharacterKeyCode() 318 assertEquals('\0', mKeyCharacterMap.getMatch(1000, chars, 2)); in testGetMatchMetaState() 319 assertEquals('\0', mKeyCharacterMap.getMatch(10000, chars, 2)); in testGetMatchMetaState() 320 assertEquals('\0', mKeyCharacterMap.getMatch(getCharacterKeyCode('E'), chars)); in testGetMatchMetaState() 321 assertEquals('A', mKeyCharacterMap.getMatch(getCharacterKeyCode('A'), chars)); in testGetMatchMetaState() [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 78 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storeCameraInfo() local 81 storeCameraChars(chars); in storeCameraInfo() 94 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in storePhysicalCameraInfo() local 98 storeCameraChars(chars); in storePhysicalCameraInfo() 408 private static Object getKeyValue(CameraCharacteristics chars, Object keyObj) { in getKeyValue() argument 409 return chars.get((CameraCharacteristics.Key) keyObj); in getKeyValue() 413 CameraCharacteristics chars) throws Exception { in storeEntry() argument 416 Object keyValue = getKeyValue(chars, keyObj); in storeEntry() 493 CameraCharacteristics chars) throws Exception { in storeArrayEntry() argument 496 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/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 174 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in checkCamera2Features() local 175 Integer hwLevel = chars.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in checkCamera2Features() 176 int[] capabilities = chars.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in checkCamera2Features() 201 Boolean flashAvailable = chars.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in checkCamera2Features() 206 chars.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); in checkCamera2Features()
|
/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/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 | 541 CameraCharacteristics chars = (CameraCharacteristics) md; in serialize() local 542 List<CameraCharacteristics.Key<?>> charsKeys = chars.getKeys(); in serialize() 543 List<CaptureRequest.Key<?>> requestKeys = chars.getAvailableCaptureRequestKeys(); in serialize() 544 List<CaptureResult.Key<?>> resultKeys = chars.getAvailableCaptureResultKeys(); in serialize() 545 Set<String> physicalCamIds = chars.getPhysicalCameraIds(); in serialize()
|
D | ItsService.java | 642 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(camId); in openCameraDevice() local 644 chars, ImageFormat.YUV_420_888); in openCameraDevice() 2718 CameraExtensionCharacteristics chars = 2720 List<Integer> extensionsList = chars.getSupportedExtensions(); 2730 CameraExtensionCharacteristics chars = 2732 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension, format); 2747 CameraExtensionCharacteristics chars = 2749 List<Size> extensionSizes = chars.getExtensionSupportedSizes(extension,
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/ |
D | PerfettoTests.java | 81 String chars = getDevice().getProperty("ro.build.characteristics"); in setUp() local 82 if (!isSystemTracingEnabled() && chars.contains("automotive")) { in setUp()
|
/cts/apps/CameraITS/utils/ |
D | its_session_utils.py | 520 chars = [] 521 while not chars or chars[-1] != '\n': 526 chars.append(ch) 527 line = ''.join(chars)
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 512 final int newDisplayCount = 1 + (int) value.chars().filter(ch -> ch == ';').count(); in set()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 2027 final char[] chars = { 'a', 'b', 'a', 'b' }; 2031 paint.getTextRunAdvances(chars, 0, 4, 0, 4, false /* isRtl */, buffer, 0), 0.0f); 2039 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 | 1673 char[] chars = new char[1024]; // 1KiB in testPutLargeDocumentBatch() local 1674 Arrays.fill(chars, ' '); in testPutLargeDocumentBatch() 1675 String body = String.valueOf(chars) + "the end."; in testPutLargeDocumentBatch()
|