/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 41 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp() 50 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); in SetUp() 51 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp() 72 EXPECT_EQ(NO_ERROR, err); in TEST_F() 83 EXPECT_EQ(NO_ERROR, err); in TEST_F() 98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F() 104 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F() 106 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F() 114 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F() 115 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 30 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F() 32 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 36 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 48 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 51 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 60 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 67 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 71 ASSERT_EQ(NO_ERROR, buf->unlock()); in TEST_F() 72 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F() 75 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
|
D | SurfaceTextureGL_test.cpp | 31 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F() 33 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 37 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 48 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 51 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 77 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F() 79 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 83 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 94 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 97 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() [all …]
|
D | SurfaceTextureGLThreadToGL_test.cpp | 37 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 57 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 83 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 113 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 154 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 173 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 174 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 181 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
|
/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 | IAudioTrack.cpp | 61 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 …]
|
D | IAudioFlinger.cpp | 135 if (lStatus != NO_ERROR) { in createTrack() 152 if (lStatus == NO_ERROR) { in createTrack() 205 if (lStatus != NO_ERROR) { in openRecord() 234 if (lStatus == NO_ERROR) { in openRecord() 249 if (lStatus != NO_ERROR) { in openRecord() 457 if (status != NO_ERROR) { in openOutput() 462 if (status != NO_ERROR) { in openOutput() 471 return NO_ERROR; in openOutput() 533 if (status != NO_ERROR) { in openInput() 538 if (status != NO_ERROR) { in openInput() [all …]
|
D | IAudioPolicyService.cpp | 215 if (status != NO_ERROR) { in getOutputForAttr() 219 if (status != NO_ERROR) { in getOutputForAttr() 292 if (status != NO_ERROR) { in getInputForAttr() 296 if (status != NO_ERROR) { in getInputForAttr() 300 return NO_ERROR; in getInputForAttr() 480 if (status != NO_ERROR) { in queryDefaultPreProcessing() 519 if (status == NO_ERROR) { in listAudioPorts() 523 if (status == NO_ERROR) { in listAudioPorts() 544 if (status != NO_ERROR || in getAudioPort() 545 (status = (status_t)reply.readInt32()) != NO_ERROR) { in getAudioPort() [all …]
|
D | Visualizer.cpp | 83 if (status == NO_ERROR) { in setEnabled() 129 return NO_ERROR; in setCaptureCallBack() 156 if (status == NO_ERROR) { in setCaptureSize() 158 if (status == NO_ERROR) { in setCaptureSize() 185 if (status == NO_ERROR) { in setScalingMode() 187 if (status == NO_ERROR) { in setScalingMode() 215 if (status == NO_ERROR) { in setMeasurementMode() 217 if (status == NO_ERROR) { in setMeasurementMode() 244 status_t status = NO_ERROR; in getIntMeasurements() 252 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 36 public static final int NO_ERROR = 1; field in KeyStore 57 private int mError = NO_ERROR; 93 case NO_ERROR: return State.UNLOCKED; in state() 115 return mBinder.insert(key, value, uid, flags) == NO_ERROR; in put() 124 return mBinder.del(key, uid) == NO_ERROR; in delete() 137 return mBinder.exist(key, uid) == NO_ERROR; in contains() 163 return mBinder.reset() == NO_ERROR; in reset() 172 return mBinder.password(password) == NO_ERROR; in password() 181 return mBinder.lock() == NO_ERROR; in lock() 191 return mError == NO_ERROR; in unlock() [all …]
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferConsumer.cpp | 142 return NO_ERROR; in flatten() 184 return NO_ERROR; in unflatten() 223 if (result != NO_ERROR) { in acquireBuffer() 227 if (result != NO_ERROR) { in acquireBuffer() 238 if (result != NO_ERROR) { in detachBuffer() 250 if (result != NO_ERROR) { in attachBuffer() 267 if (result != NO_ERROR) { in releaseBuffer() 279 if (result != NO_ERROR) { in consumerConnect() 289 if (result != NO_ERROR) { in consumerDisconnect() 303 if (result != NO_ERROR) { in getReleasedBuffers() [all …]
|
D | ISurfaceComposer.cpp | 132 int err = NO_ERROR; in authenticateSurfaceTexture() 135 if (err != NO_ERROR) { in authenticateSurfaceTexture() 141 if (err != NO_ERROR) { in authenticateSurfaceTexture() 148 if (err != NO_ERROR) { in authenticateSurfaceTexture() 155 if (err != NO_ERROR) { in authenticateSurfaceTexture() 169 if (err != NO_ERROR) { in createDisplayEventConnection() 175 if (err != NO_ERROR) { in createDisplayEventConnection() 228 if (result == NO_ERROR) { in getDisplayConfigs() 249 if (result == NO_ERROR) { in getDisplayStats() 304 return NO_ERROR; in onTransact() [all …]
|
D | IGraphicBufferProducer.cpp | 64 if (result != NO_ERROR) { in requestBuffer() 71 if(result != NO_ERROR) { in requestBuffer() 86 if (result != NO_ERROR) { in setBufferCount() 103 if (result != NO_ERROR) { in dequeueBuffer() 121 if (result != NO_ERROR) { in detachBuffer() 140 if (result != NO_ERROR) { in detachNextBuffer() 144 if (result == NO_ERROR) { in detachNextBuffer() 164 if (result != NO_ERROR) { in attachBuffer() 179 if (result != NO_ERROR) { in queueBuffer() 200 if (result != NO_ERROR) { in query() [all …]
|
/frameworks/base/libs/androidfw/ |
D | BackupData.cpp | 61 m_status(NO_ERROR), in BackupDataWriter() 90 return NO_ERROR; in write_padding_for() 96 if (m_status != NO_ERROR) { in WriteEntityHeader() 157 if (m_status != NO_ERROR) { in WriteEntityData() 174 return NO_ERROR; in WriteEntityData() 187 m_status(NO_ERROR), in BackupDataReader() 222 if (err != NO_ERROR) { \ 233 if (m_status != NO_ERROR) { in ReadNextHeader() 242 return NO_ERROR; in ReadNextHeader() 244 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/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 101 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/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() 223 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState() [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 130 return NO_ERROR; in configureSignals() 176 if (err != NO_ERROR) { in prepareEncoder() 186 if (err != NO_ERROR) { in prepareEncoder() 195 if (err != NO_ERROR) { in prepareEncoder() 281 return NO_ERROR; in setDisplayProjection() 302 return NO_ERROR; in prepareVirtualDisplay() 329 if (err != NO_ERROR) { in runEncoder() 355 case NO_ERROR: in runEncoder() 377 if (err != NO_ERROR) { in runEncoder() 415 if (err != NO_ERROR) { in runEncoder() [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/soundtrigger/ |
D | ISoundTrigger.cpp | 63 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/tests/ |
D | Transaction_test.cpp | 37 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); in fillSurfaceRGBA8() 48 ASSERT_EQ(NO_ERROR, s->unlockAndPost()); in fillSurfaceRGBA8() 61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0, in captureScreen() 95 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp() 131 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2)); in SetUp() 132 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show()); in SetUp() 134 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1)); in SetUp() 135 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64)); in SetUp() 136 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show()); in SetUp() 138 ASSERT_EQ(NO_ERROR, mSyncSurfaceControl->setLayer(INT_MAX-1)); in SetUp() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 72 return NO_ERROR; in beginFrame() 76 return NO_ERROR; in prepareFrame() 83 return NO_ERROR; in advanceFrame() 93 return NO_ERROR; in nextBuffer() 94 } else if (err != NO_ERROR) { in nextBuffer() 112 if (err < NO_ERROR) { in nextBuffer() 121 return NO_ERROR; in nextBuffer() 129 if (err != NO_ERROR) { in onFrameAvailable() 135 if (err != NO_ERROR) { in onFrameAvailable()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 142 if (callingPid == mClientPid) return NO_ERROR; in checkPid() 151 if (result != NO_ERROR) return result; in checkPidAndHardware() 156 return NO_ERROR; in checkPidAndHardware() 167 return NO_ERROR; in lock() 181 if (result == NO_ERROR) { in unlock() 201 if (mClientPid != 0 && checkPid() != NO_ERROR) { in connect() 210 return NO_ERROR; in connect() 218 return NO_ERROR; in connect() 225 if (result != NO_ERROR) { in disconnectWindow() 281 if (result != NO_ERROR) return result; in setPreviewWindow() [all …]
|
/frameworks/av/camera/ |
D | ICamera.cpp | 286 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 …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MidiFile.cpp | 108 return NO_ERROR; in initCheck() 146 return NO_ERROR; in setDataSource() 174 return NO_ERROR; in setDataSource() 190 return NO_ERROR; in prepare() 199 if (ret == NO_ERROR) { in prepareAsync() 232 return NO_ERROR; in start() 251 return NO_ERROR; in stop() 273 return NO_ERROR; in seekTo() 283 if ((mState == EAS_STATE_PAUSING) || (mState == EAS_STATE_PAUSED)) return NO_ERROR; in pause() 289 return NO_ERROR; in pause() [all …]
|