/base/location/services/location_passive/passive/source/ |
H A D | passive_ability.cpp | 167 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 D | ark_location_request_config_impl.cpp | 46 void ArkLocationRequestConfigImpl::SetTimeInterval(int32_t timeInterval) in SetTimeInterval() argument 48 real_->SetTimeInterval(timeInterval); in SetTimeInterval()
|
H A D | ark_location_request_config_impl.h | 37 void SetTimeInterval(int32_t timeInterval) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_location_request_config_wrapper.cpp | 40 void ArkLocationRequestConfigWrapper::SetTimeInterval(int32_t timeInterval) in SetTimeInterval() argument 42 ctocpp_->SetTimeInterval(timeInterval); in SetTimeInterval()
|
H A D | ark_location_request_config_wrapper.h | 37 void SetTimeInterval(int32_t timeInterval) override;
|
/base/location/interfaces/inner_api/include/ |
H A D | request_config.h | 55 inline void SetTimeInterval(int timeInterval) in SetTimeInterval() argument 57 timeInterval_ = timeInterval; in SetTimeInterval()
|
/base/location/test/location_passive/source/ |
H A D | passive_ability_test.cpp | 158 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 D | resolver.cpp | 67 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 D | subability_common.h | 37 virtual LocationErrCode SetMocked(const int timeInterval, 52 bool SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location);
|
H A D | passive_ability_proxy.h | 41 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
|
H A D | network_ability_proxy.h | 41 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
|
H A D | locator_ability.h | 154 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 D | gnss_ability_proxy.h | 51 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
|
/base/hiviewdfx/faultloggerd/test/performancetest/src/ |
H A D | faultloggerd_performance_test.cpp | 170 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 D | network_ability.cpp | 403 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 D | mock_passive_ability_stub.h | 43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/test/location_network/mock/include/ |
H A D | mock_network_ability_stub.h | 43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/services/location_locator/locator/source/ |
H A D | network_ability_proxy.cpp | 112 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 D | passive_ability_proxy.cpp | 112 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 D | passive_ability.h | 63 LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) override;
|
/base/location/test/location_gnss/mock/include/ |
H A D | mock_gnss_ability_stub.h | 61 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | location_adapter.h | 55 virtual void SetTimeInterval(int32_t timeInterval) = 0;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_location_adapter.h | 41 virtual void SetTimeInterval(int32_t timeInterval) = 0;
|
/base/web/webview/ohos_adapter/location_adapter/src/ |
H A D | location_proxy_adapter_mock.cpp | 62 void LocationRequestConfigImpl::SetTimeInterval(int32_t timeInterval) {} in SetTimeInterval() argument
|
/base/location/test/location_network/source/ |
H A D | network_ability_test.cpp | 187 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()
|