Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp31 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
37 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
53 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
66 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
78 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
80 err = NO_ERROR; in setNativeWindowSizeFormatAndUsage()
86 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
93 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
100 return NO_ERROR; in setNativeWindowSizeFormatAndUsage()
104 status_t err = NO_ERROR; in pushBlankBuffersToNativeWindow()
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp43 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
52 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); in SetUp()
53 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp()
74 EXPECT_EQ(NO_ERROR, err); in TEST_F()
85 EXPECT_EQ(NO_ERROR, err); in TEST_F()
100 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
106 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
108 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F()
116 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
117 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
[all …]
DSurfaceTextureGL_test.cpp31 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
35 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
39 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
50 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
53 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
79 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
81 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
83 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
87 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
[all …]
DSurfaceTextureFBO_test.cpp30 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
32 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
34 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
38 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
50 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
53 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
62 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
69 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F()
73 ASSERT_EQ(NO_ERROR, buf->unlock()); in TEST_F()
74 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
[all …]
/frameworks/av/radio/
DIRadio.cpp69 if (status == NO_ERROR) { in setConfiguration()
83 if (status == NO_ERROR) { in getConfiguration()
85 if (status == NO_ERROR) { in getConfiguration()
98 if (status == NO_ERROR) { in setMute()
112 if (status == NO_ERROR) { in getMute()
114 if (status == NO_ERROR) { in getMute()
129 if (status == NO_ERROR) { in scan()
142 if (status == NO_ERROR) { in step()
155 if (status == NO_ERROR) { in tune()
166 if (status == NO_ERROR) { in cancel()
[all …]
/frameworks/base/cmds/idmap/
Dinspect.cpp52 return NO_ERROR; in init()
74 return NO_ERROR; in nextUint32()
96 return NO_ERROR; in nextUint16()
110 return NO_ERROR; in nextPath()
164 return NO_ERROR; in resource_metadata()
172 if (err != NO_ERROR) { in parse_idmap_header()
186 if (err != NO_ERROR) { in parse_idmap_header()
192 if (err != NO_ERROR) { in parse_idmap_header()
198 if (err != NO_ERROR) { in parse_idmap_header()
204 if (err != NO_ERROR) { in parse_idmap_header()
[all …]
/frameworks/native/libs/gui/
DIGraphicBufferConsumer.cpp76 if (result != NO_ERROR) { in acquireBuffer()
80 if (result != NO_ERROR) { in acquireBuffer()
91 if (result != NO_ERROR) { in detachBuffer()
103 if (result != NO_ERROR) { in attachBuffer()
120 if (result != NO_ERROR) { in releaseBuffer()
132 if (result != NO_ERROR) { in consumerConnect()
142 if (result != NO_ERROR) { in consumerDisconnect()
156 if (result != NO_ERROR) { in getReleasedBuffers()
169 if (result != NO_ERROR) { in setDefaultBufferSize()
180 if (result != NO_ERROR) { in setDefaultMaxBufferCount()
[all …]
DIGraphicBufferProducer.cpp69 if (result != NO_ERROR) { in requestBuffer()
76 if(result != NO_ERROR) { in requestBuffer()
91 if (result != NO_ERROR) { in setBufferCount()
109 if (result != NO_ERROR) { in dequeueBuffer()
127 if (result != NO_ERROR) { in detachBuffer()
146 if (result != NO_ERROR) { in detachNextBuffer()
150 if (result == NO_ERROR) { in detachNextBuffer()
170 if (result != NO_ERROR) { in attachBuffer()
185 if (result != NO_ERROR) { in queueBuffer()
206 if (result != NO_ERROR) { in query()
[all …]
DISurfaceComposer.cpp127 int err = NO_ERROR; in authenticateSurfaceTexture()
130 if (err != NO_ERROR) { in authenticateSurfaceTexture()
136 if (err != NO_ERROR) { in authenticateSurfaceTexture()
143 if (err != NO_ERROR) { in authenticateSurfaceTexture()
150 if (err != NO_ERROR) { in authenticateSurfaceTexture()
164 if (err != NO_ERROR) { in createDisplayEventConnection()
170 if (err != NO_ERROR) { in createDisplayEventConnection()
223 if (result == NO_ERROR) { in getDisplayConfigs()
244 if (result == NO_ERROR) { in getDisplayStats()
303 return NO_ERROR; in onTransact()
[all …]
/frameworks/av/media/libmedia/
DIAudioTrack.cpp61 if (status == NO_ERROR) { in getCblk()
75 if (status == NO_ERROR) { in start()
110 if (status == NO_ERROR) { in attachAuxEffect()
124 if (status == NO_ERROR) { in allocateTimedBuffer()
126 if (status == NO_ERROR) { in allocateTimedBuffer()
144 if (status == NO_ERROR) { in queueTimedBuffer()
161 if (status == NO_ERROR) { in setMediaTimeTransform()
172 if (status == NO_ERROR) { in setParameters()
182 if (status == NO_ERROR) { in getTimestamp()
184 if (status == NO_ERROR) { in getTimestamp()
[all …]
DIAudioFlinger.cpp138 if (lStatus != NO_ERROR) { in createTrack()
155 if (lStatus == NO_ERROR) { in createTrack()
212 if (lStatus != NO_ERROR) { in openRecord()
241 if (lStatus == NO_ERROR) { in openRecord()
256 if (lStatus != NO_ERROR) { in openRecord()
464 if (status != NO_ERROR) { in openOutput()
469 if (status != NO_ERROR) { in openOutput()
478 return NO_ERROR; in openOutput()
540 if (status != NO_ERROR) { in openInput()
545 if (status != NO_ERROR) { in openInput()
[all …]
DIAudioPolicyService.cpp226 if (status != NO_ERROR) { in getOutputForAttr()
230 if (status != NO_ERROR) { in getOutputForAttr()
307 if (status != NO_ERROR) { in getInputForAttr()
311 if (status != NO_ERROR) { in getInputForAttr()
315 return NO_ERROR; in getInputForAttr()
495 if (status != NO_ERROR) { in queryDefaultPreProcessing()
534 if (status == NO_ERROR) { in listAudioPorts()
538 if (status == NO_ERROR) { in listAudioPorts()
559 if (status != NO_ERROR || in getAudioPort()
560 (status = (status_t)reply.readInt32()) != NO_ERROR) { in getAudioPort()
[all …]
DVisualizer.cpp80 if (status == NO_ERROR) { in setEnabled()
126 return NO_ERROR; in setCaptureCallBack()
153 if (status == NO_ERROR) { in setCaptureSize()
155 if (status == NO_ERROR) { in setCaptureSize()
182 if (status == NO_ERROR) { in setScalingMode()
184 if (status == NO_ERROR) { in setScalingMode()
212 if (status == NO_ERROR) { in setMeasurementMode()
214 if (status == NO_ERROR) { in setMeasurementMode()
241 status_t status = NO_ERROR; in getIntMeasurements()
249 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
[all …]
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp174 EXPECT_EQ(NO_ERROR, ret); in addServer()
180 EXPECT_EQ(NO_ERROR, ret); in addServer()
264 ret = m_eventTriggered ? NO_ERROR : TIMED_OUT; in waitEvent()
304 return NO_ERROR; in onTransact()
326 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
345 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
347 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
358 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
360 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
386 ASSERT_EQ(NO_ERROR, ret); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp101 status_t err = NO_ERROR; in configureSurface()
103 if (err != NO_ERROR) { in configureSurface()
110 if (err != NO_ERROR) { in configureSurface()
117 if (err != NO_ERROR) { in configureSurface()
127 if (err != NO_ERROR) { in configureSurface()
137 if (err != NO_ERROR) { in configureSurface()
142 return NO_ERROR; in configureSurface()
166 status_t err = NO_ERROR; in produceFrame()
194 if (err != NO_ERROR) return err; in produceFrame()
209 if (err != NO_ERROR) { in produceFrame()
[all …]
/frameworks/base/libs/androidfw/
DBackupData.cpp55 m_status(NO_ERROR), in BackupDataWriter()
84 return NO_ERROR; in write_padding_for()
90 if (m_status != NO_ERROR) { in WriteEntityHeader()
151 if (m_status != NO_ERROR) { in WriteEntityData()
168 return NO_ERROR; in WriteEntityData()
181 m_status(NO_ERROR), in BackupDataReader()
216 if (err != NO_ERROR) { \
227 if (m_status != NO_ERROR) { in ReadNextHeader()
236 return NO_ERROR; in ReadNextHeader()
238 else if (amt != NO_ERROR) { in ReadNextHeader()
[all …]
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp67 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
77 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
102 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
103 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST()
123 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
128 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST()
151 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
160 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST()
177 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
178 ASSERT_EQ(NO_ERROR, table.add(split_hdpi_v4_arsc, split_hdpi_v4_arsc_len)); in TEST()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp39 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); in fillSurfaceRGBA8()
50 ASSERT_EQ(NO_ERROR, s->unlockAndPost()); in fillSurfaceRGBA8()
66 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), 0, 0, in captureScreen()
86 EXPECT_EQ(NO_ERROR, mCC->lockNextBuffer(&mBuf)); in ScreenCapture()
101 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
137 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2)); in SetUp()
138 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show()); in SetUp()
140 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1)); in SetUp()
141 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64)); in SetUp()
142 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show()); in SetUp()
[all …]
/frameworks/base/libs/storage/
DIMountService.cpp68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
99 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected()
116 if (remote()->transact(TRANSACTION_setUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in setUsbMassStorageEnabled()
131 if (remote()->transact(TRANSACTION_isUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in isUsbMassStorageEnabled()
148 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) { in mountVolume()
167 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) { in unmountVolume()
184 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) { in formatVolume()
201 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) { in getStorageUsers()
230 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState()
[all …]
/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp32 ASSERT_EQ(NO_ERROR, filter.parse(String8(""))); in TEST()
47 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST()
57 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST()
68 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST()
80 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr_FR,sw360dp,normal,en_US"))); in TEST()
91 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST()
102 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr_FR,en_US,normal,large,xxhdpi,sw320dp"))); in TEST()
115 ASSERT_EQ(NO_ERROR, filter.parse(String8("sw600dp"))); in TEST()
128 ASSERT_EQ(NO_ERROR, filter.parse(String8("de-rDE"))); in TEST()
139 EXPECT_EQ(NO_ERROR, filter.parse(String8("de_DE"))); in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp138 if (callingPid == mClientPid) return NO_ERROR; in checkPid()
147 if (result != NO_ERROR) return result; in checkPidAndHardware()
152 return NO_ERROR; in checkPidAndHardware()
163 return NO_ERROR; in lock()
177 if (result == NO_ERROR) { in unlock()
197 if (mClientPid != 0 && checkPid() != NO_ERROR) { in connect()
206 return NO_ERROR; in connect()
214 return NO_ERROR; in connect()
221 if (result != NO_ERROR) { in disconnectWindow()
277 if (result != NO_ERROR) return result; in setPreviewWindow()
[all …]
/frameworks/native/libs/binder/
DIBatteryStats.cpp149 return NO_ERROR; in onTransact()
157 return NO_ERROR; in onTransact()
164 return NO_ERROR; in onTransact()
171 return NO_ERROR; in onTransact()
178 return NO_ERROR; in onTransact()
185 return NO_ERROR; in onTransact()
191 return NO_ERROR; in onTransact()
197 return NO_ERROR; in onTransact()
204 return NO_ERROR; in onTransact()
211 return NO_ERROR; in onTransact()
[all …]
/frameworks/av/soundtrigger/
DISoundTrigger.cpp63 if (status != NO_ERROR || in loadSoundModel()
64 (status = (status_t)reply.readInt32()) != NO_ERROR) { in loadSoundModel()
77 if (status != NO_ERROR) { in unloadSoundModel()
96 if (status != NO_ERROR) { in startRecognition()
108 if (status != NO_ERROR) { in stopRecognition()
128 return NO_ERROR; in onTransact()
137 if (status == NO_ERROR) { in onTransact()
140 return NO_ERROR; in onTransact()
148 return NO_ERROR; in onTransact()
160 return NO_ERROR; in onTransact()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp73 return NO_ERROR; in beginFrame()
77 return NO_ERROR; in prepareFrame()
84 return NO_ERROR; in advanceFrame()
94 return NO_ERROR; in nextBuffer()
95 } else if (err != NO_ERROR) { in nextBuffer()
113 if (err < NO_ERROR) { in nextBuffer()
122 return NO_ERROR; in nextBuffer()
130 if (err != NO_ERROR) { in onFrameAvailable()
136 if (err != NO_ERROR) { in onFrameAvailable()
/frameworks/av/camera/
DICamera.cpp286 return NO_ERROR; in onTransact()
294 return NO_ERROR; in onTransact()
301 return NO_ERROR; in onTransact()
309 return NO_ERROR; in onTransact()
315 return NO_ERROR; in onTransact()
321 return NO_ERROR; in onTransact()
327 return NO_ERROR; in onTransact()
333 return NO_ERROR; in onTransact()
340 return NO_ERROR; in onTransact()
347 return NO_ERROR; in onTransact()
[all …]

12345678910>>...15