Home
last modified time | relevance | path

Searched refs:timeInterval (Results 1 - 25 of 52) sorted by relevance

123

/base/location/services/location_passive/passive/source/
H A Dpassive_ability.cpp167 LocationErrCode PassiveAbility::SetMocked(const int timeInterval, in SetMocked() argument
170 if (!SetMockedLocations(timeInterval, location)) { in SetMocked()
216 int timeInterval = data.ReadInt32(); in SendMessage() local
218 timeInterval = timeInterval < 0 ? 1 : timeInterval; in SendMessage()
227 AppExecFwk::InnerEvent::Get(code, vcLoc, timeInterval); in SendMessage()
251 int timeInterval = event->GetParam(); in ProcessEvent() local
261 passiveAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_location_request_config_impl.cpp46 void ArkLocationRequestConfigImpl::SetTimeInterval(int32_t timeInterval) in SetTimeInterval() argument
48 real_->SetTimeInterval(timeInterval); in SetTimeInterval()
H A Dark_location_request_config_impl.h37 void SetTimeInterval(int32_t timeInterval) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_location_request_config_wrapper.cpp40 void ArkLocationRequestConfigWrapper::SetTimeInterval(int32_t timeInterval) in SetTimeInterval() argument
42 ctocpp_->SetTimeInterval(timeInterval); in SetTimeInterval()
H A Dark_location_request_config_wrapper.h37 void SetTimeInterval(int32_t timeInterval) override;
/base/location/interfaces/inner_api/include/
H A Drequest_config.h55 inline void SetTimeInterval(int timeInterval) in SetTimeInterval() argument
57 timeInterval_ = timeInterval; in SetTimeInterval()
/base/location/test/location_passive/source/
H A Dpassive_ability_test.cpp158 int timeInterval = 1; in HWTEST_F() local
176 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations)); in HWTEST_F()
181 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations)); in HWTEST_F()
235 int timeInterval = 0; in HWTEST_F() local
251 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); in HWTEST_F()
263 int timeInterval = 0; in HWTEST_F() local
279 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dresolver.cpp67 unsigned long long timeInterval = static_cast<unsigned long long>(std::abs(window) * MILLISECOND); in ResolveEvent() local
68 unsigned long long start = window > 0 ? timestamp : timestamp - timeInterval; in ResolveEvent()
69 unsigned long long end = window > 0 ? timestamp + timeInterval : timestamp; in ResolveEvent()
/base/location/services/location_locator/locator/include/
H A Dsubability_common.h37 virtual LocationErrCode SetMocked(const int timeInterval,
52 bool SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location);
H A Dpassive_ability_proxy.h41 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
H A Dnetwork_ability_proxy.h41 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
H A Dlocator_ability.h154 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location);
160 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
163 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
167 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
171 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
H A Dgnss_ability_proxy.h51 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
/base/hiviewdfx/faultloggerd/test/performancetest/src/
H A Dfaultloggerd_performance_test.cpp170 double timeInterval = GetStopTime(befor)/PERFORMANCE_TEST_NUMBER_ONE_HUNDRED; in HWTEST_F() local
171 GTEST_LOG_(INFO) << "dumpcatcher Command Performance time(PID(root), TID(root)): " << timeInterval << "s"; in HWTEST_F()
217 double timeInterval = GetStopTime(befor) / PERFORMANCE_TEST_NUMBER_ONE_HUNDRED; in HWTEST_F() local
218 GTEST_LOG_(INFO) << "DumpCatchMultiPid API time(PID(root), PID(foundation)): " << timeInterval << "s"; in HWTEST_F()
/base/location/services/location_network/network/source/
H A Dnetwork_ability.cpp403 LocationErrCode NetworkAbility::SetMocked(const int timeInterval, in SetMocked() argument
406 if (!SetMockedLocations(timeInterval, location)) { in SetMocked()
497 int timeInterval = data.ReadInt32(); in SendMessage() local
499 timeInterval = timeInterval < 0 ? 1 : timeInterval; in SendMessage()
508 AppExecFwk::InnerEvent::Get(code, vcLoc, timeInterval); in SendMessage()
614 int timeInterval = event->GetParam(); in ProcessEvent() local
621 networkAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()
/base/location/test/location_passive/mock/include/
H A Dmock_passive_ability_stub.h43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/location/test/location_network/mock/include/
H A Dmock_network_ability_stub.h43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/location/services/location_locator/locator/source/
H A Dnetwork_ability_proxy.cpp112 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked()
126 data.WriteInt32(timeInterval); in SetMocked()
111 SetMocked( const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) SetMocked() argument
H A Dpassive_ability_proxy.cpp112 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked()
126 data.WriteInt32(timeInterval); in SetMocked()
111 SetMocked( const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) SetMocked() argument
/base/location/services/location_passive/passive/include/
H A Dpassive_ability.h63 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
/base/location/test/location_gnss/mock/include/
H A Dmock_gnss_ability_stub.h61 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dlocation_adapter.h55 virtual void SetTimeInterval(int32_t timeInterval) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_location_adapter.h41 virtual void SetTimeInterval(int32_t timeInterval) = 0;
/base/web/webview/ohos_adapter/location_adapter/src/
H A Dlocation_proxy_adapter_mock.cpp62 void LocationRequestConfigImpl::SetTimeInterval(int32_t timeInterval) {} in SetTimeInterval() argument
/base/location/test/location_network/source/
H A Dnetwork_ability_test.cpp187 int timeInterval = 1; in HWTEST_F() local
190 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations)); in HWTEST_F()
193 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations)); in HWTEST_F()
252 int timeInterval = 0; in HWTEST_F() local
268 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); in HWTEST_F()
280 int timeInterval = 0; in HWTEST_F() local
296 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); in HWTEST_F()

Completed in 12 milliseconds

123