Home
last modified time | relevance | path

Searched refs:RequestConfig (Results 1 – 25 of 35) sorted by relevance

12

/base/location/frameworks/location_common/common/source/
Drequest_config.cpp24 RequestConfig::RequestConfig() in RequestConfig() function in OHOS::Location::RequestConfig
35 RequestConfig::RequestConfig(const int scenario) : scenario_(scenario) in RequestConfig() function in OHOS::Location::RequestConfig
45 void RequestConfig::Set(RequestConfig& requestConfig) in Set()
55 bool RequestConfig::IsSame(RequestConfig& requestConfig) in IsSame()
66 void RequestConfig::ReadFromParcel(Parcel& parcel) in ReadFromParcel()
76 std::unique_ptr<RequestConfig> RequestConfig::Unmarshalling(Parcel& parcel) in Unmarshalling()
78 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>(); in Unmarshalling()
83 bool RequestConfig::Marshalling(Parcel& parcel) const in Marshalling()
93 std::string RequestConfig::ToString() const in ToString()
/base/location/interfaces/inner_api/include/
Drequest_config.h24 class RequestConfig : public Parcelable {
26 RequestConfig();
27 explicit RequestConfig(const int scenario);
28 ~RequestConfig() override = default;
103 static std::unique_ptr<RequestConfig> Unmarshalling(Parcel& parcel);
104 void Set(RequestConfig& requestConfig);
105 bool IsSame(RequestConfig& requestConfig);
Dlocator_proxy.h52 int StartLocating(std::unique_ptr<RequestConfig>& requestConfig,
92 LocationErrCode StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig,
Dnapi_util.h49 std::unique_ptr<RequestConfig>& requestConfig);
51 std::unique_ptr<RequestConfig>& requestConfig);
Dlocator_impl.h51 void StartLocating(std::unique_ptr<RequestConfig>& requestConfig,
89 LocationErrCode StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig,
Dlocator.h42 virtual void StartLocating(std::unique_ptr<RequestConfig>& requestConfig,
82 virtual LocationErrCode StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig,
/base/location/test/location_locator/source/
Drequest_manager_test.cpp48 auto requestConfig = std::make_unique<RequestConfig>(); in SetUp()
93 std::unique_ptr<RequestConfig> requestConfig = in FillRequestField()
94 std::make_unique<RequestConfig>(); in FillRequestField()
326 std::unique_ptr<RequestConfig> requestConfig1 =
327 std::make_unique<RequestConfig>();
342 std::unique_ptr<RequestConfig> requestConfig2 =
343 std::make_unique<RequestConfig>();
358 std::unique_ptr<RequestConfig> requestConfig3 =
359 std::make_unique<RequestConfig>();
374 std::unique_ptr<RequestConfig> requestConfig4 =
[all …]
Dlocator_event_manager_test.cpp106 auto requestConfig1 = std::make_unique<RequestConfig>();
121 auto requestConfig2 = std::make_unique<RequestConfig>();
146 auto requestConfig1 = std::make_unique<RequestConfig>();
162 auto requestConfig2 = std::make_unique<RequestConfig>();
Dlocation_without_permission_test.cpp102 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
217 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
Dreport_manager_test.cpp125 auto requestConfig = std::make_unique<RequestConfig>();
302 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
341 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
Dlocator_impl_test.cpp203 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
470 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
490 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
Dlocator_service_test.cpp167 std::unique_ptr<RequestConfig> requestConfig = RequestConfig::Unmarshalling(data); in StartAndStopForLocating()
246 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
269 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
1991 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
Dlocator_background_proxy_test.cpp154 auto requestConfig = std::make_unique<RequestConfig>();
179 auto requestConfig = std::make_unique<RequestConfig>();
201 auto requestConfig = std::make_unique<RequestConfig>();
262 auto requestConfig1 = std::make_unique<RequestConfig>();
/base/location/services/location_locator/locator/include/
Drequest.h34 sptr<RequestConfig> GetRequestConfig();
40 void SetRequestConfig(RequestConfig& requestConfig);
69 sptr<RequestConfig> requestConfig_;
Dlocator_ability.h84 LocationErrCode StartLocating(std::unique_ptr<RequestConfig>& requestConfig,
/base/web/webview/ohos_adapter/location_adapter/include/
Dlocation_proxy_adapter_impl.h39 std::unique_ptr<OHOS::Location::RequestConfig>& GetConfig();
41 std::unique_ptr<OHOS::Location::RequestConfig> config_;
69 std::unique_ptr<OHOS::Location::RequestConfig>& requestConfig,
/base/location/test/fuzztest/locator/locatorbackgroundproxy_fuzzer/
Dlocatorbackgroundproxy_fuzzer.cpp41 std::unique_ptr<RequestConfig> requestConfig = in LocatorBackgroundProxyFuzzerTest()
42 std::make_unique<RequestConfig>(); in LocatorBackgroundProxyFuzzerTest()
/base/location/services/location_locator/locator/source/
Drequest.cpp30 requestConfig_ = new (std::nothrow) RequestConfig(); in Request()
39 void Request::SetRequestConfig(RequestConfig& requestConfig) in SetRequestConfig()
52 sptr<RequestConfig> Request::GetRequestConfig() in GetRequestConfig()
/base/location/test/location_common/source/
Dlocation_common_test.cpp328 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>();
360 std::unique_ptr<RequestConfig> requestConfigForCompare =
361 std::make_unique<RequestConfig>();
363 RequestConfig requestConfigForSet1;
374 RequestConfig requestConfigForSet2;
379 RequestConfig requestConfigForSet3;
386 RequestConfig requestConfigForSet4;
715 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>(1);
/base/web/webview/ohos_wrapper/src/
Dnweb_location_wrapper.cpp42 std::unique_ptr<RequestConfig>& requestConfig, in StartLocating()
/base/location/frameworks/js/napi/include/
Dlocation_napi_event.h81 const size_t& objectArgsNum, std::unique_ptr<RequestConfig>& requestConfig);
82 bool IsRequestConfigValid(std::unique_ptr<RequestConfig>& config);
/base/web/webview/ohos_adapter/location_adapter/src/
Dlocation_proxy_adapter_impl.cpp103 config_ = std::make_unique<OHOS::Location::RequestConfig>(); in LocationRequestConfigImpl()
154 std::unique_ptr<OHOS::Location::RequestConfig>& LocationRequestConfigImpl::GetConfig() in GetConfig()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp38 auto requestConfig = std::make_unique<RequestConfig>(); in GetLocationOnce()
206 std::unique_ptr<RequestConfig> requestConfig = std::make_unique<RequestConfig>(); in SubscribeSystemLocationChange()
Dlocation_napi_event.cpp41 std::unique_ptr<RequestConfig> g_requestConfig = std::make_unique<RequestConfig>();
393 std::unique_ptr<RequestConfig>& config, sptr<LocatorCallbackHost> callback) in CreateSingleLocationAsyncContext()
465 std::unique_ptr<RequestConfig> CreateRequestConfig(const napi_env& env, in CreateRequestConfig()
468 auto requestConfig = std::make_unique<RequestConfig>(); in CreateRequestConfig()
1641 bool IsRequestConfigValid(std::unique_ptr<RequestConfig>& config) in IsRequestConfigValid()
/base/location/test/fuzztest/locator/requestmanager_fuzzer/
Drequestmanager_fuzzer.cpp62 auto requestConfig = std::make_unique<RequestConfig>(); in RequestFuzzerTest()

12