Home
last modified time | relevance | path

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

/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_query_callback_c.cpp73 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/
Dhisysevent_base_query_callback.h38 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()
Dhisysevent_manager_c.h51 void (*OnQuery)(HiSysEventRecord records[], size_t size);
Dhisysevent_query_callback_c.h22 using OnQueryFunc = void (*)(HiSysEventRecord records[], size_t size);
/base/notification/common_event_service/services/src/
Dcommon_event_sticky_manager.cpp77 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()
Dcommon_event_subscriber_manager.cpp105 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 …]
Dcommon_event_control_manager.cpp863 …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 …]
Dinner_common_event_manager.cpp460 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/
Dsubability_common.cpp137 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/
Dapp_account_subscribe_manager.cpp110 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/
Dcommon_event_sticky_test.cpp282 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/
Dcommon_event_control_manager.h162 …::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);
Dcommon_event_subscriber_manager.h172 std::vector<SubscriberRecordPtr> &records);
175 const std::string &event, const int32_t &userId, std::vector<SubscriberRecordPtr> &records);
Dcommon_event_sticky_manager.h76 … const std::string &event, const int32_t &userId, std::vector<CommonEventRecordPtr> &records);
/base/telephony/core_service/services/sim/include/
Dsim_file.h135 void ParsePnn(const std::vector<std::string> &records);
136 void ParseOpl(const std::vector<std::string> &records);
Dusim_dialling_numbers_service.h73 void GeneratePbrFile(std::vector<std::string> &records);
/base/telephony/core_service/services/sim/src/
Dusim_dialling_numbers_service.cpp177 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()
Dsim_file.cpp392 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/
DREADME.md48 …system during the update process. Such data includes update commands and records of resumable data…
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_info.cpp195 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/
Dhisysevent_manager_c_test.cpp83 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/
Dzero_branch_test.cpp418 std::vector<std::string> records = { "46000", "46002", "46004", "46007", "46008" }; variable
421 simFile->ParsePnn(records);
422 simFile->ParseOpl(records);
/base/telephony/sms_mms/
DREADME.md13 …er: provides external APIs for sending SMS messages and managing SIM SMS records. It can be used t…
/base/request/request/
DREADME.md24 Data download capability: saves download records.