Home
last modified time | relevance | path

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

12345678910>>...25

/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp31 using android::NO_ERROR;
45 if (status != NO_ERROR) goto error; in writeToParcel()
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()
53 if (status != NO_ERROR) goto error; in writeToParcel()
56 if (status != NO_ERROR) goto error; in writeToParcel()
58 if (status != NO_ERROR) goto error; in writeToParcel()
60 if (status != NO_ERROR) goto error; in writeToParcel()
62 if (status != NO_ERROR) goto error; in writeToParcel()
[all …]
DAAudioStreamRequest.cpp32 using android::NO_ERROR;
47 if (status != NO_ERROR) goto error; in writeToParcel()
50 if (status != NO_ERROR) goto error; in writeToParcel()
53 if (status != NO_ERROR) goto error; in writeToParcel()
56 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()
75 if (status != NO_ERROR) goto error; in readFromParcel()
78 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DAudioEndpointParcelable.cpp32 using android::NO_ERROR;
68 if (status != NO_ERROR) goto error; in writeToParcel()
71 if (status != NO_ERROR) goto error; in writeToParcel()
75 if (status != NO_ERROR) goto error; in writeToParcel()
78 if (status != NO_ERROR) goto error; in writeToParcel()
80 if (status != NO_ERROR) goto error; in writeToParcel()
82 if (status != NO_ERROR) goto error; in writeToParcel()
84 if (status != NO_ERROR) goto error; in writeToParcel()
86 return NO_ERROR; in writeToParcel()
95 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DRingBufferParcelable.cpp84 if (status != NO_ERROR) goto error; in writeToParcel()
87 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 if (status != NO_ERROR) goto error; in writeToParcel()
100 if (status != NO_ERROR) goto error; in writeToParcel()
102 return NO_ERROR; in writeToParcel()
110 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DIAAudioService.cpp64 if (err != NO_ERROR) { in openStream()
71 if (err != NO_ERROR) { in openStream()
78 if (err != NO_ERROR) { in openStream()
92 if (err != NO_ERROR) { in closeStream()
109 if (err != NO_ERROR) { in getStreamDescription()
116 if (err != NO_ERROR) { in getStreamDescription()
124 if (err != NO_ERROR) { in getStreamDescription()
138 if (err != NO_ERROR) { in startStream()
153 if (err != NO_ERROR) { in pauseStream()
168 if (err != NO_ERROR) { in stopStream()
[all …]
DSharedRegionParcelable.cpp32 using android::NO_ERROR;
52 if (status != NO_ERROR) goto error; in writeToParcel()
55 if (status != NO_ERROR) goto error; in writeToParcel()
58 if (status != NO_ERROR) goto error; in writeToParcel()
60 if (status != NO_ERROR) goto error; in writeToParcel()
62 return NO_ERROR; in writeToParcel()
71 if (status != NO_ERROR) goto error; in readFromParcel()
74 if (status != NO_ERROR) goto error; in readFromParcel()
76 if (status != NO_ERROR) goto error; in readFromParcel()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp35 if (err != NO_ERROR) { in writeToParcel()
39 if (err != NO_ERROR) { in writeToParcel()
44 if (err != NO_ERROR) { in writeToParcel()
56 if (err != NO_ERROR) { in readFromParcel()
60 if (err != NO_ERROR) { in readFromParcel()
65 if (err != NO_ERROR) { in readFromParcel()
71 if (err != NO_ERROR) { in readFromParcel()
75 return NO_ERROR; in readFromParcel()
80 if (err != NO_ERROR) { in writeToParcel()
84 if (err != NO_ERROR) { in writeToParcel()
[all …]
DISurfaceComposer.cpp94 if (data.writeVectorSize(listenerCallbacks) == NO_ERROR) { in setTransactionState()
128 if (result != NO_ERROR) { in captureScreen()
133 if (result != NO_ERROR) { in captureScreen()
151 if (result != NO_ERROR) { in captureScreen()
156 if (result != NO_ERROR) { in captureScreen()
186 if (result != NO_ERROR) { in captureLayers()
191 if (result != NO_ERROR) { in captureLayers()
206 int err = NO_ERROR; in authenticateSurfaceTexture()
209 if (err != NO_ERROR) { in authenticateSurfaceTexture()
215 if (err != NO_ERROR) { in authenticateSurfaceTexture()
[all …]
DIGraphicBufferProducer.cpp93 if (result != NO_ERROR) { in requestBuffer()
100 if(result != NO_ERROR) { in requestBuffer()
116 if (result != NO_ERROR) { in setMaxDequeuedBufferCount()
130 if (result != NO_ERROR) { in setAsyncMode()
151 if (result != NO_ERROR) { in dequeueBuffer()
158 if (result != NO_ERROR) { in dequeueBuffer()
169 if (result != NO_ERROR) { in dequeueBuffer()
175 if (result != NO_ERROR) { in dequeueBuffer()
190 if (result != NO_ERROR) { in detachBuffer()
209 if (result != NO_ERROR) { in detachNextBuffer()
[all …]
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp33 status_t err = NO_ERROR; in setNativeWindowSizeFormatAndUsage()
38 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
44 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
51 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
57 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
73 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
80 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
82 err = NO_ERROR; in setNativeWindowSizeFormatAndUsage()
92 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
101 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage()
[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.cpp68 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
79 ASSERT_EQ(NO_ERROR, t.setLayer(mSurfaceControl, 0x7fffffff) in SetUp()
111 EXPECT_EQ(NO_ERROR, err); in TEST_F()
124 EXPECT_EQ(NO_ERROR, err); in TEST_F()
140 ASSERT_EQ(NO_ERROR, in TEST_F()
144 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), in TEST_F()
149 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
151 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F()
159 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
160 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp251 if (status != NO_ERROR) { in getOutputForAttr()
255 if (status != NO_ERROR) { in getOutputForAttr()
259 if (status != NO_ERROR) { in getOutputForAttr()
342 if (status != NO_ERROR) { in getInputForAttr()
346 if (status != NO_ERROR) { in getInputForAttr()
352 return NO_ERROR; in getInputForAttr()
432 if (status != NO_ERROR) { in setVolumeIndexForAttributes()
445 if (status != NO_ERROR) { in getVolumeIndexForAttributes()
449 if (status != NO_ERROR) { in getVolumeIndexForAttributes()
453 return NO_ERROR; in getVolumeIndexForAttributes()
[all …]
DIAudioTrack.cpp63 if (status == NO_ERROR) { in getCblk()
77 if (status == NO_ERROR) { in start()
112 if (status == NO_ERROR) { in attachAuxEffect()
125 if (status == NO_ERROR) { in setParameters()
138 if (status == NO_ERROR) { in selectPresentation()
148 if (status == NO_ERROR) { in getTimestamp()
150 if (status == NO_ERROR) { in getTimestamp()
175 if (status != NO_ERROR) { in applyVolumeShaper()
183 if (status != NO_ERROR) { in applyVolumeShaper()
200 if (status != NO_ERROR) { in getVolumeShaperState()
[all …]
DIAudioFlinger.cpp120 if (lStatus != NO_ERROR) { in createTrack()
126 if (*status != NO_ERROR) { in createTrack()
155 if (lStatus != NO_ERROR) { in createRecord()
161 if (*status != NO_ERROR) { in createRecord()
254 if (status != NO_ERROR) { in setMasterBalance()
265 if (status != NO_ERROR) { in getMasterBalance()
269 if (status != NO_ERROR) { in getMasterBalance()
273 return NO_ERROR; in getMasterBalance()
411 if (status != NO_ERROR) { in openOutput()
416 if (status != NO_ERROR) { in openOutput()
[all …]
/frameworks/native/libs/incidentcompanion/src/
DIncidentManager.cpp39 if (err != NO_ERROR) { in writeToParcel()
45 if (err != NO_ERROR) { in writeToParcel()
51 if (err != NO_ERROR) { in writeToParcel()
56 if (err != NO_ERROR) { in writeToParcel()
62 if (err != NO_ERROR) { in writeToParcel()
67 return NO_ERROR; in writeToParcel()
75 if (err != NO_ERROR) { in readFromParcel()
80 if (err != NO_ERROR) { in readFromParcel()
85 if (err != NO_ERROR) { in readFromParcel()
99 return NO_ERROR; in readFromParcel()
[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/native/libs/binder/tests/
DbinderLibTest.cpp197 EXPECT_EQ(NO_ERROR, ret); in addServerEtc()
203 EXPECT_EQ(NO_ERROR, ret); in addServerEtc()
294 ret = m_eventTriggered ? NO_ERROR : TIMED_OUT; in waitEvent()
340 if (status != NO_ERROR) { in onTransact()
344 return NO_ERROR; in onTransact()
364 EXPECT_EQ(NO_ERROR, ret); in onTransact()
366 return NO_ERROR; in onTransact()
390 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
409 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
411 EXPECT_EQ(NO_ERROR, ret); in TEST_F()
[all …]
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp53 if (err != NO_ERROR) { in writeToParcel()
58 if (err != NO_ERROR) { in writeToParcel()
64 if (err != NO_ERROR) { in writeToParcel()
70 if (err != NO_ERROR) { in writeToParcel()
76 if (err != NO_ERROR) { in writeToParcel()
82 if (err != NO_ERROR) { in writeToParcel()
87 if (err != NO_ERROR) { in writeToParcel()
92 if (err != NO_ERROR) { in writeToParcel()
96 return NO_ERROR; in writeToParcel()
106 if (err != NO_ERROR) { in readFromParcel()
[all …]
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp278 if (ret == NO_ERROR) { in getMetrics()
376 if (status != NO_ERROR) { in getRoutedDeviceId()
405 || (status = (status_t)reply.readInt32()) != NO_ERROR) { in getActiveMicrophones()
418 return status == NO_ERROR ? (status_t)reply.readInt32() : status; in setPreferredMicrophoneDirection()
427 return status == NO_ERROR ? (status_t)reply.readInt32() : status; in setPreferredMicrophoneFieldDimension()
440 || (status = (status_t)reply.readInt32()) != NO_ERROR) { in getPortId()
445 return NO_ERROR; in getPortId()
462 return NO_ERROR; in onTransact()
468 return NO_ERROR; in onTransact()
474 return NO_ERROR; in onTransact()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp61 .WillRepeatedly(Return(NO_ERROR)); in RenderSurfaceTest()
90 EXPECT_CALL(*mNativeWindow, connect(NATIVE_WINDOW_API_EGL)).WillOnce(Return(NO_ERROR)); in TEST_F()
92 .WillOnce(Return(NO_ERROR)); in TEST_F()
93 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
136 .WillOnce(Return(NO_ERROR)); in TEST_F()
148 .WillOnce(Return(NO_ERROR)); in TEST_F()
156 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
165 .WillOnce(Return(NO_ERROR)); in TEST_F()
166 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
187 EXPECT_CALL(*mDisplaySurface, beginFrame(true)).WillOnce(Return(NO_ERROR)); in TEST_F()
[all …]
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp107 return NO_ERROR; in strip_field()
115 if (err != NO_ERROR) { in strip_field()
123 return NO_ERROR; in strip_field()
196 return NO_ERROR; in strip()
201 if (err != NO_ERROR) { in strip()
216 return NO_ERROR; in strip()
220 status_t err = NO_ERROR; in writeData()
225 return NO_ERROR; in writeData()
228 err = WriteFully(fd, reader->readBuffer(), reader->currentToRead()) ? NO_ERROR : -errno; in writeData()
230 if (err != NO_ERROR) return err; in writeData()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp60 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in initClient()
68 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(mDisplay, &info)); in setupBackgroundSurface()
81 ASSERT_EQ(NO_ERROR, in setupBackgroundSurface()
99 ASSERT_EQ(NO_ERROR, in setupVirtualDisplay()
189 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(display, &info)); in TEST_F()
192 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayConfigs(display, &configs)); in TEST_F()
194 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getActiveConfig(display)); in TEST_F()
206 ASSERT_NO_FATAL_FAILURE(checkWithPrivileges<status_t>(condition, NO_ERROR, NO_ERROR)); in TEST_F()
215 ASSERT_NO_FATAL_FAILURE(checkWithPrivileges<status_t>(condition, NO_ERROR, NO_ERROR)); in TEST_F()
223 ASSERT_NO_FATAL_FAILURE(checkWithPrivileges<status_t>(condition, NO_ERROR, PERMISSION_DENIED)); in TEST_F()
[all …]
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp122 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
123 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
124 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
125 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
139 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
140 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
141 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
142 ASSERT_EQ(execution2.compute(), Result::NO_ERROR); in TEST_F()
150 ASSERT_EQ(execution3.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
151 ASSERT_EQ(execution3.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
[all …]

12345678910>>...25