Home
last modified time | relevance | path

Searched refs:scenario (Results 1 – 21 of 21) sorted by relevance

/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/
Dlocation_proxy_adapter_test.cpp92 int32_t scenario = -1; variable
93 requestConfigImpl->SetScenario(scenario);
94 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::UNSET;
95 requestConfigImpl->SetScenario(scenario);
96 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::NAVIGATION;
97 requestConfigImpl->SetScenario(scenario);
98 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::TRAJECTORY_TRACKING;
99 requestConfigImpl->SetScenario(scenario);
100 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::CAR_HAILING;
101 requestConfigImpl->SetScenario(scenario);
[all …]
/base/location/interfaces/inner_api/include/
Drequest_config.h27 explicit RequestConfig(const int scenario);
35 inline void SetScenario(int scenario) in SetScenario() argument
37 scenario_ = scenario; in SetScenario()
Dconstant_definition.h117 int scenario; member
129 int scenario; member
/base/location/services/location_locator/locator/source/
Dlocator_event_manager.cpp95 int scenario = request->GetRequestConfig()->GetScenario(); in LocationSessionStart() local
98 … if (requestCount->requestType.at(i) == scenario || requestCount->requestType.at(i) == priority) { in LocationSessionStart()
106 if (scenario != SCENE_UNSET) { in LocationSessionStart()
107 requestCount->requestType.at(0) = scenario; in LocationSessionStart()
Dgnss_ability_proxy.cpp232 data.WriteInt32(commands->scenario); in SendCommand()
253 data.WriteInt32(request->scenario); in AddFence()
278 data.WriteInt32(request->scenario); in RemoveFence()
Dlocator_ability.cpp597 dataToStub.WriteInt32(commands->scenario); in SendCommand()
611 dataToStub.WriteInt32(request->scenario); in AddFence()
628 dataToStub.WriteInt32(request->scenario); in RemoveFence()
Dlocator_skeleton.cpp595 locationCommand->scenario = data.ReadInt32(); in PreSendCommand()
618 request->scenario = data.ReadInt32(); in PreAddFence()
644 request->scenario = data.ReadInt32(); in PreRemoveFence()
/base/location/frameworks/location_common/common/source/
Drequest_config.cpp35 RequestConfig::RequestConfig(const int scenario) : scenario_(scenario) in RequestConfig() argument
/base/web/webview/ohos_adapter/location_adapter/src/
Dlocation_proxy_adapter_impl.cpp33 int32_t ConvertScenario(int32_t scenario) in ConvertScenario() argument
36 switch (scenario) { in ConvertScenario()
106 void LocationRequestConfigImpl::SetScenario(int32_t scenario) in SetScenario() argument
111 config_->SetScenario(ConvertScenario(scenario)); in SetScenario()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_hmac_mt.cpp291 …void LocalHmacScenario(int32_t scenario, struct HksBlob *authId, const TestCaseParams &testCasePar… in LocalHmacScenario() argument
309 if (scenario == 0) { in LocalHmacScenario()
311 } else if (scenario == 1) { in LocalHmacScenario()
328 if (scenario == 1) { in LocalHmacScenario()
338 void RunTestCase(const TestCaseParams &testCaseParams, int32_t scenario) in RunTestCase() argument
357 LocalHmacScenario(scenario, &authId, testCaseParams, &macForHuks, &message); in RunTestCase()
Dhks_agree_mt.cpp575 struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) in LocalAgreeScenario() argument
586 if (scenario == 0) { in LocalAgreeScenario()
602 } else if (scenario == 1) { in LocalAgreeScenario()
621 void EcdhRunTestCase(const TestCaseParams &testCaseParams, int32_t scenario) in EcdhRunTestCase() argument
637 … LocalAgreeScenario(testCaseParams, generateKeyParams, &agreeKeyAlise, &agreeKeyBob, scenario); in EcdhRunTestCase()
651 struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) in DhLocalAgreeScenario() argument
658 if (scenario == 0) { in DhLocalAgreeScenario()
674 } else if (scenario == 1) { in DhLocalAgreeScenario()
692 void DhRunTestCase(const TestCaseParams &testCaseParams, int32_t scenario) in DhRunTestCase() argument
707 … DhLocalAgreeScenario(testCaseParams, paramInSet, &agreeKeyAlise, &agreeKeyBob, scenario); in DhRunTestCase()
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp140 locationCommand->scenario = data.ReadInt32(); in OnRemoteRequest()
164 request->scenario = data.ReadInt32(); in OnRemoteRequest()
177 request->scenario = data.ReadInt32(); in OnRemoteRequest()
/base/web/webview/ohos_adapter/interfaces/
Dlocation_adapter.h46 virtual void SetScenario(int32_t scenario) = 0;
/base/web/webview/ohos_adapter/location_adapter/include/
Dlocation_proxy_adapter_impl.h33 void SetScenario(int32_t scenario) override;
/base/global/system_resources/
DREADME.md11 HarmonyOS Sans is a family of variable fonts developed by Huawei for all-scenario experience. It is…
/base/location/frameworks/native/source/
Dlocator_proxy.cpp319 data.WriteInt32(commands->scenario); in SendCommand()
332 data.WriteInt32(request->scenario); in AddFence()
348 data.WriteInt32(request->scenario); in RemoveFence()
852 data.WriteInt32(commands->scenario); in SendCommandV9()
870 data.WriteInt32(request->scenario); in AddFenceV9()
891 data.WriteInt32(request->scenario); in RemoveFenceV9()
Dnapi_util.cpp225 request->scenario = value; in JsObjToGeoFenceRequest()
307 … CHK_ERROR_CODE("scenario", JsObjectToInt(env, object, "scenario", commandConfig->scenario), true); in JsObjToCommand()
/base/location/test/location_locator/source/
Dlocation_without_permission_test.cpp167 fenceRequest->scenario = SCENE_NAVIGATION;
282 fenceRequest->scenario = SCENE_NAVIGATION;
Dlocator_service_test.cpp974 locationCommand->scenario = data.ReadInt32();
1002 request->scenario = 2; // scenario
1033 request->scenario = 2; // scenario
1356 command->scenario = SCENE_NAVIGATION;
1360 fenceRequest->scenario = SCENE_NAVIGATION;
1719 command->scenario = SCENE_NAVIGATION;
1736 fenceRequest->scenario = SCENE_NAVIGATION;
Dlocator_impl_test.cpp293 command->scenario = SCENE_NAVIGATION;
307 fenceRequest->scenario = SCENE_NAVIGATION;
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp485 locationCommand->scenario = 1;
510 request->scenario = 2;
538 request->scenario = 2;