Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp30 status_t err = NO_ERROR; in setNativeWindowSizeFormatAndUsage()
35 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
41 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
48 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
54 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
70 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
77 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
79 err = NO_ERROR; in setNativeWindowSizeFormatAndUsage()
89 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
98 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp27 using android::NO_ERROR;
40 if (status != NO_ERROR) goto error; in writeToParcel()
42 if (status != NO_ERROR) goto error; in writeToParcel()
44 if (status != NO_ERROR) goto error; in writeToParcel()
46 if (status != NO_ERROR) goto error; in writeToParcel()
48 if (status != NO_ERROR) goto error; in writeToParcel()
50 if (status != NO_ERROR) goto error; in writeToParcel()
51 return NO_ERROR; in writeToParcel()
59 if (status != NO_ERROR) goto error; in readFromParcel()
61 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DAAudioStreamRequest.cpp32 using android::NO_ERROR;
47 if (status != NO_ERROR) goto error; in writeToParcel()
49 if (status != NO_ERROR) goto error; in writeToParcel()
51 if (status != NO_ERROR) goto error; in writeToParcel()
54 if (status != NO_ERROR) goto error; in writeToParcel()
57 if (status != NO_ERROR) goto error; in writeToParcel()
58 return NO_ERROR; in writeToParcel()
68 if (status != NO_ERROR) goto error; in readFromParcel()
72 if (status != NO_ERROR) goto error; in readFromParcel()
76 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DRingBufferParcelable.cpp83 if (status != NO_ERROR) goto error; in writeToParcel()
86 if (status != NO_ERROR) goto error; in writeToParcel()
88 if (status != NO_ERROR) goto error; in writeToParcel()
90 if (status != NO_ERROR) goto error; in writeToParcel()
92 if (status != NO_ERROR) goto error; in writeToParcel()
94 if (status != NO_ERROR) goto error; in writeToParcel()
96 if (status != NO_ERROR) goto error; in writeToParcel()
98 return NO_ERROR; in writeToParcel()
106 if (status != NO_ERROR) goto error; in readFromParcel()
109 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DIAAudioService.cpp53 if (err != NO_ERROR) { in openStream()
60 if (err != NO_ERROR) { in openStream()
68 if (err != NO_ERROR) { in openStream()
82 if (err != NO_ERROR) { in closeStream()
99 if (err != NO_ERROR) { in getStreamDescription()
106 if (err != NO_ERROR) { in getStreamDescription()
114 if (err != NO_ERROR) { in getStreamDescription()
134 if (err != NO_ERROR) { in startStream()
149 if (err != NO_ERROR) { in pauseStream()
164 if (err != NO_ERROR) { in stopStream()
[all …]
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp31 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
55 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
[all …]
DSurfaceTextureFBO_test.cpp30 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
32 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
34 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
36 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
40 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
55 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
64 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
71 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F()
75 ASSERT_EQ(NO_ERROR, buf->unlock()); in TEST_F()
[all …]
DSurface_test.cpp62 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
73 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); in SetUp()
74 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp()
95 EXPECT_EQ(NO_ERROR, err); in TEST_F()
108 EXPECT_EQ(NO_ERROR, err); in TEST_F()
124 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
127 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), in TEST_F()
132 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
134 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F()
142 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
[all …]
/frameworks/native/libs/gui/
DISurfaceComposer.cpp129 int err = NO_ERROR; in authenticateSurfaceTexture()
132 if (err != NO_ERROR) { in authenticateSurfaceTexture()
138 if (err != NO_ERROR) { in authenticateSurfaceTexture()
145 if (err != NO_ERROR) { in authenticateSurfaceTexture()
152 if (err != NO_ERROR) { in authenticateSurfaceTexture()
171 if (err != NO_ERROR) { in getSupportedFrameTimestamps()
178 if (err != NO_ERROR) { in getSupportedFrameTimestamps()
184 if (err != NO_ERROR) { in getSupportedFrameTimestamps()
187 if (result != NO_ERROR) { in getSupportedFrameTimestamps()
193 if (err != NO_ERROR) { in getSupportedFrameTimestamps()
[all …]
DIGraphicBufferProducer.cpp83 if (result != NO_ERROR) { in requestBuffer()
90 if(result != NO_ERROR) { in requestBuffer()
106 if (result != NO_ERROR) { in setMaxDequeuedBufferCount()
120 if (result != NO_ERROR) { in setAsyncMode()
141 if (result != NO_ERROR) { in dequeueBuffer()
148 if (result != NO_ERROR) { in dequeueBuffer()
154 if (result != NO_ERROR) { in dequeueBuffer()
169 if (result != NO_ERROR) { in detachBuffer()
188 if (result != NO_ERROR) { in detachNextBuffer()
192 if (result == NO_ERROR) { in detachNextBuffer()
[all …]
/frameworks/av/radio/
DIRadio.cpp70 if (status == NO_ERROR) { in setConfiguration()
84 if (status == NO_ERROR) { in getConfiguration()
86 if (status == NO_ERROR) { in getConfiguration()
99 if (status == NO_ERROR) { in setMute()
113 if (status == NO_ERROR) { in getMute()
115 if (status == NO_ERROR) { in getMute()
130 if (status == NO_ERROR) { in scan()
143 if (status == NO_ERROR) { in step()
156 if (status == NO_ERROR) { in tune()
167 if (status == NO_ERROR) { in cancel()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioTrack.cpp60 if (status == NO_ERROR) { in getCblk()
74 if (status == NO_ERROR) { in start()
109 if (status == NO_ERROR) { in attachAuxEffect()
122 if (status == NO_ERROR) { in setParameters()
132 if (status == NO_ERROR) { in getTimestamp()
134 if (status == NO_ERROR) { in getTimestamp()
159 if (status != NO_ERROR) { in applyVolumeShaper()
167 if (status != NO_ERROR) { in applyVolumeShaper()
184 if (status != NO_ERROR) { in getVolumeShaperState()
189 if (status != NO_ERROR) { in getVolumeShaperState()
[all …]
DIAudioFlinger.cpp143 if (lStatus != NO_ERROR) { in createTrack()
160 if (lStatus == NO_ERROR) { in createTrack()
221 if (lStatus != NO_ERROR) { in openRecord()
250 if (lStatus == NO_ERROR) { in openRecord()
265 if (lStatus != NO_ERROR) { in openRecord()
475 if (status != NO_ERROR) { in openOutput()
480 if (status != NO_ERROR) { in openOutput()
489 return NO_ERROR; in openOutput()
551 if (status != NO_ERROR) { in openInput()
556 if (status != NO_ERROR) { in openInput()
[all …]
DIAudioPolicyService.cpp236 if (status != NO_ERROR) { in getOutputForAttr()
240 if (status != NO_ERROR) { in getOutputForAttr()
323 if (status != NO_ERROR) { in getInputForAttr()
327 if (status != NO_ERROR) { in getInputForAttr()
332 return NO_ERROR; in getInputForAttr()
512 if (status != NO_ERROR) { in queryDefaultPreProcessing()
551 if (status == NO_ERROR) { in listAudioPorts()
555 if (status == NO_ERROR) { in listAudioPorts()
576 if (status != NO_ERROR || in getAudioPort()
577 (status = (status_t)reply.readInt32()) != NO_ERROR) { in getAudioPort()
[all …]
DIEffect.cpp91 if (status == NO_ERROR) { in command()
94 if (status != NO_ERROR) { in command()
123 if (status == NO_ERROR) { in getCblk()
145 return NO_ERROR; in onTransact()
152 return NO_ERROR; in onTransact()
164 return NO_ERROR; in onTransact()
169 return NO_ERROR; in onTransact()
180 return NO_ERROR; in onTransact()
186 return NO_ERROR; in onTransact()
191 if (status == NO_ERROR) { in onTransact()
[all …]
/frameworks/base/cmds/idmap/
Dinspect.cpp53 return NO_ERROR; in init()
75 return NO_ERROR; in nextUint32()
97 return NO_ERROR; in nextUint16()
111 return NO_ERROR; in nextPath()
165 return NO_ERROR; in resource_metadata()
173 if (err != NO_ERROR) { in parse_idmap_header()
187 if (err != NO_ERROR) { in parse_idmap_header()
193 if (err != NO_ERROR) { in parse_idmap_header()
199 if (err != NO_ERROR) { in parse_idmap_header()
205 if (err != NO_ERROR) { in parse_idmap_header()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp98 status_t err = NO_ERROR; in connectSurface()
108 if (err != NO_ERROR) { in connectSurface()
117 if (err != NO_ERROR) { in connectSurface()
126 if (err != NO_ERROR) { in connectSurface()
131 return NO_ERROR; in connectSurface()
155 status_t err = NO_ERROR; in produceFrame()
183 if (err != NO_ERROR) return err; in produceFrame()
198 if (err != NO_ERROR) { in produceFrame()
235 if (err != NO_ERROR) return err; in produceFrame()
263 if (err != NO_ERROR) { in produceFrame()
[all …]
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp178 EXPECT_EQ(NO_ERROR, ret); in addServer()
184 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/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp105 ASSERT_EQ(NO_ERROR, mProducer->connect(kDummyListener, kTestApi, in ConnectProducer()
167 ASSERT_EQ(NO_ERROR, mProducer->disconnect(kTestApi)); in TEST_F()
183 EXPECT_EQ(NO_ERROR, mProducer->query(NATIVE_WINDOW_WIDTH, &value)); in TEST_F()
186 EXPECT_EQ(NO_ERROR, mProducer->query(NATIVE_WINDOW_HEIGHT, &value)); in TEST_F()
189 EXPECT_EQ(NO_ERROR, mProducer->query(NATIVE_WINDOW_FORMAT, &value)); in TEST_F()
192 EXPECT_EQ(NO_ERROR, in TEST_F()
197 EXPECT_EQ(NO_ERROR, in TEST_F()
201 EXPECT_EQ(NO_ERROR, in TEST_F()
240 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer)); in TEST_F()
247 ASSERT_EQ(NO_ERROR, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
[all …]
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp49 if (err != NO_ERROR) { in writeToParcel()
54 if (err != NO_ERROR) { in writeToParcel()
60 if (err != NO_ERROR) { in writeToParcel()
66 if (err != NO_ERROR) { in writeToParcel()
72 if (err != NO_ERROR) { in writeToParcel()
77 return NO_ERROR; in writeToParcel()
87 if (err != NO_ERROR) { in readFromParcel()
97 if (err != NO_ERROR) { in readFromParcel()
103 if (err != NO_ERROR) { in readFromParcel()
112 if (err != NO_ERROR) { in readFromParcel()
[all …]
/frameworks/native/services/audiomanager/
DIPlayer.cpp103 if (status != NO_ERROR) { in applyVolumeShaper()
112 if (status != NO_ERROR) { in applyVolumeShaper()
119 ALOGW_IF(status != NO_ERROR, "applyVolumeShaper failed transact: %d", status); in applyVolumeShaper()
135 return NO_ERROR; in onTransact()
140 return NO_ERROR; in onTransact()
145 return NO_ERROR; in onTransact()
150 return NO_ERROR; in onTransact()
155 return NO_ERROR; in onTransact()
160 return NO_ERROR; in onTransact()
169 if (status == NO_ERROR && present != 0) { in onTransact()
[all …]
/frameworks/base/libs/androidfw/
DBackupData.cpp54 m_status(NO_ERROR), in BackupDataWriter()
83 return NO_ERROR; in write_padding_for()
89 if (m_status != NO_ERROR) { in WriteEntityHeader()
150 if (m_status != NO_ERROR) { in WriteEntityData()
167 return NO_ERROR; in WriteEntityData()
180 m_status(NO_ERROR), in BackupDataReader()
215 if (err != NO_ERROR) { \
226 if (m_status != NO_ERROR) { in ReadNextHeader()
235 return NO_ERROR; in ReadNextHeader()
237 else if (amt != NO_ERROR) { in ReadNextHeader()
[all …]
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp72 if (err != NO_ERROR) { in writeToParcel()
77 if (err != NO_ERROR) { in writeToParcel()
83 if (err != NO_ERROR) { in writeToParcel()
88 if (err != NO_ERROR) { in writeToParcel()
93 if (err != NO_ERROR) { in writeToParcel()
97 if (err != NO_ERROR) { in writeToParcel()
101 return NO_ERROR; in writeToParcel()
110 if (err != NO_ERROR) { in readFromParcel()
115 if (err != NO_ERROR) { in readFromParcel()
120 if (err != NO_ERROR) { in readFromParcel()
[all …]
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1294 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1300 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1312 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1318 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1324 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1330 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1363 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1369 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1375 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1381 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
[all …]
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp68 ASSERT_EQ(NO_ERROR, in TEST_F()
79 ASSERT_EQ(NO_ERROR, in TEST_F()
108 ASSERT_EQ(NO_ERROR, in TEST_F()
110 ASSERT_EQ(NO_ERROR, table.add(basic_de_fr_contents_.data(), in TEST_F()
132 ASSERT_EQ(NO_ERROR, in TEST_F()
138 ASSERT_EQ(NO_ERROR, table.add(basic_de_fr_contents_.data(), in TEST_F()
159 ASSERT_EQ(NO_ERROR, in TEST_F()
170 ASSERT_EQ(NO_ERROR, table.add(basic_de_fr_contents_.data(), in TEST_F()
190 ASSERT_EQ(NO_ERROR, in TEST_F()
192 ASSERT_EQ(NO_ERROR, table.add(basic_hdpi_contents_.data(), in TEST_F()
[all …]

12345678910>>...19