Home
last modified time | relevance | path

Searched refs:NO_ERROR (Results 1 – 25 of 120) sorted by relevance

12345

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.cpp136 int rc = NO_ERROR; in set_preview_window()
148 if (rc == NO_ERROR) { in set_preview_window()
199 if (rc == NO_ERROR) { in set_CallBacks()
232 if (rc == NO_ERROR) { in enable_msg_type()
265 if (rc == NO_ERROR) { in disable_msg_type()
288 int ret = NO_ERROR; in msg_type_enabled()
300 if (ret == NO_ERROR) { in msg_type_enabled()
325 int ret = NO_ERROR; in prepare_preview()
338 if (ret == NO_ERROR) { in prepare_preview()
363 int ret = NO_ERROR; in start_preview()
[all …]
DQCameraMuxer.cpp221 int rc = NO_ERROR; in get_camera_info()
251 return NO_ERROR; in set_callbacks()
273 int rc = NO_ERROR; in camera_device_open()
304 int rc = NO_ERROR; in open_legacy()
332 int rc = NO_ERROR; in set_preview_window()
347 if (rc != NO_ERROR) { in set_preview_window()
381 int rc = NO_ERROR; in set_callBacks()
405 if(rc != NO_ERROR) { in set_callBacks()
412 if(rc != NO_ERROR) { in set_callBacks()
417 if(rc != NO_ERROR) { in set_callBacks()
[all …]
DQCameraParameters.cpp1530 return NO_ERROR; in setPreviewSize()
1555 return NO_ERROR; in setPreviewSize()
1596 return NO_ERROR; in setPictureSize()
1601 if(m_reprocScaleParam.setValidatePicSize(width, height) == NO_ERROR){ in setPictureSize()
1614 return NO_ERROR; in setPictureSize()
1641 return NO_ERROR; in setPictureSize()
1746 return NO_ERROR; in setVideoSize()
1761 return NO_ERROR; in setVideoSize()
1943 return NO_ERROR; in setLiveSnapshotSize()
1962 return NO_ERROR; in setRawSize()
[all …]
DQCameraStream.cpp482 int rc = NO_ERROR; in unmapStreamInfoBuf()
513 int rc = NO_ERROR; in releaseMiscBuf()
537 int rc = NO_ERROR; in releaseStreamInfoBuf()
585 int32_t rc = NO_ERROR; in unMapBuf()
631 int32_t rc = NO_ERROR; in mapBufs()
695 if (rc != NO_ERROR) { in backgroundAllocate()
715 if (rc != NO_ERROR) { in backgroundMap()
936 if (rc == NO_ERROR) { in start()
984 int32_t ret = NO_ERROR; in syncRuntimeParams()
990 if (ret != NO_ERROR) { in syncRuntimeParams()
[all …]
DQCameraStateMachine.cpp197 int32_t rc = NO_ERROR; in applyDelayedMsgs()
239 return NO_ERROR; in procAPI()
277 return NO_ERROR; in procEvt()
301 int32_t rc = NO_ERROR; in stateMachine()
352 int32_t rc = NO_ERROR; in procEvtPreviewStoppedState()
385 if (NO_ERROR != rc) { in procEvtPreviewStoppedState()
399 if (NO_ERROR != rc) { in procEvtPreviewStoppedState()
425 if (NO_ERROR != rc) { in procEvtPreviewStoppedState()
466 if (NO_ERROR != rc) { in procEvtPreviewStoppedState()
476 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPreviewStoppedState()
[all …]
DQCameraChannel.cpp194 return NO_ERROR; in init()
268 int32_t rc = NO_ERROR; in addStream()
327 int32_t rc = NO_ERROR; in linkStream()
361 int32_t rc = NO_ERROR; in start()
386 if (rc != NO_ERROR) { in start()
418 int32_t rc = NO_ERROR; in stop()
460 int32_t rc = NO_ERROR; in bufDone()
492 int32_t rc = NO_ERROR; in bufDone()
537 int32_t rc = NO_ERROR; in processZoomDone()
625 int32_t rc = NO_ERROR; in UpdateStreamBasedParameters()
[all …]
/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.cpp61 if (::access(kAudioDeviceName, O_RDWR) == NO_ERROR) in initCheck()
62 return NO_ERROR; in initCheck()
86 if (lStatus == NO_ERROR) { in openOutputStream()
126 if (lStatus == NO_ERROR) { in openInputStream()
144 return NO_ERROR; in setVoiceVolume()
157 return NO_ERROR; in setMicMute()
163 return NO_ERROR; in getMicMute()
175 return NO_ERROR; in dumpInternals()
187 return NO_ERROR; in dump()
226 return NO_ERROR; in set()
[all …]
DAudioHardwareStub.cpp42 return NO_ERROR; in initCheck()
53 if (lStatus == NO_ERROR) in openOutputStream()
78 if (lStatus == NO_ERROR) in openInputStream()
91 return NO_ERROR; in setVoiceVolume()
96 return NO_ERROR; in setMasterVolume()
108 return NO_ERROR; in dumpInternals()
114 return NO_ERROR; in dump()
125 return NO_ERROR; in set()
138 return NO_ERROR; in standby()
153 return NO_ERROR; in dump()
[all …]
DA2dpAudioInterface.cpp83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { in openOutputStream()
139 status_t status = NO_ERROR; in setParameters()
144 if (param.get(key, value) == NO_ERROR) { in setParameters()
152 if (param.get(key, value) == NO_ERROR) { in setParameters()
162 if (status == NO_ERROR) { in setParameters()
178 if (param.get(key, value) == NO_ERROR) { in getParameters()
184 if (param.get(key, value) == NO_ERROR) { in getParameters()
266 return NO_ERROR; in set()
360 int result = NO_ERROR; in standby_l()
380 status_t status = NO_ERROR; in setParameters()
[all …]
DAudioHardwareStub.h38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } in setVolume()
42 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters()
54 virtual status_t setGain(float gain) { return NO_ERROR; } in setGain()
57 virtual status_t standby() { return NO_ERROR; } in standby()
58 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters()
61 virtual status_t addAudioEffect(effect_handle_t effect) { return NO_ERROR; } in addAudioEffect()
62 virtual status_t removeAudioEffect(effect_handle_t effect) { return NO_ERROR; } in removeAudioEffect()
75 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } in setMicMute()
76 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; } in getMicMute()
DAudioDumpInterface.cpp95 if (status) *status = NO_ERROR; in openOutputStream()
161 if (status) *status = NO_ERROR; in openInputStream()
196 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in setParameters()
200 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in setParameters()
205 return NO_ERROR; in setParameters()
209 return NO_ERROR; in setParameters()
219 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in getParameters()
231 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in getParameters()
309 return NO_ERROR; in standby()
342 return NO_ERROR; in setVolume()
[all …]
DAudioHardwareInterface.cpp96 return NO_ERROR; in setMode()
102 return NO_ERROR; in setParameters()
148 return NO_ERROR; in dumpState()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCmdThread.cpp101 return NO_ERROR; in launch()
120 return NO_ERROR; in setName()
166 return NO_ERROR; in sendCmd()
205 int32_t rc = NO_ERROR; in exit()
212 if (NO_ERROR != rc) { in exit()
DQCameraHALPP.cpp90 int32_t rc = NO_ERROR; in init()
111 int32_t rc = NO_ERROR; in deinit()
131 int32_t rc = NO_ERROR; in start()
151 int32_t rc = NO_ERROR; in stop()
169 int32_t rc = NO_ERROR; in flushQ()
186 int32_t rc = NO_ERROR; in initQ()
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp208 return NO_ERROR; in saveFile()
393 return NO_ERROR; in decodeJPEG()
450 if (ret != NO_ERROR) { in encodeJPEG()
503 ret = NO_ERROR; in encodeJPEG()
653 return NO_ERROR; in ReadSectionsFromBuffer()
726 return NO_ERROR; in ReadSectionsFromBuffer()
909 if (NO_ERROR != ret) { in postData()
941 if (ret != NO_ERROR) { in postData()
1057 status_t err = NO_ERROR; in dataCallbackTimestamp()
1117 if (err != NO_ERROR) { in dataCallbackTimestamp()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp88 int32_t rc = NO_ERROR; in get_bufs()
95 if (NO_ERROR != rc) { in get_bufs()
125 int32_t rc = NO_ERROR; in put_bufs()
134 if (NO_ERROR != rc) { in put_bufs()
157 int32_t rc = NO_ERROR; in invalidate_buf()
165 int32_t retVal = NO_ERROR; in invalidate_buf()
170 if (NO_ERROR != retVal) { in invalidate_buf()
197 int32_t rc = NO_ERROR; in clean_invalidate_buf()
205 int32_t retVal = NO_ERROR; in clean_invalidate_buf()
210 if (NO_ERROR != retVal) { in clean_invalidate_buf()
[all …]
DQCamera3Channel.cpp173 int32_t rc = NO_ERROR; in addStream()
223 int32_t rc = NO_ERROR; in start()
261 int32_t rc = NO_ERROR; in stop()
293 return NO_ERROR; in setBatchSize()
310 return NO_ERROR; in queueBatchBuf()
328 return NO_ERROR; in setPerFrameMapUnmap()
345 return NO_ERROR; in flush()
362 int32_t rc = NO_ERROR; in bufDone()
380 int32_t rc = NO_ERROR; in setBundleInfo()
387 if (rc != NO_ERROR) { in setBundleInfo()
[all …]
DQCamera3Channel.h356 { return NO_ERROR; }; in registerBuffer()
357 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR; }; in timeoutFrame()
423 { return NO_ERROR; }; in registerBuffer()
424 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR;}; in timeoutFrame()
662 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR;}; in timeoutFrame()
724 { return NO_ERROR; }; in registerBuffer()
725 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR;}; in timeoutFrame()
768 int32_t start() override { return NO_ERROR; }; in start()
769 int32_t stop() override { return NO_ERROR; }; in stop()
770 int32_t setBatchSize(uint32_t) override { return NO_ERROR; } in setBatchSize()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAControl.cpp68 return NO_ERROR; in get()
88 return (ret < 0) ? BAD_VALUE : NO_ERROR; in set()
108 return (ret < 0) ? BAD_VALUE : NO_ERROR; in set()
128 return (ret < 0) ? BAD_VALUE : NO_ERROR; in setext()
DAudioUsbALSA.cpp229 return NO_ERROR; in getCap()
324 return NO_ERROR; in setHardwareParams()
361 return NO_ERROR; in setSoftwareParams()
367 status_t err = NO_ERROR; in closeDevice()
370 if (err != NO_ERROR) { in closeDevice()
457 } else if (err != NO_ERROR) { in RecordingThreadEntry()
477 } else if (err != NO_ERROR) { in RecordingThreadEntry()
514 } else if (err != NO_ERROR) { in RecordingThreadEntry()
542 } else if (err != NO_ERROR) { in RecordingThreadEntry()
555 } else if (err != NO_ERROR) { in RecordingThreadEntry()
[all …]
Dalsa_default.cpp234 status_t err = NO_ERROR; in setHDMIChannelCount()
341 return NO_ERROR; in setHardwareParams()
389 return NO_ERROR; in setSoftwareParams()
626 return NO_ERROR; in s_init()
633 int err = NO_ERROR; in s_open()
646 return NO_ERROR; in s_open()
717 if (err == NO_ERROR) { in s_open()
721 if(err != NO_ERROR) { in s_open()
727 return NO_ERROR; in s_open()
736 int err = NO_ERROR; in s_start_voip_call()
[all …]
DALSAStreamOps.cpp185 return NO_ERROR; in set()
198 if (param.getInt(key_input, source) == NO_ERROR) { in setParameters()
205 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
225 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
236 return NO_ERROR; in setParameters()
245 if (param.get(key, value) == NO_ERROR) { in getParameters()
251 if (param.get(key, value) == NO_ERROR) { in getParameters()
261 if (param.get(key, value) == NO_ERROR) { in getParameters()
Dacoustics_default.cpp84 return NO_ERROR; in s_use_handle()
90 return NO_ERROR; in s_cleanup()
97 return NO_ERROR; in s_set_params()
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.cpp209 int rc = NO_ERROR; in QCamera2Factory()
298 int rc = NO_ERROR; in QCamera2Factory()
325 int rc = NO_ERROR; in QCamera2Factory()
435 int rc = NO_ERROR; in QCamera2Factory()
462 int rc = NO_ERROR; in QCamera2Factory()
495 if (rc != NO_ERROR) { in QCamera2Factory()
527 int rc = NO_ERROR; in QCamera2Factory()
566 int rc = NO_ERROR; in QCamera2Factory()
586 if (rc != NO_ERROR) { in QCamera2Factory()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_qclient.cpp65 return NO_ERROR; in notifyCallback()
67 return NO_ERROR; in notifyCallback()
104 result = NO_ERROR; in screenRefresh()

12345