Searched defs:err (Results 251 - 275 of 314) sorted by relevance

<<111213

/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...]
H A DWifiDisplaySource.cpp89 status_t err = msg->postAndAwaitResponse(response); local
91 if (err != OK) {
92 return err;
95 if (response == NULL || !(*response)->findInt32("err", &err)) {
96 err = OK;
99 return err;
143 status_t err = OK; local
156 err = -EINVAL;
164 if (err
194 int32_t err; local
252 status_t err = sendM1(sessionID); local
259 status_t err = onReceiveClientData(msg); local
303 status_t err = sendTrigger( local
327 status_t err = OK; local
347 status_t err = OK; local
571 status_t err = local
601 status_t err = local
661 status_t err = local
707 status_t err = local
731 status_t err = local
960 status_t err = makeHDCP(); local
1079 status_t err = (this->*func)(sessionID, data); local
1099 status_t err; local
1144 status_t err = mNetSession->sendRequest(sessionID, response.c_str()); local
1266 status_t err = playbackSession->init( local
1384 status_t err = mNetSession->sendRequest(sessionID, response.c_str()); local
1405 status_t err = playbackSession->play(); local
1428 status_t err = playbackSession->pause(); local
1515 status_t err = OK; local
1541 status_t err = mNetSession->sendRequest(sessionID, response.c_str()); local
1568 status_t err = mNetSession->sendRequest(sessionID, response.c_str()); local
1709 status_t err = mHDCP->setObserver(mHDCPObserver); local
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp179 status_t err = drm->createPlugin(uuid); local
181 if (err != OK) {
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp132 int err = sqlite3_open_v2(path.string(), &db, sqliteFlags, NULL); local
133 if (err != SQLITE_OK) {
134 throw_sqlite3_exception_errcode(env, err, "Could not open database");
146 err = sqlite3_busy_timeout(db, BUSY_TIMEOUT_MS);
147 if (err != SQLITE_OK) {
154 err = register_android_functions(db, UTF16_STORAGE);
155 if (err) {
181 int err = sqlite3_close(connection->db); local
182 if (err != SQLITE_OK) {
184 ALOGE("sqlite3_close(%p) failed: %d", connection->db, err);
257 int err = sqlite3_create_function_v2(connection->db, name, numArgs, SQLITE_UTF16, local
275 int err = register_localized_collators(connection->db, locale, UTF16_STORAGE); local
290 int err = sqlite3_prepare16_v2(connection->db, local
371 int err = sqlite3_bind_null(statement, index); local
382 int err = sqlite3_bind_int64(statement, index, value); local
393 int err = sqlite3_bind_double(statement, index, value); local
406 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), local
421 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); local
433 int err = sqlite3_reset(statement); local
443 int err = sqlite3_step(statement); local
466 int err = executeNonQuery(env, connection, statement); local
475 int err = executeNonQuery(env, connection, statement); local
481 int err = sqlite3_step(statement); local
493 int err = executeOneRowQuery(env, connection, statement); local
505 int err = executeOneRowQuery(env, connection, statement); local
555 int err = executeOneRowQuery(env, connection, statement); local
698 int err = sqlite3_step(statement); local
[all...]
H A Dandroid_opengl_EGL14.cpp1272 int err; local
1273 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
1274 return err;
H A Dandroid_opengl_GLES11.cpp3021 int err; local
3022 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
3023 return err;
H A Dandroid_util_Process.cpp58 // For both of these, err should be in the errno range (positive), not a status_t (negative)
60 static void signalExceptionForPriorityError(JNIEnv* env, int err) argument
62 switch (err) {
81 static void signalExceptionForGroupError(JNIEnv* env, int err) argument
83 switch (err) {
252 int err = set_sched_policy(t_pid, sp); local
253 if (err != NO_ERROR) {
254 signalExceptionForGroupError(env, -err);
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 Dcom_google_android_gles_jni_EGLImpl.cpp574 int err; local
575 err = android::AndroidRuntime::registerNativeMethods(_env,
577 return err;
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp221 int err; local
237 err = dataStream->WriteEntityHeader(key, bytesLeft);
238 if (err != 0) {
240 return err;
247 err = dataStream->WriteEntityData(&metadata, sizeof(metadata));
248 if (err != 0) {
250 return err;
260 err = dataStream->WriteEntityData(buf, amt);
261 if (err != 0) {
263 return err;
292 int err; local
340 int err; local
527 int err = 0; local
744 ssize_t err; local
[all...]
/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...]
H A Dandroid_media_MediaPlayer.cpp528 status_t err = mp->setParameter(key, *request); local
529 if (err == OK) {
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_FlpHardwareProvider.cpp176 int err = hw_get_module(FUSED_LOCATION_HARDWARE_MODULE_ID, &module); local
177 if (err != 0) {
178 ALOGE("Error hw_get_module '%s': %d", FUSED_LOCATION_HARDWARE_MODULE_ID, err);
182 err = module->methods->open(
186 if (err != 0) {
187 ALOGE("Error opening device '%s': %d", FUSED_LOCATION_HARDWARE_MODULE_ID, err);
/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...]
/frameworks/native/libs/gui/
H A DGLConsumer.cpp198 status_t err = checkAndUpdateEglStateLocked(); local
199 if (err != NO_ERROR) {
200 return err;
208 err = acquireBufferLocked(&item, 0);
209 if (err != NO_ERROR) {
210 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
214 err = NO_ERROR;
217 strerror(-err), err);
219 return err;
246 status_t err = NO_ERROR; local
296 status_t err = bindTextureImageLocked(); local
336 status_t err = ConsumerBase::acquireBufferLocked(item, presentWhen); local
359 status_t err = ConsumerBase::releaseBufferLocked( local
367 status_t err = NO_ERROR; local
464 status_t err = mCurrentTextureImage->createIfNeeded(mEglDisplay, local
479 status_t err = mCurrentTextureImage->createIfNeeded(mEglDisplay, local
531 status_t err = addReleaseFence(mCurrentTexture, local
570 status_t err = syncForReleaseLocked(dpy); local
628 status_t err = bindTextureImageLocked(); local
659 status_t err = addReleaseFenceLocked(mCurrentTexture, local
974 status_t err = mCurrentFence->waitForever( local
[all...]
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 DSurfaceComposerClient.cpp497 status_t err = mClient->createSurface(name, w, h, format, flags, local
499 ALOGE_IF(err, "SurfaceComposerClient::createSurface error %s", strerror(-err));
500 if (err == NO_ERROR) {
523 status_t err = mClient->destroySurface(sid);
524 return err;
731 status_t err = s->captureScreen(display, mProducer, sourceCrop, local
735 if (err == NO_ERROR) {
736 err = mCpuConsumer->lockNextBuffer(&mBuffer);
737 if (err
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp975 GLint err = c->transforms.current->pop(); local
976 if (ggl_unlikely(err)) {
977 ogles_error(c, err);
986 GLint err = c->transforms.current->push(); local
987 if (ggl_unlikely(err)) {
988 ogles_error(c, err);
H A Dtexture.cpp139 int err = module->lock(module, native_buffer->handle, local
386 status_t err = tex->reallocate(level, local
388 if (err != NO_ERROR)
397 status_t err = tex->reallocate(level, local
399 if (err != NO_ERROR)
1214 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height);
1215 if (err) {
1216 ogles_error(c, err);
1297 int err = copyPixels(c,
1300 if (err) {
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp495 int err = native_window_set_buffers_format(window, format); local
496 if (err != 0) {
498 strerror(-err), err);
871 EGLint err = EGL_SUCCESS; local
874 err = cnx->egl.eglGetError();
876 if (err == EGL_SUCCESS) {
877 err = egl_tls_t::getError();
879 return err;
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp658 status_t err; local
663 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
664 if (err != 0) {
665 testPrintE("hwcTestFillColor lock failed: %d", err);
677 err = gBuf->unlock();
678 if (err != 0) {
679 testPrintE("hwcTestFillColor unlock failed: %d", err);
695 status_t err; local
701 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
702 if (err !
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp779 status_t err = sensor->batch(connection.get(), handle, reservedFlags, samplingPeriodNs, local
785 if (err == NO_ERROR && sensor->getSensor().getReportingMode() != AREPORTING_MODE_ONE_SHOT &&
797 if (err == NO_ERROR) {
799 err = sensor->activate(connection.get(), true);
802 if (err == NO_ERROR) {
806 if (err != NO_ERROR) {
810 return err;
820 status_t err = cleanupWithoutDisableLocked(connection, handle); local
821 if (err == NO_ERROR) {
823 err
1495 status_t err; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp1425 status_t err = obtainBuffer(&audioBuffer, local
1427 if (err < 0) {
1431 return ssize_t(err);
1743 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig); local
1744 LOG_ALWAYS_FATAL_IF((err != NO_ERROR) != (audioBuffer.frameCount == 0),
1745 "obtainBuffer() err=%d frameCount=%zu", err, audioBuffer.frameCount);
1748 ALOGV("obtainBuffer(%u) returned %zu = %zu + %zu err %d",
1749 mRemainingFrames, avail, audioBuffer.frameCount, nonContig, err);
1750 if (err !
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp802 status_t err = native_window_api_disconnect(mConnectedWindow.get(), local
805 if (err != OK) {
807 strerror(-err), err);
829 status_t err = native_window_api_connect(anw.get(), local
832 if (err != OK) {
833 ALOGE("setVideoSurfaceTexture failed: %d", err);
841 return err;
848 status_t err = p->setVideoSurfaceTexture(bufferProducer); local
854 if (err
[all...]
H A DStagefrightRecorder.cpp888 status_t err = audioSource->initCheck(); local
890 if (err != OK) {
1036 status_t err = setupMediaSource(&mediaSource); local
1037 if (err != OK) {
1038 return err;
1041 err = setupVideoEncoder(mediaSource, &source);
1042 if (err != OK) {
1043 return err;
1066 status_t err = setupAudioEncoder(writer); local
1068 if (err !
1080 status_t err = setupMediaSource(&mediaSource); local
1373 status_t err = setupCameraSource(&cameraSource); local
1388 status_t err = OK; local
1587 status_t err = OK; local
1702 status_t err = OK; local
[all...]

Completed in 604 milliseconds

<<111213