/drivers/peripheral/display/test/unittest/lite/ |
D | hdi_display_test.cpp | 36 int32_t ret; in SetUpTestCase() local 48 int32_t ret; in TearDownTestCase() local 65 int32_t ret; variable 84 int32_t ret; variable 102 int32_t ret; variable 120 int32_t ret; variable 138 int32_t ret; variable 156 int32_t ret; variable 174 int32_t ret; variable 194 int32_t ret; variable [all …]
|
/drivers/hdf_core/framework/core/manager/test/unittest/common/ |
D | hdf_pm_test.cpp | 58 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_ONCE, nul… variable 72 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_TWICE, nu… variable 86 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_TEN, null… variable 100 int32_t ret = ioService->dispatcher->Dispatch( variable 115 int32_t ret = ioService->dispatcher->Dispatch( variable 130 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_ONCE, nul… variable 144 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_TWICE, nu… variable 158 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_TEN, null… variable 172 int32_t ret = ioService->dispatcher->Dispatch( variable 187 int32_t ret = ioService->dispatcher->Dispatch( variable [all …]
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
D | usbd_function_test.cpp | 50 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase() local 75 auto ret = g_usbInterface->GetCurrentFunctions(func); variable 89 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ACM); variable 109 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ACM); variable 123 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_INVALID); variable 136 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ECM); variable 151 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable 165 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC); variable 180 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable 195 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable [all …]
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_sdk_if_test.cpp | 120 int32_t ret; variable 132 int32_t ret; variable 141 int32_t ret; variable 156 int32_t ret; variable 164 int32_t ret; variable 279 int32_t ret; variable 290 int32_t ret; variable 301 int32_t ret; variable 311 int32_t ret; variable 321 int32_t ret; variable [all …]
|
D | usb_device_sdk_io_test.cpp | 38 int32_t ret; variable 60 int32_t ret; variable 93 int32_t ret; variable 127 int32_t ret; variable 152 int32_t ret; variable 181 int32_t ret; variable 189 int32_t ret; variable 210 int32_t ret; variable 237 int32_t ret; variable 257 int32_t ret; variable [all …]
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/render/src/ |
D | audio_idl_hdirender_control_test.cpp | 55 …int32_t ret = AudioCreateRender(manager, PIN_OUT_SPEAKER, ADAPTER_NAME, &adapter, &render, &render… in SetUp() local 61 int32_t ret = ReleaseRenderSource(manager, adapter, render, renderId_); in TearDown() local 72 int32_t ret = -1; variable 88 int32_t ret = -1; variable 102 int32_t ret = -1; variable 120 int32_t ret = -1; variable 135 int32_t ret = -1; variable 148 int32_t ret = -1; variable 165 int32_t ret = -1; variable 184 int32_t ret = -1; variable [all …]
|
D | audio_idl_hdirender_test.cpp | 55 …int32_t ret = AudioCreateRender(manager, PIN_OUT_SPEAKER, ADAPTER_NAME, &adapter, &render, &render… in SetUp() local 61 int32_t ret = ReleaseRenderSource(manager, adapter, render, renderId_); in TearDown() local 72 int32_t ret; variable 92 int32_t ret; variable 111 int32_t ret; variable 129 int32_t ret; variable 155 int32_t ret; variable 183 int32_t ret; variable 203 int32_t ret; variable 230 int32_t ret; variable [all …]
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/ |
D | audio_idl_hdicapture_control_test.cpp | 55 …int32_t ret = AudioCreateCapture(manager, PIN_IN_MIC, ADAPTER_NAME, &adapter, &capture, &captureId… in SetUp() local 61 int32_t ret = ReleaseCaptureSource(manager, adapter, capture, captureId_); in TearDown() local 72 int32_t ret = -1; variable 85 int32_t ret = -1; variable 99 int32_t ret = -1; variable 114 int32_t ret = -1; variable 128 int32_t ret = -1; variable 144 int32_t ret = -1; variable 161 int32_t ret = -1; variable 173 int32_t ret = -1; variable [all …]
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test.cpp | 53 int32_t ret; in UsbIoThread() local 91 int32_t ret; in UsbStartIo() local 118 int32_t ret; in UsbStopIo() local 376 int32_t ret; variable 391 int32_t ret; variable 405 int32_t ret; variable 420 int32_t ret; variable 434 int32_t ret; variable 454 int32_t ret; variable 473 int32_t ret; variable [all …]
|
D | usb_host_sdk_if_test.cpp | 204 int32_t ret; variable 219 int32_t ret; variable 233 int32_t ret; variable 247 int32_t ret; variable 261 int32_t ret; variable 281 int32_t ret; variable 300 int32_t ret; variable 317 int32_t ret; variable 333 int32_t ret; variable 364 int32_t ret; variable [all …]
|
/drivers/peripheral/input/test/unittest/hdi/ |
D | hdf_input_hdi_test.cpp | 75 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in OpenOnlineDev() local 101 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in CloseOnlineDev() local 152 int32_t ret; variable 176 int32_t ret = g_inputInterfaces->OpenInputDevice(TOUCH_INDEX); variable 198 int32_t ret = g_inputInterfaces->OpenInputDevice(INVALID_INDEX); variable 219 int32_t ret = g_inputInterfaces->CloseInputDevice(TOUCH_INDEX); variable 241 int32_t ret = g_inputInterfaces->CloseInputDevice(INVALID_INDEX); variable 263 int32_t ret = g_inputInterfaces->OpenInputDevice(TOUCH_INDEX); variable 294 int32_t ret; variable 328 int32_t ret; variable [all …]
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
D | audio_capture_common_test.cpp | 55 int32_t ret = HDF_SUCCESS; in GetCaptureBufferSize() local 203 int32_t ret = capture_->Start(capture_); variable 225 int32_t ret = capture_->Start(capture_); variable 253 int32_t ret = capture_->Start(capture_); variable 274 int32_t ret; variable 298 int32_t ret = capture_->Start(capture_); variable 306 int32_t ret = capture_->Start(nullptr); variable 316 int32_t ret = capture_->Start(capture_); variable 327 int32_t ret = capture_->Stop(nullptr); variable 337 int32_t ret = capture_->Start(capture_); variable [all …]
|
/drivers/peripheral/input/test/unittest/common/ |
D | hdi_input_test.cpp | 51 int32_t ret; in SetUpTestCase() local 90 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \ argument 109 int32_t ret; in ReportHotPlugEventPkgCallback() local 140 int32_t ret = g_inputInterface->iInputManager->ScanInputDevice(sta, len); in OpenOnlineDev() local 166 int32_t ret = g_inputInterface->iInputManager->ScanInputDevice(sta, len); in CloseOnlineDev() local 195 int32_t ret; variable 211 int32_t ret = INPUT_SUCCESS; variable 261 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(TOUCH_INDEX); variable 281 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX); variable 300 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(TOUCH_INDEX); variable [all …]
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
D | audio_alsa_if_lib_render_test.cpp | 68 int32_t ret; in AudioInterfaceRenderInit() local 108 int32_t ret = AudioOutputRenderClose(handle, AUDIO_DRV_PCM_IOCTRL_RENDER_CLOSE, handleData); in AudioResourceRelease() local 118 int32_t ret = AudioOutputRenderOpen(handle, AUDIO_DRV_PCM_IOCTRL_RENDER_OPEN, handleData); variable 127 int32_t ret = AudioOutputRenderOpen(handle, AUDIO_DRV_PCM_IOCTRL_RENDER_OPEN, handleData); variable 136 int32_t ret = AudioOutputRenderHwParams(handle, AUDIO_DRV_PCM_IOCTL_HW_PARAMS, handleData); variable 142 int32_t ret; variable 158 int32_t ret = AudioOutputRenderPrepare(handle, AUDIO_DRV_PCM_IOCTL_PREPARE, handleData); variable 164 int32_t ret; variable 182 …int32_t ret = AudioCtlRenderGetVolThreshold(handle, AUDIODRV_CTL_IOCTL_VOL_THRESHOLD_READ, handleD… variable 188 int32_t ret; variable [all …]
|
D | audio_adm_if_lib_render_test.cpp | 91 int32_t ret = SetHwParams(handleData); variable 99 int32_t ret = SetHwParams((const struct AudioHwRenderParam *)handleData); variable 109 int32_t ret = AudioCtlRenderSetVolumeSBuf(sBuf, handleData); variable 119 int32_t ret = AudioCtlRenderSetVolumeSBuf(sBuf, handleData); variable 129 int32_t ret = AudioCtlRenderSetVolumeSBuf(sBuf, handleData); variable 140 int32_t ret = AudioCtlRenderGetVolumeSBuf(sBuf, handleData); variable 150 int32_t ret = AudioCtlRenderGetVolumeSBuf(sBuf, handleData); variable 160 int32_t ret = AudioCtlRenderGetVolumeSBuf(sBuf, handleData); variable 171 int32_t ret = AudioCtlRenderSetPauseBuf(sBuf, handleData); variable 181 int32_t ret = AudioCtlRenderSetPauseBuf(sBuf, handleData); variable [all …]
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
D | audio_alsa_if_lib_capture_test.cpp | 65 int32_t ret; in AudioInterfaceCaptureInit() local 104 int32_t ret = AudioOutputCaptureClose(handle, AUDIO_DRV_PCM_IOCTRL_CAPTURE_CLOSE, handleData); in AudioCapResourceRelease() local 114 int32_t ret = AudioOutputCaptureOpen(handle, AUDIO_DRV_PCM_IOCTRL_CAPTURE_OPEN, handleData); variable 123 int32_t ret = AudioOutputCaptureOpen(handle, AUDIO_DRV_PCM_IOCTRL_CAPTURE_OPEN, handleData); variable 132 int32_t ret = AudioOutputCaptureHwParams(handle, AUDIO_DRV_PCM_IOCTL_HW_PARAMS, handleData); variable 138 int32_t ret; variable 154 … int32_t ret = AudioOutputCapturePrepare(handle, AUDIO_DRV_PCM_IOCTL_PREPARE_CAPTURE, handleData); variable 160 int32_t ret; variable 178 …int32_t ret = AudioCtlCaptureGetVolThreshold(handle, AUDIODRV_CTL_IOCTL_VOL_THRESHOLD_CAPTURE, han… variable 184 int32_t ret; variable [all …]
|
D | audio_adm_if_lib_capture_test.cpp | 85 int32_t ret = SetHwParamsCapture(handleData); variable 93 int32_t ret = SetHwParamsCapture((const struct AudioHwCaptureParam *)handleData); variable 103 int32_t ret = AudioCtlCaptureSetPauseBuf(sBuf, handleData); variable 113 int32_t ret = AudioCtlCaptureSetPauseBuf(sBuf, handleData); variable 123 int32_t ret = AudioCtlCaptureSetPauseBuf(sBuf, handleData); variable 134 int32_t ret = AudioCtlCaptureGetVolumeSBuf(sBuf, handleData); variable 144 int32_t ret = AudioCtlCaptureGetVolumeSBuf(sBuf, handleData); variable 154 int32_t ret = AudioCtlCaptureGetVolumeSBuf(sBuf, handleData); variable 165 int32_t ret = AudioCtlCaptureSetVolumeSBuf(sBuf, handleData); variable 175 int32_t ret = AudioCtlCaptureSetVolumeSBuf(sBuf, handleData); variable [all …]
|
/drivers/peripheral/motion/test/unittest/hdi/ |
D | hdf_motion_hdi_test.cpp | 72 int32_t ret = g_motionInterface->Register(g_motionCallback); variable 84 int32_t ret = g_motionInterface->Register(g_motionCallback); variable 99 int32_t ret = g_motionInterface->Register(motionCallback); variable 109 int32_t ret = g_motionInterface->Unregister(g_motionCallbackUnregistered); variable 120 int32_t ret = g_motionInterface->Unregister(motionCallback); variable 137 int32_t ret = g_motionInterface->Register(g_motionCallback); variable 170 int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_MAX); variable 184 … int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_WRIST_UP); variable 199 int32_t ret = g_motionInterface->EnableMotion(motionType); variable 213 int32_t ret = g_motionInterface->Register(g_motionCallback); variable [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_adapter/ |
D | codec_hdi_adapter_test.cpp | 168 int32_t ret; in GetArrayStr() local 289 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, (char *)name, APP_DATA, g_c… variable 298 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, nullptr, APP_DATA, g_callba… variable 310 int32_t ret = variable 327 int32_t ret = variable 343 int32_t ret = variable 352 int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, variable 363 int32_t ret = g_component->GetComponentVersion(g_component, &verInfo); variable 372 auto ret = g_component->GetParameter(g_component, OMX_IndexParamVideoPortFormat, nullptr, 0); variable 383 auto ret = g_component->GetParameter( variable [all …]
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | usbd_device_auto_test.cpp | 73 auto ret = UsbdDispatcher::UsbdDeviceCreateAndAttach(sp, BUS_NUM_OK, DEV_ADDR_OK); in SetUpTestCase() local 97 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 115 auto ret = g_usbInterfaceProxy->UnbindUsbdSubscriber(subscriber); variable 130 auto ret = g_usbInterfaceProxy->UnbindUsbdSubscriber(subscriber); variable 152 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 175 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 201 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 216 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 236 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable 254 auto ret = g_usbInterfaceProxy->BindUsbdSubscriber(subscriber); variable [all …]
|
/drivers/peripheral/codec/test/unittest/idl_omx/ |
D | codec_hdi_omx_enc_test.cpp | 46 auto ret = g_manager->GetComponentNum(count); in SetUpTestCase() local 73 …auto ret = g_manager->CreateComponent(g_component, componentId_, g_compName.data(), APP_DATA, g_ca… in SetUp() local 111 auto ret = g_component->GetComponentVersion(verInfo); variable 127 auto ret = g_component->GetParameter(OMX_IndexCodecVideoPortFormat, inParam, outParam); variable 143 auto ret = g_component->GetParameter(OMX_IndexCodecVideoPortFormat, inParam, outParam); variable 153 auto ret = g_component->GetParameter(OMX_IndexParamVideoPortFormat, inParam, outParam); variable 168 auto ret = g_component->GetParameter(OMX_IndexCodecVideoPortFormat, inParam, outParam); variable 176 int32_t ret = memset_s(¶m, sizeof(param), 0, sizeof(param)); variable 198 auto ret = g_component->GetParameter(OMX_IndexCodecVideoPortFormat, inParam, outParam); variable 212 auto ret = g_component->GetParameter(OMX_IndexVideoStartUnused, inParam, outParam); variable [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_omx/ |
D | codec_hdi_omx_test.cpp | 100 int32_t ret = memset_s(¶m, sizeof(param), 0x0, sizeof(param)); in InitParam() local 109 int32_t ret = memset_s(¶m, sizeof(param), 0x0, sizeof(param)); in InitExtParam() local 182 auto ret = component_->FreeBuffer(component_, static_cast<uint32_t>(portIndex), in FreeBufferOnPort() local 198 auto ret = component_->GetState(component_, &state); in waitState() local 262 auto ret = manager_->CreateComponent(&component_, &componentId_, compName_.data(), in SetUp() local 302 auto ret = component_->GetComponentVersion(component_, &verInfo); variable 308 auto ret = component_->GetComponentVersion(component_, nullptr); variable 320 auto ret = component_->GetParameter(component_, OMX_IndexCodecVideoPortFormat, variable 332 auto ret = component_->GetParameter(component_, OMX_IndexCodecVideoPortFormat, variable 342 auto ret = component_->GetParameter(component_, OMX_IndexParamVideoPortFormat, nullptr, 0); variable [all …]
|
/drivers/peripheral/input/test/unittest/udriver/ |
D | hdi_input_test.cpp | 48 int32_t ret = GetInputInterface(&g_inputInterface); in SetUpTestCase() local 70 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \ argument 120 int32_t ret; variable 150 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(g_touchIndex); variable 169 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX); variable 189 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX1); variable 207 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(g_touchIndex); variable 226 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX); variable 245 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX1); variable 264 int32_t ret = g_inputInterface->iInputManager->GetInputDevice(g_touchIndex, &dev); variable [all …]
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
D | audio_alsa_libcapture_test.cpp | 130 int32_t ret = -1; variable 149 int32_t ret = -1; variable 170 int32_t ret = -1; variable 187 int32_t ret = -1; variable 210 int32_t ret = -1; variable 232 int32_t ret = -1; variable 250 int32_t ret = -1; variable 274 int32_t ret = -1; variable 298 int32_t ret = -1; variable 320 int32_t ret = -1; variable [all …]
|
/drivers/peripheral/audio/test/systemtest/hdi_service/rk3568/render/src/ |
D | audio_idl_hdirender_hardware_dependence_test.cpp | 55 …int32_t ret = AudioCreateRender(manager, PIN_OUT_SPEAKER, ADAPTER_NAME, &adapter, &render, &render… in SetUp() local 61 int32_t ret = ReleaseRenderSource(manager, adapter, render, renderId_); in TearDown() local 72 int32_t ret; variable 97 int32_t ret; variable 121 int32_t ret; variable 150 int32_t ret; variable 183 int32_t ret; variable 202 int32_t ret; variable 227 int32_t ret; variable 251 int32_t ret; variable [all …]
|