/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 30 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() 104 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 31 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 …]
|
D | Surface_test.cpp | 43 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() 103 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), in TEST_F() 108 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F() 110 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F() 118 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 30 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 …]
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferProducer.cpp | 76 if (result != NO_ERROR) { in requestBuffer() 83 if(result != NO_ERROR) { in requestBuffer() 99 if (result != NO_ERROR) { in setMaxDequeuedBufferCount() 113 if (result != NO_ERROR) { in setAsyncMode() 129 if (result != NO_ERROR) { in dequeueBuffer() 137 if (result != NO_ERROR) { in dequeueBuffer() 151 if (result != NO_ERROR) { in detachBuffer() 170 if (result != NO_ERROR) { in detachNextBuffer() 174 if (result == NO_ERROR) { in detachNextBuffer() 179 if (result != NO_ERROR) { in detachNextBuffer() [all …]
|
D | IGraphicBufferConsumer.cpp | 77 if (result != NO_ERROR) { in acquireBuffer() 81 if (result != NO_ERROR) { in acquireBuffer() 92 if (result != NO_ERROR) { in detachBuffer() 104 if (result != NO_ERROR) { in attachBuffer() 121 if (result != NO_ERROR) { in releaseBuffer() 133 if (result != NO_ERROR) { in consumerConnect() 143 if (result != NO_ERROR) { in consumerDisconnect() 157 if (result != NO_ERROR) { in getReleasedBuffers() 170 if (result != NO_ERROR) { in setDefaultBufferSize() 181 if (result != NO_ERROR) { in setMaxBufferCount() [all …]
|
D | ISurfaceComposer.cpp | 130 int err = NO_ERROR; in authenticateSurfaceTexture() 133 if (err != NO_ERROR) { in authenticateSurfaceTexture() 139 if (err != NO_ERROR) { in authenticateSurfaceTexture() 146 if (err != NO_ERROR) { in authenticateSurfaceTexture() 153 if (err != NO_ERROR) { in authenticateSurfaceTexture() 167 if (err != NO_ERROR) { in createDisplayEventConnection() 173 if (err != NO_ERROR) { in createDisplayEventConnection() 226 if (result == NO_ERROR) { in getDisplayConfigs() 247 if (result == NO_ERROR) { in getDisplayStats() 278 if (result != NO_ERROR) { in getDisplayColorModes() [all …]
|
D | IConsumerListener.cpp | 70 if (result != NO_ERROR) { in getFrameTimestamps() 75 if (result != NO_ERROR) { in getFrameTimestamps() 80 if (result != NO_ERROR) { in getFrameTimestamps() 86 if (result != NO_ERROR) { in getFrameTimestamps() 92 if (result != NO_ERROR) { in getFrameTimestamps() 119 return NO_ERROR; } in onTransact() 123 return NO_ERROR; } in onTransact() 127 return NO_ERROR; } in onTransact() 132 if (result != NO_ERROR) { in onTransact() 139 if (result != NO_ERROR) { in onTransact() [all …]
|
D | ISurfaceComposerClient.cpp | 104 if (result != NO_ERROR) { in getTransformToDisplayInverse() 108 if (result != NO_ERROR) { in getTransformToDisplayInverse() 112 if (result != NO_ERROR) { in getTransformToDisplayInverse() 117 if (result != NO_ERROR) { in getTransformToDisplayInverse() 122 if (result2 != NO_ERROR) { in getTransformToDisplayInverse() 155 return NO_ERROR; in onTransact() 160 return NO_ERROR; in onTransact() 167 return NO_ERROR; in onTransact() 176 return NO_ERROR; in onTransact() 182 if (result != NO_ERROR) { in onTransact() [all …]
|
/frameworks/av/radio/ |
D | IRadio.cpp | 69 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/ |
D | inspect.cpp | 52 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/av/media/libmedia/ |
D | IAudioFlinger.cpp | 141 if (lStatus != NO_ERROR) { in createTrack() 158 if (lStatus == NO_ERROR) { in createTrack() 217 if (lStatus != NO_ERROR) { in openRecord() 246 if (lStatus == NO_ERROR) { in openRecord() 261 if (lStatus != NO_ERROR) { in openRecord() 471 if (status != NO_ERROR) { in openOutput() 476 if (status != NO_ERROR) { in openOutput() 485 return NO_ERROR; in openOutput() 547 if (status != NO_ERROR) { in openInput() 552 if (status != NO_ERROR) { in openInput() [all …]
|
D | IAudioTrack.cpp | 58 if (status == NO_ERROR) { in getCblk() 72 if (status == NO_ERROR) { in start() 107 if (status == NO_ERROR) { in attachAuxEffect() 120 if (status == NO_ERROR) { in setParameters() 130 if (status == NO_ERROR) { in getTimestamp() 132 if (status == NO_ERROR) { in getTimestamp() 159 return NO_ERROR; in onTransact() 164 return NO_ERROR; in onTransact() 169 return NO_ERROR; in onTransact() 174 return NO_ERROR; in onTransact() [all …]
|
D | IAudioPolicyService.cpp | 228 if (status != NO_ERROR) { in getOutputForAttr() 232 if (status != NO_ERROR) { in getOutputForAttr() 311 if (status != NO_ERROR) { in getInputForAttr() 315 if (status != NO_ERROR) { in getInputForAttr() 319 return NO_ERROR; in getInputForAttr() 499 if (status != NO_ERROR) { in queryDefaultPreProcessing() 538 if (status == NO_ERROR) { in listAudioPorts() 542 if (status == NO_ERROR) { in listAudioPorts() 563 if (status != NO_ERROR || in getAudioPort() 564 (status = (status_t)reply.readInt32()) != NO_ERROR) { in getAudioPort() [all …]
|
D | Visualizer.cpp | 80 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/ |
D | binderLibTest.cpp | 174 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/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 98 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/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 42 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); in fillSurfaceRGBA8() 53 ASSERT_EQ(NO_ERROR, s->unlockAndPost()); in fillSurfaceRGBA8() 71 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), 0, 0, in captureScreen() 91 EXPECT_EQ(NO_ERROR, mCC->lockNextBuffer(&mBuf)); in ScreenCapture() 106 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp() 144 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2)); in SetUp() 145 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show()); in SetUp() 147 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1)); in SetUp() 148 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64)); in SetUp() 149 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show()); in SetUp() [all …]
|
/frameworks/base/libs/androidfw/ |
D | BackupData.cpp | 55 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/ |
D | Split_test.cpp | 67 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/base/libs/storage/ |
D | IMountService.cpp | 68 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/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 95 return NO_ERROR; in beginFrame() 99 return NO_ERROR; in prepareFrame() 108 if (result != NO_ERROR) { in advanceFrame() 114 if (result != NO_ERROR) { in advanceFrame() 122 return NO_ERROR; in advanceFrame() 138 return NO_ERROR; in nextBuffer() 139 } else if (err != NO_ERROR) { in nextBuffer() 162 if (err < NO_ERROR) { in nextBuffer() 177 return NO_ERROR; in nextBuffer() 186 if (err != NO_ERROR) { in nextBuffer() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceFilter_test.cpp | 32 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/camera/ |
D | ICamera.cpp | 318 return NO_ERROR; in onTransact() 326 return NO_ERROR; in onTransact() 333 return NO_ERROR; in onTransact() 341 return NO_ERROR; in onTransact() 347 return NO_ERROR; in onTransact() 353 return NO_ERROR; in onTransact() 359 return NO_ERROR; in onTransact() 365 return NO_ERROR; in onTransact() 372 return NO_ERROR; in onTransact() 379 return NO_ERROR; in onTransact() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfile.cpp | 37 return NO_ERROR; in checkExact() 70 return NO_ERROR; in checkCompatibleSamplingRate() 83 return NO_ERROR; in checkCompatibleSamplingRate() 91 return NO_ERROR; in checkCompatibleSamplingRate() 105 return NO_ERROR; in checkCompatibleChannelMask() 116 return NO_ERROR; in checkCompatibleChannelMask() 182 return bestMatch > 0 ? NO_ERROR : BAD_VALUE; in checkCompatibleChannelMask() 233 return NO_ERROR; in checkExactProfile() 238 if (profile->checkExact(samplingRate, channelMask, format) == NO_ERROR) { in checkExactProfile() 239 return NO_ERROR; in checkExactProfile() [all …]
|