Searched defs:err (Results 201 - 225 of 466) sorted by relevance

1234567891011>>

/frameworks/native/cmds/flatland/
H A DGLHelper.cpp232 status_t err = mSurfaceComposerClient->getDisplayInfo(dpy, &info); local
233 if (err != NO_ERROR) {
234 fprintf(stderr, "SurfaceComposer::getDisplayInfo failed: %#x\n", err);
248 status_t err;
253 err = mSurfaceComposerClient->initCheck();
254 if (err != NO_ERROR) {
255 fprintf(stderr, "SurfaceComposerClient::initCheck error: %#x\n", err);
/frameworks/native/libs/binder/
H A DBinder.cpp65 status_t IBinder::shellCommand(const sp<IBinder>& target, int in, int out, int err, argument
73 send.writeFileDescriptor(err);
123 status_t err = NO_ERROR; local
129 err = onTransact(code, data, reply, flags);
137 return err;
232 int err = data.readFileDescriptor(); local
244 //return shellCommand(in, out, err, args, resultReceiver);
247 (void)err;
H A DBufferedTextOutput.cpp167 status_t err; local
182 err = b->append(prefix, strlen(prefix));
183 if (err != NO_ERROR) return err;
206 err = b->append(first, txt-first);
207 if (err != NO_ERROR) return err;
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp182 GLenum err = glGetError(); local
183 if (err != GL_NO_ERROR) {
184 msg += String8::format("error reading pixel: %#x", err);
185 while ((err = glGetError()) != GL_NO_ERROR) {
186 msg += String8::format(", %#x", err);
H A DSurfaceTextureClient_test.cpp135 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
137 EXPECT_EQ(NO_ERROR, err);
143 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); local
144 EXPECT_EQ(NO_ERROR, err);
/frameworks/native/libs/nativewindow/
H A DAHardwareBuffer.cpp75 status_t err = gbuffer->initCheck(); local
76 if (err != 0 || gbuffer->handle == 0) {
77 if (err == NO_MEMORY) {
81 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle);
82 return err;
166 status_t err = gBuffer->flatten(dataStart, flattenedSizeCopy, fdsStart, local
168 if (err != NO_ERROR) {
169 return err;
266 status_t err = gBuffer->unflatten(data, dataLen, fdData, fdCount); local
267 if (err !
[all...]
H A DANativeWindow.cpp85 int32_t err = native_window_set_buffers_format(window, format); local
86 if (!err) {
87 err = native_window_set_buffers_user_dimensions(window, width, height);
88 if (!err) {
93 err = native_window_set_scaling_mode(window, mode);
96 return err;
/frameworks/native/libs/sensor/
H A DISensorServer.cpp234 int err = data.readFileDescriptor(); local
249 status = shellCommand(in, out, err, args);
H A DSensorManager.cpp110 status_t err = getService(name, &s); local
111 switch (err) {
121 return err;
141 status_t err = IInterface::asBinder(mSensorServer)->pingBinder(); local
142 if (err != NO_ERROR) {
179 status_t err = assertStateLocked(); local
180 if (err < 0) {
181 return static_cast<ssize_t>(err);
189 status_t err = assertStateLocked(); local
190 if (err <
[all...]
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp262 status_t err = mTextures.add(name, result); local
263 if (err < 0)
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp448 const char* err = dlerror(); local
449 ALOGE("load_driver(%s): %s", driver_absolute_path, err ? err : "unknown");
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp99 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); local
100 if (err != 0) {
101 fprintf(stderr, "yuvTexBuffer->lock(...) failed: %d\n", err);
124 err = yuvTexBuffer->unlock();
125 if (err != 0) {
126 fprintf(stderr, "yuvTexBuffer->unlock() failed: %d\n", err);
/frameworks/native/opengl/tests/lib/include/
H A DEGLUtils.h42 static inline const char *strerror(EGLint err);
70 const char *EGLUtils::strerror(EGLint err) argument
72 switch (err){
140 int err; local
146 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
147 return err;
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp186 status_t err = conn->postEvent(event); variable
187 if (err == -EAGAIN || err == -EWOULDBLOCK) {
195 } else if (err < 0) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DLogcatLog.java54 public LogMessage err(String format) { method in class:LogcatLog
/frameworks/wilhelm/src/
H A DThreadPool.cpp94 int err; local
98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL);
99 result = err_to_result(err);
103 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL);
104 result = err_to_result(err);
108 err = pthread_cond_init(&tp->mCondNotEmpty, (const pthread_condattr_t *) NULL);
109 result = err_to_result(err);
149 int err = pthread_create(&tp->mThreadArray[i], (const pthread_attr_t *) NULL, local
151 result = err_to_result(err);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp729 int err; local
732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
733 if (0 != err) {
735 "errno %d", nativeWindow, err);
H A Dandroid_GenericMediaPlayer.cpp82 static const char *media_error_type_to_string(media_error_type err) argument
84 switch (err) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp253 status_t err = mGroup->acquire_buffer(&buffer); local
254 if (err != OK) {
255 return err;
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp103 status_t err = mCbLooper->start( local
107 if (err != OK) {
109 __FUNCTION__, strerror(-err), err);
135 status_t err = VendorTagDescriptor::setAsGlobalVendorTagDescriptor(desc); local
136 if (err != OK) {
138 __FUNCTION__, strerror(-err), err);
151 status_t err = local
154 if (err !
[all...]
/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp389 status_t err = UNKNOWN_ERROR; local
399 err = toStatusT(status);
404 err = DEAD_OBJECT;
407 if (err == OK) {
410 return err;
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp181 status_t err = license_fetcher->Init(str.string()); local
182 if (err != OK) {
183 ALOGE("provision: failed to init ClearKeyLicenseFetcher (err=%d)", err);
184 return err;
189 err = key_fetcher->Init();
190 if (err != OK) {
191 ALOGE("provision: failed to init ClearKeyFetcher (err=%d)", err);
192 return err;
316 status_t err = keyFetcher->ObtainKey(mEcmBuffer, &asset_id, &keys); local
376 status_t err = OK; local
[all...]
/frameworks/av/media/extractors/aac/
H A DAACExtractor.cpp299 status_t err = mGroup->acquire_buffer(&buffer); local
300 if (err != OK) {
301 return err;
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp445 status_t err = mGroup->acquire_buffer(&buffer); local
446 if (err != OK) {
447 return err;
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp327 status_t err = mAudioRecord->getPosition(&mPositionWhenStarting); local
328 if (err != OK) {
329 return AAudioConvert_androidToAAudioResult(err);
335 err = mAudioRecord->start();
336 if (err != OK) {
337 return AAudioConvert_androidToAAudioResult(err);
364 status_t err; local
368 err = mAudioRecord->getPosition(&position);
369 if (err != OK) {
370 result = AAudioConvert_androidToAAudioResult(err);
[all...]

Completed in 48 milliseconds

1234567891011>>