Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 16 of 16) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTradefedConfigObject.java74 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()
DTestEnvironment.java277 final JSONArray arr = json.optJSONArray("tradefed_config_objects"); in fromJson() local
278 if (arr != null) { in fromJson()
279 obj.mTradefedConfigObjects.addAll(TradefedConfigObject.fromJsonArray(arr)); in fromJson()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java686 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/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py330 def find_block_average_value(arr, side_block_size, block_size): argument
352 length = len(arr)
354 left_block_sum = arr[0]
355 right_block_sum = arr[0]
361 left_block_sum -= arr[left_border]
364 right_block_sum += arr[right_border]
373 left_block_sum += arr[index + 1]
374 right_block_sum -= arr[index]
379 block_sum -= arr[left_border]
382 block_sum += arr[right_border]
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceTestBase.java273 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()
DDataSinkTestBase.java125 DataSink sink, byte[] arr, int offset, int length) throws IOException { in assertConsumeArrayThrowsIOOB() argument
127 sink.consume(arr, offset, length); in assertConsumeArrayThrowsIOOB()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java114 JSONArray arr = root.getJSONArray(group); in TestMapping() local
115 for (int i = 0; i < arr.length(); i++) { in TestMapping()
116 JSONObject testObject = arr.getJSONObject(i); in TestMapping()
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jar ... .File file java.io.File[] arr$ int len$ int i$ java.io ...
/tools/ndkports/gradle/wrapper/
Dgradle-wrapper.jar ... .File file java.io.File[] arr$ int len$ int i$ java.io ...
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jar ... .File file java.io.File[] arr$ int len$ int i$ java.io ...
/tools/trebuchet/gradle/wrapper/
Dgradle-wrapper.jar ... .File file java.io.File[] arr$ int len$ int i$ java.io ...
/tools/tradefederation/core/res/jacoco/
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java578 .flatMap(arr -> Arrays.stream(arr)) in getStringMetricValuesByKeySuffix()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java2468 private ByteArray(byte[] arr) { in ByteArray() argument
2469 mArray = arr; in ByteArray()