/frameworks/native/libs/gui/tests/ |
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, anw->dequeueBuffer(anw.get(), &buf)) [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXFocus.cpp | 42 status_t ret = NO_ERROR; 59 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mFocusAreas, tempAreas) ) { 82 status_t ret = NO_ERROR; 102 return NO_ERROR; 108 return NO_ERROR; 132 if (set3ALock(mUserSetExpLock, mUserSetWbLock, OMX_FALSE) != NO_ERROR) { 143 if ( NO_ERROR != ret ) { 203 if(ret != NO_ERROR) { 210 if ( NO_ERROR == ret ) { 238 return NO_ERROR; [all...] |
OMXCapture.cpp | 38 status_t ret = NO_ERROR; 280 status_t ret = NO_ERROR; 286 if ( NO_ERROR == ret ) 298 if ( ret == NO_ERROR ) 321 status_t ret = NO_ERROR; 338 if ( NO_ERROR == ret ) 351 if ( NO_ERROR == ret ) 380 status_t ret = NO_ERROR; 399 if ( NO_ERROR == ret ) 430 if ( NO_ERROR == ret [all...] |
OMXCapabilities.cpp | 231 status_t ret = NO_ERROR; 258 status_t ret = NO_ERROR; 311 status_t ret = NO_ERROR; 323 return NO_ERROR; 377 status_t res = NO_ERROR; 407 status_t ret = NO_ERROR; 434 status_t ret = NO_ERROR; 459 status_t ret = NO_ERROR; 472 if ( NO_ERROR != ret ) { 485 status_t ret = NO_ERROR; [all...] |
OMXZoom.cpp | 55 status_t ret = NO_ERROR; 88 status_t ret = NO_ERROR; 108 return NO_ERROR; 111 if ( NO_ERROR == ret ) 140 status_t ret = NO_ERROR; 184 if ( NO_ERROR == ret ) 189 if ( NO_ERROR == ret ) 216 if ( NO_ERROR == ret ) 240 status_t ret = NO_ERROR; 269 status_t ret = NO_ERROR; [all...] |
/development/tools/emulator/system/camera/ |
EmulatedCamera2.cpp | 104 return NO_ERROR; 112 return NO_ERROR; 116 return NO_ERROR; 133 return NO_ERROR; 137 return NO_ERROR; 144 return NO_ERROR; 148 return NO_ERROR; 154 return NO_ERROR; 158 return NO_ERROR; 161 return NO_ERROR; [all...] |
EmulatedQemuCameraDevice.cpp | 54 if (res != NO_ERROR) { 60 if (res == NO_ERROR) { 87 return NO_ERROR; 92 if (res == NO_ERROR) { 112 return NO_ERROR; 122 if (res == NO_ERROR) { 149 return NO_ERROR; 153 if (res != NO_ERROR) { 170 if (res == NO_ERROR) { 193 return NO_ERROR; [all...] |
/frameworks/av/media/libmedia/ |
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...] |
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...] |
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...] |
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...] |
IAudioRecord.cpp | 52 if (status == NO_ERROR) { 73 if (status == NO_ERROR) { 91 return NO_ERROR; 98 return NO_ERROR; 103 return NO_ERROR;
|
/hardware/ti/omap4xxx/camera/ |
BaseCameraAdapter.cpp | 83 status_t ret = NO_ERROR; 97 status_t ret = NO_ERROR; 111 status_t ret = NO_ERROR; 121 if ( NO_ERROR == ret ) 257 status_t res = NO_ERROR; 267 if ( NO_ERROR == res) 308 if ( NO_ERROR == res ) 329 status_t ret = NO_ERROR; 347 if ( ret == NO_ERROR ) 352 if ( ret == NO_ERROR ) [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 37 public static final int NO_ERROR = 1; 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/ |
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/libs/gui/ |
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...] |
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;
|
/frameworks/av/camera/ |
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...] |
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 82 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 138 status_t status = NO_ERROR; 143 if (param.get(key, value) == NO_ERROR) { 151 if (param.get(key, value) == NO_ERROR) { 161 if (status == NO_ERROR) { 177 if (param.get(key, value) == NO_ERROR) { 183 if (param.get(key, value) == NO_ERROR) { 265 return NO_ERROR; 359 int result = NO_ERROR; 379 status_t status = NO_ERROR; [all...] |
AudioHardwareGeneric.cpp | 61 if (::access(kAudioDeviceName, O_RDWR) == NO_ERROR) 62 return NO_ERROR; 86 if (lStatus == NO_ERROR) { 126 if (lStatus == NO_ERROR) { 144 return NO_ERROR; 157 return NO_ERROR; 163 return NO_ERROR; 175 return NO_ERROR; 187 return NO_ERROR; 226 return NO_ERROR; [all...] |
AudioHardwareStub.h | 38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } 42 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} 54 virtual status_t setGain(float gain) { return NO_ERROR; } 57 virtual status_t standby() { return NO_ERROR; } 58 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} 73 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } 74 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; }
|
/device/generic/goldfish/audio/ |
AudioHardwareGeneric.cpp | 58 if (::access(kAudioDeviceName, O_RDWR) == NO_ERROR) 59 return NO_ERROR; 83 if (lStatus == NO_ERROR) { 123 if (lStatus == NO_ERROR) { 141 return NO_ERROR; 154 return NO_ERROR; 160 return NO_ERROR; 172 return NO_ERROR; 184 return NO_ERROR; 223 return NO_ERROR; [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
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, mSyncSurfaceControl->setLayer(INT_MAX-1)) [all...] |
/frameworks/base/libs/storage/ |
IMountService.cpp | 68 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...] |
/hardware/ti/omap4xxx/libtiutils/ |
Semaphore.cpp | 54 @return NO_ERROR On Success 81 @return NO_ERROR On Success 89 status_t ret = NO_ERROR; 98 if ( NO_ERROR != ret ) 122 @return NO_ERROR On success 145 @return NO_ERROR On success 189 @return NO_ERROR On success 195 status_t ret = NO_ERROR; 206 if ( NO_ERROR == ret ) 220 if ( NO_ERROR != ret [all...] |