/system/extras/simpleperf/scripts/ |
D | debug_unwind_reporter.py | 159 for key, value in self.unwinding_result.items(): 243 items = [] 246 items.append((key, value)) 248 self.mem_stat.before_unwinding = items 250 self.mem_stat.after_unwinding = items 281 for items in zip(self.mem_stat.before_unwinding, self.mem_stat.after_unwinding): 282 assert items[0][0] == items[1][0] 283 print(' %s: %s -> %s' % (items[0][0], items[0][1], items[1][1])) 325 items = line.split() 326 if not items: [all …]
|
D | test_monitor.py | 167 items = line.strip().split() 168 if len(items) == 2 and items[1] in ['OK', 'FAILED']: 169 if self.test_results.get(items[0]) != items[1]: 171 self.test_results[items[0]] = items[1] 234 for t, status in task.test_results.items():
|
D | app_profiler.py | 140 items = line.split('=') 141 if len(items) == 2: 142 build_id, filename = items 175 items = output.split() 176 if len(items) > 5: 178 file_size = int(items[4])
|
D | utils.py | 348 for items in arg_list: 349 res += items 577 items = line.rsplit(':', 2) 578 if len(items) == 3: 579 file_path, line_number = items[:2] 724 items = line.split(':', 1) 726 addr = int(items[0], 16)
|
D | report_html.py | 220 for lib_id, lib in thread.libs.items(): 253 for func_id, function in lib.functions.items(): 298 items = [] 302 items.append(item) 303 result['s'] = items 305 items = [] 308 items.append({'a': addr, 'e': count_info[0], 's': count_info[1]}) 309 result['a'] = items 325 for key, value2 in map2.items(): 378 for key, child in node.children.items():
|
D | report_sample.py | 60 for key, value in data.items():
|
/system/update_engine/scripts/update_payload/ |
D | common.py | 177 def _ObjNameIter(items, base_name, reverse=False, name_format_func=None): argument 190 idx, inc = (len(items), -1) if reverse else (1, 1) 192 items = reversed(items) 193 for item in items:
|
D | histogram.py | 85 hist = [(namer(key), count) for key, count in count_dict.items()]
|
/system/bt/osi/src/ |
D | hash_map_utils.cc | 41 int items = 0; in hash_map_utils_new_from_string_params() local 67 items++; in hash_map_utils_new_from_string_params() 72 if (!items) LOG_VERBOSE("%s: no items found in string\n", __func__); in hash_map_utils_new_from_string_params()
|
/system/bt/osi/test/ |
D | array_test.cc | 41 int items[100]; in TEST_F() local 44 items[i] = i * i; in TEST_F() 45 array_append_ptr(array, &items[i]); in TEST_F()
|
/system/extras/boottime_tools/io_analysis/ |
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(), \ 183 for dev,size in self.total_dm_reads.items(): 186 for dev,size in self.total_dm_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(), \ [all …]
|
D | check_io_trace.py | 150 for dev,size in self.total_dm_reads.items(): 153 for dev,size in self.total_dm_writes.items(): 167 read_size_histogram = collections.OrderedDict(sorted(read_size_histogram.items())) 172 latency_per_read_size = collections.OrderedDict(sorted(latency_per_read_size.items()))
|
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], \
|
/system/extras/ext4_utils/ |
D | test_mkuserimg_mke2fs.py | 33 for key, value in self.optional_arguments.items(): 65 for key, value in self.optional_arguments.items(): 98 for key, value in self.optional_arguments.items(): 107 for key, value in self.optional_arguments.items():
|
/system/extras/boottime_tools/bootanalyze/ |
D | bootanalyze.py | 80 items = args.componentmonitor.split(",") 81 for item in items: 176 for item in shutdown_event_all.items(): 184 for item in shutdown_timing_event_all.items(): 194 for item in boottime_points.items(): 211 for item in data_points.items(): 223 for item in timing_points.items(): 275 for item in timing_points.items(): 279 for item in sorted(timing_points.items(), key=operator.itemgetter(1), reverse = True): 288 for item in logcat_monitor_contentions.items(): [all …]
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 417 items = line.split(None, 6) 418 assert len(items) == 7 419 children_overhead = float(items[0][:-1]) 420 overhead = float(items[1][:-1]) 421 comm = items[2] 422 symbol_name = items[6] 426 items = line.split(None, 5) 427 assert len(items) == 6 428 overhead = float(items[0][:-1]) 429 comm = items[1] [all …]
|
/system/incremental_delivery/incfs/ |
D | MountRegistry.cpp | 327 std::vector<std::string_view> items(12); in loadFrom() local 332 Split(line, ' ', &items); in loadFrom() 333 if (items.size() < 10) { in loadFrom() 339 const auto name = items.rbegin()[2]; in loadFrom() 343 const auto groupId = items[2]; in loadFrom() 344 auto subdir = items[3]; in loadFrom() 345 auto mountPoint = std::string(items[4]); in loadFrom() 352 mount.backing.assign(items.rbegin()[1]); in loadFrom()
|
/system/core/libcutils/ |
D | str_parms.cpp | 145 int items = 0; in str_parms_create_str() local 188 items++; in str_parms_create_str() 193 if (!items) in str_parms_create_str()
|
/system/bt/stack/btm/ |
D | btm_ble_gap.cc | 78 if (it != items.end()) { in Set() 83 if (items.size() > cache_max) { in Set() 84 items.pop_back(); in Set() 87 items.emplace_front(addr_type, addr, std::move(data)); in Set() 88 return items.front().data; in Set() 93 if (it != items.end()) { in Exist() 103 if (it != items.end()) { in Append() 108 if (items.size() > cache_max) { in Append() 109 items.pop_back(); in Append() 112 items.emplace_front(addr_type, addr, std::move(data)); in Append() [all …]
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 52 for key, val in kwargs.items(): 65 for key, val in kwargs.items(): 173 for key, val in kwargs.items():
|
/system/sepolicy/tests/ |
D | mini_parser.py | 45 for eta in sorted(self.expandtypeattributes.items(), 50 for tas in sorted(self.typeattributesets.items(), key=lambda x: x[0]):
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 166 entry_dict = dict(d.items() + d2.items() + d3.items())
|
/system/extras/simpleperf/ |
D | event_type.cpp | 84 std::vector<std::string> items = android::base::Split(line, " "); in GetTracepointEventTypesFromString() local 85 CHECK_EQ(items.size(), 2u); in GetTracepointEventTypesFromString() 86 std::string event_name = items[0]; in GetTracepointEventTypesFromString() 88 CHECK(android::base::ParseUint(items[1].c_str(), &id)); in GetTracepointEventTypesFromString()
|
/system/bt/profile/avrcp/ |
D | device.h | 199 std::vector<ListItem> items); 210 std::vector<ListItem> items);
|
/system/netd/server/ |
D | FirewallController.cpp | 382 int items = sscanf(line.c_str(), "%u %u %u", &start, &ignored, &rangeLength); in discoverMaximumValidUid() local 383 if (items != 3) { in discoverMaximumValidUid()
|