/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/ |
H A D | location_proxy_adapter_test.cpp | 92 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 D | request_config.h | 27 explicit RequestConfig(const int scenario); 35 inline void SetScenario(int scenario) in SetScenario() argument 37 scenario_ = scenario; in SetScenario()
|
H A D | geofence_request.h | 51 void SetScenario(int scenario);
|
H A D | constant_definition.h | 202 int scenario; member
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_location_request_config_impl.cpp | 26 void ArkLocationRequestConfigImpl::SetScenario(int32_t scenario) in SetScenario() argument 28 real_->SetScenario(scenario); in SetScenario()
|
H A D | ark_location_request_config_impl.h | 29 void SetScenario(int32_t scenario) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_location_request_config_wrapper.cpp | 24 void ArkLocationRequestConfigWrapper::SetScenario(int32_t scenario) in SetScenario() argument 26 ctocpp_->SetScenario(scenario); in SetScenario()
|
H A D | ark_location_request_config_wrapper.h | 29 void SetScenario(int32_t scenario) override;
|
/base/location/services/location_locator/locator/source/ |
H A D | locator_event_manager.cpp | 99 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 D | gnss_ability_proxy.cpp | 255 data.WriteInt32(commands->scenario); in SendCommand()
|
/base/web/webview/ohos_adapter/location_adapter/src/ |
H A D | location_proxy_adapter_impl.cpp | 35 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 D | location_proxy_adapter_mock.cpp | 54 void LocationRequestConfigImpl::SetScenario(int32_t scenario) {} in SetScenario() argument
|
/base/location/frameworks/cj/include/ |
H A D | geolocationmanager_utils.h | 57 int32_t scenario; member 76 int32_t scenario; member 137 int32_t scenario; member
|
/base/location/frameworks/base_module/source/ |
H A D | request_config.cpp | 36 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 D | hks_hmac_mt.cpp | 291 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 D | hks_agree_mt.cpp | 583 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 D | location_adapter.h | 47 virtual void SetScenario(int32_t scenario) = 0;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_location_adapter.h | 29 virtual void SetScenario(int32_t scenario) = 0;
|
/base/location/frameworks/native/geofence_sdk/source/ |
H A D | geofence_request.cpp | 66 void GeofenceRequest::SetScenario(int scenario)
in SetScenario() argument 68 scenario_ = scenario;
in SetScenario()
|
/base/web/webview/ohos_adapter/location_adapter/include/ |
H A D | location_proxy_adapter_impl.h | 35 void SetScenario(int32_t scenario) override;
|
/base/location/frameworks/cj/source/ |
H A D | geolocationmanager_utils.cpp | 83 requestConfig->SetScenario(request.scenario); in CJCurrentLocationRequestToRequestConfig() 220 requestConfig->SetScenario(request.scenario); in CJLocationRequestToRequestConfig()
|
H A D | geolocationmanager_impl.cpp | 286 ptr->scenario = command.scenario; in SendCommand()
|
/base/location/frameworks/native/locator_sdk/source/ |
H A D | locator_proxy.cpp | 325 data.WriteInt32(commands->scenario); in SendCommand() 809 data.WriteInt32(commands->scenario); in SendCommandV9()
|
/base/location/test/location_locator/source/ |
H A D | locator_service_test.cpp | 242 * @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 D | locator_impl_test.cpp | 291 command->scenario = SCENE_NAVIGATION; in HWTEST_F()
|