Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 – 16 of 16) sorted by relevance

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_light_test.cpp103 RETURN_IF(!g_light.isAvailable());
123 RETURN_IF(!g_light.isAvailable());
138 RETURN_IF(!g_light.isAvailable());
153 RETURN_IF(!g_light.isAvailable());
168 RETURN_IF(!g_light.isAvailable());
/base/powermgr/battery_manager/services/native/include/
Dbattery_light.h32 bool isAvailable() const;
/base/location/test/location_locator/source/
Dlocator_impl_test.cpp304 bool isAvailable = false; variable
306 EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl_->IsGeoServiceAvailableV9(isAvailable));
307 EXPECT_EQ(true, isAvailable);
309 isAvailable = false;
311 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, locatorImpl_->IsGeoServiceAvailableV9(isAvailable));
312 EXPECT_EQ(false, isAvailable);
/base/location/frameworks/js/napi/source/
Dlocation_napi_adapter.cpp261 bool isAvailable = false; in IsGeoServiceAvailable() local
262 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable()
267 NAPI_CALL(env, napi_get_boolean(env, isAvailable, &res)); in IsGeoServiceAvailable()
277 bool isAvailable = g_locatorClient->IsGeoServiceAvailable(); in IsGeoServiceAvailable() local
278 context->enable = isAvailable; in IsGeoServiceAvailable()
305 bool isAvailable = false; in CreateReverseGeocodeAsyncContext() local
306 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext()
311 if (!isAvailable) { in CreateReverseGeocodeAsyncContext()
346 bool isAvailable = false; in CreateReverseGeocodeAsyncContext() local
347 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext()
[all …]
/base/powermgr/battery_manager/services/native/src/
Dbattery_light.cpp110 bool BatteryLight::isAvailable() const in isAvailable() function in OHOS::PowerMgr::BatteryLight
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp189 bool isAvailable = false; in LocatorImplV9FuzzerTest() local
190 g_locatorImpl->IsGeoServiceAvailableV9(isAvailable); in LocatorImplV9FuzzerTest()
471 bool isAvailable = false; in LocatorAbility001FuzzerTest() local
472 locatorAbility->IsGeoConvertAvailable(isAvailable); in LocatorAbility001FuzzerTest()
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_callback.cpp254 bool isAvailable = InnerAccountIAMManager::GetInstance().CheckDomainAuthAvailable(userId_); in OnCredentialInfo() local
255 if (isAvailable) { in OnCredentialInfo()
Dinner_account_iam_manager.cpp218 bool isAvailable = InnerDomainAccountManager::GetInstance()->IsPluginAvailable(); in CheckDomainAuthAvailable() local
219 return !domainAccountInfo.accountName_.empty() && isAvailable; in CheckDomainAuthAvailable()
/base/location/frameworks/native/source/
Dlocator_impl.cpp401 LocationErrCode LocatorImpl::IsGeoServiceAvailableV9(bool &isAvailable) in IsGeoServiceAvailableV9() argument
404 return client_->IsGeoConvertAvailableV9(isAvailable); in IsGeoServiceAvailableV9()
Dlocator_proxy.cpp726 LocationErrCode LocatorProxy::IsGeoConvertAvailableV9(bool &isAvailable) in IsGeoConvertAvailableV9() argument
731 isAvailable = reply.ReadBool(); in IsGeoConvertAvailableV9()
733 isAvailable = false; in IsGeoConvertAvailableV9()
/base/location/interfaces/inner_api/include/
Dlocator.h87 virtual LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) = 0;
Dlocator_impl.h95 LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) override;
Dlocator_proxy.h99 LocationErrCode IsGeoConvertAvailableV9(bool &isAvailable);
/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp861 LocationErrCode LocatorAbility::IsGeoConvertAvailable(bool &isAvailable) in IsGeoConvertAvailable() argument
866 isAvailable = false; in IsGeoConvertAvailable()
872 isAvailable = replyParcel.ReadBool(); in IsGeoConvertAvailable()
874 isAvailable = false; in IsGeoConvertAvailable()
Dlocator_skeleton.cpp231 bool isAvailable = false; in PreIsGeoConvertAvailable() local
232 reply.WriteInt32(locatorAbility->IsGeoConvertAvailable(isAvailable)); in PreIsGeoConvertAvailable()
233 reply.WriteBool(isAvailable); in PreIsGeoConvertAvailable()
/base/location/services/location_locator/locator/include/
Dlocator_ability.h82 LocationErrCode IsGeoConvertAvailable(bool &isAvailable);