Home
last modified time | relevance | path

Searched refs:EnableAbility (Results 1 – 18 of 18) sorted by relevance

/base/web/webview/ohos_wrapper/src/
Dnweb_location_wrapper.cpp72 extern "C" OHOS_NWEB_EXPORT bool EnableAbility(bool enable) in EnableAbility() function
/base/web/webview/ohos_adapter/interfaces/
Dlocation_adapter.h110 virtual bool EnableAbility(bool isEnabled) = 0;
/base/web/webview/ohos_adapter/location_adapter/include/
Dlocation_proxy_adapter_impl.h82 bool EnableAbility(bool isEnabled) override;
/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/
Dlocation_proxy_adapter_test.cpp219 bool result = proxyAdapterImpl->EnableAbility(true);
253 bool result = proxyAdapterImpl->EnableAbility(true);
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp164 g_locatorImpl->EnableAbility(false); in LocatorImplFuzzerTest()
165 g_locatorImpl->EnableAbility(true); in LocatorImplFuzzerTest()
464 locatorAbility->EnableAbility(true); in LocatorAbility001FuzzerTest()
465 locatorAbility->EnableAbility(false); in LocatorAbility001FuzzerTest()
/base/location/test/location_locator/source/
Dlocator_service_test.cpp466 proxy_->EnableAbility(false); // if the state is false
470 proxy_->EnableAbility(true);
472 proxy_->EnableAbility(true); // if the state is false
476 proxy_->EnableAbility(false);
1341 locatorImpl->EnableAbility(false);
1343 locatorImpl->EnableAbility(true);
1600 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->EnableAbility(true));
1604 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->EnableAbility(false));
1608 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->EnableAbility(true));
Dreport_manager_test.cpp308 locatorImpl->EnableAbility(true);
347 locatorImpl->EnableAbility(true);
Dlocation_without_permission_test.cpp90 locatorImpl->EnableAbility(true);
/base/location/interfaces/inner_api/include/
Dlocator_proxy.h45 void EnableAbility(bool isEnabled);
Dlocator_impl.h50 void EnableAbility(bool enable);
Dlocator.h41 virtual void EnableAbility(bool enable) = 0;
/base/web/webview/ohos_adapter/location_adapter/src/
Dlocation_proxy_adapter_impl.cpp314 bool LocationProxyAdapterImpl::EnableAbility(bool isEnabled) in EnableAbility() function in OHOS::NWeb::LocationProxyAdapterImpl
/base/location/services/location_locator/locator/include/
Dlocator_ability.h67 LocationErrCode EnableAbility(bool isEnabled);
/base/location/frameworks/js/napi/source/
Dlocation_napi_adapter.cpp153 g_locatorClient->EnableAbility(true); in EnableLocation()
195 g_locatorClient->EnableAbility(false); in DisableLocation()
228 g_locatorClient->EnableAbility(true); in RequestEnableLocation()
/base/location/frameworks/native/source/
Dlocator_impl.cpp106 void LocatorImpl::EnableAbility(bool enable) in EnableAbility() function in OHOS::Location::LocatorImpl
Dlocator_proxy.cpp57 void LocatorProxy::EnableAbility(bool isEnabled) in EnableAbility() function in OHOS::Location::LocatorProxy
/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp359 LocationErrCode LocatorAbility::EnableAbility(bool isEnabled) in EnableAbility() function in OHOS::Location::LocatorAbility
Dlocator_skeleton.cpp247 reply.WriteInt32(locatorAbility->EnableAbility(isEnabled)); in PreEnableAbility()