Home
last modified time | relevance | path

Searched refs:recordTime (Results 1 – 16 of 16) sorted by relevance

/base/notification/common_event_service/services/test/unittest/
Dcommon_event_manager_service_test.cpp155 struct tm recordTime = {0}; in HWTEST_F() local
156 GetSystemCurrentTime(&recordTime); in HWTEST_F()
175 struct tm recordTime = {0}; in HWTEST_F() local
176 GetSystemCurrentTime(&recordTime); in HWTEST_F()
195 struct tm recordTime = {0}; in HWTEST_F() local
204 recordTime, in HWTEST_F()
Dcommon_event_sticky_test.cpp113 struct tm recordTime = {0}; variable
118 data, publishInfo, nullptr, recordTime, PID, SYSTEM_UID, tokenID, UNDEFINED_USER, "hello"));
150 struct tm recordTime = {0}; variable
155 data, publishInfo, nullptr, recordTime, PID, SYSTEM_UID, tokenID, UNDEFINED_USER, "hello"));
166 … data2, publishInfo, nullptr, recordTime, PID, SYSTEM_UID, tokenID, UNDEFINED_USER, "hello"));
198 struct tm recordTime = {0}; variable
203 data, publishInfo, nullptr, recordTime, PID, SYSTEM_UID, tokenID, UNDEFINED_USER, "hello"));
230 struct tm recordTime = {0}; variable
235 data, publishInfo, nullptr, recordTime, PID, SYSTEM_UID, tokenID, UNDEFINED_USER, "hello"));
262 struct tm recordTime = {0}; variable
[all …]
Dcommon_event_freeze_test.cpp285 struct tm recordTime = {0}; in SubscribeCommonEvent() local
286 if (!OHOS::GetSystemCurrentTime(&recordTime)) { in SubscribeCommonEvent()
298 recordTime, in SubscribeCommonEvent()
319 struct tm recordTime = {0}; in PublishCommonEvent() local
320 if (!OHOS::GetSystemCurrentTime(&recordTime)) { in PublishCommonEvent()
332 recordTime, in PublishCommonEvent()
Dcommon_event_subscribe_unit_test.cpp797 struct tm recordTime {0}; struct
801 record->recordTime = recordTime;
833 struct tm recordTime {0}; struct
837 record->recordTime = recordTime;
Dcommon_event_dump_test.cpp335 struct tm recordTime = {0}; in SubscribeCommonEvent() local
336 if (!OHOS::GetSystemCurrentTime(&recordTime)) { in SubscribeCommonEvent()
347 recordTime, in SubscribeCommonEvent()
368 struct tm recordTime = {0}; in PublishCommonEvent() local
369 if (!OHOS::GetSystemCurrentTime(&recordTime)) { in PublishCommonEvent()
383 recordTime, in PublishCommonEvent()
Dcommon_event_publish_ordered_event_unit_test.cpp238 commonEventRecord.recordTime = {0};
/base/notification/common_event_service/services/include/
Dordered_event_record.h66 recordTime = commonEventRecord.recordTime; in FillCommonEventRecord()
Dhistory_event_record.h25 struct tm recordTime {}; struct
58 struct tm recordTime {}; struct
Dinner_common_event_manager.h55 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con…
72 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con…
Dcommon_event_record.h41 struct tm recordTime {}; struct
Dcommon_event_subscriber_manager.h31 struct tm recordTime {0}; struct
84 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime,
/base/notification/common_event_service/services/src/
Dcommon_event_manager_service.cpp138 struct tm recordTime = {0}; in PublishCommonEventDetailed() local
139 if (!GetSystemCurrentTime(&recordTime)) { in PublishCommonEventDetailed()
162 recordTime, in PublishCommonEventDetailed()
182 recordTime, in PublishCommonEventDetailed()
209 struct tm recordTime = {0}; in SubscribeCommonEvent() local
210 if (!GetSystemCurrentTime(&recordTime)) { in SubscribeCommonEvent()
223 recordTime, in SubscribeCommonEvent()
235 recordTime, in SubscribeCommonEvent()
Dcommon_event_subscriber_manager.cpp40 const struct tm &recordTime, const EventRecordInfo &eventRecordInfo) in InsertSubscriber() argument
69 record->recordTime = recordTime; in InsertSubscriber()
135 strftime(systime, sizeof(char) * LENGTH, "%Y%m%d %I:%M %p", &record->recordTime); in DumpDetailed()
137 std::string recordTime = format + "Time: " + std::string(systime) + "\n"; in DumpDetailed() local
207 …dumpInfo = title + recordTime + pid + uid + bundleName + priority + userId + permission + deviceId… in DumpDetailed()
458 time_t backRecordTime = mktime(&eventRecordsItem->second.back()->recordTime); in InsertFrozenEvents()
459 time_t frontRecordTime = mktime(&eventRecordsItem->second.front()->recordTime); in InsertFrozenEvents()
Dcommon_event_sticky_manager.cpp100 strftime(systime, sizeof(char) * LENGTH, "%Y%m%d %I:%M %p", &record->recordTime); in DumpState()
102 std::string recordTime = "\tTime: " + std::string(systime) + "\n"; in DumpState() local
165 …std::string dumpInfo = no + recordTime + pid + uid + bundleName + permission + isSticky + isOrdere… in DumpState()
Dcommon_event_control_manager.cpp395 record.recordTime = eventRecordPtr->recordTime; in EnqueueHistoryEventRecord()
408 receiver.recordTime = vec->recordTime; in EnqueueHistoryEventRecord()
949 strftime(systime, sizeof(char) * LENGTH, "%Y%m%d %I:%M %p", &record->recordTime); in DumpStateByCommonEventRecord()
951 std::string recordTime = "\tTime: " + std::string(systime) + "\n"; in DumpStateByCommonEventRecord() local
1053 …dumpInfo = recordTime + pid + uid + userId + bundleName + permission + isSticky + isOrdered + isSy… in DumpStateByCommonEventRecord()
1063 strftime(systime, sizeof(char) * LENGTH, "%Y%m%d %I:%M %p", &record.recordTime); in DumpHistoryStateByCommonEventRecord()
1065 std::string recordTime = "\tTime: " + std::string(systime) + "\n"; in DumpHistoryStateByCommonEventRecord() local
1167 …dumpInfo = recordTime + pid + uid + userId + bundleName + permission + isSticky + isOrdered + isSy… in DumpHistoryStateByCommonEventRecord()
1239 strftime(systime, sizeof(char) * LENGTH, "%Y%m%d %I:%M %p", &receiver.recordTime); in DumpHistoryStateBySubscriberRecord()
1241 std::string recordTime = format + "Time: " + std::string(systime) + "\n"; in DumpHistoryStateBySubscriberRecord() local
[all …]
Dinner_common_event_manager.cpp65 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con… in PublishCommonEvent() argument
110 eventRecord.recordTime = recordTime; in PublishCommonEvent()
155 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con… in SubscribeCommonEvent() argument
192 sp, commonEventListener, recordTime, eventRecordInfo); in SubscribeCommonEvent()