Home
last modified time | relevance | path

Searched refs:IsAvailable (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/ai/intelligent_voice_framework/utils/
H A Dqueue_util.h50 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available");
55 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available");
65 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available");
70 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available");
80 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available"); in Pop()
83 notEmptyCv_.wait(lock, [&] { return (!queue_.empty() || !IsAvailable()); }); in Pop()
84 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available"); in Pop()
95 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available"); in PopUntilTimeout()
99 [&] { return (!queue_.empty() || !IsAvailable()); }))) { in PopUntilTimeout()
103 CHECK_CONDITION_RETURN_FALSE(!IsAvailable(), "queue is not available"); in PopUntilTimeout()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dui_event_func.cpp40 if (!IsAvailable()) { in UIEventFunc()
60 bool UIEventFunc::IsAvailable() const in IsAvailable() function in OHOS::Ace::UIEventFunc
76 if (UIEventFunc::Get().IsAvailable()) { in RegisterUIEventObserver()
83 if (UIEventFunc::Get().IsAvailable()) { in UnregisterUIEventObserver()
91 if (UIEventFunc::Get().IsAvailable()) { in GetNodeProperty()
98 if (UIEventFunc::Get().IsAvailable()) { in GetSimplifiedInspectorTree()
H A Dui_event_func.h43 bool IsAvailable() const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dui_event_test.cpp73 bool result = UIEventFunc::Get().IsAvailable();
94 bool result = UIEventFunc::Get().IsAvailable();
111 bool result = UIEventFunc::Get().IsAvailable();
119 bool result2 = UIEventFunc::Get().IsAvailable();
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dinterface_info_test.cpp75 EXPECT_EQ(info2.IsAvailable(), true);
166 EXPECT_EQ(info.IsAvailable(), true);
168 EXPECT_EQ(info.IsAvailable(), false);
231 EXPECT_EQ(interfaceInfo.IsAvailable(), true);
235 EXPECT_EQ(interfaceInfo.IsAvailable(), false);
239 EXPECT_EQ(interfaceInfo.IsAvailable(), false);
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dbattery_led.h35 bool IsAvailable() const;
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_signal.h32 bool IsAvailable() const;
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/include/audio/
H A Daudio_buffer_info.h46 bool IsAvailable() const noexcept;
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dsignal_test.cpp87 bool ret = signal->IsAvailable();
116 bool ret = signal->IsAvailable();
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dbattery_led.cpp102 bool BatteryLed::IsAvailable() const in IsAvailable() function in OHOS::PowerMgr::BatteryLed
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_info.h130 bool IsAvailable() const;
H A Dinterface_info.cpp366 bool InterfaceInfo::IsAvailable() const in IsAvailable() function in OHOS::SoftBus::InterfaceInfo
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_buffer_info.cpp88 bool AudioBufferInfo::IsAvailable() const noexcept in IsAvailable() function in OHOS::MediaAVCodec::AudioBufferInfo
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_signal.cpp34 bool DfxSignal::IsAvailable() const in IsAvailable() function in OHOS::HiviewDFX::DfxSignal
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_supplier.h94 bool IsAvailable() const;
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_config/src/
H A Dnapi_accessibility_config.cpp222 bool NAccessibilityConfig::IsAvailable(napi_env env, napi_callback_info info) in IsAvailable() function in NAccessibilityConfig
245 if (!IsAvailable(env, info)) { in SubscribeState()
301 if (!IsAvailable(env, info)) { in UnsubscribeState()
826 if (!IsAvailable(env, info)) { in SubscribeConfigObserver()
877 if (!IsAvailable(env, info)) { in UnSubscribeConfigObserver()
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_config/include/
H A Dnapi_accessibility_config.h141 static bool IsAvailable(napi_env env, napi_callback_info info);
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/test/
H A Dtest_locks.cpp307 TEST_F(LocksTest, IsAvailable) in TEST_F() argument
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_supplier.cpp233 bool NetSupplier::IsAvailable() const in IsAvailable() function in OHOS::NetManagerStandard::NetSupplier
H A Dnet_conn_service.cpp2449 if (!netSupplier.second->IsAvailable()) { in IsIfaceNameInUse()