Home
last modified time | relevance | path

Searched refs:records (Results 1 – 25 of 29) sorted by relevance

12

/system/core/libmemtrack/
Dmemtrack.cpp38 std::vector<MemtrackRecord> records; member
74 [&t, &err](MemtrackStatus status, hidl_vec<MemtrackRecord> records) { in memtrack_proc_get_type() argument
77 t->records.resize(0); in memtrack_proc_get_type()
79 t->records.resize(records.size()); in memtrack_proc_get_type()
80 for (size_t i = 0; i < records.size(); i++) { in memtrack_proc_get_type()
81 t->records[i].sizeInBytes = records[i].sizeInBytes; in memtrack_proc_get_type()
82 t->records[i].flags = records[i].flags; in memtrack_proc_get_type()
123 std::vector<MemtrackRecord> records = type.records; in memtrack_proc_sum() local
124 for (size_t j = 0; j < records.size(); j++) { in memtrack_proc_sum()
125 if ((records[j].flags & flags) == flags) { in memtrack_proc_sum()
[all …]
/system/extras/simpleperf/
DRecordReadThread_test.cpp131 std::vector<std::unique_ptr<Record>> records; in CreateFakeRecords() local
135 records.emplace_back(r); in CreateFakeRecords()
137 return records; in CreateFakeRecords()
158 std::vector<std::unique_ptr<Record>> records = CreateFakeRecords(attr, 10, 0, 0); in TEST() local
160 size_t data_size = records.size() * records[0]->size(); in TEST()
165 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()
166 memcpy(&buffer[0], records[0]->Binary() + 4, records[0]->size() - 4); in TEST()
167 size_t pos = records[0]->size() - 4; in TEST()
168 for (size_t i = 1; i < records.size(); ++i) { in TEST()
169 memcpy(&buffer[pos], records[i]->Binary(), records[i]->size()); in TEST()
[all …]
Drecord_file_test.cpp90 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in TEST_F() local
91 ASSERT_EQ(1u, records.size()); in TEST_F()
92 CheckRecordEqual(mmap_record, *records[0]); in TEST_F()
Drecord_test.cpp34 std::vector<std::unique_ptr<Record>> records = in CheckRecordMatchBinary() local
36 ASSERT_EQ(1u, records.size()); in CheckRecordMatchBinary()
37 CheckRecordEqual(record, *records[0]); in CheckRecordMatchBinary()
Drecord_file_reader.cpp492 std::vector<BuildIdRecord> records = ReadBuildIdFeature(); in LoadBuildIdAndFileFeatures() local
494 for (auto& r : records) { in LoadBuildIdAndFileFeatures()
516 std::vector<std::unique_ptr<Record>> records; in DataSection() local
518 records.push_back(std::move(record)); in DataSection()
521 return records; in DataSection()
Dcmd_dumprecord.cpp229 std::vector<BuildIdRecord> records = record_file_reader_->ReadBuildIdFeature(); in DumpFeatureSection() local
230 for (auto& r : records) { in DumpFeatureSection()
Dcmd_record_test.cpp136 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in TEST() local
137 ASSERT_GT(records.size(), 0U); in TEST()
139 for (auto& record : records) { in TEST()
365 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in CheckKernelSymbol() local
367 for (const auto& record : records) { in CheckKernelSymbol()
Devent_selection_set.cpp90 std::vector<std::unique_ptr<Record>> records = in IsDumpingRegsForTracepointEventsSupported() local
92 for (auto& r : records) { in IsDumpingRegsForTracepointEventsSupported()
/system/bt/btif/src/
Dbtif_sdp.cc50 bt_status_t create_sdp_record(bluetooth_sdp_record* records,
75 evt_data->records); in btif_sdp_search_comp_evt()
88 copy_sdp_records(p_src_data->records, p_dest_data->records, in sdp_search_comp_copy_cb()
97 size += get_sdp_records_size(p_data->sdp_search_comp.records, in sdp_dm_cback()
/system/core/storaged/tests/
Dstoraged_test.cpp497 EXPECT_EQ(user_0_item_0.records().start_ts(), 100UL); in TEST()
498 EXPECT_EQ(user_0_item_0.records().entries_size(), 2); in TEST()
499 EXPECT_EQ(user_0_item_0.records().entries(0).uid_name(), "app1"); in TEST()
500 EXPECT_EQ(user_0_item_0.records().entries(0).user_id(), 0UL); in TEST()
501 EXPECT_EQ(user_0_item_0.records().entries(0).uid_io().wr_fg_chg_on(), 1000UL); in TEST()
502 EXPECT_EQ(user_0_item_0.records().entries(1).uid_name(), "app2"); in TEST()
503 EXPECT_EQ(user_0_item_0.records().entries(1).user_id(), 0UL); in TEST()
504 EXPECT_EQ(user_0_item_0.records().entries(1).uid_io().rd_fg_chg_off(), 1000UL); in TEST()
507 EXPECT_EQ(user_0_item_1.records().start_ts(), 200UL); in TEST()
508 EXPECT_EQ(user_0_item_1.records().entries_size(), 1); in TEST()
[all …]
/system/netd/resolv/
Dresolver_test.cpp283 void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records) { in StartDns() argument
284 for (const auto& r : records) { in StartDns()
329 const std::vector<DnsRecord> records = { in TEST_F() local
339 StartDns(dns, records); in TEST_F()
349 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
354 ASSERT_EQ(cnamecount, records.size() - 2); in TEST_F()
367 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
372 ASSERT_EQ(cnamecount, records.size() - 2); in TEST_F()
382 const std::vector<DnsRecord> records = { in TEST_F() local
386 StartDns(dns, records); in TEST_F()
[all …]
Dstats.proto133 NS_T_MAILB = 253; // Transfer mailbox records.
134 NS_T_MAILA = 254; // Transfer mail agent records.
DREADME.md70 query a new ID for transmission, records the mapping from input IDs to sent IDs, and
/system/core/bootstat/
DREADME.md3 The bootstat command records boot events (e.g., `firmware_loaded`,
12 -p, --print Dump the boot event records to the console
/system/bt/bta/include/
Dbta_sdp_api.h62 bluetooth_sdp_record records[BTA_SDP_MAX_RECORDS]; member
/system/bt/bta/sdp/
Dbta_sdp_act.cc362 bta_create_mas_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
365 bta_create_mns_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
368 bta_create_pse_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
372 bta_create_ops_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
375 bta_create_sap_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
380 bta_create_raw_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
/system/extras/boottime_tools/bootio/
DREADME.md3 The bootio tool records I/O for processes during boot.
/system/core/storaged/
Dstoraged.proto37 optional UidIORecords records = 2; field
Dstoraged_service.cpp144 map<uint64_t, struct uid_records> records = in dump() local
146 for (const auto& it : records) { in dump()
Dstoraged_uid_monitor.cpp480 const UidIORecords& records_proto = item_proto.records(); in load_uid_io_proto()
/system/bt/include/hardware/
Dbt_sdp.h115 bluetooth_sdp_record* records);
/system/extras/simpleperf/doc/
DREADME.md467 The record command records samples of the profiled processes in a time period. Here’s how it works:
695 # frequency (4000 samples per second), writing records to perf.data.
737 We can set the frequency to dump records via -f or -c. For example, -f 4000 means
738 dumping approximately 4000 records every second when the monitored thread runs. If a monitored
740 about 4000 * 0.2 / 1.0 = 800 records every second. Another way is using -c. For example, -c 10000
786 # Write records to data/perf2.data.
908 # Reports perf.data, using only records sampled in libsudo-game-jni.so, grouping records using
958 When reporting, it happens that not all records are of interest. The report command supports four
962 # Report records in threads having name sudogame.
965 # Report records in process 7394 or 7395
[all …]
/system/netd/tests/benchmarks/
DREADME.md7 The benchmarks are powered by [google-benchmark](https://github.com/google/benchmark), which records
/system/sepolicy/prebuilts/api/26.0/public/
Dte_macros260 # Note: If you see denial records that distill to the
/system/sepolicy/prebuilts/api/27.0/public/
Dte_macros264 # Note: If you see denial records that distill to the

12