Home
last modified time | relevance | path

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

12

/system/memory/libmemtrack/
Dmemtrack.cpp38 std::vector<MemtrackRecord> records; member
76 [&t, &err](MemtrackStatus status, hidl_vec<MemtrackRecord> records) { in memtrack_proc_get_type() argument
79 t->records.resize(0); in memtrack_proc_get_type()
81 t->records.resize(records.size()); in memtrack_proc_get_type()
82 for (size_t i = 0; i < records.size(); i++) { in memtrack_proc_get_type()
83 t->records[i].sizeInBytes = records[i].sizeInBytes; in memtrack_proc_get_type()
84 t->records[i].flags = records[i].flags; in memtrack_proc_get_type()
125 std::vector<MemtrackRecord> records = type.records; in memtrack_proc_sum() local
126 for (size_t j = 0; j < records.size(); j++) { in memtrack_proc_sum()
127 if ((records[j].flags & flags) == flags) { in memtrack_proc_sum()
[all …]
/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/extras/simpleperf/
DRecordReadThread_test.cpp148 std::vector<std::unique_ptr<Record>> records; in CreateFakeRecords() local
152 records.emplace_back(r); in CreateFakeRecords()
154 return records; in CreateFakeRecords()
175 std::vector<std::unique_ptr<Record>> records = CreateFakeRecords(attr, 10, 0, 0); in TEST() local
177 size_t data_size = records.size() * records[0]->size(); in TEST()
182 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()
183 memcpy(&buffer[0], records[0]->Binary() + 4, records[0]->size() - 4); in TEST()
184 size_t pos = records[0]->size() - 4; in TEST()
185 for (size_t i = 1; i < records.size(); ++i) { in TEST()
186 memcpy(&buffer[pos], records[i]->Binary(), records[i]->size()); in TEST()
[all …]
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_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_file_reader.cpp540 std::vector<BuildIdRecord> records = ReadBuildIdFeature(); in LoadBuildIdAndFileFeatures() local
542 for (auto& r : records) { in LoadBuildIdAndFileFeatures()
620 std::vector<std::unique_ptr<Record>> records; in DataSection() local
622 records.push_back(std::move(record)); in DataSection()
625 return records; in DataSection()
Dcmd_record_test.cpp154 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in TEST() local
155 ASSERT_GT(records.size(), 0U); in TEST()
157 for (auto& record : records) { in TEST()
426 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in CheckKernelSymbol() local
428 for (const auto& record : records) { in CheckKernelSymbol()
Dcmd_dumprecord.cpp411 std::vector<BuildIdRecord> records = record_file_reader_->ReadBuildIdFeature(); in DumpFeatureSection() local
412 for (auto& r : records) { in DumpFeatureSection()
Devent_selection_set.cpp96 std::vector<std::unique_ptr<Record>> records = in IsDumpingRegsForTracepointEventsSupported() local
98 for (auto& r : records) { in IsDumpingRegsForTracepointEventsSupported()
/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/simpleperf/doc/
Dexecutable_commands_reference.md52 The record command records samples of the profiled processes in a time period. Here’s how it works:
336 # frequency (4000 samples per second), writing records to perf.data.
378 We can set the frequency to dump records via -f or -c. For example, -f 4000 means
379 dumping approximately 4000 records every second when the monitored thread runs. If a monitored
381 about 4000 * 0.2 / 1.0 = 800 records every second. Another way is using -c. For example, -c 10000
427 # Write records to data/perf2.data.
550 # Reports perf.data, using only records sampled in libsudo-game-jni.so, grouping records using
600 When reporting, it happens that not all records are of interest. The report command supports four
604 # Report records in threads having name sudogame.
607 # Report records in process 7394 or 7395
[all …]
Dscripts_reference.md88 run_simpleperf_without_usb_connection.py records profiling data while the USB cable isn't
/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.cpp477 const UidIORecords& records_proto = item_proto.records(); in load_uid_io_proto()
/system/bt/include/hardware/
Dbt_sdp.h115 bluetooth_sdp_record* records);
/system/netd/tests/benchmarks/
DREADME.md7 The benchmarks are powered by [google-benchmark](https://github.com/google/benchmark), which records
/system/core/logd/
DREADME.replay.md6 logd has a `RecordingLogBuffer` buffer that records messages to /data/misc/logd/recorded-messages.
/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
/system/sepolicy/prebuilts/api/28.0/public/
Dte_macros281 # Note: If you see denial records that distill to the

12