Searched defs:err (Results 1 - 25 of 314) 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);
H A Dpvmp3_seek_synch.cpp134 ERROR_CODE err; local
146 err = pvmp3_header_sync(&pVars->inputStream);
148 if (err == NO_DECODING_ERROR)
227 err = NO_DECODING_ERROR;
232 err = SYNCH_LOST_ERROR;
240 return(err);
/frameworks/native/services/surfaceflinger/tests/waitforvsync/
H A Dwaitforvsync.cpp36 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); local
37 if (err < 0) {
/frameworks/av/media/libmedia/
H A DIMediaHTTPService.cpp44 status_t err = reply.readInt32(); local
46 if (err != OK) {
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp78 status_t err; local
79 if ((err = findChunkRange(sampleIndex)) != OK) {
81 return err;
94 status_t err;
95 if ((err = getChunkOffset(chunk, &mCurrentChunkOffset)) != OK) {
97 return err;
108 if ((err = getSampleSizeDirect(
111 return err;
135 status_t err;
136 if ((err
[all...]
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesListener.cpp38 status_t err = remote()->transact(TRANSACT_BATTERYPROPERTIESCHANGED, data, &reply, IBinder::FLAG_ONEWAY); local
/frameworks/native/services/surfaceflinger/
H A DEventControlThread.cpp42 status_t err = mCond.wait(mMutex); local
43 if (err != NO_ERROR) {
45 strerror(-err), err);
/frameworks/native/services/surfaceflinger/tests/screencap/
H A Dscreencap.cpp46 status_t err = composer->captureScreen(display, &heap, &w, &h, &f, 0, 0); local
47 if (err != NO_ERROR) {
48 fprintf(stderr, "screen capture failed: %s\n", strerror(-err));
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp38 status_t err; local
40 if ((err = mMetadata.readFromParcel(parcel)) != OK) {
42 return err;
47 if ((err = parcel->readInt32(&size)) != OK) {
49 return err;
93 status_t err; local
95 if ((err = mMetadata.writeToParcel(parcel)) != OK) {
96 return err;
/frameworks/av/cmds/stagefright/
H A Drecord.cpp85 status_t err = mGroup.acquire_buffer(buffer);
86 if (err != OK) {
87 return err;
188 status_t err = OK;
239 err = writer->stop();
259 err = encoder->stop();
275 status_t err = source->read(&buffer);
276 CHECK_EQ(err, (status_t)OK);
285 err = source->stop();
291 if (err !
334 status_t err; local
[all...]
H A DSineSource.cpp65 status_t err = mGroup->acquire_buffer(&buffer); local
67 if (err != OK) {
68 return err;
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h67 T err = abs(val) % period; local
68 return (err < (period / 2)) ? err : (period - err);
/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/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.cpp57 int err; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
80 if (err == 0) {
/frameworks/base/tools/aapt/
H A Dprintapk.cpp37 int err; local
93 err = decompress_zipentry(entry, resfile, bufsize);
94 if (err != 0) {
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp83 int err = service->dump(STDOUT_FILENO, args); local
84 if (err != 0) {
85 aerr << "Error dumping service info: (" << strerror(err)
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp37 status_t err = graphicBuffer->initCheck(); local
38 *error = err;
39 if (err != 0 || graphicBuffer->handle == 0) {
40 if (err == NO_MEMORY) {
45 w, h, 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 579 milliseconds

1234567891011>>