Searched defs:err (Results 151 - 175 of 436) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DAACWriter.cpp120 status_t err = mSource->start(); local
122 if (err != OK) {
123 return err;
159 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local
162 if (err == OK &&
164 err = status;
169 return err;
291 status_t err = OK; local
296 while (!mDone && err == OK) {
298 err
[all...]
H A DAMRExtractor.cpp275 status_t err; local
276 if ((err = getFrameSizeByOffset(mDataSource, mOffset,
278 return err;
307 status_t err = mGroup->acquire_buffer(&buffer); local
308 if (err != OK) {
309 return err;
H A DAudioPlayer.cpp87 status_t err; local
89 err = mSource->start();
91 if (err != OK) {
92 return err;
191 status_t err = mAudioSink->open( local
199 if (err == OK) {
211 err = mAudioSink->start();
214 err = OK;
218 if (err != OK) {
228 return err;
296 status_t err; local
503 status_t err; local
[all...]
H A DMidiExtractor.cpp233 status_t err = mGroup->acquire_buffer(&buffer); local
234 if (err != OK) {
H A DSimpleDecodingSource.cpp73 status_t err = codec->configure(format, surface, NULL /* crypto */, 0 /* flags */); local
74 if (err == OK) {
75 err = codec->getOutputFormat(&format);
77 if (err == OK) {
H A DSurfaceMediaSource.cpp74 status_t err = mConsumer->consumerConnect(proxy, false); local
75 if (err != NO_ERROR) {
77 strerror(-err), err);
171 status_t err = local
174 if (err != OK) {
175 return err;
289 status_t err = mConsumer->acquireBuffer(&item, 0); local
290 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
293 } else if (err
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp154 status_t err = mSource->start(params); local
155 if (err != OK) {
157 return err;
H A DSoftAACEncoder.cpp339 status_t err = setAudioSpecificConfigData(); local
341 if (err != OK) {
342 return err;
384 status_t err = getSampleRateTableIndex(mSampleRate, index); local
385 if (err != OK) {
387 return err;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dpsy_main.c197 Word16 ch, err; local
200 err = InitPsyConfigurationLong(channelBitRate,
205 if (!err) {
207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels,
211 if (!err)
212 err = InitPsyConfigurationShort(channelBitRate,
216 if (!err) {
217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels,
221 if (!err)
233 return(err);
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp128 Word16 err = GSMInitDecode(&mState, (Word8 *)"AMRNBDecoder"); local
130 if (err != 0) {
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp274 vpx_codec_err_t err = vpx_codec_decode( local
277 if (err == VPX_CODEC_OK) {
284 ALOGE("on2 decoder failed to decode frame. err: %d", err);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp396 int err = vorbis_dsp_synthesis(mState, &pack, 1); local
397 if (err != 0) {
400 ALOGV("vorbis_dsp_synthesis returned %d", err);
402 ALOGW("vorbis_dsp_synthesis returned %d", err);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp215 int err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd); local
216 if (err == 0 && fenceFd >= 0) {
219 err = fence->waitForever("SoftwareRenderer::render");
221 if (err != 0) {
222 ALOGW("Surface::dequeueBuffer returned error %d", err);
362 if ((err = native_window_set_buffers_timestamp(mNativeWindow.get(),
364 ALOGW("Surface::set_buffers_timestamp returned error %d", err);
373 if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) {
374 ALOGW("failed to set dataspace on surface (%d)", err);
378 if ((err
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp123 status_t err = mThread->run( local
125 if (err != OK) {
129 return err;
254 status_t err = replyToken->setReply(reply); local
255 if (err == OK) {
258 return err;
H A DAString.cpp375 status_t err = parcel->writeInt32(mSize); local
376 if (err == OK) {
377 err = parcel->write(mData, mSize);
379 return err;
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaErrors.h103 // returns true if err is a recognized DRM error code
104 static inline bool isCryptoError(status_t err) { argument
105 return (ERROR_DRM_LAST_USED_ERRORCODE <= err && err <= ERROR_DRM_UNKNOWN)
106 || (ERROR_DRM_VENDOR_MIN <= err && err <= ERROR_DRM_VENDOR_MAX);
/frameworks/av/media/libstagefright/include/
H A DMediaErrors.h103 // returns true if err is a recognized DRM error code
104 static inline bool isCryptoError(status_t err) { argument
105 return (ERROR_DRM_LAST_USED_ERRORCODE <= err && err <= ERROR_DRM_UNKNOWN)
106 || (ERROR_DRM_VENDOR_MIN <= err && err <= ERROR_DRM_VENDOR_MAX);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp97 status_t err = initSession( local
99 if (err != OK) {
100 return err;
248 status_t err; local
249 if ((err = mProgramCasMap.editValueAt(
251 return err;
/frameworks/av/media/libstagefright/omx/1.0/
H A DWGraphicBufferSource.cpp51 status_t err = toStatusT(mOmxNode->emptyBuffer( variable
59 return err;
126 Return<Status> err(omxNode->setInputSurface(mOmxBufferSource));
127 status_t fnStatus = toStatusT(err);
130 return err;
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp108 status_t err = OK; local
116 err = packetizerTrackIndex;
123 if (err == OK) {
129 err = mTSSender->initAsync(
137 if (err != OK) {
143 if (err != OK) {
150 return err;
180 status_t err = info->mSender->initAsync( local
188 if (err != OK) {
192 return err;
252 status_t err = packetizeAccessUnit( local
313 int32_t err; local
330 int32_t err; local
367 notifyInitDone(status_t err) argument
374 notifyError(status_t err) argument
413 status_t err; local
[all...]
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( local
111 if (err != OK) {
113 strerror(-err), err);
122 status_t err; local
134 err = releaseOldestBufferLocked(&pinnedFrames);
136 if (err == NO_BUFFER_AVAILABLE) {
141 if (err == NOT_ENOUGH_DATA) {
146 if (err != OK) {
148 return err;
188 status_t err = OK; local
270 status_t err; local
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp172 status_t err = buf.nextUint32(&i); local
173 if (err != NO_ERROR) {
174 return err;
186 err = buf.nextUint32(&i);
187 if (err != NO_ERROR) {
188 return err;
192 err = buf.nextUint32(&i);
193 if (err != NO_ERROR) {
194 return err;
198 err
230 status_t err = buf.nextUint16(&data16); local
[all...]
/frameworks/base/cmds/incidentd/src/
H A DSection.cpp93 status_t err = data->section->BlockingCall(data->writeFd()); local
98 data->workerError = err;
110 status_t err = NO_ERROR; local
120 err = pipe(data->fds);
121 if (err != 0) {
130 err = pthread_attr_init(&attr);
131 if (err != 0) {
132 return -err;
135 err = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
136 if (err !
[all...]
/frameworks/base/core/java/android/os/
H A DShellCommand.java58 public void init(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
63 mErr = err;
78 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
89 init(target, in, out, err, args, callback, start);
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp284 int err = RegisterMethodsOrDie(env, "android/graphics/FontFamily", gFontFamilyMethods, local
288 return err;

Completed in 311 milliseconds

1234567891011>>