Home
last modified time | relevance | path

Searched refs:newZoneTriggerTime (Results 1 – 4 of 4) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
Dreminderrequest_fuzzer.cpp57 uint64_t newZoneTriggerTime = static_cast<uint64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
59 … reminderRequest.HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp315 uint64_t oldZoneTriggerTime, uint64_t newZoneTriggerTime, uint64_t optTriggerTime) in HandleTimeZoneChange() argument
321 , newZoneTriggerTime:%{public}" PRIu64 "", oldZoneTriggerTime, newZoneTriggerTime); in HandleTimeZoneChange()
322 if (oldZoneTriggerTime == newZoneTriggerTime) { in HandleTimeZoneChange()
326 if (optTriggerTime != INVALID_LONG_LONG_VALUE && oldZoneTriggerTime < newZoneTriggerTime) { in HandleTimeZoneChange()
338 if (newZoneTriggerTime <= GetDurationSinceEpochInMilli(now)) { in HandleTimeZoneChange()
342 SetTriggerTimeInMilli(newZoneTriggerTime); in HandleTimeZoneChange()
444 time_t newZoneTriggerTime = mktime(&oriTime); in OnTimeZoneChange() local
447 triggerTimeInMilli_, GetDurationSinceEpochInMilli(newZoneTriggerTime), nextTriggerTime); in OnTimeZoneChange()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp606 uint64_t newZoneTriggerTime = 1999; variable
608 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), true);
622 uint64_t newZoneTriggerTime = 1998; variable
624 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), false…
638 uint64_t newZoneTriggerTime = 1999; variable
640 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), false…
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h758 …bool HandleTimeZoneChange(uint64_t oldZoneTriggerTime, uint64_t newZoneTriggerTime, uint64_t optTr…