Searched refs:NO_ERROR (Results 1 - 25 of 221) sorted by relevance

123456789

/frameworks/native/include/utils/
H A DFunctor.h28 virtual status_t operator ()(int what, void* data) { return NO_ERROR; }
H A DErrors.h39 // 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::__anon1394
81 # define NO_ERROR 0L macro
/frameworks/base/voip/java/android/net/sip/
H A DSipErrorCode.java28 public static final int NO_ERROR = 0; field in class:SipErrorCode
68 case NO_ERROR:
69 return "NO_ERROR";
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp33 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);
89 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 64, 64, 0,
96 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(),
98 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3));
106 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0));
107 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wai
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp48 return NO_ERROR;
51 return err < 0 ? -errno : status_t(NO_ERROR);
57 return NO_ERROR;
65 return err < 0 ? -errno : status_t(NO_ERROR);
104 return NO_ERROR;
118 return NO_ERROR;
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp58 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 DIAudioRecord.cpp52 if (status == NO_ERROR) {
73 if (status == NO_ERROR) {
91 return NO_ERROR;
98 return NO_ERROR;
103 return NO_ERROR;
H A DIMediaRecorder.cpp297 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 DIMediaMetadataRetriever.cpp130 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 DIAudioFlinger.cpp119 if (lStatus != NO_ERROR) {
164 if (lStatus != NO_ERROR) {
512 if (status == NO_ERROR) {
540 if (status == NO_ERROR) {
567 if (status != NO_ERROR) {
571 if (status != NO_ERROR) {
577 return NO_ERROR;
589 if (status != NO_ERROR) {
593 if (status != NO_ERROR) {
597 return NO_ERROR;
[all...]
H A DVisualizer.cpp74 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 DAudioEffect.cpp75 if (stringToGuid(typeStr, &type) == NO_ERROR) {
81 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) {
133 if (iEffect == 0 || (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS)) {
165 if (mStatus == NO_ERROR || mStatus == ALREADY_EXISTS) {
197 if (mStatus != NO_ERROR) {
201 status_t status = NO_ERROR;
212 if (status == NO_ERROR) {
225 if (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS) {
232 return NO_ERROR;
243 if (status == NO_ERROR) {
[all...]
H A DIEffect.cpp88 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/libs/androidfw/
H A DBackupData.cpp61 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/DisplayHardware/
H A DPowerHAL.cpp38 return mPowerModule ? NO_ERROR : NO_INIT;
54 return NO_ERROR;
H A DFramebufferSurface.cpp78 return NO_ERROR;
79 } else if (err != NO_ERROR) {
97 if (err != NO_ERROR && err != BufferQueue::STALE_BUFFER_SLOT) {
106 return NO_ERROR;
114 if (err != NO_ERROR) {
120 if (err != NO_ERROR) {
133 status_t err = NO_ERROR;
/frameworks/native/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp39 if (err == NO_ERROR) {
57 if (err != NO_ERROR) {
/frameworks/native/libs/gui/
H A DLayerState.cpp30 if (err < NO_ERROR) return err;
44 if (err < NO_ERROR) return err;
50 return NO_ERROR;
72 return NO_ERROR;
83 return NO_ERROR;
H A DDisplayEventReceiver.cpp49 return NO_ERROR;
66 return NO_ERROR;
74 return NO_ERROR;
H A DISurfaceTexture.cpp59 if (result != NO_ERROR) {
77 if (result != NO_ERROR) {
93 if (result != NO_ERROR) {
114 if (result != NO_ERROR) {
139 if (result != NO_ERROR) {
152 if (result != NO_ERROR) {
164 if (result != NO_ERROR) {
177 if (result != NO_ERROR) {
203 return NO_ERROR;
210 return NO_ERROR;
[all...]
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp37 ASSERT_EQ(NO_ERROR, s->lock(&info));
48 ASSERT_EQ(NO_ERROR, s->unlockAndPost());
61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0,
95 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck());
131 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2));
132 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show());
134 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1));
135 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64));
136 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show());
138 ASSERT_EQ(NO_ERROR, mSyncSurfaceContro
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java39 public static final int NO_ERROR = 1; field in class:KeyStore
56 private int mError = NO_ERROR;
67 case NO_ERROR: return State.UNLOCKED;
85 return mError == NO_ERROR;
94 return mError == NO_ERROR;
103 return mError == NO_ERROR;
129 return mError == NO_ERROR;
134 return mError == NO_ERROR;
143 return mError == NO_ERROR;
148 return mError == NO_ERROR;
[all...]
/frameworks/base/libs/storage/
H A DIMountServiceListener.cpp36 return NO_ERROR;
45 return NO_ERROR;
H A DIMountService.cpp68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) {
84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) {
99 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) {
116 if (remote()->transact(TRANSACTION_setUsbMassStorageEnabled, data, &reply) != NO_ERROR) {
131 if (remote()->transact(TRANSACTION_isUsbMassStorageEnabled, data, &reply) != NO_ERROR) {
148 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) {
167 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) {
184 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) {
201 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) {
223 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) {
[all...]
/frameworks/av/camera/
H A DICamera.cpp283 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...]

Completed in 295 milliseconds

123456789