Home
last modified time | relevance | path

Searched refs:scenario (Results 1 - 25 of 30) sorted by relevance

12

/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/
H A Dlocation_proxy_adapter_test.cpp92 int32_t scenario = -1; in HWTEST_F() local
93 requestConfigImpl->SetScenario(scenario); in HWTEST_F()
94 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::UNSET; in HWTEST_F()
95 requestConfigImpl->SetScenario(scenario); in HWTEST_F()
96 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::NAVIGATION; in HWTEST_F()
97 requestConfigImpl->SetScenario(scenario); in HWTEST_F()
98 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::TRAJECTORY_TRACKING; in HWTEST_F()
99 requestConfigImpl->SetScenario(scenario); in HWTEST_F()
100 scenario = OHOS::NWeb::LocationRequestConfig::Scenario::CAR_HAILING; in HWTEST_F()
101 requestConfigImpl->SetScenario(scenario); in HWTEST_F()
[all...]
/base/location/interfaces/inner_api/include/
H A Drequest_config.h27 explicit RequestConfig(const int scenario);
35 inline void SetScenario(int scenario) in SetScenario() argument
37 scenario_ = scenario; in SetScenario()
H A Dgeofence_request.h51 void SetScenario(int scenario);
H A Dconstant_definition.h202 int scenario; member
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_location_request_config_impl.cpp26 void ArkLocationRequestConfigImpl::SetScenario(int32_t scenario) in SetScenario() argument
28 real_->SetScenario(scenario); in SetScenario()
H A Dark_location_request_config_impl.h29 void SetScenario(int32_t scenario) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_location_request_config_wrapper.cpp24 void ArkLocationRequestConfigWrapper::SetScenario(int32_t scenario) in SetScenario() argument
26 ctocpp_->SetScenario(scenario); in SetScenario()
H A Dark_location_request_config_wrapper.h29 void SetScenario(int32_t scenario) override;
/base/location/services/location_locator/locator/source/
H A Dlocator_event_manager.cpp99 int scenario = request->GetRequestConfig()->GetScenario(); in LocationSessionStart() local
102 if (requestCount->requestType.at(i) == scenario || requestCount->requestType.at(i) == priority) { in LocationSessionStart()
110 if (scenario != SCENE_UNSET) { in LocationSessionStart()
111 requestCount->requestType.at(0) = scenario; in LocationSessionStart()
H A Dgnss_ability_proxy.cpp255 data.WriteInt32(commands->scenario); in SendCommand()
/base/web/webview/ohos_adapter/location_adapter/src/
H A Dlocation_proxy_adapter_impl.cpp35 int32_t ConvertScenario(int32_t scenario) in ConvertScenario() argument
38 switch (scenario) { in ConvertScenario()
92 void LocationRequestConfigImpl::SetScenario(int32_t scenario) in SetScenario() argument
97 config_->SetScenario(ConvertScenario(scenario)); in SetScenario()
H A Dlocation_proxy_adapter_mock.cpp54 void LocationRequestConfigImpl::SetScenario(int32_t scenario) {} in SetScenario() argument
/base/location/frameworks/cj/include/
H A Dgeolocationmanager_utils.h57 int32_t scenario; member
76 int32_t scenario; member
137 int32_t scenario; member
/base/location/frameworks/base_module/source/
H A Drequest_config.cpp36 RequestConfig::RequestConfig(const int scenario) : scenario_(scenario) in RequestConfig() argument
101 std::string str = "scenario : " + std::to_string(scenario_) + in ToString()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dhks_hmac_mt.cpp291 void LocalHmacScenario(int32_t scenario, struct HksBlob *authId, const TestCaseParams &testCaseParams, 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()
H A Dhks_agree_mt.cpp583 struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) in LocalAgreeScenario()
594 if (scenario == 0) { in LocalAgreeScenario()
610 } else if (scenario == 1) { in LocalAgreeScenario()
629 void EcdhRunTestCase(const TestCaseParams &testCaseParams, int32_t scenario) in EcdhRunTestCase() argument
645 LocalAgreeScenario(testCaseParams, generateKeyParams, &agreeKeyAlise, &agreeKeyBob, scenario); in EcdhRunTestCase()
659 struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) in DhLocalAgreeScenario()
666 if (scenario == 0) { in DhLocalAgreeScenario()
682 } else if (scenario == 1) { in DhLocalAgreeScenario()
700 void DhRunTestCase(const TestCaseParams &testCaseParams, int32_t scenario) in DhRunTestCase() argument
715 DhLocalAgreeScenario(testCaseParams, paramInSet, &agreeKeyAlise, &agreeKeyBob, scenario); in DhRunTestCase()
582 LocalAgreeScenario(const TestCaseParams &testCaseParams, const struct HksParamSet *generateKeyParams, struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) LocalAgreeScenario() argument
658 DhLocalAgreeScenario(const TestCaseParams &testCaseParams, const struct HksParamSet *paramInSet, struct HksBlob *agreeKeyAlise, struct HksBlob *agreeKeyBob, int32_t scenario) DhLocalAgreeScenario() argument
[all...]
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dlocation_adapter.h47 virtual void SetScenario(int32_t scenario) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_location_adapter.h29 virtual void SetScenario(int32_t scenario) = 0;
/base/location/frameworks/native/geofence_sdk/source/
H A Dgeofence_request.cpp66 void GeofenceRequest::SetScenario(int scenario) in SetScenario() argument
68 scenario_ = scenario; in SetScenario()
/base/web/webview/ohos_adapter/location_adapter/include/
H A Dlocation_proxy_adapter_impl.h35 void SetScenario(int32_t scenario) override;
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_utils.cpp83 requestConfig->SetScenario(request.scenario); in CJCurrentLocationRequestToRequestConfig()
220 requestConfig->SetScenario(request.scenario); in CJLocationRequestToRequestConfig()
H A Dgeolocationmanager_impl.cpp286 ptr->scenario = command.scenario; in SendCommand()
/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_proxy.cpp325 data.WriteInt32(commands->scenario); in SendCommand()
809 data.WriteInt32(commands->scenario); in SendCommandV9()
/base/location/test/location_locator/source/
H A Dlocator_service_test.cpp242 * @tc.desc: Check start locating based on scenario expect success
1011 locationCommand->scenario = data.ReadInt32(); in HWTEST_F()
1026 * @tc.desc: Test enable location mock in SCENE_CAR_HAILING scenario
1044 * @tc.desc: Test disable location mock in SCENE_CAR_HAILING scenario
1237 * @tc.desc: Test update list on request change in normal scenario
1269 * @tc.expected: normal scenario covered in HWTEST_F()
1277 * @tc.desc: Test update list on request change in abnormal scenario
1326 command->scenario = SCENE_NAVIGATION; in HWTEST_F()
1708 command->scenario = SCENE_NAVIGATION; in HWTEST_F()
H A Dlocator_impl_test.cpp291 command->scenario = SCENE_NAVIGATION; in HWTEST_F()

Completed in 17 milliseconds

12