Searched defs:err (Results 51 - 75 of 314) sorted by relevance

1234567891011>>

/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp35 int err; local
37 err = hw_get_module(CONSUMERIR_HARDWARE_MODULE_ID, &module);
38 if (err != 0) {
39 ALOGE("Can't open consumer IR HW Module, error: %d", err);
43 err = module->methods->open(module, CONSUMERIR_TRANSMITTER,
45 if (err < 0) {
46 ALOGE("Can't open consumer IR transmitter, error: %d", err);
/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/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...]
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolvers.cpp66 const char *err = ::dlerror(); local
71 if (err != NULL) {
72 error_length += ::strlen(err);
78 ((err != NULL) ? err : ""));
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp222 std::error_code err = llvm::sys::fs::make_absolute(output_path); local
223 if (err) {
225 << "'! (detail: " << err.message() << ")\n";
/frameworks/native/libs/gui/
H A DBitTube.cpp109 ssize_t err, len; local
113 err = len < 0 ? errno : 0;
114 } while (err == EINTR);
115 return err == 0 ? len : -err;
120 ssize_t err, len;
123 err = len < 0 ? errno : 0;
124 } while (err == EINTR);
125 if (err == EAGAIN || err
[all...]
H A DBufferItem.cpp112 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); local
113 if (err) return err;
118 status_t err = mFence->flatten(buffer, size, fds, count); local
119 if (err) return err;
154 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); local
155 if (err) return err;
161 status_t err local
[all...]
H A DSensorManager.cpp67 status_t err = getService(name, &mSensorServer); local
68 if (err == NAME_NOT_FOUND) {
72 if (err != NO_ERROR) {
73 return err;
107 status_t err = assertStateLocked(); local
108 if (err < 0) {
109 return ssize_t(err);
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
44 if (err == 0) {
103 status_t err; local
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
107 ALOGW_IF(err, "alloc(%u, %u, %d, %08x, ...) failed %d (%s)",
108 w, h, format, usage, err, strerror(-err));
110 if (err == NO_ERROR) {
129 return err;
135 status_t err; local
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp39 const char *egl_tls_t::egl_strerror(EGLint err) { argument
40 switch (err) {
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp54 status_t err = EGLUtils::selectConfigForNativeWindow( local
56 if (err) {
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp56 status_t err = EGLUtils::selectConfigForNativeWindow( local
58 if (err) {
73 EGLint err = eglGetError(); local
75 EGLUtils::strerror(err), config, r,g,b,a, vid);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp90 status_t err = acquireBufferLocked(&item, 0); local
91 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
94 } else if (err != NO_ERROR) {
95 ALOGE("error acquiring buffer: %s (%d)", strerror(-err), err);
96 return err;
110 err = releaseBufferLocked(mCurrentBufferSlot, mCurrentBuffer,
112 if (err < NO_ERROR) {
113 ALOGE("error releasing buffer: %s (%d)", strerror(-err), err);
128 status_t err = nextBuffer(buf, acquireFence); local
151 status_t err = addReleaseFence(mCurrentBufferSlot, local
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.cpp45 status_t err = checkAndUpdateEglStateLocked(); local
46 if (err != NO_ERROR) {
47 return err;
55 err = acquireBufferLocked(&item, computeExpectedPresent(dispSync));
56 if (err != NO_ERROR) {
57 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
58 err = NO_ERROR;
59 } else if (err == BufferQueue::PRESENT_LATER) {
63 strerror(-err), err);
[all...]
/frameworks/rs/driver/
H A DrsdGL.cpp53 static const char *strerror(EGLint err) { argument
54 switch (err){
496 GLenum err = glGetError();
497 if (err != GL_NO_ERROR) {
499 snprintf(buf, sizeof(buf), "GL Error = 0x%08x, from: %s", err, msg);
504 switch (err) {
/frameworks/wilhelm/src/objects/
H A DCEngine.c58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz); local
59 result = err_to_result(err);
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp45 status_t err; local
47 err = mEglWindow.createPbuffer(width, height);
48 if (err != NO_ERROR) {
49 return err;
58 err = mExtTexProgram.setup(Program::PROGRAM_EXTERNAL_TEXTURE);
59 if (err != NO_ERROR) {
60 return err;
125 status_t err = mExtTexProgram.blit(mExtTextureName, texMatrix, 0, 0, local
127 if (err != NO_ERROR) {
128 return err;
[all...]
/frameworks/av/media/libmedia/
H A DIMediaHTTPConnection.cpp97 status_t err = remote()->transact(READ_AT, data, &reply); local
98 if (err != OK) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp140 status_t err = mTSParser->feedTSPacket(buffer, sizeof(buffer)); local
142 if (err != OK) {
143 ALOGE("TS Parser returned error %d", err);
145 mTSParser->signalEOS(err);
146 setError(err);
179 status_t err; local
182 && (durationUs = audioTrack->getBufferedDurationUs(&err))
184 && err == OK) {
191 && (durationUs = videoTrack->getBufferedDurationUs(&err))
193 && err
202 setError(status_t err) argument
245 status_t err = source->dequeueAccessUnit(accessUnit); local
[all...]
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp128 status_t err = mSource->start(); local
130 if (err != OK) {
131 return err;
167 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local
170 if (err == OK &&
172 err = status;
177 return err;
205 status_t err = OK; local
210 err = mSource->read(&buffer);
212 if (err !
[all...]
H A DWVMExtractor.cpp162 void WVMExtractor::setError(status_t err) { argument
164 mImpl->setError(err);
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp120 status_t err = mThread->run( local
122 if (err != OK) {
126 return err;
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp187 status_t err = mHTTPConnection->getMIMEType(&mimeType); local
189 if (err != OK) {
/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/timedtext/test/
H A DTimedTextSRTSource_test.cpp115 status_t err; member in class:android::test::TimedTextSRTSourceTest
120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
121 EXPECT_EQ(OK, err);
127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
128 EXPECT_EQ(OK, err);
133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
134 EXPECT_EQ(OK, err);
139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
140 EXPECT_EQ(OK, err);
145 err
[all...]

Completed in 547 milliseconds

1234567891011>>