/base/notification/common_event_service/services/test/unittest/ |
D | common_event_manager_service_test.cpp | 155 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()
|
D | common_event_sticky_test.cpp | 113 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 …]
|
D | common_event_freeze_test.cpp | 285 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()
|
D | common_event_subscribe_unit_test.cpp | 797 struct tm recordTime {0}; struct 801 record->recordTime = recordTime; 833 struct tm recordTime {0}; struct 837 record->recordTime = recordTime;
|
D | common_event_dump_test.cpp | 335 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()
|
D | common_event_publish_ordered_event_unit_test.cpp | 238 commonEventRecord.recordTime = {0};
|
/base/notification/common_event_service/services/include/ |
D | ordered_event_record.h | 66 recordTime = commonEventRecord.recordTime; in FillCommonEventRecord()
|
D | history_event_record.h | 25 struct tm recordTime {}; struct 58 struct tm recordTime {}; struct
|
D | inner_common_event_manager.h | 55 …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…
|
D | common_event_record.h | 41 struct tm recordTime {}; struct
|
D | common_event_subscriber_manager.h | 31 struct tm recordTime {0}; struct 84 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime,
|
/base/notification/common_event_service/services/src/ |
D | common_event_manager_service.cpp | 138 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()
|
D | common_event_subscriber_manager.cpp | 40 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()
|
D | common_event_sticky_manager.cpp | 100 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()
|
D | common_event_control_manager.cpp | 395 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 …]
|
D | inner_common_event_manager.cpp | 65 …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()
|