Home
last modified time | relevance | path

Searched refs:GetTimeInterval (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request_alarm.cpp59 if ((repeatDaysOfWeek_ != 0) || ((GetTimeInterval() > 0) && (GetSnoozeTimes() > 0))) { in IsRepeatReminder()
139 if ((letfSnoozeTimes > 0) && (GetTimeInterval() > 0)) { in UpdateNextReminder()
141 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
H A Dreminder_request_calendar.cpp525 || (GetTimeInterval() > 0 && GetSnoozeTimes() > 0); in IsRepeatReminder()
627 if (leftSnoozeTimes > 0 && (GetTimeInterval() > 0)) { in UpdateNextReminder()
629 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp218 EXPECT_EQ(workInfo.GetTimeInterval(), 0);
221 EXPECT_EQ(workInfo.GetTimeInterval(), timeInterval);
238 EXPECT_EQ(workInfo.GetTimeInterval(), timeInterval);
545 EXPECT_EQ(workInfo.GetTimeInterval(), workInfoRead->GetTimeInterval());
550 EXPECT_EQ(workInfo.GetTimeInterval(), workInfoRead->GetTimeInterval());
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_request_alarm_test.cpp188 EXPECT_EQ(ret->GetTimeInterval(), minTimeIntervalInSecond);
210 EXPECT_EQ(ret->GetTimeInterval(), minTimeIntervalInSecond);
232 EXPECT_EQ(ret->GetTimeInterval(), minTimeIntervalInSecond);
254 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
497 EXPECT_EQ(ret->GetTimeInterval(), minTimeIntervalInSecond);
519 EXPECT_EQ(reminderRequestAlarm->GetTimeInterval(), minTimeIntervalInSecond);
H A Dreminder_request_calendar_test.cpp682 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
731 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
769 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
819 EXPECT_EQ(reminderRequest->GetTimeInterval(), minTimeIntervalInSeconds);
862 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
913 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
H A Dreminder_request_test.cpp347 …EXPECT_EQ(rrc->GetTimeInterval(), 0) << "timeInterval should be 0 when set with value less than 0";
349 EXPECT_EQ(rrc->GetTimeInterval(), 0) << "timeInterval should be 0 when set with value 0";
351 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond)
355 EXPECT_EQ(rrc->GetTimeInterval(), timeInterval) << "timeInterval set error";
358 EXPECT_EQ(rrc->GetTimeInterval(), timeInterval) << "timeInterval set error.";
1511 EXPECT_EQ(rrc->GetTimeInterval(), minTimeIntervalInSecond);
H A Dreminder_store_test.cpp370 EXPECT_EQ(reminder->GetTimeInterval(), each->GetTimeInterval());
/ohos5.0/base/location/test/location_locator/source/
H A Dwork_record_test.cpp287 EXPECT_EQ(0, workrecord->GetTimeInterval(0));
291 EXPECT_EQ(-1, workrecord->GetTimeInterval(1));
295 EXPECT_EQ(-1, workrecord->GetTimeInterval(-1));
299 EXPECT_EQ(-1, workrecord->GetTimeInterval(-1));
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dwork_record.cpp147 int WorkRecord::GetTimeInterval(int index) in GetTimeInterval() function in OHOS::Location::WorkRecord
194 timeInterval_.push_back(request->GetRequestConfig()->GetTimeInterval()); in Add()
207 timeInterval_.push_back(workRecord.GetTimeInterval(index)); in Add()
H A Dsubability_common.cpp68 interval_ = workRecord.GetTimeInterval(0); in LocationRequest()
H A Dreport_manager.cpp318 int minTime = request->GetRequestConfig()->GetTimeInterval(); in ResultCheck()
H A Drequest_manager.cpp669 "timeInterval", std::to_string(requestConfig->GetTimeInterval()), in UpdateRunningUids()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Drequest_config.h50 inline int GetTimeInterval() const in GetTimeInterval() function
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dwork_record.h47 int GetTimeInterval(int index);
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp56 reminderRequest.GetTimeInterval(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/location/frameworks/base_module/source/
H A Drequest_config.cpp51 timeInterval_ = requestConfig.GetTimeInterval(); in Set()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h219 uint32_t GetTimeInterval();
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
H A Djs_work_scheduler_extension.cpp358 uint32_t timeInterval = workInfo.GetTimeInterval(); in OnWorkStart()
410 uint32_t timeInterval = workInfo.GetTimeInterval(); in OnWorkStop()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_conn_manager.cpp219 conditions, "TYPE", type, "INTERVAL", workStatus->workInfo_->GetTimeInterval(), in WriteStartWorkEvent()
H A Dwork_policy_manager.cpp160 "TYPE", type, "INTERVAL", workStatus->workInfo_->GetTimeInterval()); in AddWork()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp258 cwork.repeatCycleTime = static_cast<int32_t>(workInfo->GetTimeInterval()); in ParseWorkInfo()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request.h412 uint64_t GetTimeInterval() const;
/ohos5.0/base/location/services/location_network/network/source/
H A Dnetwork_ability.cpp339 data.WriteInt64(workRecord.GetTimeInterval(0) * MILLI_PER_SEC); in RequestNetworkLocation()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp443 uint32_t timeInterval = workInfo->GetTimeInterval(); in GetNapiWorkInfo()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp262 uint32_t WorkInfo::GetTimeInterval() in GetTimeInterval() function in OHOS::WorkScheduler::WorkInfo

12