Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcamera/
H A Ddcamera_source_callback_proxy_test.cpp138 * @tc.desc: Verify the CheckParams function.
150 EXPECT_EQ(false, callbackProxy->CheckParams("", "dhId", 0)); in HWTEST_F()
151 EXPECT_EQ(false, callbackProxy->CheckParams("devId", "", 0)); in HWTEST_F()
154 EXPECT_EQ(false, callbackProxy->CheckParams(devId, "dhId", 0)); in HWTEST_F()
157 EXPECT_EQ(false, callbackProxy->CheckParams("devId", dhId, 0)); in HWTEST_F()
159 EXPECT_EQ(false, callbackProxy->CheckParams("devId", "dhId", -1)); in HWTEST_F()
160 EXPECT_EQ(true, callbackProxy->CheckParams("devId", "dhId", 0)); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddcamera_source_callback_proxy.cpp29 if (!CheckParams(devId, dhId, reqId, data)) { in OnNotifyRegResult()
59 if (!CheckParams(devId, dhId, reqId, data)) { in OnNotifyUnregResult()
89 if (!CheckParams(devId, dhId, status)) { in OnHardwareStateChanged()
139 bool DCameraSourceCallbackProxy::CheckParams(const std::string& devId, const std::string& dhId, int32_t status) in CheckParams() function in OHOS::DistributedHardware::DCameraSourceCallbackProxy
152 bool DCameraSourceCallbackProxy::CheckParams(const std::string& devId, const std::string& dhId, in CheckParams() function in OHOS::DistributedHardware::DCameraSourceCallbackProxy
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcamera/
H A Ddcamera_source_callback_proxy.h42 bool CheckParams(const std::string& devId, const std::string& dhId, int32_t status);
43 bool CheckParams(const std::string& devId, const std::string& dhId,
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/callback/
H A Ddscreen_source_callback_stub.cpp64 if (!CheckParams(devId, dhId, reqId, resultDataStr)) { in OnNotifyRegResultInner()
82 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyUnregResultInner()
90 bool DScreenSourceCallbackStub::CheckParams(const std::string &devId, const std::string &dhId, in CheckParams() function in OHOS::DistributedHardware::DScreenSourceCallbackStub
94 DHLOGE("DScreenSourceCallbackStub CheckParams devId or dhId is invalid."); in CheckParams()
98 DHLOGE("DScreenSourceCallbackStub CheckParams reqId or resultData is invalid."); in CheckParams()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/src/callback/
H A Ddscreen_source_callback_proxy.cpp30 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyRegResult()
61 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyUnregResult()
89 bool DScreenSourceCallbackProxy::CheckParams(const std::string &devId, const std::string &dhId, in CheckParams() function in OHOS::DistributedHardware::DScreenSourceCallbackProxy
93 DHLOGE("DScreenSourceCallbackProxy CheckParams devId or dhId is invalid."); in CheckParams()
97 DHLOGE("DScreenSourceCallbackProxy CheckParams reqId or resultData is invalid."); in CheckParams()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/callback/
H A Ddcamera_source_callback_test.cpp191 * @tc.desc: Verify the CheckParams function.
202 int32_t ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
205 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
209 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
212 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
216 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
219 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
222 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
225 ret = sourceCallback_->CheckParams(devId, dhId, reqId, result); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/
H A Ddcamera_source_callback_stub.cpp74 if (!CheckParams(devId, dhId, reqId, result)) { in NotifyRegResultInner()
95 if (!CheckParams(devId, dhId, reqId, result)) { in NotifyUnregResultInner()
126 bool DCameraSourceCallbackStub::CheckParams(const std::string& devId, const std::string& dhId, const std::string& reqId, in CheckParams() function in OHOS::DistributedHardware::DCameraSourceCallbackStub
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/include/callback/
H A Ddscreen_source_callback_stub.h42 bool CheckParams(const std::string &devId, const std::string &dhId, const std::string &reqId,
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/include/callback/
H A Ddscreen_source_callback_proxy.h40 bool CheckParams(const std::string &devId, const std::string &dhId, const std::string &reqId,
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/include/callback/
H A Ddcamera_source_callback_stub.h41 bool CheckParams(const std::string& devId, const std::string& dhId, const std::string& reqId,
/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenservice/dscreensourcecallbackproxy_fuzzer/
H A Ddscreensourcecallbackproxy_fuzzer.cpp72 sourceCbkProxy->CheckParams(devId, dhId, reqId, resultData); in DscreenSourceCallbackProxyFuzzTest()
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddaudio_source_manager.cpp149 static bool CheckParams(const std::string &devId, const std::string &dhId) in CheckParams() function
202 if (!CheckParams(devId, dhId) || attrs.empty()) { in DoEnableDAudio()
264 if (!CheckParams(devId, dhId)) { in DoDisableDAudio()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dnative_image_test.cpp451 * @tc.desc: CheckParams
465 bool ret = pixelmap.CheckParams(&colors, colorLength, offset, width, opts); in HWTEST_F()
469 ret = pixelmap.CheckParams(&colors, colorLength, offset, width, opts); in HWTEST_F()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_device_info.h406 bool CheckParams() in CheckParams() function
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dpixel_map.h222 static bool CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t stride,
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_endpoint_separate.cpp199 if (!deviceInfo_.audioStreamInfo.CheckParams()) { in Config()
H A Daudio_endpoint.cpp727 bool res = deviceInfo_.audioStreamInfo.CheckParams(); in Config()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h406 static bool CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t stride,
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp410 if (!CheckParams(colors, colorLength, offset, info.width_, opts)) { in Create()
560 bool PixelMap::CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t width, in CheckParams() function in OHOS::Media::PixelMap

Completed in 19 milliseconds