/system/memory/libmemtrack/ |
D | memtrack.cpp | 44 std::vector<MemtrackRecord> records; member 97 std::vector<MemtrackRecord> records; in memtrack_proc_get_type() local 98 auto status = memtrack_proxy_service->getMemory(pid, type, &records); in memtrack_proc_get_type() 104 t->records.resize(records.size()); in memtrack_proc_get_type() 105 for (size_t i = 0; i < records.size(); i++) { in memtrack_proc_get_type() 106 t->records[i].sizeInBytes = records[i].sizeInBytes; in memtrack_proc_get_type() 107 t->records[i].flags = records[i].flags; in memtrack_proc_get_type() 148 std::vector<MemtrackRecord> records = type.records; in memtrack_proc_sum() local 149 for (size_t j = 0; j < records.size(); j++) { in memtrack_proc_sum() 150 if ((records[j].flags & flags) == flags) { in memtrack_proc_sum() [all …]
|
/system/bt/btif/src/ |
D | btif_sdp.cc | 50 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/ |
D | storaged_test.cpp | 497 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/ |
D | RecordReadThread_test.cpp | 150 std::vector<std::unique_ptr<Record>> records; in CreateFakeRecords() local 154 records.emplace_back(r); in CreateFakeRecords() 156 return records; in CreateFakeRecords() 177 std::vector<std::unique_ptr<Record>> records = CreateFakeRecords(attr, 10, 0, 0); in TEST() local 179 size_t data_size = records.size() * records[0]->size(); in TEST() 184 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST() 185 memcpy(&buffer[0], records[0]->Binary() + 4, records[0]->size() - 4); in TEST() 186 size_t pos = records[0]->size() - 4; in TEST() 187 for (size_t i = 1; i < records.size(); ++i) { in TEST() 188 memcpy(&buffer[pos], records[i]->Binary(), records[i]->size()); in TEST() [all …]
|
D | record_test.cpp | 36 std::vector<std::unique_ptr<Record>> records = in CheckRecordMatchBinary() local 38 ASSERT_EQ(1u, records.size()); in CheckRecordMatchBinary() 39 CheckRecordEqual(record, *records[0]); in CheckRecordMatchBinary()
|
D | record_file_test.cpp | 94 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in TEST_F() local 95 ASSERT_EQ(1u, records.size()); in TEST_F() 96 CheckRecordEqual(mmap_record, *records[0]); in TEST_F()
|
D | record_file_reader.cpp | 592 std::vector<BuildIdRecord> records = ReadBuildIdFeature(); in LoadBuildIdAndFileFeatures() local 594 for (auto& r : records) { in LoadBuildIdAndFileFeatures() 665 std::vector<std::unique_ptr<Record>> records; in DataSection() local 667 records.push_back(std::move(record)); in DataSection() 670 return records; in DataSection()
|
D | cmd_merge.cpp | 368 std::vector<BuildIdRecord> records; in WriteBuildIdFeature() local 371 records.emplace_back(std::move(record)); in WriteBuildIdFeature() 374 return writer_->WriteBuildIdFeature(records); in WriteBuildIdFeature()
|
D | cmd_record_test.cpp | 154 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() 322 std::vector<std::unique_ptr<Record>> records = reader->DataSection(); in CheckKernelSymbol() local 324 for (const auto& record : records) { in CheckKernelSymbol()
|
D | cmd_dumprecord.cpp | 461 std::vector<BuildIdRecord> records = record_file_reader_->ReadBuildIdFeature(); in DumpFeatureSection() local 462 for (auto& r : records) { in DumpFeatureSection()
|
D | event_selection_set.cpp | 106 std::vector<std::unique_ptr<Record>> records = in IsDumpingRegsForTracepointEventsSupported() local 108 for (auto& r : records) { in IsDumpingRegsForTracepointEventsSupported()
|
/system/bt/gd/security/record/ |
D | security_record_storage.h | 51 void SaveSecurityRecords(std::set<std::shared_ptr<record::SecurityRecord>>* records); 60 void LoadSecurityRecords(std::set<std::shared_ptr<record::SecurityRecord>>* records);
|
D | security_record_storage.cc | 104 …ityRecordStorage::SaveSecurityRecords(std::set<std::shared_ptr<record::SecurityRecord>>* records) { in SaveSecurityRecords() argument 105 for (auto record : *records) { in SaveSecurityRecords() 130 …ityRecordStorage::LoadSecurityRecords(std::set<std::shared_ptr<record::SecurityRecord>>* records) { in LoadSecurityRecords() argument 182 records->insert(record); in LoadSecurityRecords()
|
/system/security/keystore2/src/ |
D | watchdog.rs | 68 records: HashMap<Index, Record>, field 78 for (_, r) in self.records.iter() { in update_overdue_and_find_next_timeout() 117 for (i, r) in self.records.iter() { in log_report() 146 self.records.remove(&index); in disarm() 150 if self.records.insert(index.clone(), record).is_some() { in arm() 179 records: HashMap::new(), in new() 280 if idle && timeout.timed_out() && state.records.is_empty() { in spawn_thread()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.cc | 399 bta_create_mas_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 402 bta_create_mns_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 405 bta_create_pse_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 409 bta_create_ops_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 412 bta_create_sap_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 415 bta_create_dip_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback() 420 bta_create_raw_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
|
/system/core/bootstat/ |
D | README.md | 3 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/ |
D | bta_sdp_api.h | 65 bluetooth_sdp_record records[BTA_SDP_MAX_RECORDS]; member
|
/system/extras/simpleperf/doc/ |
D | executable_commands_reference.md | 52 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 …]
|
/system/extras/boottime_tools/bootio/ |
D | README.md | 3 The bootio tool records I/O for processes during boot.
|
/system/core/storaged/ |
D | storaged.proto | 37 optional UidIORecords records = 2; field
|
D | storaged_service.cpp | 144 map<uint64_t, struct uid_records> records = in dump() local 146 for (const auto& it : records) { in dump()
|
D | storaged_uid_monitor.cpp | 477 const UidIORecords& records_proto = item_proto.records(); in load_uid_io_proto()
|
/system/bt/include/hardware/ |
D | bt_sdp.h | 127 bluetooth_sdp_record* records);
|
/system/netd/tests/benchmarks/ |
D | README.md | 7 The benchmarks are powered by [google-benchmark](https://github.com/google/benchmark), which records
|
/system/logging/logd/ |
D | README.replay.md | 6 logd has a `RecordingLogBuffer` buffer that records messages to /data/misc/logd/recorded-messages.
|