/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TradefedConfigObject.java | 74 JSONArray arr = json.optJSONArray("option_values"); in fromJson() local 75 if (arr != null) { in fromJson() 76 for (int i = 0; i < arr.length(); i++) { in fromJson() 77 JSONObject pair = arr.getJSONObject(i); in fromJson() 93 public static List<TradefedConfigObject> fromJsonArray(JSONArray arr) throws JSONException { in fromJsonArray() argument 95 for (int i = 0; i < arr.length(); i++) { in fromJsonArray() 96 objs.add(fromJson(arr.getJSONObject(i))); in fromJsonArray()
|
D | TestEnvironment.java | 324 final JSONArray arr = json.optJSONArray("tradefed_config_objects"); in fromJson() local 325 if (arr != null) { in fromJson() 326 obj.mTradefedConfigObjects.addAll(TradefedConfigObject.fromJsonArray(arr)); in fromJson()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 686 byte[] arr; in getLengthPrefixedUtf16EncodedString() 689 arr = encoded.array(); in getLengthPrefixedUtf16EncodedString() 693 arr = new byte[lengthBytes]; in getLengthPrefixedUtf16EncodedString() 695 encoded.get(arr); in getLengthPrefixedUtf16EncodedString() 699 if ((arr[arrOffset + lengthBytes] != 0) in getLengthPrefixedUtf16EncodedString() 700 || (arr[arrOffset + lengthBytes + 1] != 0)) { in getLengthPrefixedUtf16EncodedString() 704 return new String(arr, arrOffset, lengthBytes, "UTF-16LE"); in getLengthPrefixedUtf16EncodedString() 728 byte[] arr; in getLengthPrefixedUtf8EncodedString() 731 arr = encoded.array(); in getLengthPrefixedUtf8EncodedString() 735 arr = new byte[lengthBytes]; in getLengthPrefixedUtf8EncodedString() [all …]
|
/tools/security/fuzzing/example_afl_fuzzer/ |
D | example_afl_fuzzer.cpp | 12 volatile int* arr = new int[10]; in CrashFunc() local 14 arr[i] = 54; in CrashFunc()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 329 def find_block_average_value(arr, side_block_size, block_size): argument 351 length = len(arr) 353 left_block_sum = arr[0] 354 right_block_sum = arr[0] 360 left_block_sum -= arr[left_border] 363 right_block_sum += arr[right_border] 372 left_block_sum += arr[index + 1] 373 right_block_sum -= arr[index] 378 block_sum -= arr[left_border] 381 block_sum += arr[right_border]
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 273 byte[] arr = new byte[size + 10]; in assertCopyToEquals() 274 ByteBuffer buf = ByteBuffer.wrap(arr, 1, size + 5); in assertCopyToEquals() 319 byte[] arr; in toString() 323 arr = buf.array(); in toString() 326 arr = new byte[buf.remaining()]; in toString() 329 buf.get(arr); in toString() 332 return new String(arr, offset, size, StandardCharsets.UTF_8); in toString()
|
D | DataSinkTestBase.java | 125 DataSink sink, byte[] arr, int offset, int length) throws IOException { in assertConsumeArrayThrowsIOOB() argument 127 sink.consume(arr, offset, length); in assertConsumeArrayThrowsIOOB()
|
/tools/security/fuzzing/orphans/widevine/trusty/ |
D | dispatch_fuzzer.cpp | 31 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 146 JSONArray arr = root.getJSONArray(group); in getTestCollection() local 147 for (int i = 0; i < arr.length(); i++) { in getTestCollection() 148 JSONObject testObject = arr.getJSONObject(i); in getTestCollection() 331 JSONArray arr = root.getJSONArray(IMPORTS); in listTestMappingFiles() local 332 for (int i = 0; i < arr.length(); i++) { in listTestMappingFiles() 333 JSONObject testObject = arr.getJSONObject(i); in listTestMappingFiles()
|
/tools/treble/build/treble_build/local/ |
D | ninja.go | 53 func linesToArray(s *bufio.Scanner, arr *[]string) { 56 *arr = append(*arr, line)
|
/tools/metalava/gradle/wrapper/ |
D | gradle-wrapper.jar | ... .File file
java.io.File[] arr$
int len$
int i$
java.io ... |
/tools/trebuchet/gradle/wrapper/ |
D | gradle-wrapper.jar | ... .File file
java.io.File[] arr$
int len$
int i$
java.io ... |
/tools/asuite/asuite_plugin/gradle/wrapper/ |
D | gradle-wrapper.jar | ... .File file
java.io.File[] arr$
int len$
int i$
java.io ... |
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 1641 String[] arr = last_flag_and_status.split("\\s", 2); in tokenizeListUserPostT() local 1642 if (arr.length > 0) { in tokenizeListUserPostT() 1643 flags = Integer.toHexString(convertToHex(flagsArr, arr[0])); in tokenizeListUserPostT() 1645 if (arr.length > 1) { in tokenizeListUserPostT() 1646 status = arr[1] != null ? arr[1] : ""; in tokenizeListUserPostT() 1702 private int convertToHex(String[] arr, String str) { in convertToHex() argument 1705 for (int i = 0; i < arr.length - 1; i++) { in convertToHex() 1706 res |= getHexaDecimalValue(arr[i]); in convertToHex()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollectorTest.java | 589 .flatMap(arr -> Arrays.stream(arr)) in getStringMetricValuesByKeySuffix()
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 644 my (@arr) = @_; 645 my $len = scalar @arr; 646 if ((scalar @arr) < 1) { 650 my $min = $arr[0]; 652 if ($arr[$i] < $min) { 653 $min = $arr[$i];
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 3433 private ByteArray(byte[] arr) { in ByteArray() argument 3434 mArray = arr; in ByteArray()
|