Home
last modified time | relevance | path

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

12345678910

/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayInterface.h39 virtual int32_t setPowerMode(int32_t __unused mode) {return NO_ERROR;}; in setPowerMode()
42 virtual int32_t setVsyncEnabled(uint32_t __unused enabled) {return NO_ERROR;}; in setVsyncEnabled()
49 virtual int32_t setColorMode(int32_t __unused mode) {return NO_ERROR;}; in setColorMode()
50 virtual int32_t setActiveConfig(hwc2_config_t __unused config) {return NO_ERROR;}; in setActiveConfig()
53 {return NO_ERROR;};
58 uint32_t __unused y_pos) {return NO_ERROR;}; in setCursorPositionAsync()
60 virtual int32_t deliverWinConfigData() {return NO_ERROR;}; in deliverWinConfigData()
61 virtual int32_t clearDisplay(bool __unused needModeClear = false) {return NO_ERROR;};
62 virtual int32_t triggerClearDisplayPlanes() { return NO_ERROR; } in triggerClearDisplayPlanes()
63 virtual int32_t disableSelfRefresh(uint32_t __unused disable) {return NO_ERROR;}; in disableSelfRefresh()
[all …]
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp71 EXPECT_EQ(NO_ERROR, CoreUtils::audioInputFlagsToHal(emptyInputFlags, &halEmptyInputFlags)); in TEST()
74 EXPECT_EQ(NO_ERROR, in TEST()
78 EXPECT_EQ(NO_ERROR, in TEST()
94 EXPECT_EQ(NO_ERROR, CoreUtils::audioInputFlagsToHal(allInputFlags, &halAllInputFlags)); in TEST()
96 EXPECT_EQ(NO_ERROR, CoreUtils::audioInputFlagsFromHal(halAllInputFlags, &allInputFlagsBack)); in TEST()
112 EXPECT_EQ(NO_ERROR, CoreUtils::audioOutputFlagsToHal(emptyOutputFlags, &halEmptyOutputFlags)); in TEST()
115 EXPECT_EQ(NO_ERROR, in TEST()
119 EXPECT_EQ(NO_ERROR, CoreUtils::audioOutputFlagsFromHal(AUDIO_OUTPUT_FLAG_NONE, in TEST()
135 EXPECT_EQ(NO_ERROR, CoreUtils::audioOutputFlagsToHal(allOutputFlags, &halAllOutputFlags)); in TEST()
137 EXPECT_EQ(NO_ERROR, CoreUtils::audioOutputFlagsFromHal(halAllOutputFlags, &allOutputFlagsBack)); in TEST()
[all …]
/hardware/google/graphics/common/libhwc2.1/libhwcService/
DIExynosHWC.cpp99 if (result == NO_ERROR) in addVirtualDisplayDevice()
111 if (result == NO_ERROR) in destroyVirtualDisplayDevice()
124 if (result == NO_ERROR) in setWFDMode()
136 if (result == NO_ERROR) in getWFDMode()
151 if (result == NO_ERROR) in sendWFDCommand()
164 if (result == NO_ERROR) in setSecureVDSMode()
178 if (result == NO_ERROR) in setWFDOutputResolution()
189 if (result == NO_ERROR) { in getWFDOutputResolution()
204 if (result != NO_ERROR) in setPresentationMode()
213 if (result == NO_ERROR) in getPresentationMode()
[all …]
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp89 EXPECT_EQ(NO_ERROR, HidlUtils::audioChannelMaskToHal(channelMask, &halChannelMask)) in TEST()
95 EXPECT_EQ(NO_ERROR, in TEST()
101 EXPECT_EQ(NO_ERROR, in TEST()
108 EXPECT_EQ(NO_ERROR, HidlUtils::audioChannelMaskFromHal(halChannelMask, true /*isInput*/, in TEST()
113 EXPECT_EQ(NO_ERROR, HidlUtils::audioChannelMaskFromHal( in TEST()
145 EXPECT_EQ(NO_ERROR, HidlUtils::audioChannelMasksFromHal(allHalChannelMasks, &allChannelMasks)); in TEST()
188 EXPECT_EQ(NO_ERROR, HidlUtils::audioConfigBaseFromHal(halBaseDefault, false /*isInput*/, in TEST()
190 EXPECT_EQ(NO_ERROR, in TEST()
194 EXPECT_EQ(NO_ERROR, HidlUtils::audioConfigBaseToHal(baseDefaultOut, &halBaseDefaultBack)); in TEST()
203 EXPECT_EQ(NO_ERROR, HidlUtils::audioConfigBaseToHal(configBaseOut, &halConfigBaseOut)); in TEST()
[all …]
/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 …]
/hardware/google/graphics/gs101/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp53 int ret = NO_ERROR; in initDrmDevice()
54 if ((ret = ExynosDisplayDrmInterface::initDrmDevice(drmDevice)) != NO_ERROR) in initDrmDevice()
87 return NO_ERROR; in setDisplayColorBlob()
89 return NO_ERROR; in setDisplayColorBlob()
138 if (ret != NO_ERROR) { in setDisplayColorBlob()
166 return NO_ERROR; in setDisplayColorSetting()
171 int ret = NO_ERROR; in setDisplayColorSetting()
177 dqe.Cgc(), dqe, drmReq) != NO_ERROR)) { in setDisplayColorSetting()
183 dqe.DegammaLut(), dqe, drmReq) != NO_ERROR)) { in setDisplayColorSetting()
189 dqe.RegammaLut(), dqe, drmReq) != NO_ERROR)) { in setDisplayColorSetting()
[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 …]
/hardware/google/graphics/gs201/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp43 if (ret != NO_ERROR) in initDrmDevice()
120 return NO_ERROR; in setCgcLutDmaProperty()
124 if (!colorManager) return NO_ERROR; in setCgcLutDmaProperty()
130 return NO_ERROR; in setCgcLutDmaProperty()
138 return NO_ERROR; in setCgcLutDmaProperty()
152 return NO_ERROR; in setCgcLutDmaProperty()
163 return NO_ERROR; in setCgcLutDmaProperty()
170 return NO_ERROR; in setDisplayColorSetting()
173 if (ret != NO_ERROR) in setDisplayColorSetting()
182 if (!prop.id()) return NO_ERROR; in setHistoPosProperty()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/util/tests/
Deffectutils_tests.cpp104 EXPECT_EQ(NO_ERROR, EffectUtils::effectBufferConfigToHal(empty, &halEmpty)); in TEST()
106 EXPECT_EQ(NO_ERROR, in TEST()
110 EXPECT_EQ(NO_ERROR, in TEST()
117 EXPECT_EQ(NO_ERROR, EffectUtils::effectBufferConfigToHal(chanMask, &halChanMask)); in TEST()
119 EXPECT_EQ(NO_ERROR, EffectUtils::effectBufferConfigFromHal(halChanMask, false /*isInput*/, in TEST()
126 EXPECT_EQ(NO_ERROR, EffectUtils::effectBufferConfigToHal(format, &halFormat)); in TEST()
128 EXPECT_EQ(NO_ERROR, in TEST()
132 EXPECT_EQ(NO_ERROR, in TEST()
152 EXPECT_EQ(NO_ERROR, EffectUtils::effectDescriptorToHal(desc, &halDesc)); in TEST()
154 EXPECT_EQ(NO_ERROR, EffectUtils::effectDescriptorFromHal(halDesc, &descBack)); in TEST()
[all …]
/hardware/google/graphics/gs101/libhwc2.1/libcolormanager/
DDisplayColorModule.cpp42 return NO_ERROR; in convertDqeMatrixDataToDrmMatrix()
70 return NO_ERROR; in eotf()
84 DRM_SAMSUNG_HDR_GM_DIMENS)) != NO_ERROR) { in gm()
93 return NO_ERROR; in gm()
131 return NO_ERROR; in dtm()
159 return NO_ERROR; in oetf()
168 DRM_SAMSUNG_MATRIX_DIMENS)) != NO_ERROR) { in gammaMatrix()
178 return NO_ERROR; in gammaMatrix()
203 return NO_ERROR; in degamma()
212 DRM_SAMSUNG_MATRIX_DIMENS)) != NO_ERROR) { in linearMatrix()
[all …]
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp42 if (status_t status = (expr); status != NO_ERROR) { \
50 return NO_ERROR; in audioIndexChannelMaskFromHal()
61 return NO_ERROR; in audioInputChannelMaskFromHal()
72 return NO_ERROR; in audioOutputChannelMaskFromHal()
97 return NO_ERROR; in audioChannelMaskFromHal()
116 return halChannelMasks.size() == channelMasks->size() ? NO_ERROR : BAD_VALUE; in audioChannelMasksFromHal()
123 return NO_ERROR; in audioChannelMaskToHal()
132 status_t result = NO_ERROR; in audioConfigBaseFromHal()
143 status_t result = NO_ERROR; in audioConfigBaseToHal()
156 status_t result = NO_ERROR; in audioConfigBaseOptionalFromHal()
[all …]
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtilsCommon.cpp29 status_t result = NO_ERROR; in audioPortConfigsFromHal()
33 status != NO_ERROR) { in audioPortConfigsFromHal()
42 status_t result = NO_ERROR; in audioPortConfigsToHal()
46 status != NO_ERROR) { in audioPortConfigsToHal()
/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()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp80 if (ExynosDisplay::validateWinConfigData() != NO_ERROR) in validateWinConfigData()
106 return NO_ERROR; in validateWinConfigData()
244 int ret = NO_ERROR; in updatePresentColorConversionInfo()
276 return NO_ERROR; in getColorAdjustedDbv()
281 return NO_ERROR; in getColorAdjustedDbv()
394 if (writeIntToFile(mAtcStrength.node.c_str(), mAtcStrength.value.get()) != NO_ERROR) { in setAtcStrength()
399 return NO_ERROR; in setAtcStrength()
405 if (writeIntToFile(mAtcAmbientLight.node.c_str(), mAtcAmbientLight.value.get()) != NO_ERROR) in setAtcAmbientLight()
410 return NO_ERROR; in setAtcAmbientLight()
426 mAtcSubSetting[it->first.c_str()].value.get()) != NO_ERROR) in setAtcMode()
[all …]
/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/google/graphics/zuma/libhwc2.1/libcolormanager/
DDisplayColorModule.cpp43 return NO_ERROR; in convertDqeMatrixDataToDrmMatrix()
75 return NO_ERROR; in eotf()
89 DRM_SAMSUNG_HDR_GM_DIMENS)) != NO_ERROR) { in gm()
98 return NO_ERROR; in gm()
136 return NO_ERROR; in dtm()
166 return NO_ERROR; in oetf()
175 DRM_SAMSUNG_MATRIX_DIMENS)) != NO_ERROR) { in gammaMatrix()
185 return NO_ERROR; in gammaMatrix()
211 return NO_ERROR; in degamma()
220 DRM_SAMSUNG_MATRIX_DIMENS)) != NO_ERROR) { in linearMatrix()
[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 …]

12345678910