/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
D | hisysevent_query_callback_c.cpp | 73 void DeleteRecords(HiSysEventRecord** records, size_t len) in DeleteRecords() argument 75 if (records == nullptr || *records == nullptr) { in DeleteRecords() 78 auto realRs = *records; in DeleteRecords() 135 auto records = new(std::nothrow) HiSysEventRecord[size]; in OnQuery() local 137 InitRecord(records[i]); in OnQuery() 138 if (ConvertRecord(sysEvents->at(i), records[i]) != 0) { in OnQuery() 140 DeleteRecords(&records, i + 1); // +1 for release the current record in OnQuery() 144 onQuery_(records, size); in OnQuery() 145 DeleteRecords(&records, size); in OnQuery()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
D | hisysevent_base_query_callback.h | 38 auto records = std::make_shared<std::vector<HiSysEventRecord>>(); in OnQuery() local 39 for_each(sysEvents.cbegin(), sysEvents.cend(), [&records](const std::string& content) { in OnQuery() 40 records->emplace_back(HiSysEventRecord(content)); in OnQuery() 42 callback->OnQuery(records); in OnQuery()
|
D | hisysevent_manager_c.h | 51 void (*OnQuery)(HiSysEventRecord records[], size_t size);
|
D | hisysevent_query_callback_c.h | 22 using OnQueryFunc = void (*)(HiSysEventRecord records[], size_t size);
|
/base/notification/common_event_service/services/src/ |
D | common_event_sticky_manager.cpp | 77 std::vector<CommonEventRecordPtr> records; in DumpState() local 81 GetStickyCommonEventRecords(event, userId, records); in DumpState() 83 if (records.size() == 0) { in DumpState() 89 for (auto record : records) { in DumpState() 94 … no = "Sticky Events:\tTotal " + std::to_string(records.size()) + " information\nNO " + no + "\n"; in DumpState() 218 const std::string &event, const int32_t &userId, std::vector<CommonEventRecordPtr> &records) in GetStickyCommonEventRecords() argument 223 records.emplace_back(record.second); in GetStickyCommonEventRecords() 232 records.emplace_back(recordItem->second); in GetStickyCommonEventRecords()
|
D | common_event_subscriber_manager.cpp | 105 auto records = std::vector<SubscriberRecordPtr>(); in GetSubscriberRecords() local 107 GetSubscriberRecordsByWantLocked(eventRecord, records); in GetSubscriberRecords() 109 return records; in GetSubscriberRecords() 215 std::vector<SubscriberRecordPtr> records; in DumpState() local 218 GetSubscriberRecordsByEvent(event, userId, records); in DumpState() 220 if (records.size() == 0) { in DumpState() 226 for (auto record : records) { in DumpState() 230 …title = "Subscribers:\tTotal " + std::to_string(records.size()) + " subscribers\nNO " + title + "\… in DumpState() 338 std::vector<SubscriberRecordPtr> &records) in GetSubscriberRecordsByWantLocked() argument 366 records.emplace_back(*it); in GetSubscriberRecordsByWantLocked() [all …]
|
D | common_event_control_manager.cpp | 863 …d::string &event, const int32_t &userId, std::vector<std::shared_ptr<OrderedEventRecord>> &records) in GetUnorderedEventRecords() argument 867 records = unorderedEventQueue_; in GetUnorderedEventRecords() 871 records.emplace_back(vec); in GetUnorderedEventRecords() 877 records.emplace_back(vec); in GetUnorderedEventRecords() 883 records.emplace_back(vec); in GetUnorderedEventRecords() 890 …d::string &event, const int32_t &userId, std::vector<std::shared_ptr<OrderedEventRecord>> &records) in GetOrderedEventRecords() argument 894 records = orderedEventQueue_; in GetOrderedEventRecords() 898 records.emplace_back(vec); in GetOrderedEventRecords() 904 records.emplace_back(vec); in GetOrderedEventRecords() 910 records.emplace_back(vec); in GetOrderedEventRecords() [all …]
|
D | inner_common_event_manager.cpp | 460 std::vector<std::string> records; in HiDump() local 461 DumpState(DumpEventType::ALL, event, ALL_USER, records); in HiDump() 462 for (const auto &record : records) { in HiDump()
|
/base/location/services/location_locator/locator/source/ |
D | subability_common.cpp | 137 std::unique_ptr<WorkRecord> records = std::make_unique<WorkRecord>(); in HandleSelfRequest() local 140 records->Set(*lastRecord_); in HandleSelfRequest() 142 records->Add(uid, pid, name, interval_, uuid); in HandleSelfRequest() 144 records->Remove(uid, pid, name, uuid); in HandleSelfRequest() 146 LocationRequest(*records); in HandleSelfRequest() 147 records->Clear(); in HandleSelfRequest()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_subscribe_manager.cpp | 110 auto records = std::vector<AppAccountSubscribeRecordPtr>(); in GetSubscribeRecords() local 114 return records; in GetSubscribeRecords() 119 return records; in GetSubscribeRecords() 128 return records; in GetSubscribeRecords() 133 return records; in GetSubscribeRecords() 136 records.emplace_back(*it); in GetSubscribeRecords() 139 return records; in GetSubscribeRecords()
|
/base/notification/common_event_service/services/test/unittest/ |
D | common_event_sticky_test.cpp | 282 std::vector<std::shared_ptr<CommonEventRecord>> records; variable 287 int result = stickyManagerPtr->FindStickyEvents(nullptr, records); 308 std::vector<std::shared_ptr<CommonEventRecord>> records; variable 313 int result = stickyManagerPtr->FindStickyEvents(subscribeInfoPtr, records); 334 std::vector<std::shared_ptr<CommonEventRecord>> records; variable 336 EXPECT_EQ((int)records.size(), 0); 361 int result = stickyManagerPtr->FindStickyEvents(subscribeInfoPtr, records); 365 EXPECT_EQ((int)records.size(), 1); 368 auto action = records.front()->commonEventData->GetWant().GetAction();
|
/base/notification/common_event_service/services/include/ |
D | common_event_control_manager.h | 162 …::string &event, const int32_t &userId, std::vector<std::shared_ptr<OrderedEventRecord>> &records); 165 …::string &event, const int32_t &userId, std::vector<std::shared_ptr<OrderedEventRecord>> &records); 168 const std::string &event, const int32_t &userId, std::vector<HistoryEventRecord> &records);
|
D | common_event_subscriber_manager.h | 172 std::vector<SubscriberRecordPtr> &records); 175 const std::string &event, const int32_t &userId, std::vector<SubscriberRecordPtr> &records);
|
D | common_event_sticky_manager.h | 76 … const std::string &event, const int32_t &userId, std::vector<CommonEventRecordPtr> &records);
|
/base/telephony/core_service/services/sim/include/ |
D | sim_file.h | 135 void ParsePnn(const std::vector<std::string> &records); 136 void ParseOpl(const std::vector<std::string> &records);
|
D | usim_dialling_numbers_service.h | 73 void GeneratePbrFile(std::vector<std::string> &records);
|
/base/telephony/core_service/services/sim/src/ |
D | usim_dialling_numbers_service.cpp | 177 void UsimDiallingNumbersService::GeneratePbrFile(std::vector<std::string> &records) in GeneratePbrFile() argument 179 pbrFileLoaded_ = !records.empty() && pbrFileLoaded_; in GeneratePbrFile() 182 for (const auto &dataPac : records) { in GeneratePbrFile()
|
D | sim_file.cpp | 392 void SimFile::ParsePnn(const std::vector<std::string> &records) in ParsePnn() argument 395 if (records.empty()) { in ParsePnn() 399 for (const auto &dataPnn : records) { in ParsePnn() 434 void SimFile::ParseOpl(const std::vector<std::string> &records) in ParseOpl() argument 437 if (records.empty()) { in ParseOpl() 441 for (const auto &dataOpl : records) { in ParseOpl()
|
/base/update/updater/ |
D | README.md | 48 …system during the update process. Such data includes update commands and records of resumable data…
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_info.cpp | 195 std::vector<MemoryRecord> records; in GetGraphicsMemory() local 196 if (memtrack->GetDevMem(pid, memTrackerType.first, records) == HDF_SUCCESS) { in GetGraphicsMemory() 198 for (const auto &record : records) { in GetGraphicsMemory()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_manager_c_test.cpp | 83 void OnQueryTest(HiSysEventRecord records[], size_t size) in OnQueryTest() argument 87 HiSysEventRecord record = records[i]; in OnQueryTest()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | zero_branch_test.cpp | 418 std::vector<std::string> records = { "46000", "46002", "46004", "46007", "46008" }; variable 421 simFile->ParsePnn(records); 422 simFile->ParseOpl(records);
|
/base/telephony/sms_mms/ |
D | README.md | 13 …er: provides external APIs for sending SMS messages and managing SIM SMS records. It can be used t…
|
/base/request/request/ |
D | README.md | 24 Data download capability: saves download records.
|