Home
last modified time | relevance | path

Searched refs:supported (Results 1 - 25 of 51) sorted by relevance

123

/foundation/multimedia/camera_framework/test/fuzztest/timelapsephotosession_fuzzer/
H A Dtime_lapse_photo_session_fuzzer.cpp185 bool supported; in TestManualExposure() local
186 session->IsExposureMeteringModeSupported(METERING_MODE_CENTER_WEIGHTED, supported); in TestManualExposure()
188 static_cast<MeteringMode>(MeteringMode::METERING_MODE_OVERALL + 1), supported); in TestManualExposure()
344 bool supported = true; in Test31() local
349 s->EnableFaceDetection(supported); in Test31()
352 s->EnableMovingPhotoMirror(supported); in Test31()
355 s->IsWhiteBalanceModeSupported(WhiteBalanceMode::AWB_MODE_AUTO, supported); in Test31()
359 s->EnableLowLightDetection(supported); in Test31()
360 s->EnableMovingPhoto(supported); in Test31()
367 s->IsManualWhiteBalanceSupported(supported); in Test31()
428 bool supported; Test3() local
[all...]
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.cpp593 bool IsOrientationMatch(const AceResConfig& desired, const AceResConfig& supported) in IsOrientationMatch() argument
595 return supported.orientation_ == DeviceOrientation::ORIENTATION_UNDEFINED || in IsOrientationMatch()
596 supported.orientation_ == desired.orientation_; in IsOrientationMatch()
599 bool IsDeviceTypeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsDeviceTypeMatch() argument
601 return supported.deviceType_ == DeviceType::UNKNOWN || supported.deviceType_ == desired.deviceType_; in IsDeviceTypeMatch()
604 bool IsColorModeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsColorModeMatch() argument
606 return supported.colorMode_ == ColorMode::COLOR_MODE_UNDEFINED || supported.colorMode_ == desired.colorMode_; in IsColorModeMatch()
609 bool IsMccMncMatch(const AceResConfig& desired, const AceResConfig& supported) in IsMccMncMatch() argument
617 IsResolutionMatch(const AceResConfig& desired, const AceResConfig& supported) IsResolutionMatch() argument
622 MatchResConfig(const AceResConfig& desired, const AceResConfig& supported) MatchResConfig() argument
629 DeclarativeMatchResConfig(const AceResConfig& desired, const AceResConfig& supported) DeclarativeMatchResConfig() argument
[all...]
/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/
H A Dnetshare_issharing_context.cpp55 void NetShareIsSharingContext::SetSharingSupported(int32_t supported) in SetSharingSupported() argument
57 supported_ = supported; in SetSharingSupported()
H A Dnetshare_exec.cpp30 int32_t supported = NETWORKSHARE_IS_UNSUPPORTED; in ExecIsSharingSupported() local
31 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->IsSharingSupported(supported); in ExecIsSharingSupported()
37 context->SetSharingSupported(supported); in ExecIsSharingSupported()
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_service.cpp102 int32_t supported = NETWORKSHARE_IS_UNSUPPORTED; in GetDumpMessage() local
103 NetworkShareTracker::GetInstance().IsNetworkSharingSupported(supported); in GetDumpMessage()
104 std::string surpportContent = supported == NETWORKSHARE_IS_SUPPORTED ? "surpported" : "not surpported"; in GetDumpMessage()
147 int32_t NetworkShareService::IsNetworkSharingSupported(int32_t &supported) in IsNetworkSharingSupported() argument
156 return NetworkShareTracker::GetInstance().IsNetworkSharingSupported(supported); in IsNetworkSharingSupported()
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/
H A Dnetworkshare_service_test.cpp82 int32_t supported; in HWTEST_F() local
83 auto ret = instance_->IsNetworkSharingSupported(supported); in HWTEST_F()
90 int32_t supported; in HWTEST_F() local
91 auto ret = instance_->IsNetworkSharingSupported(supported); in HWTEST_F()
92 EXPECT_EQ(supported, NETWORKSHARE_IS_UNSUPPORTED); in HWTEST_F()
H A Dnetworkshare_service_stub_test.h36 int32_t IsNetworkSharingSupported(int32_t &supported) override
H A Dnetworkshare_tracker_test.cpp84 int32_t supported; in HWTEST_F() local
85 auto nret = NetworkShareTracker::GetInstance().IsNetworkSharingSupported(supported); in HWTEST_F()
155 int32_t supported; in HWTEST_F() local
156 NetworkShareTracker::GetInstance().IsNetworkSharingSupported(supported); in HWTEST_F()
157 EXPECT_EQ(supported, NETWORKSHARE_IS_SUPPORTED); in HWTEST_F()
/foundation/communication/nfc/test/unittest/services/tags_test/
H A Dtag_info_test.cpp94 bool supported = tagInfo_->IsTechSupported(TagTechnology::NFC_A_TECH); in HWTEST_F() local
95 ASSERT_TRUE(supported); in HWTEST_F()
104 bool supported = tagInfo_->IsTechSupported(TagTechnology::NFC_ISODEP_TECH); in HWTEST_F() local
105 ASSERT_TRUE(supported); in HWTEST_F()
114 bool supported = tagInfo_->IsTechSupported(TagTechnology::NFC_NDEF_TECH); in HWTEST_F() local
115 ASSERT_TRUE(!supported); in HWTEST_F()
/foundation/multimedia/drm_framework/frameworks/native/test/unittest/src/
H A Ddrm_framework_unittest.cpp276 * Function: Test to determine if the creation of this DRM instance is supported
284 bool supported; in HWTEST_F() local
285 supported = OH_MediaKeySystem_IsSupported(GetUuid()); in HWTEST_F()
286 EXPECT_EQ(supported, true); in HWTEST_F()
291 * Function: Test to determine if the creation of this DRM instance is supported
299 bool supported; in HWTEST_F() local
300 supported = OH_MediaKeySystem_IsSupported2(GetUuid(), "video/mp4"); in HWTEST_F()
301 EXPECT_EQ(supported, true); in HWTEST_F()
306 * Function: Test to determine if the creation of this DRM instance is supported
314 bool supported; in HWTEST_F() local
329 bool supported = true; HWTEST_F() local
348 bool supported = true; HWTEST_F() local
373 bool supported = true; HWTEST_F() local
3672 bool supported = true; killclearplay2() local
[all...]
/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/include/
H A Dnetshare_issharing_context.h38 void SetSharingSupported(int32_t supported);
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dcreate_functions_vk.cpp269 const bool supported = std::any_of(instanceExtensions.begin(), instanceExtensions.end(), in CreateInstance()
273 if (!supported) { in CreateInstance()
274 PLUGIN_LOG_E("some extensions are not supported! Extension name: %s", requiredExtension); in CreateInstance()
276 return supported; in CreateInstance()
295 const bool supported = std::any_of(instanceLayers.begin(), instanceLayers.end(), in CreateInstance()
299 if (!supported) { in CreateInstance()
300 PLUGIN_LOG_E("some layers are not supported! Layer name: %s", requiredLayer); in CreateInstance()
302 return !supported; in CreateInstance()
H A Dswapchain_vk.cpp138 VkPresentModeKHR swapchainPresentMode = VK_PRESENT_MODE_FIFO_KHR; // FIFO must be supported by the specification. in GetPresentMode()
140 // immediate is really without vsync, but it might not be supported, so we also check for mailbox. in GetPresentMode()
142 [](const VkPresentModeKHR& supported) { return supported == VK_PRESENT_MODE_IMMEDIATE_KHR; })) { in GetPresentMode()
145 [](const VkPresentModeKHR& supported) { return supported == VK_PRESENT_MODE_MAILBOX_KHR; })) { in GetPresentMode()
/foundation/multimedia/audio_framework/interfaces/kits/c/audio_manager/
H A Dnative_audio_routing_manager.h95 * @brief Query whether microphone block detection is supported on current device.
99 * @param supported query result.
104 * 2.The param of supported is nullptr.
109 bool *supported);
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dnetworkshare_service_stub_test.h36 int32_t IsNetworkSharingSupported(int32_t &supported) override
/foundation/communication/netmanager_ext/interfaces/innerkits/netshareclient/include/proxy/
H A Dnetworkshare_service_proxy.h32 int32_t IsNetworkSharingSupported(int32_t &supported) override;
H A Di_networkshare_service.h34 virtual int32_t IsNetworkSharingSupported(int32_t &supported) = 0;
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_device.h285 * @Description check wifi-band type is supported
288 * @param supported - supported / unsupported
291 WifiErrorCode IsBandTypeSupported(int bandType, bool *supported);
/foundation/communication/netmanager_ext/services/networksharemanager/src/stub/
H A Dnetworkshare_service_stub.cpp77 int32_t supported = NETWORKSHARE_IS_UNSUPPORTED; in ReplyIsNetworkSharingSupported() local
78 int32_t ret = IsNetworkSharingSupported(supported); in ReplyIsNetworkSharingSupported()
79 if (!reply.WriteInt32(supported)) { in ReplyIsNetworkSharingSupported()
/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_service.h53 int32_t IsNetworkSharingSupported(int32_t &supported) override;
/foundation/communication/netmanager_ext/interfaces/innerkits/netshareclient/include/
H A Dnetworkshare_client.h46 * check if the sharing is supported
48 * @param supported NETWORKSHARE_IS_SUPPORTED(1) if supported, other is NETWORKSHARE_IS_UNSUPPORTED(0)
53 int32_t IsSharingSupported(int32_t &supported);
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dtime_lapse_photo_session_napi.cpp632 bool supported; in IsExposureMeteringModeSupported() local
634 static_cast<MeteringMode>(mode), supported); in IsExposureMeteringModeSupported()
640 if (napi_get_boolean(env, supported, &result) != napi_ok) { in IsExposureMeteringModeSupported()
750 bool supported; in IsManualIsoSupported() local
751 int32_t ret = obj->timeLapsePhotoSession_->IsManualIsoSupported(supported); in IsManualIsoSupported()
757 if (napi_get_boolean(env, supported, &result) != napi_ok) { in IsManualIsoSupported()
808 bool supported; in IsWhiteBalanceModeSupported() local
810 static_cast<WhiteBalanceMode>(mode), supported); in IsWhiteBalanceModeSupported()
816 if (napi_get_boolean(env, supported, &result) != napi_ok) { in IsWhiteBalanceModeSupported()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioRoutingManager.cpp218 OH_AudioRoutingManager *audioRoutingManager, bool *supported) in OH_AudioRoutingManager_IsMicBlockDetectionSupported()
220 *supported = OHOS::system::GetBoolParameter("const.multimedia.audio.mic_block_detection", false); in OH_AudioRoutingManager_IsMicBlockDetectionSupported()
221 if (*supported == true) { in OH_AudioRoutingManager_IsMicBlockDetectionSupported()
222 AUDIO_INFO_LOG("mic block detection supported"); in OH_AudioRoutingManager_IsMicBlockDetectionSupported()
225 AUDIO_ERR_LOG("mic block detection is not supported"); in OH_AudioRoutingManager_IsMicBlockDetectionSupported()
217 OH_AudioRoutingManager_IsMicBlockDetectionSupported( OH_AudioRoutingManager *audioRoutingManager, bool *supported) OH_AudioRoutingManager_IsMicBlockDetectionSupported() argument
/foundation/multimedia/av_codec/services/services/codec/server/post_processing/
H A Dpost_processing.h245 bool supported{false}; in Init()
250 supported |= controller_->IsColorSpaceConversionSupported(input, output); in Init() local
253 CHECK_AND_RETURN_RET_LOG(supported, AVCS_ERR_UNSUPPORT, "No capability found"); in Init()
/foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/
H A Dnetworkshare_client.cpp87 int32_t NetworkShareClient::IsSharingSupported(int32_t &supported) in IsSharingSupported() argument
95 return proxy->IsNetworkSharingSupported(supported); in IsSharingSupported()

Completed in 18 milliseconds

123