/system/update_engine/payload_generator/ |
H A D | topological_sort_unittest.cc | 80 vector<Vertex::Index> sorted; local 81 TopologicalSort(graph, &sorted); 85 EXPECT_TRUE(IndexOf(sorted, i, &src_index)); 89 EXPECT_TRUE(IndexOf(sorted, it->first, &dst_index));
|
/system/core/logd/ |
H A D | LogStatistics.h | 85 std::unique_ptr<const TEntry* []> sorted(nullptr); 86 return sorted; 116 std::unique_ptr<const TEntry* []> sorted(retval); 117 return sorted; 179 std::unique_ptr<const TEntry* []> sorted = local 181 if (!sorted.get()) { 186 const TEntry* entry = sorted[index]; 190 if (entry->getSizes() <= (sorted[0]->getSizes() / 100)) { 635 std::unique_ptr<const TEntry* []> sorted; member in class:LogFindWorst 638 explicit LogFindWorst(std::unique_ptr<const TEntry* []>&& sorted) argument [all...] |
H A D | LogStatistics.cpp | 404 std::unique_ptr<const PidEntry* []> sorted = local 407 if (!sorted.get()) { 414 const PidEntry* entry = sorted[index];
|
/system/sepolicy/tests/ |
H A D | treble_sepolicy_tests.py | 56 for d in sorted(alldomains.keys()): 205 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 218 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 242 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 264 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 282 ret += " ".join(str(x) for x in sorted(violators)) + "\n"
|
H A D | searchpolicy.py | 72 for r in sorted(rules):
|
H A D | policy.py | 64 ret += " ".join(str(x) for x in sorted(MatchPrefix)) 67 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 82 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 100 ret += " ".join(str(x) for x in sorted(MatchPrefix)) 103 ret += " ".join(str(x) for x in sorted(violators)) + "\n" 241 # match of prefix in the sorted file_contexts. This is useful for limiting a 252 # Return a tuple of (path, Type) for all matching paths. Use the sorted
|
/system/extras/boottime_tools/io_analysis/ |
H A D | check_io_trace_all.py | 100 sorted_r = collections.OrderedDict(sorted(self.per_device_total_reads.items(), \ 107 sorted_w = collections.OrderedDict(sorted(self.per_device_total_writes.items(), \ 189 sorted_by_total_rw = collections.OrderedDict(sorted(self.ios.items(), \ 198 sorted_by_total_w = collections.OrderedDict(sorted(self.ios.items(), \ 207 sorted_by_total_r = collections.OrderedDict(sorted(self.total_reads_per_device.items(), \ 214 sorted_by_total_w = collections.OrderedDict(sorted(self.total_writes_per_device.items(), \ 289 sorted_data = collections.OrderedDict(sorted(self.execution_time_per_core.items(), \ 292 sorted_data = collections.OrderedDict(sorted(self.waiting_calls.items(), \ 295 sorted_data = collections.OrderedDict(sorted(self.io_waiting_call_times.items(), \ 298 sorted_data = collections.OrderedDict(sorted(sel [all...] |
H A D | check_io_trace.py | 167 read_size_histogram = collections.OrderedDict(sorted(read_size_histogram.items())) 172 latency_per_read_size = collections.OrderedDict(sorted(latency_per_read_size.items()))
|
H A D | check_file_read.py | 103 sorted(self.ext4_access_size_histogram.items(), key = lambda item: item[0])) 106 sorted(self.ext4_single_block_accesses.items(), key = lambda item: item[1], reverse = True)) 109 sorted(self.block_access_size_histogram.items(), key = lambda item: item[0])) 112 sorted(self.block_single_block_accesses.items(), key = lambda item: item[1], reverse = True)) 114 sorted_blocks_histogram = sorted(self.blocks_histogram.items(), key = lambda item: item[1], \
|
H A D | check_verity.py | 122 sizes = sorted(self.block_size_vs_reads_histogram.keys())
|
/system/tools/hidl/c2hal/test/ |
H A D | build_all.py | 52 for header in sorted(headers(path)):
|
/system/extras/perfprofd/scripts/ |
H A D | perf_proto_stack_sqlite_flame.py | 63 for v in sorted(self.child_map.itervalues, key=lambda x: x.count, reverse=True): 75 self.children = sorted(self.child_map.itervalues(), key=lambda x: x.count, reverse=True)
|
H A D | sorted_collection.py | 28 decorated = sorted((key(item), item) for item in iterable)
|
/system/extras/simpleperf/ |
H A D | record_file.h | 130 // If sorted is true, sort records before passing them to callback function. 132 bool sorted = true); 137 bool ReadRecord(std::unique_ptr<Record>& record, bool sorted = true);
|
H A D | record_file_reader.cpp | 209 const std::function<bool(std::unique_ptr<Record>)>& callback, bool sorted) { 211 while (ReadRecord(record, sorted)) { 223 bool sorted) { 261 if (sorted) { 208 ReadDataSection( const std::function<bool(std::unique_ptr<Record>)>& callback, bool sorted) argument 222 ReadRecord(std::unique_ptr<Record>& record, bool sorted) argument
|
/system/timezone/ |
H A D | update-tzdata.py | 82 for link in sorted(set(links)): 84 for zone in sorted(set(zones)):
|
/system/extras/simpleperf/scripts/ |
H A D | debug_unwind_reporter.py | 63 self.process_maps = {} # map from pid to a sorted list of MapEntry. 103 for pid in sorted(self.process_maps): 193 for stop_reason in sorted(self.sample_results): 214 for function_name in sorted(self.function_results): 286 for filename in sorted(self.file_results):
|
H A D | annotate.py | 96 addrs = sorted(dso.keys()) 481 dso_periods = sorted(self.dso_periods.values(), 488 file_periods = sorted(self.file_periods.values(), 500 values = sorted(values, key=lambda x: x[2].acc_period, reverse=True) 505 for line in sorted(file_period.line_dict.keys()):
|
H A D | report_html.py | 253 for addr in sorted(self.addr_hit_map): 510 a: [addrInfo] (sorted by addrInfo.addr) [optional] 755 for func_id in sorted(self.functions.id_to_func): 775 source_files = sorted(self.source_files.path_to_source_files.values(),
|
/system/extras/boottime_tools/bootanalyze/ |
H A D | bootanalyze.py | 214 for item in sorted(average_with_stddev, key=lambda entry: entry[1]): 238 for item in sorted(averaged_timing_points, key=lambda entry: entry[1], reverse=True): 277 for item in sorted(timing_points.items(), key=operator.itemgetter(1), reverse = True): 406 for item in sorted(events.items(), key=operator.itemgetter(1)): 707 for item in sorted(events.items(), key=operator.itemgetter(1)):
|
H A D | bugreport_anayze.py | 118 timings_sorted = sorted(self.timings.items(), key = lambda item: item[1], reverse=True) 313 self.boottime_props = collections.OrderedDict(sorted(
|
/system/core/init/ |
H A D | perfboot.py | 264 return [record[k] for k in sorted(keys)] 297 # The corresponding values are sorted in an ascending order of PID. 327 data = sorted(data)
|
/system/extras/pagecache/ |
H A D | pagecache.py | 71 sorted_added = sorted(self._file_pages.items(), key=operator.itemgetter(1), reverse=True) 85 sorted_added = sorted(self._file_pages.items(), key=operator.itemgetter(1), reverse=True)
|
/system/extras/simpleperf/scripts/inferno/ |
H A D | inferno.py | 211 for thread in sorted(process.threads.values(), key=lambda x: x.num_events, reverse=True):
|
/system/vold/bench/ |
H A D | benchgen.py | 177 events = sorted(events, key=lambda e: e.time)
|