Searched defs:err (Results 401 - 425 of 466) sorted by relevance

<<111213141516171819

/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp200 int err = memtrack_proc_get(p, pid); local
201 if (err != 0) {
202 ALOGW("failed to get memory consumption info: %d", err);
203 return err;
241 int err = read_memtrack_memory(p, pid, graphics_mem); local
243 return err;
H A Dandroid_util_AssetManager.cpp576 status_t err = xml_tree->setTo(asset->getBuffer(true), asset->getLength(), true); local
579 if (err != NO_ERROR) {
H A Dandroid_util_Binder.cpp725 void signalExceptionForError(JNIEnv* env, jobject obj, status_t err, argument
728 switch (err) {
838 ALOGE("Unknown binder error code. 0x%" PRIx32, err);
840 msg.appendFormat("Unknown binder error code. 0x%" PRIx32, err);
1111 status_t err = target->pingBinder(); local
1112 return err == NO_ERROR ? JNI_TRUE : JNI_FALSE;
1275 status_t err = target->transact(code, *data, reply, flags); local
1284 if (err == NO_ERROR) {
1286 } else if (err == UNKNOWN_TRANSACTION) {
1290 signalExceptionForError(env, obj, err, tru
1310 status_t err = target->linkToDeath(jdr, NULL, flags); local
1339 status_t err = NAME_NOT_FOUND; local
[all...]
H A Dandroid_util_Process.cpp60 // For both of these, err should be in the errno range (positive), not a status_t (negative)
61 static void signalExceptionForError(JNIEnv* env, int err, int tid) { argument
62 switch (err) {
81 static void signalExceptionForPriorityError(JNIEnv* env, int err, int tid) { argument
82 switch (err) {
88 signalExceptionForError(env, err, tid);
94 static void signalExceptionForGroupError(JNIEnv* env, int err, int tid) { argument
95 switch (err) {
101 signalExceptionForError(env, err, tid);
273 int err local
282 int err; local
[all...]
H A Dandroid_view_SurfaceControl.cpp120 status_t err = client->createSurfaceChecked( local
122 if (err == NAME_NOT_FOUND) {
125 } else if (err != NO_ERROR) {
501 status_t err = NO_ERROR; local
504 err = transaction->setDisplaySurface(token,
507 if (err != NO_ERROR) {
599 status_t err = SurfaceComposerClient::setActiveConfig(token, static_cast<int>(id));
600 return err == NO_ERROR ? JNI_TRUE : JNI_FALSE;
635 status_t err = SurfaceComposerClient::setActiveColorMode(token,
637 return err
651 status_t err = ctrl->clearLayerFrameStats(); local
670 status_t err = ctrl->getLayerFrameStats(&stats); local
737 status_t err = SurfaceComposerClient::clearAnimationFrameStats(); local
754 status_t err = SurfaceComposerClient::getAnimationFrameStats(&stats); local
1037 int err = RegisterMethodsOrDie(env, "android/view/SurfaceControl", local
[all...]
H A Dandroid_view_ThreadedRenderer.cpp1015 status_t err; local
1016 if ((err = consumer->acquireBuffer(&bufferItem, 0, true)) != OK) {
1017 ALOGW("Failed to acquireBuffer, error %d (%s)", err, strerror(-err));
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp304 status_t err = mCodec->setSurface(client); local
305 if (err == OK) {
308 return err;
373 status_t err = mCodec->dequeueOutputBuffer( local
376 if (err != OK) {
377 return err;
405 status_t err; local
406 err = input ? mCodec->getInputFormat(&msg) : mCodec->getOutputFormat(&msg);
407 if (err != OK) {
408 return err;
416 status_t err; local
428 status_t err = local
514 status_t err = local
531 status_t err = local
625 status_t err = mCodec->getName(&name); local
693 status_t err = mCodec->getCodecInfo(&codecInfo); local
754 createCodecException( JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) argument
841 int32_t err, actionCode; local
896 status_t err = ConvertMessageToMap(env, data, &obj); local
960 throwCodecException(JNIEnv *env, status_t err, int32_t actionCode, const char *msg) argument
965 throwCryptoException(JNIEnv *env, status_t err, const char *msg) argument
1014 throwExceptionAsNecessary( JNIEnv *env, status_t err, int32_t actionCode = ACTION_CODE_FATAL, const char *msg = NULL) argument
1059 status_t err = codec->enableOnFrameRenderedListener(enabled); local
1075 status_t err = codec->setCallback(cb); local
1096 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format); local
1157 status_t err = codec->setSurface(bufferProducer); local
1274 status_t err = codec->setInputSurface(persistentSurface); local
1292 status_t err = codec->createInputSurface(&bufferProducer); local
1313 status_t err = codec->start(); local
1328 status_t err = codec->stop(); local
1343 status_t err = codec->reset(); local
1365 status_t err = codec->flush(); local
1389 status_t err = codec->queueInputBuffer( local
1454 status_t err = OK; local
1573 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); local
1594 status_t err = codec->dequeueOutputBuffer( local
1616 status_t err = codec->releaseOutputBuffer(index, render, updatePTS, timestampNs); local
1631 status_t err = codec->signalEndOfInputStream(); local
1648 status_t err = codec->getFormat(env, input, &format); local
1671 status_t err = codec->getOutputFormat(env, index, &format); local
1694 status_t err = codec->getBuffers(env, input, &buffers); local
1720 status_t err = codec->getBuffer(env, input, index, &buffer); local
1746 status_t err = codec->getImage(env, input, index, &image); local
1772 status_t err = codec->getName(env, &name); local
1795 status_t err = codec->getCodecInfo(env, &codecInfoObj); local
1820 status_t err = codec->getMetrics(env, item); local
1847 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, &params); local
2058 const status_t err = codec->initCheck(); local
[all...]
H A Dandroid_media_MediaPlayer.cpp519 status_t err = mp->getPlaybackSettings(&rate); local
520 if (err == OK) {
539 err = mp->setPlaybackSettings(rate);
543 env, thiz, err,
594 status_t err = mp->getSyncSettings(&avsync, &videoFrameRate); local
595 if (err == OK) {
610 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f);
614 env, thiz, err,
819 status_t err = mp->setParameter(key, *request); local
820 if (err
1216 throwDrmStateException(JNIEnv *env, const char *msg, status_t err) argument
1227 throwDrmExceptionAsNecessary(JNIEnv *env, status_t err, const char *msg = NULL) argument
1341 status_t err = mp->prepareDrm(uuid.array(), drmSessionId); local
1367 status_t err = mp->releaseDrm(); local
[all...]
H A Dandroid_media_MediaPlayer2.cpp324 status_t err; local
326 err = mp->setDataSource(dsd);
328 err = mp->prepareNextDataSource(dsd);
330 process_media_player_call(env, thiz, err,
385 status_t err; local
387 err = mp->setDataSource(dsd);
389 err = mp->prepareNextDataSource(dsd);
391 process_media_player_call(env, thiz, err,
415 status_t err; local
417 err
626 status_t err = mp->getPlaybackSettings(&rate); local
701 status_t err = mp->getSyncSettings(&avsync, &videoFrameRate); local
926 status_t err = mp->setParameter(key, *request); local
947 status_t err = mp->getParameter(key, nativeParcel); local
1220 throwDrmStateException(JNIEnv *env, const char *msg, status_t err) argument
1231 throwDrmExceptionAsNecessary(JNIEnv *env, status_t err, const char *msg = NULL) argument
1345 status_t err = mp->prepareDrm(uuid.array(), drmSessionId); local
1371 status_t err = mp->releaseDrm(); local
[all...]
H A Dandroid_mtp_MtpDatabase.cpp978 piex::Error err = stream.get()->GetData( local
982 if (err == piex::Error::kOk) {
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java1241 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
1244 new VibratorShellCommand(this).exec(this, in, out, err, args, callback, resultReceiver);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp727 status_t err = addLeafFile(fileNames[i], file, overwrite); local
728 if (err != NO_ERROR) {
729 return err;
798 status_t err = mDirs.valueAt(i)->validate(); local
799 if (err != NO_ERROR) {
800 return err;
843 status_t err = NO_ERROR; local
851 err = UNKNOWN_ERROR;
867 err = UNKNOWN_ERROR;
873 err
1133 ssize_t err = 0; local
1226 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); local
1265 status_t err = dir->addLeafFile(entryName.getPathLeaf(), file); local
1313 status_t err = reqFilter->parse(bundle->getConfigurations()); local
1503 status_t err = mSymbols.valueAt(pos)->applyJavaSymbols(symbols); local
[all...]
H A DImages.cpp24 status_t err = aaptfile->writeData(data, length); local
25 if (err != NO_ERROR) {
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp1217 std::stringstream err; local
1218 err << "9-patch malformed: " << errorMsg;
1220 err << "." << std::endl;
1222 err << "Found at pixel #" << errorPixel << " along " << errorEdge
1225 err << "Found along " << errorEdge << " edge";
1228 *outError = err.str();
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp754 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, local
756 if (err != 0) {
758 ZipWriter::ErrorCodeString(err));
794 err = zip_writer_->WriteBytes(buffer.data(), bytes_read);
795 if (err) {
796 MYLOGE("zip_writer_->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err));
801 err = zip_writer_->FinishEntry();
802 if (err != 0) {
803 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err));
843 int32_t err local
1740 int32_t err = zip_writer_->Finish(); local
[all...]
H A Dutils.cpp572 int err = errno; local
573 MYLOGE("Error opening file descriptor for %s: %s\n", path, strerror(err));
/frameworks/native/libs/gui/
H A DSurface.cpp333 status_t err = local
336 if (err)
337 return err;
367 status_t err = local
370 if (err)
371 return err;
741 status_t err = mGraphicBufferProducer->queueBuffer(i, input, &output); local
743 if (err != OK) {
744 ALOGE("queueBuffer: error queuing buffer to SurfaceTexture, %d", err);
784 return err;
796 status_t err = composerService()->getSupportedFrameTimestamps( local
846 status_t err = NO_ERROR; local
1041 int err = setBuffersDimensions(width, height); local
1210 int err = mGraphicBufferProducer->connect(listener, api, mProducerControlledByApp, &output); local
1244 int err = mGraphicBufferProducer->disconnect(api, mode); local
1368 status_t err = NO_ERROR; local
1392 status_t err = mGraphicBufferProducer->setMaxDequeuedBufferCount( local
1405 status_t err = mGraphicBufferProducer->setAsyncMode(async); local
1417 status_t err = mGraphicBufferProducer->setSharedBufferMode( local
1433 status_t err = mGraphicBufferProducer->setAutoRefresh(autoRefresh); local
1674 int err = Surface::connect(NATIVE_WINDOW_API_CPU); local
1684 status_t err = dequeueBuffer(&out, &fenceFd); local
1768 status_t err = mLockedBuffer->unlockAsync(&fd); local
1819 int err = static_cast<ANativeWindow*>(surface)->perform(surface, NATIVE_WINDOW_API_CONNECT, local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp591 int err = native_window_get_wide_color_support(window, &windowSupportsWideColor); local
593 if (err) {
596 window, err);
672 int err = local
675 if (err != 0) {
677 strerror(-err), err);
683 int err = local
686 if (err != 0) {
688 strerror(-err), er
738 int err = native_window_set_buffers_format(window, format); local
749 int err = native_window_set_buffers_data_space(window, dataSpace); local
1185 EGLint err = EGL_SUCCESS; local
1528 int err = native_window_set_auto_refresh(s->getNativeWindow(), value != 0); local
1536 int err = native_window_enable_frame_timestamps(s->getNativeWindow(), value != 0); local
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp440 status_t err = device->keyMap.keyLayoutMap->findScanCodesForKey( local
442 if (! err) {
506 status_t err = device->keyMap.keyLayoutMap->mapAxis(scanCode, outAxisInfo); local
507 if (err == NO_ERROR) {
/frameworks/native/services/sensorservice/
H A DSensorService.cpp404 status_t err = dev.setMode(DATA_INJECTION); local
405 if (err == NO_ERROR) {
517 status_t SensorService::shellCommand(int in, int out, int err, Vector<String16>& args) { argument
521 if (in == BAD_TYPE || out == BAD_TYPE || err == BAD_TYPE) {
525 return handleSetUidState(args, err);
527 return handleResetUidState(args, err);
529 return handleGetUidState(args, out, err);
534 printHelp(err);
538 status_t SensorService::handleSetUidState(Vector<String16>& args, int err) { argument
543 dprintf(err, "Unknow
557 handleResetUidState(Vector<String16>& args, int err) argument
569 handleGetUidState(Vector<String16>& args, int out, int err) argument
1245 status_t err = dev.setMode(NORMAL); local
1393 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs, local
1441 status_t err = cleanupWithoutDisableLocked(connection, handle); local
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp500 int err = native_window_get_consumer_usage(surface->window.get(), local
502 if (err != android::NO_ERROR) {
504 strerror(-err), err);
511 err =
513 if (err != 0) {
516 ALOGE("native_window_api_connect() failed: %s (%d)", strerror(-err),
517 err);
558 int err = window->query(window, NATIVE_WINDOW_FORMAT, &query_value); local
559 if (err !
596 int err; local
687 int err = native_window_get_wide_color_support(surface.window.get(), local
803 int err; local
926 int err; local
1358 int err; local
1519 int err; local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java2499 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
2501 (new WifiShellCommand(mWifiStateMachine)).exec(this, in, out, err, args, callback,
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaPlayer2Impl.java158 private void handleDataSourceError(final DataSourceError err) { argument
159 if (err == null) {
165 callback.onError(MediaPlayer2Impl.this, err.mDSD, err.mWhat, err.mExtra);
2159 DataSourceError err = null;
2176 err = prepareAt(0);
2180 return err;
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp1789 status_t err = obtainBuffer(&audioBuffer, local
1791 if (err < 0) {
1795 if (err == TIMED_OUT || err == -EINTR) {
1796 err = WOULD_BLOCK;
1798 return ssize_t(err);
2092 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig); local
2093 LOG_ALWAYS_FATAL_IF((err != NO_ERROR) != (audioBuffer.frameCount == 0),
2094 "obtainBuffer() err=%d frameCount=%zu", err, audioBuffe
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp905 status_t err = nativeWindowDisconnect( local
908 if (err != OK) {
910 strerror(-err), err);
931 status_t err = nativeWindowConnect(anw.get(), "setVideoSurfaceTexture"); local
933 if (err != OK) {
934 ALOGE("setVideoSurfaceTexture failed: %d", err);
943 return err;
950 status_t err = p->setVideoSurfaceTexture(bufferProducer); local
955 if (err
961 status_t err = nativeWindowDisconnect( local
[all...]

Completed in 228 milliseconds

<<111213141516171819