/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_light_test.cpp | 103 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/ |
D | battery_light.h | 32 bool isAvailable() const;
|
/base/location/test/location_locator/source/ |
D | locator_impl_test.cpp | 304 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/ |
D | location_napi_adapter.cpp | 261 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/ |
D | battery_light.cpp | 110 bool BatteryLight::isAvailable() const in isAvailable() function in OHOS::PowerMgr::BatteryLight
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 189 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/ |
D | account_iam_callback.cpp | 254 bool isAvailable = InnerAccountIAMManager::GetInstance().CheckDomainAuthAvailable(userId_); in OnCredentialInfo() local 255 if (isAvailable) { in OnCredentialInfo()
|
D | inner_account_iam_manager.cpp | 218 bool isAvailable = InnerDomainAccountManager::GetInstance()->IsPluginAvailable(); in CheckDomainAuthAvailable() local 219 return !domainAccountInfo.accountName_.empty() && isAvailable; in CheckDomainAuthAvailable()
|
/base/location/frameworks/native/source/ |
D | locator_impl.cpp | 401 LocationErrCode LocatorImpl::IsGeoServiceAvailableV9(bool &isAvailable) in IsGeoServiceAvailableV9() argument 404 return client_->IsGeoConvertAvailableV9(isAvailable); in IsGeoServiceAvailableV9()
|
D | locator_proxy.cpp | 726 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/ |
D | locator.h | 87 virtual LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) = 0;
|
D | locator_impl.h | 95 LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) override;
|
D | locator_proxy.h | 99 LocationErrCode IsGeoConvertAvailableV9(bool &isAvailable);
|
/base/location/services/location_locator/locator/source/ |
D | locator_ability.cpp | 861 LocationErrCode LocatorAbility::IsGeoConvertAvailable(bool &isAvailable) in IsGeoConvertAvailable() argument 866 isAvailable = false; in IsGeoConvertAvailable() 872 isAvailable = replyParcel.ReadBool(); in IsGeoConvertAvailable() 874 isAvailable = false; in IsGeoConvertAvailable()
|
D | locator_skeleton.cpp | 231 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/ |
D | locator_ability.h | 82 LocationErrCode IsGeoConvertAvailable(bool &isAvailable);
|