Searched defs:err (Results 1 - 25 of 436) 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/av/services/oboeservice/
H A DSharedMemoryProxy.cpp49 int err = ashmem_set_prot_region(mProxyFileDescriptor, PROT_READ|PROT_WRITE); local
50 if (err < 0) {
H A DAAudioThread.cpp62 int err = pthread_create(&mThread, nullptr, AAudioThread_internalThreadProc, this); local
63 if (err != 0) {
64 ALOGE("AAudioThread::start() - pthread_create() returned %d %s", err, strerror(err));
65 return AAudioConvert_androidToAAudioResult(-err);
76 int err = pthread_join(mThread, nullptr); local
78 if (err != 0) {
79 ALOGE("AAudioThread::stop() - pthread_join() returned %d %s", err, strerror(err));
80 return AAudioConvert_androidToAAudioResult(-err);
[all...]
H A DSharedRingBuffer.cpp59 int err = ashmem_set_prot_region(mFileDescriptor, PROT_READ|PROT_WRITE); // TODO error handling? local
60 if (err < 0) {
/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;
97 status_t err;
98 if ((err = getChunkOffset(chunk, &mCurrentChunkOffset)) != OK) {
100 return err;
111 if ((err = getSampleSizeDirect(
115 return err;
141 status_t err;
142 if ((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);
H A Dmain_surfaceflinger.cpp59 status_t err; local
63 err = startGraphicsAllocatorService();
64 if (err != OK) {
65 return err;
70 err = displayservice->registerAsService();
72 if (err != OK) {
76 return err;
/frameworks/av/cmds/stagefright/
H A Drecord.cpp87 status_t err = mGroup.acquire_buffer(buffer);
88 if (err != OK) {
89 return err;
185 status_t err = OK;
234 err = writer->stop();
254 err = encoder->stop();
269 status_t err = source->read(&buffer);
270 CHECK_EQ(err, (status_t)OK);
279 err = source->stop();
285 if (err !
329 status_t err; local
[all...]
/frameworks/av/drm/libmediadrm/
H A DMediaCasDefs.cpp45 status_t err = parcel->writeInt32(mCASystemId); local
46 if (err != NO_ERROR) {
47 return err;
62 status_t err = parcel->readInt32((int32_t*)&dstType); local
63 if (err != OK) {
64 return err;
71 err = parcel->readInt32((int32_t*)&scramblingControl);
72 if (err != OK) {
73 return err;
76 err
132 status_t err = parcel->writeInt32((int32_t)dstType); local
[all...]
/frameworks/av/media/libaaudio/src/utility/
H A DAudioClock.h58 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr); local
59 switch (err) {
66 return 0 - err;
88 int err = clock_nanosleep(clockId, flags, &time, nullptr); local
89 switch (err) {
96 return 0 - 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/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/base/libs/hwui/tests/unit/
H A DGraphicsStatsServiceTests.cpp37 int err = errno; local
38 fprintf(stderr, "Failed to read from /proc/self/exe; r=%zd, err=%d (%s)\n",
39 r, err, strerror(err));
/frameworks/base/media/java/android/media/
H A DMediaCasStateException.java33 public MediaCasStateException(int err, @Nullable String msg, @Nullable String diagnosticInfo) { argument
35 mErrorCode = err;
71 String.format("%s (err=%d)", diagnosticInfo, e.errorCode));
/frameworks/native/libs/binder/
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...]
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;
63 status_t err = NO_ERROR; local
72 err = pis->getProcessStatesAndOomScoresFromPids(length,
74 if (err == NO_ERROR) return NO_ERROR; // success
75 if (IInterface::asBinder(pis)->isBinderAlive()) return err;

Completed in 1054 milliseconds

1234567891011>>