/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; in HWTEST_F() local 91 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); in HWTEST_F() 104 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 106 EXPECT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); in HWTEST_F() 119 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 134 EXPECT_EQ(ERR_OK, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); in HWTEST_F() 151 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 161 EXPECT_EQ(ERR_APPEXECFWK_FORM_OPERATION_NOT_SELF, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); in HWTEST_F() 174 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 202 EXPECT_EQ(ERR_OK, formSetNextRefresh_->SetNextRefreshTime(formId, nextTime)); in HWTEST_F() 219 int64_t nextTime = Constants::MIN_NEXT_TIME; HWTEST_F() local [all...] |
/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()
|
/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()
|
/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()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvstore_sync_manager.cpp | 172 auto nextTime = scheduleSyncOps_.begin()->first; in Schedule() local 174 nextTime = std::chrono::steady_clock::now() + std::chrono::milliseconds(SYNC_MIN_DELAY_MS); in Schedule() 176 AddTimer(nextTime); in Schedule()
|
/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()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/ |
H A D | vsync_generator.cpp | 418 if (expectTimeFlag_ || refreshRateIsChanged_) { // Ensure that nextTime is not earlier than referenceTime.
in ComputeListenerNextVSyncTimeStamp() 427 int64_t nextTime = (numPeriod + 1) * periodRecord_ + phase;
in ComputeListenerNextVSyncTimeStamp() local 428 nextTime += referenceTime;
in ComputeListenerNextVSyncTimeStamp() 437 if (((vsyncMode_ == VSYNC_MODE_LTPS) && (nextTime - listener.lastTime_ < (3 * periodRecord_ / 5))) ||
in ComputeListenerNextVSyncTimeStamp() 438 ((vsyncMode_ == VSYNC_MODE_LTPO) && (nextTime - listener.lastTime_ < threshold))) {
in ComputeListenerNextVSyncTimeStamp() 441 nextTime += periodRecord_;
in ComputeListenerNextVSyncTimeStamp() 444 nextTime -= wakeupDelay_;
in ComputeListenerNextVSyncTimeStamp() 445 return nextTime;
in ComputeListenerNextVSyncTimeStamp()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test.cpp | 924 int64_t nextTime = 1;
in HWTEST_F() local 925 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.SetNextRefreshTime(formId, nextTime));
in HWTEST_F() 939 int64_t nextTime = 1;
in HWTEST_F() local 941 EXPECT_EQ(ERR_APPEXECFWK_FORM_GET_BUNDLE_FAILED, formMgrAdapter.SetNextRefreshTime(formId, nextTime));
in HWTEST_F() 955 int64_t nextTime = 1;
in HWTEST_F() local 959 EXPECT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, formMgrAdapter.SetNextRefreshTime(formId, nextTime));
in HWTEST_F() 973 int64_t nextTime = 1;
in HWTEST_F() local 977 formMgrAdapter.SetNextRefreshTime(formId, nextTime);
in HWTEST_F() 1157 int64_t nextTime = 1;
in HWTEST_F() local 1160 EXPECT_EQ(ERR_APPEXECFWK_FORM_MAX_REFRESH, formMgrAdapter.SetNextRefreshTimeLocked(formId, nextTime, userI in HWTEST_F() 1174 int64_t nextTime = 1; HWTEST_F() local 1192 int64_t nextTime = 1; HWTEST_F() local [all...] |
H A D | fms_form_mgr_adapter_test2.cpp | 1110 int64_t nextTime = 1;
in HWTEST_F() local 1116 EXPECT_EQ(ERR_APPEXECFWK_FORM_OPERATION_NOT_SELF, formMgrAdapter.SetNextRefreshTime(formId, nextTime));
in HWTEST_F() 1130 int64_t nextTime = 1;
in HWTEST_F() local 1136 EXPECT_EQ(ERR_APPEXECFWK_FORM_OPERATION_NOT_SELF, formMgrAdapter.SetNextRefreshTime(formId, nextTime));
in HWTEST_F()
|
/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() 1170 * @param nextTime The next update time. 1173 std::shared_ptr<WantAgent> FormTimerMgr::GetDynamicWantAgent(int64_t nextTime, int32_t userId) in GetDynamicWantAgent() argument 1180 int nextTimeRight = static_cast<int>(nextTime); in GetDynamicWantAgent() 1181 int nextTimLeft = static_cast<int>(nextTime >> SHIFT_BIT_LENGT in GetDynamicWantAgent() [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_form_mgr_service.h | 189 * @param nextTime The next refresh time. 192 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) in SetNextRefreshTime() argument
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_timer_mgr.h | 352 * @param nextTime The next update time. 355 std::shared_ptr<WantAgent> GetDynamicWantAgent(int64_t nextTime, int32_t userId);
|
H A D | form_mgr_adapter.h | 226 * @param nextTime next refresh time. 229 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime); 845 * @param nextTime next refresh time. 849 int SetNextRefreshTimeLocked(const int64_t formId, const int64_t nextTime, const int32_t userId = 0);
|
H A D | form_mgr_service.h | 112 * @param nextTime next refresh time. 115 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override;
|
/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; in HWTEST_F() local 708 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(formId, nextTime)); in HWTEST_F() 721 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 727 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(formId, nextTime)); in HWTEST_F() 740 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 746 EXPECT_EQ(false, ability_->SetFormNextRefreshTime(invalidFormId, nextTime)); in HWTEST_F() 759 int64_t nextTime = Constants::MIN_NEXT_TIME; in HWTEST_F() local 765 EXPECT_EQ(true, ability_->SetFormNextRefreshTime(formId, nextTime)); in HWTEST_F()
|
/foundation/ability/form_fwk/interfaces/kits/native/include/ |
H A D | form_mgr.h | 261 * @param nextTime Next refresh time 264 int SetNextRefreshTime(const int64_t formId, const int64_t nextTime);
|
/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));
|
/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
|
/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
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_mgr_interface.h | 108 * @param nextTime Next refresh time. 111 virtual int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) = 0;
|
H A D | form_mgr_proxy.h | 92 * @param nextTime Next refresh time. 95 virtual int SetNextRefreshTime(const int64_t formId, const int64_t nextTime) override;
|
/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
|
/foundation/ability/form_fwk/test/unittest/form_mgr_test/ |
H A D | form_mgr_test.cpp | 455 int64_t nextTime = 2; in HWTEST_F() local 456 auto result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); in HWTEST_F() 858 int64_t nextTime = 50; in HWTEST_F() local 860 int result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); in HWTEST_F() 2956 int64_t nextTime = 50; in HWTEST_F() local 2958 auto result = FormMgr::GetInstance().SetNextRefreshTime(formId, nextTime); in HWTEST_F() 3571 int64_t nextTime = 50; in HWTEST_F() local 3573 auto result = FormMgr::GetInstance().SetNextRefreshTime(FORM_ID, nextTime); in HWTEST_F()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | fms_form_mgr_service_test.cpp | 1281 int64_t nextTime = 1; in HWTEST_F() local 1282 int ret = formMgrService.SetNextRefreshTime(formId, nextTime); in HWTEST_F()
|