Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 - 19 of 19) sorted by relevance

/base/powermgr/battery_manager/test/unittest/src/scenario_test/
H A Dbattery_light_test.cpp80 GTEST_LOG_(INFO) << "The current device supports Light: " << g_light.isAvailable(); in SetUpTestCase()
103 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
118 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
134 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
151 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
166 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
188 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
205 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
222 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
239 RETURN_IF(!g_light.isAvailable()); in HWTEST_F()
[all...]
/base/powermgr/battery_manager/services/native/include/
H A Dbattery_light.h32 bool isAvailable() const;
/base/location/services/location_gnss/gnss/source/
H A Dgeofence_event_callback.cpp24 int32_t GeofenceEventCallback::ReportGeofenceAvailability(bool isAvailable) in ReportGeofenceAvailability() argument
/base/location/services/location_gnss/gnss/include/
H A Dgeofence_event_callback.h36 int32_t ReportGeofenceAvailability(bool isAvailable) override;
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_impl.cpp162 bool isAvailable = false; in IsGeocoderAvailable() local
163 errCode = g_locatorProxy->IsGeoServiceAvailableV9(isAvailable); in IsGeocoderAvailable()
164 return isAvailable; in IsGeocoderAvailable()
316 bool isAvailable = false; in GetAddressesFromLocation() local
317 errCode = g_locatorProxy->IsGeoServiceAvailableV9(isAvailable); in GetAddressesFromLocation()
321 if (!isAvailable) { in GetAddressesFromLocation()
346 bool isAvailable = false; in GetAddressesFromLocationName() local
347 errCode = g_locatorProxy->IsGeoServiceAvailableV9(isAvailable); in GetAddressesFromLocationName()
351 if (!isAvailable) { in GetAddressesFromLocationName()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_light.cpp122 bool BatteryLight::isAvailable() const in isAvailable() function in OHOS::PowerMgr::BatteryLight
/base/location/frameworks/native/locator_sdk/source/
H A Dcountry_code_manager.cpp197 bool isAvailable = false; in GetCountryCodeByLocation() local
198 LocationErrCode errorCode = locatorImpl->IsGeoServiceAvailableV9(isAvailable); in GetCountryCodeByLocation()
199 if (errorCode != ERRCODE_SUCCESS || !isAvailable) { in GetCountryCodeByLocation()
H A Dlocator_proxy.cpp659 LocationErrCode LocatorProxy::IsGeoConvertAvailableV9(bool &isAvailable) in IsGeoConvertAvailableV9() argument
665 isAvailable = reply.ReadBool(); in IsGeoConvertAvailableV9()
667 isAvailable = false; in IsGeoConvertAvailableV9()
H A Dlocator_impl.cpp928 LocationErrCode LocatorImpl::IsGeoServiceAvailableV9(bool &isAvailable) in IsGeoServiceAvailableV9() argument
939 LocationErrCode errCode = proxy->IsGeoConvertAvailableV9(isAvailable); in IsGeoServiceAvailableV9()
/base/location/frameworks/js/napi/source/
H A Dlocation_napi_adapter.cpp260 bool isAvailable = false; in IsGeoServiceAvailable() local
261 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable()
266 NAPI_CALL(env, napi_get_boolean(env, isAvailable, &res)); in IsGeoServiceAvailable()
275 bool isAvailable = g_locatorClient->IsGeoServiceAvailable(); in IsGeoServiceAvailable()
276 context->enable = isAvailable; in IsGeoServiceAvailable()
301 bool isAvailable = false; in CreateReverseGeocodeAsyncContext()
302 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext()
307 if (!isAvailable) { in CreateReverseGeocodeAsyncContext()
342 bool isAvailable = false; in CreateReverseGeocodeAsyncContext()
343 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext()
[all...]
/base/location/interfaces/inner_api/include/
H A Dlocator_proxy.h95 LocationErrCode IsGeoConvertAvailableV9(bool &isAvailable);
H A Dlocator.h84 virtual LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) = 0;
H A Dlocator_impl.h446 * @param isAvailable Indicates if geocoding service is available
449 LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable);
/base/location/test/location_locator/source/
H A Dlocator_impl_test.cpp337 bool isAvailable = true; in HWTEST_F() local
339 locatorImpl_->IsGeoServiceAvailableV9(isAvailable); in HWTEST_F()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_callback.cpp601 bool isAvailable = InnerAccountIAMManager::GetInstance().CheckDomainAuthAvailable(userId_); in OnCredentialInfo() local
602 if (isAvailable) { in OnCredentialInfo()
H A Dinner_account_iam_manager.cpp404 bool isAvailable = InnerDomainAccountManager::GetInstance().IsPluginAvailable(); in CheckDomainAuthAvailable() local
405 return !domainAccountInfo.accountName_.empty() && isAvailable; in CheckDomainAuthAvailable()
/base/location/services/location_locator/locator/include/
H A Dlocator_ability.h142 LocationErrCode IsGeoConvertAvailable(bool &isAvailable);
/base/location/services/location_locator/locator/source/
H A Dlocator_ability.cpp1229 LocationErrCode LocatorAbility::IsGeoConvertAvailable(bool &isAvailable) in IsGeoConvertAvailable() argument
1234 isAvailable = false; in IsGeoConvertAvailable()
1240 isAvailable = replyParcel.ReadBool(); in IsGeoConvertAvailable()
1242 isAvailable = false; in IsGeoConvertAvailable()
H A Dlocator_skeleton.cpp436 bool isAvailable = false; in PreIsGeoConvertAvailable() local
437 reply.WriteInt32(locatorAbility->IsGeoConvertAvailable(isAvailable)); in PreIsGeoConvertAvailable()
438 reply.WriteBool(isAvailable); in PreIsGeoConvertAvailable()

Completed in 21 milliseconds