Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 36) sorted by relevance

12

/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DRemoteOperation.java127 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
DAddCommandOp.java60 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()
DAddCommandFileOp.java63 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
64 j.put(COMMAND_FILE, mCommandFile); in packIntoJson()
66 j.put(EXTRA_ARGS, argArray); in packIntoJson()
DStartHandoverOp.java50 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
51 j.put(PORT, mPort); in packIntoJson()
DAllocateDeviceOp.java52 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
53 j.put(SERIAL, mDeviceSerial); in packIntoJson()
DFreeDeviceOp.java53 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
54 j.put(SERIAL, mDeviceSerial); in packIntoJson()
DCloseOp.java47 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
DHandoverCompleteOp.java45 protected void packIntoJson(JSONObject j) throws JSONException { in packIntoJson() argument
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dgattc_lib.py340 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 …]
Dbt_gatt_utils.py399 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/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java235 for (int j = 0; j < listAllTests.size(); j = j + distance) { in normalizeDistribution()
237 IRemoteTest push = listAllTests.remove(j); in normalizeDistribution()
254 for (int j = i + 1; j < dupList.size(); j++) { in aggregateSuiteModules()
256 if (tests.contains(dupList.get(j))) { in aggregateSuiteModules()
257 if (dupList.get(j) instanceof ITestSuite) { in aggregateSuiteModules()
259 (ITestSuite) dupList.get(i), (ITestSuite) dupList.get(j))) { in aggregateSuiteModules()
261 (ITestSuite) dupList.get(i), (ITestSuite) dupList.get(j)); in aggregateSuiteModules()
262 tests.remove(dupList.get(j)); in aggregateSuiteModules()
311 for (int j = 0; j < (allShards.get(give).size() * (0.2f / (i + 1))); j++) { in topBottom()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DDataIdleTestHelper.java44 for (int j = 0; j < PING_SERVER_LIST.length; ++j) { in pingTest()
45 String host = PING_SERVER_LIST[j]; in pingTest()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectoryEntry.java220 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()
DShortName.java260 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/core/tests/src/com/android/tradefed/util/
DSimpleStatsTest.java92 for (int j = 1; j <= i; ++j) { in testStats_skewedMedian()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGTestXmlResultParser.java122 for (int j = 0 ; j < testcasesList.getLength(); j++) { in parseResult()
123 processTestResult((Element)testcasesList.item(j)); in parseResult()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestMapping.java121 for (int j = 0; j < optionObjects.length(); j++) { in TestMapping()
122 JSONObject optionObject = optionObjects.getJSONObject(j); in TestMapping()
/tools/test/connectivity/acts/framework/tests/
Daudio_quality_measurement_unittest.py104 for j in range(start_index, end_index):
105 self.y[j] = 0
137 for j in range(start_index, end_index):
138 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1))
147 for j in range(start_index, end_index):
148 self.y[j] *= 1.4
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/
DSl4aBluetoothDiscovery.java119 JSONObject j = response.getJSONObject(i); in run() local
120 if (j.has("name") && BLUETOOTH_NAME.equals(j.getString("name"))) { in run()
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DGattLongevityTest.py73 for j in range(i, i + self.mtu - 3):
74 char_value.append(j % 256)
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java560 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/test/connectivity/acts/tests/google/ble/gatt/
DGattWriteTest.py394 for j in range(i, i + self.mtu - 3):
395 char_value.append(j % 256)
461 for j in range(i, i + self.mtu - 3):
462 desc_value.append(j % 256)
535 for j in range(i, i + self.mtu - 3):
536 char_value.append(j % 256)
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMacRandomTest.py82 for j in range(dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES]):
83 ndi_interface = "%s%d" % (aconsts.AWARE_NDI_PREFIX, j)
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandFileParserTest.java105 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/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java894 for (int j = i + 1; j < args.length; j++) { in reorderArgs()
895 if (args[j].startsWith("-")) { in reorderArgs()
898 reorderedArgs.add(args[j]); in reorderArgs()

12