/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Diff.kt | 82 for (j in m - 1 downTo 0) { in getDiff() method 83 if (before[i] == after[j]) { in getDiff() 84 lcs[i][j] = lcs[i + 1][j + 1] + 1 in getDiff() 86 lcs[i][j] = max(lcs[i + 1][j], lcs[i][j + 1]) in getDiff() 92 var j = 0 in getDiff() variable 93 while (i < n && j < m) { in getDiff() 94 if (before[i] == after[j]) { in getDiff() 96 j++ in getDiff() 101 sb.append((j + 1).toString()) in getDiff() 112 while (i < n && j < m && before[i] != after[j]) { in getDiff() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | gattc_lib.py | 340 for j in range(len(characteristic_uuids)): 344 self.discovered_services_index, i, j)) 348 j, k) 352 self.discovered_services_index, i, j, k, 357 self.discovered_services_index, i, j, k) 361 self.discovered_services_index, i, j, True) 373 for j in range(len(characteristic_uuids)): 377 self.discovered_services_index, i, j)) 381 j, k) 385 self.discovered_services_index, i, j, k, [all …]
|
D | bt_gatt_utils.py | 399 for j in range(len(characteristic_uuids)): 402 discovered_services_index, i, j)) 405 bluetooth_gatt, discovered_services_index, i, j) 407 hex(char_inst_id), characteristic_uuids[j])) 410 bluetooth_gatt, discovered_services_index, i, j, k) 415 characteristic_uuids[j]))
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 1161 for j in plot_info: 1162 if "Packet drops" in legends[i][j]: 1175 plot_i_j.yaxis.axis_label = fig_property['y_label'][j] 1183 legend=legends[i][j], 1185 color=colors[j]) 1189 legend=str(legends[i][j]), 1190 fill_color=colors[j]) 1192 elif "Performance Results" in legends[i][j]: 1203 plot_i_j.yaxis.axis_label = fig_property['y_label'][j] 1209 legend.insert(0, legends[i][j + 1]) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 217 for (int j = 0; j < listAllTests.size(); j = j + distance) { in normalizeDistribution() 219 IRemoteTest push = listAllTests.remove(j); in normalizeDistribution() 236 for (int j = i + 1; j < dupList.size(); j++) { in aggregateSuiteModules() 238 if (tests.contains(dupList.get(j))) { in aggregateSuiteModules() 239 if (dupList.get(j) instanceof ITestSuite) { in aggregateSuiteModules() 241 (ITestSuite) dupList.get(i), (ITestSuite) dupList.get(j))) { in aggregateSuiteModules() 243 (ITestSuite) dupList.get(i), (ITestSuite) dupList.get(j)); in aggregateSuiteModules() 244 tests.remove(dupList.get(j)); in aggregateSuiteModules() 291 for (int j = 0; j < (allShards.get(give).size() * (0.2f / (i + 1))); j++) { in topBottom()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommand.java | 227 for (int j = 0; j < jsonDeviceSerials.length(); j++) { in fromJson() 228 deviceSerials.add(jsonDeviceSerials.getString(j)); in fromJson() 238 for (int j = 0; j < values.length(); j++) { in fromJson() 239 command.mExtraOptions.put(key, values.getString(j)); in fromJson()
|
D | TradefedConfigObject.java | 83 for (int j = 0; j < valueArr.length(); j++) { in fromJson() 84 optionValues.put(key, valueArr.getString(j)); in fromJson()
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | RemoteOperation.java | 127 JSONObject j = new JSONObject(); in pack() local 129 j.put(VERSION, protocolVersion); in pack() 130 j.put(TYPE, getType().toString()); in pack() 131 packIntoJson(j); in pack() 135 return j.toString(); in pack() 144 protected abstract void packIntoJson(JSONObject j) throws JSONException; in packIntoJson() argument 152 protected T unpackResponseFromJson(JSONObject j) throws JSONException { in unpackResponseFromJson() argument
|
D | AddCommandOp.java | 60 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument 61 j.put(TIME, mTotalTime); in packIntoJson() 66 j.put(COMMAND_ARGS, jsonArgs); in packIntoJson()
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 122 for (int j = 0; j < keywordArray.length(); j++) { in TestMapping() 123 keywords.add(keywordArray.getString(j)); in TestMapping() 134 for (int j = 0; j < optionObjects.length(); j++) { in TestMapping() 135 JSONObject optionObject = optionObjects.getJSONObject(j); in TestMapping()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectoryEntry.java | 220 int j = 0; in compactForm() local 223 entries[i] = createPart(fileName.substring(j * 13, j * 13 + 13), in compactForm() 224 j + 1, checkSum, false); in compactForm() 225 j++; in compactForm() 228 entries[0] = createPart(fileName.substring(j * 13), in compactForm() 229 j + 1, checkSum, true); in compactForm()
|
D | ShortName.java | 260 for (int j = 0; j < ILLEGAL_CHARS.length; j++) { in checkValidChars() 261 if (toTest == ILLEGAL_CHARS[j]) in checkValidChars() 263 ILLEGAL_CHARS[j] + " at " + i); in checkValidChars()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 560 for (int j = 0; j < jsonDataArray.length(); j++) { in parse() 561 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse() 582 for (int j = 0; j < jsonDataArray.length(); j++) { in parse() 583 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileTest.java | 570 for (int j = 0; j < 4; j++) { in zipFileWithEocdSignatureInComment() 571 if (zipBytes[i + j] != 'X') { in zipFileWithEocdSignatureInComment() 927 try (ZFile j = new ZFile(jar)) { in java7JarSupported() argument 928 assertEquals(8, j.entries().size()); in java7JarSupported() 936 try (ZFile j = new ZFile(jar)) { in java8JarSupported() argument 937 assertEquals(8, j.entries().size()); in java8JarSupported() 1086 for (int j = 0; j < seqCount; j++) { in deferredCompression() 1087 compressableData[i * seqCount + j] = i; in deferredCompression()
|
/tools/test/connectivity/acts/framework/tests/ |
D | audio_quality_measurement_integrationtest.py | 109 for j in range(start_index, end_index): 110 self.y[j] = 0 142 for j in range(start_index, end_index): 143 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1)) 152 for j in range(start_index, end_index): 153 self.y[j] *= 1.4
|
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/ |
D | GattWriteTest.py | 402 for j in range(i, i + self.mtu - 3): 403 char_value.append(j % 256) 469 for j in range(i, i + self.mtu - 3): 470 desc_value.append(j % 256) 543 for j in range(i, i + self.mtu - 3): 544 char_value.append(j % 256)
|
/tools/external_updater/ |
D | github_archive_updater.py | 38 for j, chr2 in enumerate(str2): 40 cur.append(prev[j]) 42 cur.append(min(prev[j + 1], prev[j], cur[j]) + 1)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandFileParserTest.java | 105 for(int j = 0; j < expectedCommands[i].size(); j++) { in assertParsedData() 106 assertEquals(expectedCommands[i].get(j), data.get(i).get(j)); in assertParsedData()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/test/ |
D | PerformanceTestTest.java | 41 for (int j = 0; j < height; j++) { in createImage() 42 img.setRGB(i, j, color); in createImage()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 124 for (int j = 0 ; j < testcasesList.getLength(); j++) { in parseResult() 125 processTestResult((Element)testcasesList.item(j)); in parseResult()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationFactory.java | 993 for (int j = i + 1; j < args.length; j++) { in reorderArgs() 994 if (args[j].startsWith("-")) { in reorderArgs() 997 reorderedArgs.add(args[j]); in reorderArgs()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 237 for (int j = img.getHeight() / 4; j < img.getHeight() * 3 / 4; j++) { in isImageBlack() 238 int color = img.getRGB(i, j); in isImageBlack()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 198 for(int j = i; j < mApks.size(); j += shardCountHint) { in split() 199 apkInfo.add(mApks.get(j)); in split()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 160 for (int j = i + 1; j < fields.size(); j++) { in parseChoice() 161 AnnotatedField f2 = fields.get(j); in parseChoice()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 522 for (int j = 0; j < signerConfigs.size(); j++) { in sortSignerConfigs() 523 DefaultApkSignerEngine.SignerConfig config = signerConfigs.get(j); in sortSignerConfigs()
|