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

1234567891011>>

/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/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.cpp51 int err = ashmem_set_prot_region(mProxyFileDescriptor, PROT_READ|PROT_WRITE); local
52 if (err < 0) {
H A DAAudioThread.cpp76 int err = pthread_create(&mThread, nullptr, AAudioThread_internalThreadProc, this); local
77 if (err != 0) {
78 ALOGE("start() - pthread_create() returned %d %s", err, strerror(err));
79 return AAudioConvert_androidToAAudioResult(-err);
81 int err = pthread_setname_np(mThread, mName); local
82 ALOGW_IF((err != 0), "Could not set name of AAudioThread. err = %d", err);
93 int err local
[all...]
H A DSharedRingBuffer.cpp54 int err = ashmem_set_prot_region(mFileDescriptor.get(), PROT_READ|PROT_WRITE); // TODO error handling? local
55 if (err < 0) {
/frameworks/av/media/extractors/mp4/
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/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/base/libs/hwui/
H A DProfileDataContainer.cpp55 int err = errno; local
56 ALOGW("Failed to get ashmem region size from fd %d, err %d %s", ashmemfd, err,
57 strerror(err));
68 int err = errno; local
69 ALOGW("Failed to move profile data to ashmem fd %d, error = %d", ashmemfd, err);
/frameworks/native/services/surfaceflinger/
H A Dmain_surfaceflinger.cpp62 status_t err = displayservice->registerAsService(); local
64 if (err != OK) {
68 return err;
/frameworks/av/cmds/stagefright/
H A Drecord.cpp88 status_t err = mGroup.acquire_buffer(buffer);
89 if (err != OK) {
90 return err;
186 status_t err = OK;
235 err = writer->stop();
255 err = encoder->stop();
270 status_t err = source->read(&buffer);
271 CHECK_EQ(err, (status_t)OK);
280 err = source->stop();
286 if (err !
330 status_t err; local
[all...]
/frameworks/av/media/libaaudio/src/utility/
H A DAudioClock.h59 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr); local
60 switch (err) {
67 return 0 - err;
89 int err = clock_nanosleep(clockId, flags, &time, nullptr); local
90 switch (err) {
97 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);
165 err=LVCS_SEnhancerInit(hInstance,
168 err=LVCS_ReverbGeneratorInit(hInstance,
171 err=LVCS_EqualiserInit(hInstance,
174 err=LVCS_BypassMixInit(hInstance,
198 err=LVCS_BypassMixInit(hInstance,
201 if(err != LVCS_SUCCESS)
203 return err;
231 err
[all...]
H A DLVCS_Process.c78 LVCS_ReturnStatus_en err; local
103 err = LVCS_StereoEnhancer(hInstance, /* Instance handle */
111 err = LVCS_ReverbGenerator(hInstance, /* Instance handle */
119 err = LVCS_Equaliser(hInstance, /* Instance handle */
126 err = LVCS_BypassMixer(hInstance, /* Instance handle */
132 if(err != LVCS_SUCCESS)
134 return err;
148 LVCS_ReturnStatus_en err; local
170 err=LVCS_StereoEnhancer(hInstance, /* Instance handle */
178 err
241 LVCS_ReturnStatus_en err; local
404 LVCS_ReturnStatus_en err; local
[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/base/cmds/backup/
H A Dbackup.cpp54 int err; local
76 err = reader.ReadEntityHeader(&key, &dataSize);
77 if (err == 0) {
/frameworks/base/cmds/bootanimation/iot/
H A DBootParameters.cpp53 std::string err; local
54 if (!RemoveFileIfExists(kLastBootFile, &err))
55 ALOGE("Unable to delete last boot file: %s", err.c_str());
/frameworks/base/cmds/incident_helper/src/
H A Dmain.cpp102 status_t err = parser->Parse(STDIN_FILENO, STDOUT_FILENO); local
103 if (err != NO_ERROR) {
104 fprintf(stderr, "Parse error in section %d: %s\n", sectionID, strerror(-err));
/frameworks/base/cmds/statsd/src/
H A Dmain.cpp70 status_t err; local
79 err = pthread_attr_init(&attr);
80 if (err != NO_ERROR) {
81 return err;
84 err = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
85 if (err != NO_ERROR) {
87 return err;
89 err = pthread_create(&thread, &attr, log_reader_thread_func, static_cast<void*>(data));
90 if (err != NO_ERROR) {
92 return err;
125 status_t err = start_log_reader_thread(service); local
[all...]
/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.cpp36 int err = errno; local
37 fprintf(stderr, "Failed to read from /proc/self/exe; r=%zd, err=%d (%s)\n", r, err,
38 strerror(err));
/frameworks/base/libs/services/src/os/
H A DStatsDimensionsValue.cpp68 status_t err ; local
70 err = out->writeInt32(mField);
71 if (err != NO_ERROR) {
72 return err;
74 err = out->writeInt32(mValueType);
75 if (err != NO_ERROR) {
76 return err;
80 err = out->writeString16(mStrValue);
83 err = out->writeInt32(mIntValue);
86 err
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCasStateException.java31 private MediaCasStateException(int err, @Nullable String msg, @Nullable String diagnosticInfo) { argument
33 mErrorCode = err;
37 static void throwExceptionIfNeeded(int err) { argument
38 throwExceptionIfNeeded(err, null /* msg */);
41 static void throwExceptionIfNeeded(int err, @Nullable String msg) { argument
42 if (err == Status.OK) {
45 if (err == Status.BAD_VALUE) {
50 switch (err) {
85 throw new MediaCasStateException(err, msg,
86 String.format("%s (err
[all...]

Completed in 769 milliseconds

1234567891011>>