Home
last modified time | relevance | path

Searched refs:AnyOf (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestAlgoExt.cpp32 …ASSERT_EQ(true, CppExt::AnyOf(std::begin(vec), std::end(vec), [](int item) { return item == 3; })); in __anon00c4d0c90102()
37 ASSERT_EQ(true, CppExt::AnyOf(std::begin(vec), std::end(vec),
44 …ASSERT_EQ(false, CppExt::AnyOf(std::begin(vec), std::end(vec), [](int item) { return item == 8; })… in __anon00c4d0c90302()
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice_manager.cpp401 bool DeviceManager::AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) in AnyOf() function in OHOS::Msdp::DeviceStatus::DeviceManager
410 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalPointerDevice()
420 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalKeyboardDevice()
428 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasKeyboard()
/ohos5.0/base/msdp/device_status/intention/services/device_manager/src/
H A Ddevice_manager.cpp401 bool DeviceManager::AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) in AnyOf() function in OHOS::Msdp::DeviceStatus::DeviceManager
410 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalPointerDevice()
420 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalKeyboardDevice()
428 return AnyOf([this](std::shared_ptr<IDevice> dev) { in HasKeyboard()
/ohos5.0/foundation/multimedia/media_foundation/engine/include/foundation/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of… in AnyOf() function
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of… in AnyOf() function
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dcooperate_free.cpp71 return env_->GetDeviceManager().AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalPointerDevice()
81 return env_->GetDeviceManager().AnyOf([this](std::shared_ptr<IDevice> dev) { in HasLocalKeyboardDevice()
/ohos5.0/foundation/multimodalinput/input/intention/prototype/include/
H A Di_device_manager.h37 virtual bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) = 0;
/ohos5.0/base/msdp/device_status/intention/prototype/include/
H A Di_device_manager.h37 virtual bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) = 0;
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice_manager.h52 bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) override;
/ohos5.0/base/msdp/device_status/intention/services/device_manager/include/
H A Ddevice_manager.h52 bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) override;
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dcpu_storage_test.cpp150 ASSERT_THAT(powerState, testing::AnyOf(UCollectUtil::SCREEN_OFF, UCollectUtil::SCREEN_ON));
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/monitor/
H A Ddownload_monitor.cpp177 …bool exists = CppExt::AnyOf(retryTasks_.begin(), retryTasks_.end(), [&](const RetryRequest& item) { in OnDownloadStatus()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/
H A Daudio_fast_renderer_unit_test.cpp320 EXPECT_THAT(ret, AnyOf(Eq(ERR_INVALID_OPERATION), Eq(ERR_INCORRECT_MODE)));
366 EXPECT_THAT(ret, AnyOf(Eq(ERR_NOT_SUPPORTED), Eq(SUCCESS)));
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/monitor/
H A Ddownload_monitor.cpp283 …bool exists = CppExt::AnyOf(retryTasks_.begin(), retryTasks_.end(), [&](const RetryRequest& item) { in OnDownloadStatus()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/audio_server_sink/
H A Daudio_server_sink_plugin.cpp300 … if (!CppExt::AnyOf(types.begin(), types.end(), [](AudioStandard::AudioEncodingType tmp) -> bool { in Prepare()
505 … if (CppExt::AnyOf(supportedFmts.begin(), supportedFmts.end(), [&stdFmt](const auto& tmp) -> bool { in AssignSampleFmtIfSupported()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/sink/
H A Daudio_server_sink_plugin.cpp334 …bool ret = CppExt::AnyOf(types.begin(), types.end(), [](AudioStandard::AudioEncodingType tmp) -> b… in Prepare()
513 if (CppExt::AnyOf(supportedFmts.begin(), supportedFmts.end(), in AssignSampleFmtIfSupported()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/
H A Daudio_capture_filter.cpp231 … pickPreferFmt = CppExt::AnyOf(fmts->begin(), fmts->end(), [&](AudioSampleFormat tmp) -> bool { in PickPreferSampleFmt()