/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 165 SLuint32 status; local 166 result = (*caller)->GetPrefetchStatus(caller, &status); 168 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event); 171 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 175 new_prefetch_status = status; 474 /* for prefetch status */ 597 /* Get the prefetch status interface which was explicitly requested */ 757 // wait for prefetch status callback to indicate either sufficient data or error
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 188 // Prefetch status callback 197 SLuint32 status; local 198 result = (*caller)->GetPrefetchStatus(caller, &status); 202 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) { 205 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) { 206 new_prefetch_status = status; 593 // get the prefetch status interface 599 // enable prefetch status callbacks 611 // wait for prefetch status callback to indicate either sufficient data or error
|
H A D | xaplay.c | 91 // prefetch status callback 100 XAuint32 status; local 101 result = (*caller)->GetPrefetchStatus(caller, &status); 107 printf("PrefetchEventCallback: Prefetch Status is = %u\n", status); 111 && (level == 0) && (status == XA_PREFETCHSTATUS_UNDERFLOW)) { 115 new_prefetch_status = status; 506 // get the prefetch status interface 512 // register prefetch status callback 579 // wait for prefetch status callback to indicate either sufficient data or error 799 XAuint32 status; local [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 805 int status; local 806 pid_t actualPid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 809 } else if (status != 0) { 810 ALOGW("'am broadcast' exited with status=%d", status);
|
/frameworks/av/drm/libmediadrm/ |
H A D | IDrm.cpp | 75 status_t status = remote()->transact(INIT_CHECK, data, &reply); local 76 if (status != OK) { 77 return status; 88 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); local 89 if (status != OK) { 90 ALOGE("isCryptoSchemeSupported: binder call failed: %d", status); 103 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); local 104 if (status != OK) { 105 ALOGE("createPlugin: binder call failed: %d", status); 106 return status; 115 status_t status = remote()->transact(DESTROY_PLUGIN, data, &reply); local 129 status_t status = remote()->transact(OPEN_SESSION, data, &reply); local 143 status_t status = remote()->transact(CLOSE_SESSION, data, &reply); local 172 status_t status = remote()->transact(GET_KEY_REQUEST, data, &reply); local 192 status_t status = remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply); local 207 status_t status = remote()->transact(REMOVE_KEYS, data, &reply); local 222 status_t status = remote()->transact(RESTORE_KEYS, data, &reply); local 236 status_t status = remote()->transact(QUERY_KEY_STATUS, data, &reply); local 260 status_t status = remote()->transact(GET_PROVISION_REQUEST, data, &reply); local 278 status_t status = remote()->transact(PROVIDE_PROVISION_RESPONSE, data, &reply); local 293 status_t status = remote()->transact(GET_SECURE_STOPS, data, &reply); local 312 status_t status = remote()->transact(GET_SECURE_STOP_IDS, data, &reply); local 332 status_t status = remote()->transact(GET_SECURE_STOP, data, &reply); local 346 status_t status = remote()->transact(RELEASE_SECURE_STOPS, data, &reply); local 359 status_t status = remote()->transact(REMOVE_SECURE_STOP, data, &reply); local 371 status_t status = remote()->transact(REMOVE_ALL_SECURE_STOPS, data, &reply); local 384 status_t status = remote()->transact(GET_PROPERTY_STRING, data, &reply); local 403 status_t status = remote()->transact(GET_HDCP_LEVELS, data, &reply); local 422 status_t status = remote()->transact(GET_NUMBER_OF_SESSIONS, data, &reply); local 443 status_t status = remote()->transact(GET_SECURITY_LEVEL, data, &reply); local 457 status_t status = remote()->transact(GET_PROPERTY_BYTE_ARRAY, data, &reply); local 472 status_t status = remote()->transact(SET_PROPERTY_STRING, data, &reply); local 487 status_t status = remote()->transact(SET_PROPERTY_BYTE_ARRAY, data, &reply); local 502 status_t status = remote()->transact(GET_METRICS, data, &reply); local 532 status_t status = remote()->transact(SET_CIPHER_ALGORITHM, data, &reply); local 546 status_t status = remote()->transact(SET_MAC_ALGORITHM, data, &reply); local 566 status_t status = remote()->transact(ENCRYPT, data, &reply); local 588 status_t status = remote()->transact(DECRYPT, data, &reply); local 608 status_t status = remote()->transact(SIGN, data, &reply); local 630 status_t status = remote()->transact(VERIFY, data, &reply); local 651 status_t status = remote()->transact(SIGN_RSA, data, &reply); local 664 status_t status = remote()->transact(SET_LISTENER, data, &reply); local [all...] |
/frameworks/av/include/media/ |
H A D | VolumeShaper.h | 960 VolumeShaper::Status status = lambda(shaper); local 961 VS_LOG("forall applying lambda on shaper (%p): %d", &shaper, (int)status);
|
/frameworks/av/media/extractors/flac/ |
H A D | FLACExtractor.cpp | 169 void errorCallback(FLAC__StreamDecoderErrorStatus status); 201 FLAC__StreamDecoderErrorStatus status, 262 FLAC__StreamDecoderErrorStatus status, void *client_data) 264 ((FLACParser *) client_data)->errorCallback(status); 376 void FLACParser::errorCallback(FLAC__StreamDecoderErrorStatus status) argument 378 ALOGE("FLACParser::errorCallback status=%d", status); 379 mErrorStatus = status; 260 error_callback( const FLAC__StreamDecoder * , FLAC__StreamDecoderErrorStatus status, void *client_data) argument
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 49 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); local 50 if (status != NO_ERROR) { 52 "channelMask %#x; status %d", sampleRate, format, channelMask, status); 53 return status; 235 status_t status = NO_ERROR; local 259 status = BAD_VALUE; 268 status = BAD_VALUE; 276 status = INVALID_OPERATION; 301 status 418 status_t status = NO_ERROR; local 568 status_t status = mProxy->getTimestamp(timestamp); local 673 status_t status; local 887 status_t status = NO_ERROR; local 1325 status_t status = NO_ERROR; local [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalHidl.cpp | 85 status_t status = processReturn("getBufferSize", mStream->getBufferSize(), size); 86 if (status == OK) { 89 return status; 117 status_t status = parametersFromHal(kvPairs, &hidlParams); local 118 if (status != OK) return status; 127 status_t status = keysFromHal(keys, &hidlKeys); local 128 if (status != OK) return status; 346 status_t status; local 647 status_t status; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioMixer.cpp | 166 status_t status = t->prepareForDownmix(); local 167 if (status != OK) { 206 const status_t status = track->prepareForDownmix(); local 207 ALOGE_IF(status != OK, 209 status, track->channelMask, track->mMixerChannelMask);
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 373 LVREV_ReturnStatus_en LvmStatus = LVREV_SUCCESS; /* Function call status */ 602 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 793 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1009 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1044 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1082 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1127 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1173 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1212 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1255 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1586 int status = 0; local 1800 int status = 0; local 1941 int status = 0; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 491 status_t status = configuration.get() == nullptr local 495 if (status != NO_ERROR) { 496 return VolumeShaper::Status(status); 499 status = operation.get() == nullptr 500 ? status = data.writeInt32(0) 503 if (status != NO_ERROR) { 504 return VolumeShaper::Status(status); 508 status = remote()->transact(APPLY_VOLUME_SHAPER, data, &reply); 509 if (status == NO_ERROR) { 510 status 523 status_t status = remote()->transact(GET_VOLUME_SHAPER_STATE, data, &reply); local 544 status_t status = remote()->transact(PREPARE_DRM, data, &reply); local 558 status_t status = remote()->transact(RELEASE_DRM, data, &reply); local 574 status_t status = remote()->transact(SET_OUTPUT_DEVICE, data, &reply); local 588 status_t status = remote()->transact(GET_ROUTED_DEVICE_ID, data, &reply); local 611 status_t status = remote()->transact(ENABLE_AUDIO_DEVICE_CALLBACK, data, &reply); local 925 status_t status = data.readInt32(&present); local 946 status_t status = data.readInt32(&id); local 981 status_t status = data.readInt32(&deviceId); local 1002 status_t status = data.readBool(&enabled); local [all...] |
H A D | mediaplayer.cpp | 312 ALOGV("prepare complete - status=%d", mPrepareStatus); 781 status_t status = INVALID_OPERATION; local 784 return status; 792 status = OK; 800 status = mPlayer->setParameter(key, request); 802 return status; 810 status_t status = mPlayer->getParameter(key, reply); local 811 if (status != OK) { 812 ALOGD("getParameter returns %d", status); 814 return status; 1001 VolumeShaper::Status status = mPlayer->applyVolumeShaper(configuration, operation); local 1040 status_t status = mPlayer->prepareDrm(uuid, drmSessionId); local 1065 status_t status = mPlayer->releaseDrm(); local 1096 status_t status = mPlayer->getRoutedDeviceId(&deviceId); local [all...] |
/frameworks/av/media/libmediaplayer2/ |
H A D | mediaplayer2.cpp | 80 // @param[out] status On exit contains the status code to be returned. 84 status_t *status) { 88 *status = NOT_ENOUGH_DATA; 94 *status = BAD_VALUE; 108 *status = NOT_ENOUGH_DATA; 117 *status = BAD_VALUE; 128 *status = OK; 171 // @param[out] status On exit contains the status cod 82 unmarshallFilter(const Parcel& p, media::Metadata::Filter *filter, status_t *status) argument 585 status_t status; local 624 status_t status = player->getMetadata(ids, reply); local 1218 status_t status = INVALID_OPERATION; local 1265 status_t status = mPlayer->getParameter(key, reply); local 1445 status_t status = mPlayer->prepareDrm(uuid, drmSessionId); local 1469 status_t status = mPlayer->releaseDrm(); local 1498 status_t status = mAudioOutput->getRoutedDeviceId(&deviceId); local [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | GenericSource2.cpp | 1449 // Enquires buffering status every second. 1515 status_t status = OK; local 1530 status = UNKNOWN_ERROR; 1531 ALOGE("prepareDrm: Unexpected. Must have at least one track. status: %d", status); 1532 return status; 1552 if (status == OK) { 1554 ALOGD("prepareDrm ret: %d ", status); 1556 ALOGE("prepareDrm err: %d", status); 1558 return status; [all...] |
H A D | NuPlayer2Decoder.cpp | 624 status_t status = msg->postAndAwaitResponse(&response); local 625 if (status == OK && response != NULL) { 626 CHECK(response->findInt32("status", &status)); 627 ALOGV("releaseCrypto ret: %d ", status); 629 ALOGE("releaseCrypto err: %d", status); 632 return status; 637 status_t status = INVALID_OPERATION; local 639 status = mCodec->releaseCrypto(); 642 status [all...] |
H A D | NuPlayer2Driver.cpp | 774 void NuPlayer2Driver::notifyRebufferingWhenExit(int64_t /* srcId */, bool status) { argument 776 mRebufferingAtExit = status;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 603 status_t status = msg->postAndAwaitResponse(&response); local 604 if (status == OK && response != NULL) { 605 CHECK(response->findInt32("status", &status)); 606 ALOGV("releaseCrypto ret: %d ", status); 608 ALOGE("releaseCrypto err: %d", status); 611 return status; 616 status_t status = INVALID_OPERATION; local 618 status = mCodec->releaseCrypto(); 621 status [all...] |
H A D | NuPlayerDriver.cpp | 847 void NuPlayerDriver::notifyRebufferingWhenExit(bool status) { argument 849 mRebufferingAtExit = status;
|
/frameworks/av/media/libnblog/ |
H A D | NBLog.cpp | 313 int status = prctl(PR_GET_NAME, procName); local 314 if (status) { // error getting process name
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.cpp | 203 IV_STATUS_T status; local 216 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op); 217 if (status != IV_SUCCESS) { 226 IV_STATUS_T status; local 238 status = ive_api_function( 240 if (status != IV_SUCCESS) { 251 IV_STATUS_T status; local 265 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op); 266 if (status != IV_SUCCESS) { 277 IV_STATUS_T status; local 304 IV_STATUS_T status; local 328 IV_STATUS_T status; local 352 IV_STATUS_T status; local 384 IV_STATUS_T status; local 411 IV_STATUS_T status; local 436 IV_STATUS_T status; local 459 IV_STATUS_T status; local 490 IV_STATUS_T status; local 516 IV_STATUS_T status; local 541 IV_STATUS_T status; local 569 IV_STATUS_T status; local 589 IV_STATUS_T status; local 860 IV_STATUS_T status = IV_SUCCESS; local 1275 IV_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 140 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 196 Bool status = PV_TRUE; local 629 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 636 status = SetProfile_BufferSize(video, video->encParams->VBV_delay, 1); 637 if (status != PV_TRUE) 996 status = PV_FALSE; 1006 status = PV_FALSE; 1015 status = PV_FALSE; 1025 status = PV_FALSE; 1034 status 1385 Bool status = PV_TRUE; local 1679 Bool status = PV_TRUE; local 2436 PV_STATUS status = PV_SUCCESS; local 2598 PV_STATUS status = PV_SUCCESS; local 2855 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument [all...] |
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
H A D | SoftXAAC.cpp | 168 status_t status = UNKNOWN_ERROR; local 194 return status; 196 status = OK; 277 return status;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 115 static media_status_t translateStatus(status_t status) { argument 117 switch (status) { 243 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session); local 244 if (status == OK) { 312 status_t status = mObj->mDrm->getKeyRequest(*iter, mdInit, String8(mimeType), local 315 if (status != OK) { 316 return translateStatus(status); 343 status_t status = mObj->mDrm->provideKeyResponse(*iter, mdResponse, mdKeySetId); local 344 if (status == OK) { 384 status_t status; local 411 status_t status = mObj->mDrm->queryKeyStatus(*iter, mObj->mQueryResults); local 440 status_t status = mObj->mDrm->getProvisionRequest(String8(""), String8(""), local 479 status_t status = mObj->mDrm->getSecureStops(mObj->mSecureStops); local 527 status_t status = mObj->mDrm->getPropertyString(String8(propertyName), local 548 status_t status = mObj->mDrm->getPropertyByteArray(String8(propertyName), local 597 status_t status = mObj->mDrm->setCipherAlgorithm(*iter, String8(cipherAlgorithm)); local 663 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local 702 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 232 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); local 233 if (status != NO_ERROR && status != ALREADY_EXISTS) { 269 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session); local 270 if (status != NO_ERROR && status != ALREADY_EXISTS) { 358 status_t status; local 365 status = mAudioPolicyManager->getInputForAttr(attr, input, session, uid, 372 if (status == NO_ERROR) { 382 status 417 status_t status = audioPolicyEffects->addInputEffects(*input, attr->source, session); local 459 status_t status = mAudioPolicyManager->getAudioPort(&port); local 496 status_t status; local 630 status_t status = audioPolicyEffects->releaseInputEffects(client->input, client->session); local [all...] |