Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
Dreminderrequest_fuzzer.cpp58 uint64_t optTriggerTime = 3; in DoSomethingInterestingWithMyAPI() local
59 … reminderRequest.HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp595 uint64_t optTriggerTime = 0; variable
596 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), true);
611 uint64_t optTriggerTime = 0; variable
612 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), false…
627 uint64_t optTriggerTime = 10; variable
628 …EXPECT_EQ(rrc->HandleTimeZoneChange(oldZoneTriggerTime, newZoneTriggerTime, optTriggerTime), false…
642 uint64_t optTriggerTime = 10; variable
643 EXPECT_EQ(rrc->HandleSysTimeChange(oriTriggerTime, optTriggerTime), false);
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h678 bool HandleSysTimeChange(uint64_t oriTriggerTime, uint64_t optTriggerTime);
679 …eTimeZoneChange(uint64_t oldZoneTriggerTime, uint64_t newZoneTriggerTime, uint64_t optTriggerTime);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp260 bool ReminderRequest::HandleSysTimeChange(uint64_t oriTriggerTime, uint64_t optTriggerTime) in HandleSysTimeChange() argument
266 if (optTriggerTime != INVALID_LONG_LONG_VALUE && optTriggerTime <= oriTriggerTime) { in HandleSysTimeChange()
268 SetTriggerTimeInMilli(optTriggerTime); in HandleSysTimeChange()
289 uint64_t oldZoneTriggerTime, uint64_t newZoneTriggerTime, uint64_t optTriggerTime) in HandleTimeZoneChange() argument
300 if (optTriggerTime != INVALID_LONG_LONG_VALUE && oldZoneTriggerTime < newZoneTriggerTime) { in HandleTimeZoneChange()
302 SetTriggerTimeInMilli(optTriggerTime); in HandleTimeZoneChange()