Searched refs:err (Results 251 - 275 of 595) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp67 ssize_t err = BitTube::recvObjects(mSensorChannel, local
69 if (err < 0) {
70 return err;
72 mAvailable = static_cast<size_t>(err);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DFakeWifiLog.java25 public LogMessage err(String format) { method in class:FakeWifiLog
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp215 int err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd); local
216 if (err == 0 && fenceFd >= 0) {
219 err = fence->waitForever("SoftwareRenderer::render");
221 if (err != 0) {
222 ALOGW("Surface::dequeueBuffer returned error %d", err);
362 if ((err = native_window_set_buffers_timestamp(mNativeWindow.get(),
364 ALOGW("Surface::set_buffers_timestamp returned error %d", err);
373 if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) {
374 ALOGW("failed to set dataspace on surface (%d)", err);
378 if ((err
[all...]
/frameworks/base/core/java/android/os/
H A DBinder.java467 ParcelFileDescriptor err = data.readFileDescriptor();
475 err != null ? err.getFileDescriptor() : out.getFileDescriptor(),
481 IoUtils.closeQuietly(err);
563 * @param err The raw file descriptor that command error messages should be written to.
570 public void shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
573 onShellCommand(in, out, err, args, callback, resultReceiver);
584 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
586 FileOutputStream fout = new FileOutputStream(err != null ? err
790 shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, String[] args, ShellCallback callback, ResultReceiver resultReceiver) argument
[all...]
/frameworks/native/libs/nativewindow/
H A DAHardwareBuffer.cpp68 status_t err = gbuffer->initCheck(); local
69 if (err != 0 || gbuffer->handle == 0) {
70 if (err == NO_MEMORY) {
74 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle);
75 return err;
159 status_t err = gBuffer->flatten(dataStart, flattenedSizeCopy, fdsStart, local
161 if (err != NO_ERROR) {
162 return err;
259 status_t err = gBuffer->unflatten(data, dataLen, fdData, fdCount); local
260 if (err !
[all...]
H A DANativeWindow.cpp66 int32_t err = native_window_set_buffers_format(window, format); local
67 if (!err) {
68 err = native_window_set_buffers_user_dimensions(window, width, height);
69 if (!err) {
74 err = native_window_set_scaling_mode(window, mode);
77 return err;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp372 status_t err; local
394 err = selectConfigForAttribute(display, attribs,
396 if (err == NO_ERROR) {
402 return err;
406 status_t err; local
410 err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
411 if (err != NO_ERROR) {
413 err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
414 if (err != NO_ERROR) {
418 err
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp108 status_t err = root->assignResourceIds(assets, table); local
109 if (err != NO_ERROR) {
115 status_t err = root->parseValues(assets, table); local
116 if (err != NO_ERROR) {
133 status_t err = root->flatten(target, local
136 if (err != NO_ERROR) {
137 return err;
149 return err;
348 status_t err; local
392 err
607 status_t err; local
705 status_t err; local
788 status_t err = parseXMLResource(in, &block, false, true); local
1809 status_t err = assets->buildIncludedResources(bundle); local
1884 status_t err = e->setItem(sourcePos, value, style, format, overwrite); local
2191 status_t err = flatten(bundle, filter, data, isBase); local
2598 status_t err = p->applyPublicTypeOrder(); local
2623 status_t err = e->generateAttributes(this, p->getName()); local
2696 status_t err = e->assignResourceIds(this, p->getName()); local
2806 status_t err = NO_ERROR; local
2985 status_t err = e->prepareFlatten(&valueStrings, this, local
3061 status_t err = flattenLibraryTable(data, libraryPackages); local
3309 status_t err = dest->writeData(&header, sizeof(header)); local
3317 status_t err = valueStrings.writeStringBlock(dest); local
3561 status_t err = makeItABag(sourcePos); local
3603 status_t err = makeItABag(sourcePos); local
3629 status_t err = table->addEntry(SourcePos(String8("<generated>"), 0), package, local
3768 status_t err = data->writeData(&header, sizeof(header)); local
3808 status_t err = data->writeData(&mapHeader, sizeof(mapHeader)); local
4136 status_t err = setStrings(data, &mTypeStrings, &mTypeStringsMapping); local
4150 status_t err = setStrings(data, &mKeyStrings, &mKeyStringsMapping); local
4170 status_t err = strings->setTo(data->getData(), data->getSize()); local
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp36 struct sf_jpeg_error_mgr *sf_err = (struct sf_jpeg_error_mgr *)cinfo->err;
52 cinfo.err = jpeg_std_error(&sf_err.jerr);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
H A Damrnbdec_test.cpp87 int err = GSMInitDecode(&amrHandle, (Word8*)"AMRNBDecoder"); local
88 if(err != 0){
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp40 status_t err = OK; local
44 if ((err = pthread_create(&mThread, &attr, WebmFrameThread::wrap, this))) {
48 return err;
293 status_t err = mSource->start(meta.get()); local
294 if (err != OK) {
297 return err;
339 status_t err = OK; local
341 while (!mDone && (err = mSource->read(&buffer, NULL)) == OK) {
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.h117 void notifyInitDone(status_t err);
118 void notifyError(status_t err);
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java90 System.err.println("ERROR: null root node returned by UiTestAutomationBridge.");
101 System.err.println("ERROR: could not get idle state.");
/frameworks/base/core/java/android/nfc/tech/
H A DMifareUltralight.java242 int err = mTag.getTagService().setTimeout(
244 if (err != ErrorCodes.SUCCESS) {
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp201 int err; local
203 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) {
204 ALOGE("Can't open fingerprint HW Module, error: %d", err);
221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
222 ALOGE("Can't open fingerprint methods, error: %d", err);
232 err = gContext.device->set_notify(gContext.device, hal_notify_callback);
233 if (err < 0) {
234 ALOGE("Failed in call to set_notify(), err=%d", err);
/frameworks/base/services/coverage/java/com/android/server/coverage/
H A DCoverageService.java58 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
60 new CoverageCommand().exec(this, in, out, err, args, callback, resultReceiver);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp223 int err = hwc_open_1(module, &mHwc); local
224 if (err) {
226 HWC_HARDWARE_COMPOSER, strerror(-err));
246 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
247 if (err != 0) {
249 return err;
366 status_t err = mHwc->getDisplayConfigs(mHwc, disp, configs, &numConfigs); local
367 if (err != NO_ERROR) {
370 return err;
375 err
548 status_t err = NO_ERROR; local
695 int err = mHwc->prepare(mHwc, mNumDisplays, mLists); local
770 int err = NO_ERROR; local
[all...]
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp275 status_t err; local
276 if ((err = getFrameSizeByOffset(mDataSource, mOffset,
278 return err;
307 status_t err = mGroup->acquire_buffer(&buffer); local
308 if (err != OK) {
309 return err;
H A DMediaCodecListOverrides.cpp140 status_t err = OK; local
142 while (err == OK && codecs.size() < kMaxInstances) {
150 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
151 if (err != OK) {
159 err = codec->configure(format, nativeWindow, crypto, flags);
160 if (err != OK) {
166 err = codec->start();
167 if (err != OK) {
177 err = codecs[i]->release();
178 if (err !
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp253 status_t err = context->startGlTimer(); local
254 if (err != OK) {
255 switch (err) {
278 status_t err = context->stopGlTimer(); local
279 if (err != OK) {
280 switch (err) {
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp206 status_t err = local
208 if (err != NO_ERROR)
221 status_t err = local
223 if (err != NO_ERROR)
233 status_t err = buffer_->unlock(); local
234 if (err != NO_ERROR)
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp163 status_t err = dequeueChunk(); local
165 if (err == -EAGAIN && mFinalResult == OK) {
187 } else if (err != OK) {
188 mFinalResult = err;
189 return err;
560 status_t err = OK; local
563 err =
570 if (err != OK) {
571 return err;
673 status_t err local
698 status_t err = mQueue->appendData(data, size, timeUs); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp421 status_t err = initFromDataSource(); local
423 if (err != OK) {
425 notifyPreparedAndCleanup(err);
432 err = convertMetaDataToMessage(meta, &msg);
433 if(err != OK) {
434 notifyPreparedAndCleanup(err);
456 status_t err = startSources(); local
457 if (err != OK) {
459 notifyPreparedAndCleanup(err);
481 void NuPlayer::GenericSource::notifyPreparedAndCleanup(status_t err) { argument
816 status_t err = msg->postAndAwaitResponse(&response); local
941 status_t err = msg->postAndAwaitResponse(&response); local
1018 status_t err = msg->postAndAwaitResponse(&response); local
1075 status_t err = msg->postAndAwaitResponse(&response); local
1091 status_t err = doSelectTrack(trackIndex, select, timeUs); local
1196 status_t err = msg->postAndAwaitResponse(&response); local
1211 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); local
1432 status_t err = NO_ERROR; local
1747 status_t err = UNKNOWN_ERROR; local
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp348 ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key); local
350 if (err == ERROR_NOT_CONNECTED) {
352 } else if (err < 0) {
610 status_t err = onStart(msg); local
614 notify->setInt32("err", err);
816 void PlaylistFetcher::notifyError(status_t err) { argument
819 notify->setInt32("err", err);
1046 status_t err local
1238 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, junk, local
1352 status_t err = bytesRead; local
1379 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, buffer, local
1499 status_t err = extractAndQueueAccessUnits(buffer, itemMeta); local
1716 status_t err = mTSParser->feedTSPacket(buffer->data() + offset, 188); local
1784 status_t err = OK; local
[all...]
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp53 int err = errno; local
56 if (err != ENOENT) {
57 ALOGW("Failed to open '%s', errno=%d (%s)", path.c_str(), err, strerror(err));
73 ALOGW("Error reading from fd=%d, path='%s' err=%d (%s)",
202 int err = errno; local
203 ALOGW("Failed to open '%s', error=%d (%s)", path.c_str(), err, strerror(err));
208 int err = errno; local
210 path.c_str(), wrote, err, strerro
[all...]

Completed in 568 milliseconds

<<11121314151617181920>>