/ohos5.0/base/powermgr/battery_manager/test/unittest/src/ |
H A D | battery_light_test.cpp | 79 GTEST_LOG_(INFO) << "The current device supports Light: " << g_light.isAvailable(); in SetUpTestCase() 101 RETURN_IF(!g_light.isAvailable()); 114 RETURN_IF(!g_light.isAvailable()); 128 RETURN_IF(!g_light.isAvailable()); 143 RETURN_IF(!g_light.isAvailable()); 156 RETURN_IF(!g_light.isAvailable()); 176 RETURN_IF(!g_light.isAvailable()); 191 RETURN_IF(!g_light.isAvailable()); 206 RETURN_IF(!g_light.isAvailable()); 221 RETURN_IF(!g_light.isAvailable());
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/location/ |
H A D | interface_i_geofence_callback.md | 20 | [ReportGeofenceAvailability](#reportgeofenceavailability) ([in] boolean isAvailable) | 上报地理围栏服务是否… 31 IGeofenceCallback::ReportGeofenceAvailability ([in] boolean isAvailable) 45 | isAvailable | 表示地理围栏是否可用。 |
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | async_lock_manager.cpp | 44 napi_value isAvailable; in AsyncLockOptionsCtor() local 45 napi_get_boolean(env, false, &isAvailable); in AsyncLockOptionsCtor() 52 DECLARE_NAPI_DEFAULT_PROPERTY("isAvailable", isAvailable), in AsyncLockOptionsCtor() 457 napi_value isAvailable = NapiHelper::GetNameProperty(env, val, "isAvailable"); in GetLockOptions() local 460 if (isAvailable != nullptr) { in GetLockOptions() 461 options.isAvailable = NapiHelper::GetBooleanValue(env, isAvailable); in GetLockOptions()
|
H A D | lock_request.h | 37 bool isAvailable = false; member
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_geofence_v1_0/cpp_target/location/geofence/v1_0/ |
H A D | geofence_callback_proxy.cpp.txt | 33 …:HDI::Location::Geofence::V1_0::GeofenceCallbackProxy::ReportGeofenceAvailability(bool isAvailable) 35 …ocation::Geofence::V1_0::GeofenceCallbackProxy::ReportGeofenceAvailability_(isAvailable, Remote()); 55 …HDI::Location::Geofence::V1_0::GeofenceCallbackProxy::ReportGeofenceAvailability_(bool isAvailable, 67 if (!geofenceCallbackData.WriteBool(isAvailable)) { 68 HDF_LOGE("%{public}s: write isAvailable failed!", __func__);
|
H A D | geofence_callback_stub.cpp.txt | 85 bool isAvailable = false; 86 if (!geofenceCallbackData.ReadBool(isAvailable)) { 87 HDF_LOGE("%{public}s: read isAvailable failed!", __func__); 96 int32_t geofenceCallbackRet = impl->ReportGeofenceAvailability(isAvailable);
|
H A D | geofence_callback_proxy.h.txt | 39 int32_t ReportGeofenceAvailability(bool isAvailable) override; 49 static int32_t ReportGeofenceAvailability_(bool isAvailable, const sptr<IRemoteObject> remote);
|
H A D | geofence_callback_service.cpp.txt | 26 int32_t GeofenceCallbackService::ReportGeofenceAvailability(bool isAvailable)
|
H A D | geofence_callback_service.h.txt | 31 int32_t ReportGeofenceAvailability(bool isAvailable) override;
|
/ohos5.0/foundation/ai/intelligent_voice_framework/utils/ |
H A D | queue_util.h | 127 void SetAvailable(bool isAvailable) in SetAvailable() argument 129 isAvailable_ = isAvailable; in SetAvailable()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_key.c | 36 bool isAvailable; member 214 if (!item->isAvailable) { in GetLatestAvailableSessionKeyTime() 239 if (!item->isAvailable) { in SetSessionKeyAvailable() 240 item->isAvailable = true; in SetSessionKeyAvailable() 263 item->isAvailable = false; in AddSessionKey() 296 if (!item->isAvailable || !SessionKeyHasAuthLinkType(item->type, type)) { in GetLatestSessionKey()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | lnn_connection_mock.cpp | 126 .isAvailable = 1, in ActionofOnConnectSuccessed() 150 info->isAvailable = 1; in ActionofConnGetConnectionInfo()
|
/ohos5.0/base/powermgr/battery_manager/services/native/include/ |
H A D | battery_light.h | 32 bool isAvailable() const;
|
/ohos5.0/drivers/interface/location/geofence/v1_0/ |
H A D | IGeofenceCallback.idl | 52 * @param isAvailable Indicates whether the geofence service is available. 58 ReportGeofenceAvailability([in] boolean isAvailable);
|
/ohos5.0/drivers/interface/location/geofence/v2_0/ |
H A D | IGeofenceCallback.idl | 52 * @param isAvailable Indicates whether the geofence service is available. 58 ReportGeofenceAvailability([in] boolean isAvailable);
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_geofence_v1_0/foo/location/geofence/v1_0/ |
H A D | IGeofenceCallback.idl | 52 * @param isAvailable Indicates whether the geofence service is available. 58 ReportGeofenceAvailability([in] boolean isAvailable);
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_adapter.cpp | 281 bool isAvailable = false; in IsGeoServiceAvailable() local 282 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable() 287 NAPI_CALL(env, napi_get_boolean(env, isAvailable, &res)); in IsGeoServiceAvailable() 296 bool isAvailable = g_locatorClient->IsGeoServiceAvailable(); in IsGeoServiceAvailable() local 297 context->enable = isAvailable; in IsGeoServiceAvailable() 322 bool isAvailable = false; in CreateReverseGeocodeAsyncContext() local 323 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() 328 if (!isAvailable) { in CreateReverseGeocodeAsyncContext() 363 bool isAvailable = false; in CreateReverseGeocodeAsyncContext() local 364 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() [all …]
|
/ohos5.0/base/location/frameworks/native/locator_sdk/source/ |
H A D | country_code_manager.cpp | 199 bool isAvailable = false; in GetCountryCodeByLocation() local 200 LocationErrCode errorCode = locatorImpl->IsGeoServiceAvailableV9(isAvailable); in GetCountryCodeByLocation() 201 if (errorCode != ERRCODE_SUCCESS || !isAvailable) { in GetCountryCodeByLocation()
|
/ohos5.0/base/location/services/location_gnss/gnss/source/ |
H A D | geofence_event_callback.cpp | 24 int32_t GeofenceEventCallback::ReportGeofenceAvailability(bool isAvailable) in ReportGeofenceAvailability() argument
|
/ohos5.0/base/location/services/location_gnss/gnss/include/ |
H A D | geofence_event_callback.h | 36 int32_t ReportGeofenceAvailability(bool isAvailable) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | slide_recognizer.cpp | 154 bool isAvailable = true; in HandleTouchUpEvent() local 172 isAvailable = false; in HandleTouchUpEvent() 177 if (isAvailable) { in HandleTouchUpEvent()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime.cpp | 702 const bool **isAvailable, in OH_NNModel_GetAvailableOperations() argument 710 if (isAvailable == nullptr) { in OH_NNModel_GetAvailableOperations() 715 if (*isAvailable != nullptr) { in OH_NNModel_GetAvailableOperations() 726 return innerModel->GetSupportedOperations(deviceID, isAvailable, *opCount); in OH_NNModel_GetAvailableOperations()
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/include/ |
H A D | net_vpn_impl.h | 77 bool UpdateNetSupplierInfo(NetConnClient &netConnClientIns, bool isAvailable);
|
/ohos5.0/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_light.cpp | 109 bool BatteryLight::isAvailable() const in isAvailable() function in OHOS::PowerMgr::BatteryLight
|
/ohos5.0/docs/zh-cn/application-dev/device/location/ |
H A D | geocode-guidelines.md | 42 let isAvailable = geoLocationManager.isGeocoderAvailable();
|