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

1234567891011>>

/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/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp230 status_t err = ctrl->setLayer(zorder); local
231 if (err < 0 && err != NO_INIT) {
238 status_t err = ctrl->setPosition(x, y); local
239 if (err < 0 && err != NO_INIT) {
246 status_t err = ctrl->setSize(w, h); local
247 if (err < 0 && err != NO_INIT) {
254 status_t err local
279 status_t err = ctrl->setTransparentRegionHint(reg); local
287 status_t err = ctrl->setAlpha(alpha); local
296 status_t err = ctrl->setMatrix(dsdx, dtdx, dsdy, dtdy); local
306 status_t err = ctrl->setCrop(crop); local
314 status_t err = ctrl->setLayerStack(layerStack); local
436 status_t err = ctrl->clearLayerFrameStats(); local
455 status_t err = ctrl->getLayerFrameStats(&stats); local
522 status_t err = SurfaceComposerClient::clearAnimationFrameStats(); local
539 status_t err = SurfaceComposerClient::getAnimationFrameStats(&stats); local
650 int err = AndroidRuntime::registerNativeMethods(env, "android/view/SurfaceControl", local
[all...]
H A Dandroid_os_Parcel.cpp119 const status_t err = parcel->setDataSize(size); local
120 if (err != NO_ERROR) {
121 signalExceptionForError(env, clazz, err);
138 const status_t err = parcel->setDataCapacity(size); local
139 if (err != NO_ERROR) {
140 signalExceptionForError(env, clazz, err);
171 const status_t err = parcel->writeInt32(length); local
172 if (err != NO_ERROR) {
173 signalExceptionForError(env, clazz, err);
198 const status_t err local
205 const status_t err = parcel->writeInt32(length); local
231 const status_t err = parcel->writeInt32(val); local
241 const status_t err = parcel->writeInt64(val); local
252 const status_t err = parcel->writeFloat(val); local
263 const status_t err = parcel->writeDouble(val); local
274 status_t err = NO_MEMORY; local
294 const status_t err = parcel->writeStrongBinder(ibinderForJavaObject(env, object)); local
305 const status_t err = local
348 android::status_t err = parcel->readBlob(len, &blob); local
622 status_t err = thisParcel->appendFrom(otherParcel, offset, length); local
[all...]
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp359 const status_t err = mLastError; local
361 return err;
504 LOG_THREADPOOL("**** THREAD %p (PID %d) IS LEAVING THE THREAD POOL err=%p\n",
549 status_t err = data.errorCheck(); local
560 if (err == NO_ERROR) {
563 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
566 if (err != NO_ERROR) {
567 if (reply) reply->setError(err);
568 return (mLastError = err);
580 err
701 status_t err; local
712 int32_t err; local
847 status_t err; local
914 const status_t err = data.errorCheck(); local
[all...]
H A DParcel.cpp358 status_t err; local
359 err = continueWrite(size);
360 if (err == NO_ERROR) {
364 return err;
381 status_t err = restartWrite(len); local
382 if (err == NO_ERROR) {
387 return err;
393 status_t err; local
425 err = growData(len);
426 if (err !
557 setError(status_t err) argument
589 status_t err = growData(len); local
639 status_t err = growData(padded); local
712 status_t err = writeInt32(str.bytes()); local
795 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); local
878 status_t err; local
1021 status_t err = growData(sizeof(val)); local
1211 status_t err; local
1304 status_t err = NO_ERROR; local
1456 const status_t err = errorCheck(); local
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp323 status_t err = mGraphicBufferProducer->queueBuffer(i, input, &output); local
324 if (err != OK) {
325 ALOGE("queueBuffer: error queuing buffer to SurfaceTexture, %d", err);
339 return err;
377 status_t err = NO_ERROR; local
381 err = mGraphicBufferProducer->query(what, value);
382 if (err == NO_ERROR) {
386 return err;
487 int err = setBuffersDimensions(w, h); local
488 if (err !
554 int err = mGraphicBufferProducer->connect(listener, api, mProducerControlledByApp, &output); local
580 int err = mGraphicBufferProducer->disconnect(api); local
631 status_t err = mGraphicBufferProducer->setBufferCount(bufferCount); local
750 status_t err; local
805 int err = Surface::connect(NATIVE_WINDOW_API_CPU); local
815 status_t err = dequeueBuffer(&out, &fenceFd); local
898 status_t err = mLockedBuffer->unlockAsync(&fd); local
[all...]
H A DConsumerBase.cpp69 status_t err = mConsumer->consumerConnect(proxy, controlledByApp); local
70 if (err != NO_ERROR) {
72 strerror(-err), err);
184 status_t err = mConsumer->acquireBuffer(item, presentWhen); local
185 if (err != NO_ERROR) {
186 return err;
249 status_t err = mConsumer->releaseBuffer(slot, mSlots[slot].mFrameNumber, local
251 if (err == IGraphicBufferConsumer::STALE_BUFFER_SLOT) {
257 return err;
[all...]
/frameworks/av/media/libstagefright/
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...]
H A DAudioPlayer.cpp83 status_t err; local
85 err = mSource->start();
87 if (err != OK) {
88 return err;
183 status_t err = mAudioSink->open( local
191 if (err == OK) {
203 err = mAudioSink->start();
206 err = OK;
210 if (err != OK) {
220 return err;
291 status_t err; local
466 status_t err; local
531 status_t err; local
[all...]
H A DSurfaceMediaSource.cpp73 status_t err = mConsumer->consumerConnect(proxy, false); local
74 if (err != NO_ERROR) {
76 strerror(-err), err);
170 status_t err = local
173 if (err != OK) {
174 return err;
298 status_t err = mConsumer->acquireBuffer(&item, 0); local
299 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
302 } else if (err
[all...]
H A DCameraSource.cpp497 status_t err = OK; local
499 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid,
503 return err;
516 status_t err = OK; local
518 if ((err = isCameraAvailable(camera, proxy, cameraId,
521 return err;
524 if ((err = isCameraColorFormatSupported(params)) != OK) {
525 return err;
530 if ((err = configureCamera(&params,
533 return err;
598 status_t err; local
661 status_t err; local
[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...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp115 status_t err = mPlayer->seekTo((int64_t)msec * 1000); local
117 return err;
124 status_t err = mPlayer->getPosition(&positionUs); local
126 if (err != OK) {
127 return err;
139 status_t err = mPlayer->getDuration(&durationUs); local
141 if (err != OK) {
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp109 status_t err = mConsumer->consumerDisconnect(); local
110 if (err != NO_ERROR) {
111 ALOGW("consumerDisconnect failed: %d", err);
363 status_t err = mConsumer->acquireBuffer(&item, 0); local
365 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
369 } else if (err != OK) {
370 ALOGW("suspend: acquireBuffer returned err=%d", err);
413 status_t err = mConsumer->acquireBuffer(&item, 0); local
414 if (err
500 status_t err = submitBuffer_l(item, cbi); local
676 status_t err = mNodeInstance->emptyDirectBuffer(header, 0, local
719 status_t err = mNodeInstance->emptyDirectBuffer(header, /*offset*/ 0, local
770 status_t err = mConsumer->acquireBuffer(&item, 0); local
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java49 int err;
56 while ((err = readHeader_native(header, oldStateFD)) >= 0) {
57 if (err == 0) {
82 int err;
98 err = writeHeader_native(header, newStateFD, pos);
99 if (err != 0) {
100 throw new IOException("writeHeader_native failed (error " + err + ")");
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp163 status_t err; local
164 if ((err = mImpl->getTrackFormat(index, &msg)) != OK) {
165 return err;
175 status_t err; local
176 if ((err = mImpl->getFileFormat(&msg)) != OK) {
177 return err;
244 status_t err = mImpl->readSampleData(buffer); local
250 if (err != OK) {
251 return err;
289 status_t err local
370 status_t err = extractor->getTrackFormat(index, &format); local
390 status_t err = extractor->getFileFormat(&format); local
409 status_t err = extractor->selectTrack(index); local
426 status_t err = extractor->unselectTrack(index); local
461 status_t err = extractor->advance(); local
483 status_t err = extractor->readSampleData(byteBuf, offset, &sampleSize); local
505 status_t err = extractor->getSampleTrackIndex(&trackIndex); local
527 status_t err = extractor->getSampleTime(&sampleTimeUs); local
549 status_t err = extractor->getSampleFlags(&sampleFlags); local
571 status_t err = extractor->getSampleMeta(&meta); local
723 status_t err = extractor->setDataSource(httpService, path, &headers); local
754 status_t err = extractor->setDataSource(fd, offset, length); local
781 status_t err = extractor->setDataSource(bridge); local
[all...]
/frameworks/av/cmds/stagefright/
H A Drecord.cpp85 status_t err = mGroup.acquire_buffer(buffer);
86 if (err != OK) {
87 return err;
188 status_t err = OK;
239 err = writer->stop();
259 err = encoder->stop();
275 status_t err = source->read(&buffer);
276 CHECK_EQ(err, (status_t)OK);
285 err = source->stop();
291 if (err !
334 status_t err; local
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java135 System.err.println("Error: Unknown command: " + command);
141 System.err.println(INVALID_ARGUMENTS + command);
272 System.err.println("Usage: input [<source>] <command> [<arg>...]");
273 System.err.println();
274 System.err.println("The sources are: ");
276 System.err.println(" " + src);
278 System.err.println();
279 System.err.println("The commands and default sources are:");
280 System.err.println(" text <string> (Default: touchscreen)");
281 System.err
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp172 status_t err; local
175 && (durationUs = mAudioTrack->getBufferedDurationUs(&err))
177 && err == OK) {
184 && (durationUs = mVideoTrack->getBufferedDurationUs(&err))
186 && err == OK) {
397 status_t err = OK; local
399 err = mTSParser->feedTSPacket(
401 if (err != OK) {
409 err = ERROR_MALFORMED;
412 if (err !
583 status_t err; local
633 status_t err; local
668 setError(status_t err) argument
[all...]
H A DHTTPLiveSource.cpp106 status_t err = mLiveSession->getStreamFormat( local
111 if (err != OK) {
151 status_t err = mLiveSession->selectTrack(trackIndex, select); local
153 if (err == OK) {
165 return (err == OK || err == BAD_VALUE) ? (status_t)OK : err;
256 status_t err; local
257 CHECK(msg->findInt32("err", &err));
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp162 #define ASSERT_NO_ERROR(err, msg) \
163 ASSERT_EQ(NO_ERROR, err) << msg << strerror(-err)
459 status_t err; local
460 err = native_window_set_buffers_geometry(anw.get(),
462 ASSERT_NO_ERROR(err, "set_buffers_geometry error: ");
464 err = native_window_set_usage(anw.get(),
466 ASSERT_NO_ERROR(err, "set_usage error: ");
469 err = anw.get()->query(anw.get(),
472 ASSERT_NO_ERROR(err, "quer
487 status_t err; local
543 status_t err; local
577 status_t err; local
620 status_t err; local
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp226 status_t err = parseXMLResource(file, &block); local
227 if (err != NO_ERROR) {
228 return err;
424 status_t err = existingGroup->addFile(files.valueAt(j)); local
912 status_t err = root->addAttribute(String16(), String16("split"), splitName); local
913 if (err != NO_ERROR) {
915 return err;
1108 int err = compileXmlFile(bundle, assets, String16(), root, outFile, table); local
1109 if (err < NO_ERROR) {
1110 return err;
1127 status_t err = parsePackage(bundle, assets, androidManifestFile); local
2087 status_t err = NO_ERROR; local
2469 status_t err = NO_ERROR; local
2593 status_t err = NO_ERROR; local
2685 status_t err = writeSymbolClass(fp, assets, includePrivate, symbols, local
2707 status_t err = writeTextSymbolClass(fp, assets, includePrivate, symbols, local
2804 status_t err; local
2908 status_t err; local
3000 status_t err; local
3072 status_t err = -1; local
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp203 status_t err = mSource->start(); local
204 if (err != OK) {
205 notifyError(err);
209 err = mSource->extractGlobalDescriptions(&parcel);
210 if (err != OK) {
211 notifyError(err);
231 status_t err = mSource->read(&startTimeUs, &endTimeUs, local
233 if (err == WOULD_BLOCK) {
246 } else if (err != OK) {
247 notifyError(err);
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp197 status_t err = OK; local
200 err = mMediaPuller->start();
203 if (err == OK) {
207 return err;
391 status_t err = setupPacketizer( local
400 if (err == OK) {
401 err = mMediaSender->initAsync(
411 if (err != OK) {
417 return err;
500 status_t err local
528 status_t err; local
544 status_t err; local
753 status_t err = mExtractor->setDataSource( local
825 status_t err = mExtractor->getSampleTime(&sampleTimeUs); local
845 status_t err = mExtractor->readSampleData(accessUnit); local
889 status_t err = addVideoSource( local
938 status_t err = convertMetaDataToMessage(source->getFormat(), &format); local
1046 status_t err = addSource( local
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp100 enum ErrorCode err = config(pConfig); local
101 if (err != kSuccess) {
102 ALOGE("%s (%s, features: %s)", GetErrorString(err),
249 enum ErrorCode err; local
283 if (mEnableLTO && ((err = runLTO(pScript)) != kSuccess)) {
284 return err;
290 if ((err = runCodeGen(pScript, pResult)) != kSuccess) {
291 return err;
312 enum Compiler::ErrorCode err = compile(pScript, *out, IRStream); local
317 return err;
[all...]

Completed in 402 milliseconds

1234567891011>>