/frameworks/native/include/utils/ |
H A D | Functor.h | 28 virtual status_t operator ()(int what, void* data) { return NO_ERROR; }
|
H A D | Errors.h | 39 // Win32 #defines NO_ERROR as well. It has the same value, so there's no 42 # undef NO_ERROR macro 47 NO_ERROR = 0, // No errors. enumerator in enum:android::__anon1429 81 # define NO_ERROR 0L macro
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 33 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 42 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); 43 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 64 EXPECT_EQ(NO_ERROR, err); 75 EXPECT_EQ(NO_ERROR, err); 88 ASSERT_EQ(NO_ERROR, sf->captureScreen(0, &heap, &w, &h, &fmt, 64, 64, 0, 95 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 97 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); 105 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); 106 ASSERT_EQ(NO_ERROR, an [all...] |
/frameworks/base/voip/java/android/net/sip/ |
H A D | SipErrorCode.java | 28 public static final int NO_ERROR = 0; field in class:SipErrorCode 68 case NO_ERROR: 69 return "NO_ERROR";
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardwareBase.cpp | 48 access(kWakeFileName, R_OK) == 0)) ? NO_ERROR : NO_INIT; 53 if (waitForFbSleep() == NO_ERROR) { 59 if (waitForFbWake() == NO_ERROR) { 82 return err < 0 ? -errno : int(NO_ERROR); 95 return err < 0 ? -errno : int(NO_ERROR); 108 if (mDisplayEventThread->initCheck() == NO_ERROR) {
|
H A D | PowerHAL.cpp | 38 return mPowerModule ? NO_ERROR : NO_INIT; 54 return NO_ERROR;
|
/frameworks/av/media/libmedia/ |
H A D | IAudioTrack.cpp | 58 if (status == NO_ERROR) { 69 if (status == NO_ERROR) { 112 if (status == NO_ERROR) { 126 if (status == NO_ERROR) { 128 if (status == NO_ERROR) { 143 if (status == NO_ERROR) { 160 if (status == NO_ERROR) { 178 return NO_ERROR; 183 return NO_ERROR; 188 return NO_ERROR; [all...] |
H A D | IAudioRecord.cpp | 52 if (status == NO_ERROR) { 73 if (status == NO_ERROR) { 91 return NO_ERROR; 98 return NO_ERROR; 103 return NO_ERROR;
|
H A D | IMediaRecorder.cpp | 297 return NO_ERROR; 303 return NO_ERROR; 309 return NO_ERROR; 315 return NO_ERROR; 321 return NO_ERROR; 327 return NO_ERROR; 333 return NO_ERROR; 342 return NO_ERROR; 349 return NO_ERROR; 356 return NO_ERROR; [all...] |
H A D | Visualizer.cpp | 74 if (status == NO_ERROR) { 121 return NO_ERROR; 148 if (status == NO_ERROR) { 150 if (status == NO_ERROR) { 177 if (status == NO_ERROR) { 179 if (status == NO_ERROR) { 196 status_t status = NO_ERROR; 201 if ((status == NO_ERROR) && (replySize == 0)) { 220 status_t status = NO_ERROR; 224 if (status == NO_ERROR) { [all...] |
H A D | IMediaMetadataRetriever.cpp | 130 if (ret != NO_ERROR) { 145 if (ret != NO_ERROR) { 161 if (ret != NO_ERROR) { 179 return NO_ERROR; 196 return NO_ERROR; 204 return NO_ERROR; 216 reply->writeInt32(NO_ERROR); 224 return NO_ERROR; 233 reply->writeInt32(NO_ERROR); 241 return NO_ERROR; [all...] |
H A D | IAudioFlinger.cpp | 117 if (lStatus != NO_ERROR) { 160 if (lStatus != NO_ERROR) { 505 if (status == NO_ERROR) { 533 if (status == NO_ERROR) { 560 if (status != NO_ERROR) { 564 if (status != NO_ERROR) { 570 return NO_ERROR; 582 if (status != NO_ERROR) { 586 if (status != NO_ERROR) { 590 return NO_ERROR; [all...] |
H A D | AudioEffect.cpp | 75 if (stringToGuid(typeStr, &type) == NO_ERROR) { 81 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) { 140 if (iEffect == 0 || (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS)) { 172 if (mStatus == NO_ERROR || mStatus == ALREADY_EXISTS) { 204 if (mStatus != NO_ERROR) { 208 status_t status = NO_ERROR; 219 if (status == NO_ERROR) { 232 if (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS) { 239 return NO_ERROR; 250 if (status == NO_ERROR) { [all...] |
H A D | AudioRecord.cpp | 56 != NO_ERROR) { 75 return NO_ERROR; 106 if (mStatus == NO_ERROR) { 187 if (status != NO_ERROR) { 205 if (status != NO_ERROR) { 213 mStatus = NO_ERROR; 236 return NO_ERROR; 284 status_t ret = NO_ERROR; 335 if (ret == NO_ERROR) { 341 // thread unblocks in readyToRun() and returns NO_ERROR [all...] |
H A D | IEffect.cpp | 88 if (status != NO_ERROR) { 118 if (status == NO_ERROR) { 137 return NO_ERROR; 144 return NO_ERROR; 178 return NO_ERROR; 185 return NO_ERROR; 191 return NO_ERROR;
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 37 public static final int NO_ERROR = 1; field in class:KeyStore 54 private int mError = NO_ERROR; 65 case NO_ERROR: return State.UNLOCKED; 83 return mError == NO_ERROR; 92 return mError == NO_ERROR; 101 return mError == NO_ERROR; 127 return mError == NO_ERROR; 132 return mError == NO_ERROR; 141 return mError == NO_ERROR; 146 return mError == NO_ERROR; [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 61 m_status(NO_ERROR), 89 return NO_ERROR; 95 if (m_status != NO_ERROR) { 156 if (m_status != NO_ERROR) { 173 return NO_ERROR; 186 m_status(NO_ERROR), 220 if (err != NO_ERROR) { \ 231 if (m_status != NO_ERROR) { 240 return NO_ERROR; 242 else if (amt != NO_ERROR) { [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceTextureLayer.cpp | 39 if (err == NO_ERROR) { 57 if (err != NO_ERROR) {
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 30 if (err < NO_ERROR) return err; 36 if (err < NO_ERROR) return err; 53 if (err < NO_ERROR) return err; 59 return NO_ERROR;
|
H A D | ISurfaceTexture.cpp | 59 if (result != NO_ERROR) { 77 if (result != NO_ERROR) { 93 if (result != NO_ERROR) { 108 if (result != NO_ERROR) { 128 if (result != NO_ERROR) { 141 if (result != NO_ERROR) { 153 if (result != NO_ERROR) { 166 if (result != NO_ERROR) { 192 return NO_ERROR; 199 return NO_ERROR; [all...] |
H A D | DisplayEventReceiver.cpp | 49 return NO_ERROR; 66 return NO_ERROR; 74 return NO_ERROR;
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 36 ASSERT_EQ(NO_ERROR, s->lock(&info)); 47 ASSERT_EQ(NO_ERROR, s->unlockAndPost()); 59 ASSERT_EQ(NO_ERROR, sf->captureScreen(0, &heap, &w, &h, &fmt, 0, 0, 93 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 124 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2)); 125 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show()); 127 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1)); 128 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64)); 129 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show()); 131 ASSERT_EQ(NO_ERROR, mSyncSurfaceContro [all...] |
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 36 return NO_ERROR; 45 return NO_ERROR;
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareStub.cpp | 59 if (setParameters(p) != NO_ERROR) { 106 return NO_ERROR; 192 return NO_ERROR; 203 return NO_ERROR; 258 return NO_ERROR; 266 return NO_ERROR; 271 return NO_ERROR; 302 return NO_ERROR; 310 return NO_ERROR; 315 return NO_ERROR; [all...] |
/frameworks/av/camera/ |
H A D | ICamera.cpp | 283 return NO_ERROR; 290 return NO_ERROR; 297 return NO_ERROR; 304 return NO_ERROR; 310 return NO_ERROR; 316 return NO_ERROR; 322 return NO_ERROR; 328 return NO_ERROR; 335 return NO_ERROR; 342 return NO_ERROR; [all...] |