/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 | 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 | 344 for items in arg_list: 345 res += items 573 items = line.rsplit(':', 2) 574 if len(items) == 3: 575 file_path, line_number = items[:2] 720 items = line.split(':', 1) 722 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 | 182 def _ObjNameIter(items, base_name, reverse=False, name_format_func=None): argument 195 idx, inc = (len(items), -1) if reverse else (1, 1) 197 items = reversed(items) 198 for item in items:
|
D | histogram.py | 82 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(LOG_TAG, "%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/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/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()
|
D | dso.cpp | 64 std::vector<std::string> items = android::base::Split(line, "="); in SetSymFsDir() local 65 if (items.size() == 2u) { in SetSymFsDir() 66 build_id_to_file_map_[items[0]] = symfs_dir_ + OS_PATH_SEPARATOR + items[1]; in SetSymFsDir()
|
/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() 95 if (it != items.end()) { in Append() 100 if (items.size() > cache_max) { in Append() 101 items.pop_back(); in Append() 104 items.emplace_front(addr_type, addr, std::move(data)); in Append() 105 return items.front().data; in Append() [all …]
|
/system/bt/profile/avrcp/ |
D | device.h | 199 std::vector<ListItem> items); 210 std::vector<ListItem> items);
|
D | device.cc | 1140 std::vector<ListItem> items) { in GetVFSListResponse() argument 1150 for (const auto& item : items) { in GetVFSListResponse() 1163 for (auto i = pkt->GetStartItem(); i <= pkt->GetEndItem() && i < items.size(); in GetVFSListResponse() 1165 if (items[i].type == ListItem::FOLDER) { in GetVFSListResponse() 1166 auto folder = items[i].folder; in GetVFSListResponse() 1171 } else if (items[i].type == ListItem::SONG) { in GetVFSListResponse() 1172 auto song = items[i].song; in GetVFSListResponse()
|
/system/media/camera/docs/ |
D | metadata_model.py | 434 for ons_name, ons in root.items(): 445 for ons_name, ons in root.items(): 459 for sec_name, sec in sections_dict.items(): 475 for sec_name, sec in sections_dict.items(): 532 for name, ins in ins_dict.items(): 546 for name, ins in ins_dict.items(): 572 for name, entry in entry_dict.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()
|