Searched refs:err (Results 101 - 125 of 408) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp130 int err = NO_ERROR; local
131 err = data.writeInterfaceToken(
133 if (err != NO_ERROR) {
135 "interface descriptor: %s (%d)", strerror(-err), -err);
138 err = data.writeStrongBinder(surfaceTexture->asBinder());
139 if (err != NO_ERROR) {
141 "strong binder to parcel: %s (%d)", strerror(-err), -err);
144 err
165 int err = data.writeInterfaceToken( local
[all...]
H A DSurfaceTextureClient.cpp302 status_t err = mSurfaceTexture->queueBuffer(i, input, &output); local
303 if (err != OK) {
304 ALOGE("queueBuffer: error queuing buffer to SurfaceTexture, %d", err);
312 return err;
350 status_t err = NO_ERROR; local
354 err = mSurfaceTexture->query(what, value);
355 if (err == NO_ERROR) {
359 return err;
454 int err = setBuffersDimensions(w, h); local
455 if (err !
509 int err = mSurfaceTexture->connect(api, &output); local
527 int err = mSurfaceTexture->disconnect(api); local
576 status_t err = mSurfaceTexture->setBufferCount(bufferCount); local
686 status_t err; local
741 int err = SurfaceTextureClient::connect(NATIVE_WINDOW_API_CPU); local
751 status_t err = dequeueBuffer(&out, &fenceFd); local
842 status_t err = mLockedBuffer->unlock(); local
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp209 status_t err = parseXMLResource(file, &block); local
210 if (err != NO_ERROR) {
211 return err;
419 status_t err = existingGroup->addFile(files.valueAt(j)); local
894 status_t err = parsePackage(bundle, assets, androidManifestFile); local
895 if (err != NO_ERROR) {
896 return err;
903 err = table.addIncludedResources(bundle, assets);
904 if (err != NO_ERROR) {
905 return err;
1970 status_t err = NO_ERROR; local
2102 status_t err = NO_ERROR; local
2198 status_t err = writeSymbolClass(fp, assets, includePrivate, symbols, local
2220 status_t err = writeTextSymbolClass(fp, assets, includePrivate, symbols, local
2317 status_t err; local
2420 status_t err; local
2509 status_t err; local
2567 status_t err = -1; local
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorMp3Reader.cpp86 M4OSA_ERR err = M4NO_ERROR; local
103 if (M4NO_ERROR == err) {
106 ALOGV("VideoEditorMp3Reader_create ERROR 0x%X", err);
109 return err;
122 M4OSA_ERR err = M4NO_ERROR; local
131 if (M4NO_ERROR == err) {
134 ALOGV("VideoEditorMp3Reader_destroy ERROR 0x%X", err);
137 return err;
157 M4OSA_ERR err = M4NO_ERROR; local
196 return err;
210 M4OSA_ERR err = M4NO_ERROR; local
266 M4OSA_ERR err = M4NO_ERROR; local
335 M4OSA_ERR err = M4NO_ERROR; local
372 M4OSA_ERR err = M4NO_ERROR; local
432 M4OSA_ERR err = M4NO_ERROR; local
618 M4OSA_ERR err = M4NO_ERROR; local
665 M4OSA_ERR err = M4NO_ERROR; local
753 M4OSA_ERR err = M4NO_ERROR; local
[all...]
H A DVideoEditorBuffer.c131 M4OSA_ERR err; local
136 err = M4NO_ERROR;
154 return(err);
173 M4OSA_ERR err = M4NO_ERROR; local
205 return(err);
211 M4OSA_ERR err = M4NO_ERROR; local
232 err = M4ERR_ALLOC;
233 return err;
240 return err;
247 M4OSA_ERR err local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp102 status_t err = mTSParser->feedTSPacket(buffer, sizeof(buffer)); local
104 if (err != OK) {
105 ALOGE("TS Parser returned error %d", err);
107 mTSParser->signalEOS(err);
108 mFinalResult = err;
149 status_t err = source->dequeueAccessUnit(accessUnit); local
152 if (err == OK) {
159 return err;
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp78 OMX_ERRORTYPE err; local
79 while ((err = plugin->enumerateComponents(
93 if (err != OMX_ErrorNoMore) {
95 "components", err, mPluginByComponentName.size());
137 OMX_ERRORTYPE err = local
140 if (err != OMX_ErrorNone) {
141 return err;
146 return err;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp33 status_t err = mSource->start(params); local
35 if (err != OK) {
36 return err;
76 status_t err = mSource->stop(); local
82 return err;
161 status_t err = mSource->read(&buffer); local
171 mResult = err;
176 if (err == OK) {
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp62 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
64 EXPECT_EQ(NO_ERROR, err);
73 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
75 EXPECT_EQ(NO_ERROR, err);
101 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); local
102 if (err) {
129 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); local
130 EXPECT_EQ(NO_ERROR, err);
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp74 const char *egl_strerror(unsigned err) argument
76 switch(err){
98 unsigned err = eglGetError(); local
99 if(err != EGL_SUCCESS) {
101 name, err, egl_strerror(err));
143 status_t err = EGLUtils::selectConfigForNativeWindow( local
145 if (err) {
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DRunTestCommand.java58 System.err.println("Incomplete '-c' parameter.");
62 System.err.println("Incomplete '-e' parameter.");
66 System.err.println("Unsupported standalone parameter.");
73 System.err.println("Please specify at least one test class to run.");
129 System.err.println("Cannot find runner: " + mRunner);
132 System.err.println("Cannot instantiate runner: " + mRunner);
135 System.err.println("Constructor of runner " + mRunner + " is not accessibile");
142 System.err.println("Specified runner is not subclass of "
/frameworks/base/core/jni/
H A Dandroid_util_Binder.h35 extern void signalExceptionForError(JNIEnv* env, jobject obj, status_t err,
H A Dandroid_graphics_PixelFormat.cpp46 status_t err; local
68 err = getPixelFormatInfo(format, &info);
69 if (err < 0) {
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java177 int err = nativeDetachFromGLContext();
178 if (err != 0) {
197 int err = nativeAttachToGLContext(texName);
198 if (err != 0) {
/frameworks/base/cmds/backup/
H A Dbackup.cpp57 int err; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
80 if (err == 0) {
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java60 System.err.println("Failed to set preferred network: " + e);
74 System.err.println("Mobile data operation failed: " + e);
79 System.err.println(longHelp());
H A DWifiCommand.java60 System.err.println("Failed to set preferred network: " + e);
71 System.err.println("Wi-Fi operation failed: " + e);
76 System.err.println(longHelp());
/frameworks/native/services/surfaceflinger/tests/screencap/
H A Dscreencap.cpp46 status_t err = composer->captureScreen(display, &heap, &w, &h, &f, 0, 0); local
47 if (err != NO_ERROR) {
48 fprintf(stderr, "screen capture failed: %s\n", strerror(-err));
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp359 const status_t err = mLastError; local
361 return err;
487 LOG_THREADPOOL("**** THREAD %p (PID %d) IS LEAVING THE THREAD POOL err=%p\n",
508 status_t err = data.errorCheck(); local
519 if (err == NO_ERROR) {
522 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
525 if (err != NO_ERROR) {
526 if (reply) reply->setError(err);
527 return (mLastError = err);
539 err
654 status_t err; local
665 int32_t err; local
800 status_t err; local
866 const status_t err = data.errorCheck(); local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp240 M4OSA_ERR err = M4NO_ERROR; local
251 return err;
264 return err;
369 status_t err = mAudioPlayer->start( local
372 if (err != OK) {
373 notifyListener_l(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, err);
374 return err;
528 status_t err = prepare_l(); local
530 if (err != OK) {
531 return err;
560 status_t err = mAudioPlayer->start( local
600 status_t err = OK; local
725 status_t err = mAudioSource->start(); local
763 status_t err = mVideoSource->start(); local
826 status_t err = mVideoSource->read(&mVideoBuffer, &options); local
917 status_t err = startAudioPlayer_l(); local
979 status_t err = initRenderer_l(); local
1120 status_t err = prepareAsync_l(); local
1199 status_t err = finishSetDataSource_l(); local
1208 status_t err = initVideoDecoder_l(OMXCodec::kHardwareCodecsOnly); local
1217 status_t err = initAudioDecoder_l(); local
1476 status_t err = mVideoSource->read(&mVideoBuffer, &options); local
2043 abortPrepare(status_t err) argument
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c65 M4OSA_ERR err; local
111 err = pFileFunction->openRead(&(context->m_fileContext), pUrl, M4OSA_kFileRead);
112 if(M4NO_ERROR != err)
114 return err;
119 err = pFileFunction->getOption(context->m_fileContext, M4OSA_kFileReadGetFileSize,
121 if(M4NO_ERROR != err)
123 return err;
147 err = M4ERR_ALLOC;
166 return err;
354 M4OSA_ERR err local
486 M4OSA_ERR err = M4NO_ERROR; local
561 M4OSA_ERR err = M4NO_ERROR; local
[all...]
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp76 status_t err; local
78 err = mSource->start();
80 if (err != OK) {
81 return err;
131 status_t err = mAudioSink->open( local
139 if (err != OK) {
149 return err;
168 if ((err = mAudioTrack->initCheck()) != OK) {
181 return err;
329 status_t err; local
392 status_t err; local
[all...]
H A DMPEG4Extractor.cpp186 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); local
188 if (err < (ssize_t)size) {
298 status_t err; local
299 if ((err = readMetaData()) != OK) {
307 status_t err; local
308 if ((err = readMetaData()) != OK) {
324 status_t err; local
325 if ((err = readMetaData()) != OK) {
372 status_t err; local
373 while ((err
662 status_t err = parseChunk(offset, depth + 1); local
729 status_t err = parseChunk(offset, depth + 1); local
758 status_t err = verifyTrack(mLastTrack); local
777 status_t err; local
909 status_t err = parseChunk(offset, depth + 1); local
966 status_t err = parseChunk(offset, depth + 1); local
1018 status_t err = parseChunk(offset, depth + 1); local
1033 status_t err = local
1047 status_t err = local
1062 status_t err = local
1104 status_t err = local
1118 status_t err = local
1132 status_t err = local
1210 status_t err = updateAudioTrackInfoFromESDS_MPEG4Audio( local
1298 status_t err = parseChunk(offset, depth + 1); local
1315 status_t err = parseMetaData(data_offset, chunk_data_size); local
1741 status_t err; local
2050 status_t err = mSampleTable->findSampleAtTime( local
2118 status_t err = local
[all...]
H A DSampleIterator.cpp78 status_t err; local
79 if ((err = findChunkRange(sampleIndex)) != OK) {
81 return err;
94 status_t err;
95 if ((err = getChunkOffset(chunk, &mCurrentChunkOffset)) != OK) {
97 return err;
108 if ((err = getSampleSizeDirect(
111 return err;
135 status_t err;
136 if ((err
[all...]
/frameworks/base/tools/aidl/
H A Doptions_test.cpp64 int err = 0; local
73 err = 1;
78 return err;
87 err = 1;
96 err = 1;
103 err = 1;
110 err = 1;
117 err = 1;
124 err = 1;
131 err
[all...]

Completed in 755 milliseconds

1234567891011>>