Home
last modified time | relevance | path

Searched refs:row (Results 1 – 22 of 22) sorted by relevance

/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessorTest.java89 Map<String, String> row = compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0); in testSourcePosition() local
90 assertThat(row).containsEntry("startline", "4"); in testSourcePosition()
91 assertThat(row).containsEntry("startcol", "3"); in testSourcePosition()
92 assertThat(row).containsEntry("endline", "4"); in testSourcePosition()
93 assertThat(row).containsEntry("endcol", "23"); in testSourcePosition()
118 Map<String, String> row = compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0); in testSourcePositionOverride() local
119 assertThat(row).containsEntry("file", "otherfile.aidl"); in testSourcePositionOverride()
120 assertThat(row).containsEntry("startline", "30"); in testSourcePositionOverride()
121 assertThat(row).containsEntry("startcol", "10"); in testSourcePositionOverride()
122 assertThat(row).containsEntry("endline", "31"); in testSourcePositionOverride()
[all …]
/tools/test/connectivity/tools/
Dread_acts_results.py106 for row in master_results_data:
107 print(' '.join((val.ljust(width) for val, width in zip(row,
119 for row in master_results_pass:
120 print(' '.join((val.ljust(width) for val, width in zip(row,
125 for row in master_results_fail:
126 print(' '.join((val.ljust(width) for val, width in zip(row,
131 for row in master_results_unknown:
133 for val, width in zip(row, widths))))
/tools/loganalysis/src/com/android/loganalysis/item/
DGfxInfoItem.java128 Row row = new Row(); in addRow() local
129 row.name = name; in addRow()
130 row.totalFrames = totalFrames; in addRow()
131 row.jankyFrames = jankyFrames; in addRow()
132 row.percentile90 = percentile90; in addRow()
133 row.percentile95 = percentile95; in addRow()
134 row.percentile99 = percentile99; in addRow()
135 mRows.put(pid, row); in addRow()
DQtaguidItem.java104 Row row = new Row(); in addRow() local
105 row.rxBytes = rxBytes; in addRow()
106 row.txBytes = txBytes; in addRow()
107 mRows.put(uid, row); in addRow()
125 Row row = mRows.get(uid); in updateRow() local
126 row.rxBytes += rxBytes; in updateRow()
127 row.txBytes += txBytes; in updateRow()
DCpuInfoItem.java104 Row row = new Row(); in addRow() local
105 row.percent = percent; in addRow()
106 row.name = name; in addRow()
107 mRows.put(pid, row); in addRow()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_testlog_utils.py268 lambda row: datetime.datetime.strptime(row.date + '-' + row.time,
312 lambda row: datetime.datetime.strptime(row.Date + '-' + row.Time,
346 lambda row: datetime.datetime.strptime(row.date + '-' + row.time,
404 lambda row: datetime.datetime.strptime(row.Date + '-' + row.Time,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dota_sniffer.py395 for row in reader:
396 if row['subtype'] in self.TYPE_SUBTYPE_DICT:
397 row['Info'] = '{sub} S={seq} retry={retry_status}'.format(
398 sub=self.TYPE_SUBTYPE_DICT[row['subtype']],
399 seq=row['seq'],
400 retry_status=row['retry'])
402 row['Info'] = '{} S={} retry={}\n'.format(
403 row['subtype'], row['seq'], row['retry'])
404 writer.writerow(row)
/tools/platform-compat/java/com/android/class2nonsdklist/
DHiddenapiFlagsWriter.java37 for (Map.Entry<String, String> row : mContents.entrySet()) { in close()
38 mOutput.println(row.getKey() + "," + row.getValue()); in close()
DAnnotationPropertyWriter.java75 for (Map<String, String> row : mContents) { in close()
76 mOutput.println(columns.stream().map(column -> row.getOrDefault(column, "")) in close()
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTxPowerCheckTest.py189 for row in reader:
190 row['Sub-band Powers'] = [
191 float(val) for key, val in row.items()
194 sar_csv_data.append(row)
196 for row in sar_csv_data:
197 sar_powers.setdefault(int(row['Scenario Index']), {})
198 sar_powers[int(row['Scenario Index'])].setdefault('SAR Powers', {})
199 sar_row_key = (row['Regulatory Domain'], row['Mode'], row['Band'])
200 sar_powers[int(row['Scenario Index'])]['SAR Powers'].setdefault(
203 row['Scenario Index'])]['SAR Powers'][sar_row_key][int(
[all …]
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java232 TableRow row = new TableRow(); in getTableRow() local
233 row.name = name; in getTableRow()
234 row.preAvg = calcMean(before); in getTableRow()
235 row.postAvg = calcMean(after); in getTableRow()
236 row.probability = probFalsePositive(before.size(), after.size()); in getTableRow()
237 return row; in getTableRow()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java86 Map<String, List<Element>> row = annotatedElements.row(packageElement); in process() local
87 for (String enclosingElementName : row.keySet()) { in process()
89 for (Element annotatedElement : row.get(enclosingElementName)) { in process()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DMultiLineTrack.kt51 val row: MutableList<SliceGroup> get() = rows[index] constant
63 row.add(slice) in addSlice()
/tools/test/connectivity/acts/framework/acts/controllers/
Dbits.py513 row = [key, '0', 'mA', '0', 'mV', '0', 'mW']
514 row[1] = str(rail_dict[key + ':mA'])
515 row[3] = str(rail_dict[key + ':mV'])
516 row[5] = str(rail_dict[key + ':mW'])
517 csvwriter.writerow(row)
518 logging.debug('channel {}: {}'.format(key, row))
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_client.py332 for row in reader:
333 ts = float(row[0]) / 1e9
334 amps = float(row[1]) / 1e3
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java357 final HashMap<String, String> parseQueryResultRow(String row) { in parseQueryResultRow() argument
366 Matcher m = p.matcher(row); in parseQueryResultRow()
409 for (String row : listResult) { in pullDirInternal()
410 HashMap<String, String> columnValues = parseQueryResultRow(row); in pullDirInternal()
414 CLog.w("Output from the content provider doesn't seem well formatted:\n%s", row); in pullDirInternal()
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py970 for row in range(1, rows):
971 dp_matrix[row][0] = row * deletion
977 for row in range(1, rows):
978 if test_name[row - 1] == module_name[col - 1]:
982 dp_matrix[row][col] = min(
983 dp_matrix[row - 1][col] + deletion,
984 dp_matrix[row][col - 1] + insertion,
985 dp_matrix[row - 1][col - 1] + cost,
988 return dp_matrix[row][col]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_subscription_utils.py204 for row in siminfo_list:
205 sub_id = pattern_sub.findall(row)
207 port_id = pattern_port.findall(row)
209 is_embedded = int(pattern_embedded.findall(row)[-1])
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DShowmapPullerMetricCollector.java258 for (String row : headerList) { in extractHeaders()
259 String h = row.toLowerCase(); in extractHeaders()
/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java425 String row = in testParseQueryResultRow() local
430 HashMap<String, String> columnValues = mProvider.parseQueryResultRow(row); in testParseQueryResultRow()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java84 for (String enclosingElementName : annotatedElements.row(packageElement).keySet()) { in process()
/tools/dexter/testdata/expected/
Dmedium.compact_cfg85986 .local v19, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86221 .local v2, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86292 .local v1, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86436 .local v1, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86514 .local v0, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86560 .local v0, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
86705 .local v20, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
87122 .local v0, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
87160 .local v1, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
87210 .local v0, "row", com.android.calendar.agenda.AgendaByDayAdapter$RowInfo
[all …]