/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 99 status_t *status) 140 if (status) { 141 *status = lStatus; 155 status_t *status) 194 ALOGE("openRecord returned an IAudioRecord but with status %d", lStatus); 199 if (status) { 200 *status = lStatus; 533 status_t status = reply.readInt32(); local 534 if (status == NO_ERROR) { 544 return status; 87 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, String8& name, status_t *status) argument 146 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, track_flags_t *flags, pid_t tid, int *sessionId, status_t *status) argument 560 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply); local 588 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local 610 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local 631 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local 643 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, status_t *status, int *id, int *enabled) argument 766 status_t status; local 795 status_t status; local 1015 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local 1049 status_t status = queryNumberEffects(&numEffects); local 1059 status_t status = queryEffect(data.readInt32(), &desc); local 1071 status_t status = getEffectDescriptor(&uuid, &desc); local 1086 status_t status; local [all...] |
H A D | IAudioPolicyService.cpp | 372 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); local 373 if (status != NO_ERROR) { 374 return status; 376 status = static_cast <status_t> (reply.readInt32()); 383 return status; 570 status_t status = getStreamVolumeIndex(stream, &index, device); local 572 reply->writeInt32(static_cast <uint32_t>(status)); 662 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount); local 663 reply->writeInt32(status); 664 if (status ! [all...] |
H A D | IAudioRecord.cpp | 50 status_t status = remote()->transact(GET_CBLK, data, &reply); local 51 if (status == NO_ERROR) { 63 status_t status = remote()->transact(START, data, &reply); local 64 if (status == NO_ERROR) { 65 status = reply.readInt32(); 67 ALOGW("start() error: %s", strerror(-status)); 69 return status;
|
H A D | IAudioTrack.cpp | 60 status_t status = remote()->transact(GET_CBLK, data, &reply); local 61 if (status == NO_ERROR) { 71 status_t status = remote()->transact(START, data, &reply); local 72 if (status == NO_ERROR) { 73 status = reply.readInt32(); 75 ALOGW("start() error: %s", strerror(-status)); 77 return status; 106 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); local 107 if (status == NO_ERROR) { 108 status 119 status_t status = remote()->transact(ALLOCATE_TIMED_BUFFER, local 136 status_t status = remote()->transact(QUEUE_TIMED_BUFFER, local 153 status_t status = remote()->transact(SET_MEDIA_TIME_TRANSFORM, local 165 status_t status = remote()->transact(SET_PARAMETERS, data, &reply); local 175 status_t status = remote()->transact(GET_TIMESTAMP, data, &reply); local 235 status_t status = allocateTimedBuffer(data.readInt32(), &buffer); local 270 status_t status = getTimestamp(timestamp); local [all...] |
H A D | IEffect.cpp | 87 status_t status = remote()->transact(COMMAND, data, &reply); local 88 if (status != NO_ERROR) { 91 return status; 94 status = reply.readInt32(); 100 return status; 117 status_t status = remote()->transact(GET_CBLK, data, &reply); local 118 if (status == NO_ERROR) { 163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); local 164 reply->writeInt32(status);
|
H A D | IMediaLogService.cpp | 48 status_t status = remote()->transact(REGISTER_WRITER, data, &reply); local 49 // FIXME ignores status 56 status_t status = remote()->transact(UNREGISTER_WRITER, data, &reply); local 57 // FIXME ignores status
|
H A D | IMediaPlayerService.cpp | 97 status_t status = remote()->transact(DECODE_URL, data, &reply); local 98 if (status == NO_ERROR) { 99 status = (status_t)reply.readInt32(); 100 if (status == NO_ERROR) { 107 return status; 120 status_t status = remote()->transact(DECODE_FD, data, &reply); local 121 if (status == NO_ERROR) { 122 status = (status_t)reply.readInt32(); 123 if (status == NO_ERROR) { 130 return status; 231 status_t status = decode(url, &sampleRate, &numChannels, &format, heap, &size); local 251 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format, local [all...] |
H A D | MediaScanner.cpp | 214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, local 216 if (status) { 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, local 232 if (status) {
|
H A D | MediaScannerClient.cpp | 141 UErrorCode status = U_ZERO_ERROR; local 143 UConverter *conv = ucnv_open(enc, &status); 144 if (U_FAILURE(status)) { 148 UConverter *utf8Conv = ucnv_open("UTF-8", &status); 149 if (U_FAILURE(status)) { 182 &source, (const char *)dest, NULL, NULL, NULL, NULL, TRUE, TRUE, &status); 183 if (U_FAILURE(status)) { 184 ALOGE("ucnv_convertEx failed: %d", status); 216 status_t status = handleStringTag(mNames->getEntry(i), mValues->getEntry(i)); local 217 if (status) { [all...] |
H A D | SoundPool.cpp | 494 status_t status; local 499 status = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format, mHeap, &mSize); 501 status = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 507 if (status != NO_ERROR) { 516 status = BAD_VALUE; 522 status = BAD_VALUE; 535 return status; 550 status_t status; local 616 status = newTrack->initCheck(); 617 if (status ! [all...] |
H A D | SoundPoolThread.cpp | 107 status_t status = -1; local 109 status = sample->doLoad(); 111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
|
H A D | Visualizer.cpp | 74 status_t status = AudioEffect::setEnabled(enabled); local 76 if (status == NO_ERROR) { 90 return status; 147 status_t status = setParameter(p); local 149 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); 151 if (status == NO_ERROR) { 152 status 176 status_t status = setParameter(p); local 206 status_t status = setParameter(p); local 239 status_t status = NO_ERROR; local 266 status_t status = NO_ERROR; local 290 status_t status = NO_ERROR; local 340 status_t status = getWaveForm(waveform); local 375 status_t status = getParameter(p); local [all...] |
H A D | mediaplayer.cpp | 268 ALOGV("prepare complete - status=%d", mPrepareStatus); 784 status_t status; local 787 status = service->decode(url, pSampleRate, pNumChannels, pFormat, heap, pSize); 790 status = DEAD_OBJECT; 792 return status; 808 status_t status; local 811 status = service->decode(fd, offset, length, pSampleRate, 815 status = DEAD_OBJECT; 817 return status;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 115 // @param[out] status On exit contains the status code to be returned. 119 status_t *status) 125 *status = NOT_ENOUGH_DATA; 132 *status = BAD_VALUE; 147 *status = NOT_ENOUGH_DATA; 157 *status = BAD_VALUE; 169 *status = OK; 366 snprintf(buffer, 255, " pid(%d), connId(%d), status(%d), looping(%s)\n", 602 status_t status) 117 unmarshallFilter(const Parcel& p, Metadata::Filter *filter, status_t *status) argument 600 setDataSource_post( const sp<MediaPlayerBase>& p, status_t status) argument 793 status_t status; local 1185 status_t status = BAD_VALUE; local 1247 status_t status = BAD_VALUE; local [all...] |
H A D | MediaPlayerService.h | 359 status_t status);
|
H A D | MetadataRetrieverClient.cpp | 172 status_t status = p->setDataSource(fd, offset, length); local 173 if (status == NO_ERROR) mRetriever = p; 175 return status;
|
H A D | StagefrightRecorder.cpp | 616 } else if (key == "param-track-time-status") { 754 status_t status = OK; local 760 status = startMPEG4Recording(); 765 status = startAMRRecording(); 770 status = startAACRecording(); 774 status = startRTPRecording(); 778 status = startMPEG2TSRecording(); 783 status = UNKNOWN_ERROR; 787 if ((status == OK) && (!mStarted)) { 801 return status; 880 status_t status = startRawAudioRecording(); local 909 status_t status = startRawAudioRecording(); local 923 status_t status = BAD_VALUE; local 1452 status_t status = BAD_VALUE; local [all...] |
H A D | TestPlayerStub.cpp | 123 status_t status = parseUrl(); local 125 if (OK != status) { 127 return status;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 58 status_t status = mProvider->getNextBuffer(&mBuffer, readPTS); local 59 if (status != OK) { 60 return status == NOT_ENOUGH_DATA ? (ssize_t) WOULD_BLOCK : (ssize_t) status; 105 status_t status = mProvider->getNextBuffer(&mBuffer, readPTS); local 106 if (CC_LIKELY(status == OK)) { 113 if (CC_LIKELY(status == NOT_ENOUGH_DATA)) { 114 status = WOULD_BLOCK; 116 return accumulator > 0 ? accumulator : (ssize_t) status;
|
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 176 status_t status = mSource->stop(); local 178 (status != OK && status != ERROR_END_OF_STREAM)) { 179 err = status;
|
H A D | AMRWriter.cpp | 167 status_t status = mSource->stop(); local 169 (status != OK && status != ERROR_END_OF_STREAM)) { 170 err = status;
|
H A D | AudioSource.cpp | 61 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, local 65 if (status == OK) { 85 mInitCheck = status;
|
H A D | AwesomePlayer.cpp | 367 if (RightsStatus::RIGHTS_VALID != mDecryptHandle->status) { 1984 void AwesomePlayer::postStreamDoneEvent_l(status_t status) { argument 1990 mStreamDoneStatus = status;
|
H A D | FLACExtractor.cpp | 167 void errorCallback(FLAC__StreamDecoderErrorStatus status); 199 FLAC__StreamDecoderErrorStatus status, 260 FLAC__StreamDecoderErrorStatus status, void *client_data) 262 ((FLACParser *) client_data)->errorCallback(status); 374 void FLACParser::errorCallback(FLAC__StreamDecoderErrorStatus status) argument 376 ALOGE("FLACParser::errorCallback status=%d", status); 377 mErrorStatus = status; 258 error_callback( const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) argument
|
H A D | MPEG4Writer.cpp | 278 // Track authoring progress status 728 status_t status = (*it)->pause(); local 729 if (status != OK) { 730 err = status; 833 status_t status = (*it)->stop(); local 834 if (err == OK && status != OK) { 835 err = status; 1518 ALOGV("Receive request to track progress status for every %lld us", timeUs); 1781 status_t status = mSource->stop(); local 1782 if (err == OK && status ! [all...] |