/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_set_next_refresh_test/ |
H A D | fms_form_set_next_refresh_test.cpp | 89 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 91 …T_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); 104 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 106 …CT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); 119 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 134 EXPECT_EQ(ERR_OK, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); 151 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 174 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 202 EXPECT_EQ(ERR_OK, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); 219 int64_t nextTime = Constants::MIN_NEXT_TIME; variable [all …]
|
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/haptic_matcher/src/ |
H A D | custom_vibration_matcher.cpp | 316 int32_t nextTime = 0; in ProcessContinuousEvent() local 322 nextTime = curTime + SLICE_STEP; in ProcessContinuousEvent() 324 nextTime = endTime; in ProcessContinuousEvent() 326 while (curve[i].time < nextTime) { in ProcessContinuousEvent() 330 curTime = nextTime; in ProcessContinuousEvent() 334 nextTime); in ProcessContinuousEvent() 336 nextTime); in ProcessContinuousEvent() 339 .duration = nextTime - curTime, in ProcessContinuousEvent() 344 curTime = nextTime; in ProcessContinuousEvent()
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formtimermgrannex_fuzzer/ |
H A D | formtimermgrannex_fuzzer.cpp | 45 int64_t nextTime = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 47 formTimerMgr.GetDynamicWantAgent(nextTime, userId); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvstore_sync_manager.cpp | 177 auto nextTime = scheduleSyncOps_.begin()->first; in Schedule() local 179 … nextTime = std::chrono::steady_clock::now() + std::chrono::milliseconds(SYNC_MIN_DELAY_MS); in Schedule() 181 AddTimer(nextTime); in Schedule()
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgradaptertwo_fuzzer/ |
H A D | formmgradaptertwo_fuzzer.cpp | 54 int64_t nextTime = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 56 formMgrAdapter.SetNextRefreshTimeLocked(formId, nextTime, userId); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgr_fuzzer/ |
H A D | formmgr_fuzzer.cpp | 69 int64_t nextTime = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 70 formMgr.SetNextRefreshTime(formId, nextTime); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/ |
H A D | vsync_generator.cpp | 423 int64_t nextTime = (numPeriod + 1) * periodRecord_ + phase; in ComputeListenerNextVSyncTimeStamp() local 424 nextTime += referenceTime; in ComputeListenerNextVSyncTimeStamp() 433 …if (((vsyncMode_ == VSYNC_MODE_LTPS) && (nextTime - listener.lastTime_ < (3 * periodRecord_ / 5)))… in ComputeListenerNextVSyncTimeStamp() 434 ((vsyncMode_ == VSYNC_MODE_LTPO) && (nextTime - listener.lastTime_ < threshold))) { in ComputeListenerNextVSyncTimeStamp() 437 nextTime += periodRecord_; in ComputeListenerNextVSyncTimeStamp() 440 nextTime -= wakeupDelay_; in ComputeListenerNextVSyncTimeStamp() 441 return nextTime; in ComputeListenerNextVSyncTimeStamp()
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgrservice_fuzzer/ |
H A D | formmgrservice_fuzzer.cpp | 52 int64_t nextTime = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 53 formMgrService.SetNextRefreshTime(formId, nextTime); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test.cpp | 852 int64_t nextTime = 1; variable 853 … EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.SetNextRefreshTime(formId, nextTime)); 867 int64_t nextTime = 1; variable 869 …ECT_EQ(ERR_APPEXECFWK_FORM_GET_BUNDLE_FAILED, formMgrAdapter.SetNextRefreshTime(formId, nextTime)); 883 int64_t nextTime = 1; variable 887 … EXPECT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, formMgrAdapter.SetNextRefreshTime(formId, nextTime)); 901 int64_t nextTime = 1; variable 905 formMgrAdapter.SetNextRefreshTime(formId, nextTime); 1085 int64_t nextTime = 1; variable 1103 int64_t nextTime = 1; variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_timer_mgr.cpp | 904 int64_t nextTime = timeInSec + (selectTime - currentTime); in UpdateAtTimerAlarm() local 905 HILOG_INFO("nextTime:%{public}" PRId64, nextTime); in UpdateAtTimerAlarm() 906 if (nextTime == atTimerWakeUpTime_) { in UpdateAtTimerAlarm() 926 atTimerWakeUpTime_ = nextTime; in UpdateAtTimerAlarm() 937 static_cast<uint64_t>(nextTime)); in UpdateAtTimerAlarm() 1172 std::shared_ptr<WantAgent> FormTimerMgr::GetDynamicWantAgent(int64_t nextTime, int32_t userId) in GetDynamicWantAgent() argument 1179 int nextTimeRight = static_cast<int>(nextTime); in GetDynamicWantAgent() 1180 int nextTimLeft = static_cast<int>(nextTime >> SHIFT_BIT_LENGTH); in GetDynamicWantAgent()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | form_ability_test.cpp | 707 int64_t nextTime = Constants::MIN_NEXT_TIME - 1; variable 708 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(formId, nextTime)); 721 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 727 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(formId, nextTime)); 740 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 746 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(invalidFormId, nextTime)); 759 int64_t nextTime = Constants::MIN_NEXT_TIME; variable 765 EXPECT_EQ(true, ability_->SetFormNextRefreshTime(formId, nextTime));
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_form_mgr_service.h | 192 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) in SetNextRefreshTime() argument
|
/ohos5.0/foundation/ability/form_fwk/services/include/ |
H A D | form_timer_mgr.h | 355 std::shared_ptr<WantAgent> GetDynamicWantAgent(int64_t nextTime, int32_t userId);
|
H A D | form_mgr_adapter.h | 229 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime); 862 …int SetNextRefreshTimeLocked(const int64_t formId, const int64_t nextTime, const int32_t userId = …
|
H A D | form_mgr_service.h | 115 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override;
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | form_extension_context_mock_test.h | 62 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override in SetNextRefreshTime() argument
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | mock_form_mgr_service.h | 57 int32_t SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override in SetNextRefreshTime() argument
|
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/include/ |
H A D | form_mgr.h | 264 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime);
|
/ohos5.0/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_form_mgr_proxy.h | 106 MOCK_METHOD2(SetNextRefreshTime, int32_t(const int64_t formId, const int64_t nextTime));
|
H A D | mock_form_mgr_service.h | 33 MOCK_METHOD2(SetNextRefreshTime, int(const int64_t formId, const int64_t nextTime));
|
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_mgr_interface.h | 111 virtual int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) = 0;
|
H A D | form_mgr_proxy.h | 95 virtual int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override;
|
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/src/ |
H A D | form_mgr.cpp | 590 int FormMgr::SetNextRefreshTime(const int64_t formId, const int64_t nextTime) in SetNextRefreshTime() argument 594 if (nextTime < (Constants::MIN_NEXT_TIME / Constants::SEC_PER_MIN)) { in SetNextRefreshTime() 614 return remoteProxy_->SetNextRefreshTime(formId, nextTime); in SetNextRefreshTime()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_test/ |
H A D | form_mgr_test.cpp | 455 int64_t nextTime = 2; variable 456 auto result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); 858 int64_t nextTime = 50; variable 860 int result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); 2956 int64_t nextTime = 50; variable 2958 auto result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); 3571 int64_t nextTime = 50; variable 3573 auto result = FormMgr::GetInstance().SetNextRefreshTime(FORM_ID, nextTime);
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgrstub_fuzzer/ |
H A D | formmgrstub_fuzzer.cpp | 60 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override in SetNextRefreshTime() argument
|