Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 47) sorted by relevance

12

/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py159 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 …]
Dtest_monitor.py167 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():
Dapp_profiler.py140 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])
Dutils.py348 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)
Dreport_html.py220 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():
Dreport_sample.py60 for key, value in data.items():
/system/update_engine/scripts/update_payload/
Dcommon.py177 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:
Dhistogram.py85 hist = [(namer(key), count) for key, count in count_dict.items()]
/system/bt/osi/src/
Dhash_map_utils.cc41 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/
Darray_test.cc41 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/
Dcheck_io_trace_all.py100 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 …]
Dcheck_io_trace.py150 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()))
Dcheck_file_read.py103 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/
Dtest_mkuserimg_mke2fs.py33 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/
Dbootanalyze.py80 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/
Druntest.py417 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/
DMountRegistry.cpp327 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/
Dstr_parms.cpp145 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/
Dbtm_ble_gap.cc78 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/
Dpayload_info_unittest.py52 for key, val in kwargs.items():
65 for key, val in kwargs.items():
173 for key, val in kwargs.items():
/system/sepolicy/tests/
Dmini_parser.py45 for eta in sorted(self.expandtypeattributes.items(),
50 for tas in sorted(self.typeattributesets.items(), key=lambda x: x[0]):
/system/media/camera/docs/
Dmetadata_parser_xml.py166 entry_dict = dict(d.items() + d2.items() + d3.items())
/system/extras/simpleperf/
Devent_type.cpp84 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/
Ddevice.h199 std::vector<ListItem> items);
210 std::vector<ListItem> items);
/system/netd/server/
DFirewallController.cpp382 int items = sscanf(line.c_str(), "%u %u %u", &start, &ignored, &rangeLength); in discoverMaximumValidUid() local
383 if (items != 3) { in discoverMaximumValidUid()

12