Searched defs:err (Results 1 - 25 of 367) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp120 ERROR_CODE err = NO_DECODING_ERROR; local
139 err = pvmp3_header_sync(inputStream);
141 if (err != NO_DECODING_ERROR)
143 return err;
163 err = UNSUPPORTED_LAYER;
189 err = UNSUPPORTED_FREE_BITRATE;
192 return(err);
/frameworks/native/services/surfaceflinger/tests/waitforvsync/
H A Dwaitforvsync.cpp37 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); local
38 if (err < 0) {
/frameworks/av/media/libmedia/
H A DIMediaHTTPService.cpp44 status_t err = reply.readInt32(); local
46 if (err != OK) {
47 ALOGE("Unable to make HTTP connection (err = %d)", err);
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp78 status_t err; local
79 if ((err = findChunkRange(sampleIndex)) != OK) {
81 return err;
99 status_t err;
100 if ((err = getChunkOffset(chunk, &mCurrentChunkOffset)) != OK) {
102 return err;
113 if ((err = getSampleSizeDirect(
116 return err;
140 status_t err;
141 if ((err
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXUtils.cpp28 status_t StatusFromOMXError(OMX_ERRORTYPE err) { argument
29 switch (err) {
/frameworks/base/services/core/jni/
H A Dcom_android_server_vr_VrManagerService.cpp40 int err = hw_get_module(VR_HARDWARE_MODULE_ID, (hw_module_t const**)&gVrHardwareModule); local
41 if (err) {
43 strerror(-err), err);
H A Dcom_android_server_VibratorService.cpp41 int err = hw_get_module(VIBRATOR_HARDWARE_MODULE_ID, (hw_module_t const**)&gVibraModule); local
43 if (err) {
44 ALOGE("Couldn't load %s module (%s)", VIBRATOR_HARDWARE_MODULE_ID, strerror(-err));
64 int err = gVibraDevice->vibrator_on(gVibraDevice, timeout_ms); local
65 if (err != 0) {
66 ALOGE("The hw module failed in vibrator_on: %s", strerror(-err));
76 int err = gVibraDevice->vibrator_off(gVibraDevice); local
77 if (err != 0) {
78 ALOGE("The hw module failed in vibrator_off(): %s", strerror(-err));
/frameworks/native/libs/binder/
H A DProcessInfoService.cpp31 status_t err = NO_ERROR; local
40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states);
41 if (err == NO_ERROR) return NO_ERROR; // success
42 if (IInterface::asBinder(pis)->isBinderAlive()) return err;
H A DIProcessInfoService.cpp38 status_t err = remote()->transact(GET_PROCESS_STATES_FROM_PIDS, data, &reply); local
39 if (err != NO_ERROR || ((err = reply.readExceptionCode()) != NO_ERROR)) {
40 return err;
46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) {
47 return err;
61 status_t err = remote()->transact( local
63 if (err != NO_ERROR
64 || ((err = reply.readExceptionCode()) != NO_ERROR)) {
65 return err;
[all...]
/frameworks/native/services/surfaceflinger/
H A DEventControlThread.cpp46 status_t err = mCond.wait(mMutex); local
47 if (err != NO_ERROR) {
49 strerror(-err), err);
/frameworks/av/cmds/stagefright/
H A Drecord.cpp87 status_t err = mGroup.acquire_buffer(buffer);
88 if (err != OK) {
89 return err;
187 status_t err = OK;
236 err = writer->stop();
256 err = encoder->stop();
271 status_t err = source->read(&buffer);
272 CHECK_EQ(err, (status_t)OK);
281 err = source->stop();
287 if (err !
331 status_t err; local
[all...]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
H A DLVCS_Control.c84 LVCS_ReturnStatus_en err; local
97 err=LVCS_ReverbGeneratorInit(hInstance,pParams);
147 err=LVCS_SEnhancerInit(hInstance,
150 err=LVCS_ReverbGeneratorInit(hInstance,
153 err=LVCS_EqualiserInit(hInstance,
156 err=LVCS_BypassMixInit(hInstance,
180 err=LVCS_BypassMixInit(hInstance,
183 if(err != LVCS_SUCCESS)
185 return err;
213 err
[all...]
H A DLVCS_Process.c78 LVCS_ReturnStatus_en err; local
100 err=LVCS_StereoEnhancer(hInstance, /* Instance handle */
108 err=LVCS_ReverbGenerator(hInstance, /* Instance handle */
116 err=LVCS_Equaliser(hInstance, /* Instance handle */
123 err=LVCS_BypassMixer(hInstance, /* Instance handle */
129 if(err !=LVCS_SUCCESS)
131 return err;
171 LVCS_ReturnStatus_en err; local
189 err=LVCS_Process_CS(hInstance,
293 err
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp207 Word16 err; local
257 err = ((Word32)gcode0 * *(p++)) >> 15;
258 err = g_q0 - err;
260 if (err < 0)
262 err = -err;
267 if (err < err_min)
269 err_min = err;
H A Dq_gain_p.cpp190 Word16 err; local
202 err = sub(*gain, qua_gain_pitch[i], pOverflow);
203 err = abs_s(err);
205 if (err < err_min)
207 err_min = err;
/frameworks/av/media/libstagefright/filters/
H A DIntrinsicBlurFilter.cpp31 status_t err = SimpleFilter::configure(msg); local
32 if (err != OK) {
33 return err;
H A DSaturationFilter.cpp31 status_t err = SimpleFilter::configure(msg); local
32 if (err != OK) {
33 return err;
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp46 int err = pthread_create(&mThread, &attr, threadWrapper, this); local
49 if (err) {
64 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local
67 return err;
77 status_t err = OK; local
80 while (mStarted && (err = mSource->read(&buffer)) == OK){
/frameworks/base/cmds/backup/
H A Dbackup.cpp54 int err; local
76 err = reader.ReadEntityHeader(&key, &dataSize);
77 if (err == 0) {
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteGlobal.cpp38 static void sqliteLogCallback(void* data, int err, const char* msg) { argument
40 int errType = err & 255;
42 || errType == SQLITE_NOTICE || err == SQLITE_WARNING_AUTOINDEX) {
44 ALOG(LOG_VERBOSE, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
47 ALOG(LOG_WARN, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
49 ALOG(LOG_ERROR, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp38 status_t err = graphicBuffer->initCheck(); local
39 *error = err;
40 if (err != 0 || graphicBuffer->handle == 0) {
41 if (err == NO_MEMORY) {
46 width, height, strerror(-err), graphicBuffer->handle);
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp55 status_t err = EGLUtils::selectConfigForNativeWindow( local
57 if (err) {
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp53 status_t err = buffer->initCheck(); local
54 if (err != NO_ERROR) {
55 printf("%s\n", strerror(-err));
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp27 status_t err; local
30 err = surfaceComposerClient->initCheck();
31 if (err != NO_ERROR) {
32 fprintf(stderr, "SurfaceComposerClient::initCheck error: %#x\n", err);
40 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo);
41 if (err != NO_ERROR) {
66 err = sc->setLayer(0x7FFFFFFF); // always on top
67 if (err != NO_ERROR) {
68 fprintf(stderr, "SurfaceComposer::setLayer error: %#x\n", err);
72 err
[all...]
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp51 status_t err = EGLUtils::selectConfigForNativeWindow( local
53 if (err) {

Completed in 482 milliseconds

1234567891011>>