/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 705 android::status_t status = ar->mAudioRecord->initCheck(); local 706 if (android::NO_ERROR != status) { 707 SL_LOGE("android_audioRecorder_realize(%p) error creating AudioRecord object; status %d", 708 ar, status); 709 // FIXME should return a more specific result depending on status
|
H A D | android_AudioSfDecoder.cpp | 169 // All error returns from this method are via notifyPrepared(status) followed by "return". 422 CacheStatus_t status = getCacheRemaining(&eos); local 424 if (eos || status == kStatusHigh 425 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { 599 // Prepared state, prefetch status notifications 604 // to replace by a new signalPrepareCompletion(status) if we re-visit this later. 610 // status code but we can provide a more specific one. 715 // cache status is evaluated against duration thresholds 732 // cache status is evaluated against cache amount thresholds
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 133 SLuint32 status; local 135 result = (*caller)->GetPrefetchStatus(caller, &status); 138 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 391 /* Get the prefetch status interface which was explicitly requested */
|
/frameworks/av/camera/tests/ |
H A D | CameraBinderTests.cpp | 75 virtual binder::Status onStatusChanged(int32_t status, const String16& cameraId) { argument 77 mCameraStatuses[cameraId] = status; 82 virtual binder::Status onTorchStatusChanged(int32_t status, const String16& cameraId) { argument 84 mCameraTorchStatuses[cameraId] = status; 104 bool waitForTorchState(int32_t status, int32_t cameraId) const { argument 108 if (iter != mCameraTorchStatuses.end() && iter->second == status) { 119 foundStatus = (iter != mCameraTorchStatuses.end() && iter->second == status); 248 bool waitForStatus(Status status) const { 250 if (mLastStatus == status) { 254 while (std::find(mStatusesHit.begin(), mStatusesHit.end(), status) [all...] |
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 46 data->writeInt32(handle->status); 78 handle->status = data.readInt32(); 744 const status_t status = reply.readInt32(); local 745 ALOGV("Return value of decrypt() is %d", status); 747 if (status == NO_ERROR) { 753 return status; 845 status_t status = setDrmServiceListener(uniqueId, drmServiceListener); local 847 reply->writeInt32(status); 1070 const status_t status = saveRights(uniqueId, drmRights, local 1074 reply->writeInt32(status); 1136 const status_t status local 1156 const status_t status local 1188 const status_t status = removeRights(uniqueId, path); local 1199 const status_t status = removeAllRights(data.readInt32()); local 1295 status_t status = getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray); local 1399 const status_t status = closeDecryptSession(uniqueId, handle); local 1426 const status_t status local 1472 const status_t status local 1501 const status_t status = finalizeDecryptUnit(uniqueId, &handle, data.readInt32()); local [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 183 status_t status = DRM_ERROR_UNKNOWN; local 185 status = getDrmManagerService()->consumeRights( 188 return status; 194 status_t status = DRM_ERROR_UNKNOWN; local 196 status = getDrmManagerService()->setPlaybackStatus( 199 return status; 214 status_t status = DRM_ERROR_UNKNOWN; local 216 status = getDrmManagerService()->removeRights(uniqueId, path); 218 return status; 251 status_t status local 284 status_t status = DRM_ERROR_UNKNOWN; local 295 status_t status = DRM_ERROR_UNKNOWN; local 307 status_t status = DRM_ERROR_UNKNOWN; local 319 status_t status = DRM_ERROR_UNKNOWN; local [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 83 int FwdLockEngine::getConvertedStatus(FwdLockConv_Status_t status) { argument 86 switch(status) { 95 "Returning STATUS_INPUTDATA_ERROR", status); 100 "Returning STATUS_ERROR", status); 512 decryptHandle->status = RightsStatus::RIGHTS_VALID;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | DrmPlugin.cpp | 108 Status status = setSecurityLevel(sessionId, SecurityLevel::SW_SECURE_CRYPTO); local 109 _hidl_cb(status, toHidlVec(sessionId)); 119 Status status = setSecurityLevel(sessionId, securityLevel); local 120 _hidl_cb(status, toHidlVec(sessionId)); 167 Status status = session->getKeyRequest(initData, mimeType, request); local 169 return status; 184 Status status = getKeyRequestCommon( local 188 _hidl_cb(status, toHidlVec(request), 206 Status status = getKeyRequestCommon( local 210 _hidl_cb(status, toHidlVe 248 Status status = session->provideKeyResponse(response); local 526 Status status = Status::OK; local [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 121 status_t status; local 146 status = NO_INIT; 154 status = DEAD_OBJECT; 159 status = NOT_ENOUGH_DATA; 165 status = -EINTR; 195 status = NO_INIT; 232 status = NO_ERROR; 239 status = WOULD_BLOCK; 255 status = TIMED_OUT; 306 // FIXME these error/non-0 status ar 456 status_t status; local [all...] |
/frameworks/av/media/libaudiohal/2.0/ |
H A D | StreamHalHidl.cpp | 77 status_t status = processReturn("getBufferSize", mStream->getBufferSize(), size); 78 if (status == OK) { 81 return status; 109 status_t status = parametersFromHal(kvPairs, &hidlParams); local 110 if (status != OK) return status; 118 status_t status = keysFromHal(keys, &hidlKeys); local 119 if (status != OK) return status; 335 status_t status; local [all...] |
H A D | StreamHalLocal.cpp | 103 status_t status = mStream->dump(mStream, fd); local 105 return status;
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalLocal.cpp | 105 status_t status = mStream->dump(mStream, fd); local 107 return status; 348 status_t status = mStream->get_active_microphones(mStream, &mic_array[0], &actual_mics); local 353 return status;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 352 status_t status = remote()->transact(SET_INPUT_DEVICE, data, &reply); local 353 if (status != OK) { 354 ALOGE("setInputDevice binder call failed: %d", status); 355 return status; 366 status_t status = remote()->transact(GET_ROUTED_DEVICE_ID, data, &reply); local 367 if (status != OK) { 368 ALOGE("getRoutedDeviceid binder call failed: %d", status); 370 return status; 373 status = reply.readInt32(); 374 if (status ! 388 status_t status = remote()->transact(ENABLE_AUDIO_DEVICE_CALLBACK, data, &reply); local 401 status_t status = remote()->transact(GET_ACTIVE_MICROPHONES, data, &reply); local 620 status_t status = data.readInt32(&deviceId); local 632 status_t status = getRoutedDeviceId(&deviceId); local 643 status_t status = data.readBool(&enabled); local 655 status_t status = getActiveMicrophones(&activeMicrophones); local [all...] |
/frameworks/av/media/libmediaplayer2/ |
H A D | MediaPlayer2AudioOutput.cpp | 251 status_t status = mTrack->getTimestamp(&ets); local 252 if (status == OK || status == WOULD_BLOCK) { 255 return status; 464 ALOGV("updateTrack_l() DONE status %d", res); 477 status_t status = mTrack->start(); local 478 return status; 616 status_t status; local 618 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); 620 status [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaSync.cpp | 121 status_t status = local 126 if (status != NO_ERROR) { 127 ALOGE("setSurface: failed to connect (%d)", status); 128 return status; 213 status_t status = local 215 if (status == NO_ERROR) { 230 return status; 616 status_t status = mInput->acquireBuffer(&bufferItem, 0 /* presentWhen */); local 617 if (status != NO_ERROR) { 618 ALOGE("acquiring buffer from input failed (%d)", status); 672 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); local 709 status_t status = mOutput->detachNextBuffer(&buffer, &fence); local 752 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer); local [all...] |
H A D | NuMediaExtractor.cpp | 769 status_t status = mImpl->getMetrics(reply); local 770 return status;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 137 status_t status = UNKNOWN_ERROR; local 142 status = OK; 227 return status;
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 123 IV_API_CALL_STATUS_T status; local 132 status = 135 if (status != IV_SUCCESS) { 148 IV_API_CALL_STATUS_T status; local 160 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 162 if (status != IV_SUCCESS) { 187 IV_API_CALL_STATUS_T status; local 194 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 195 if (IV_SUCCESS != status) { 211 IV_API_CALL_STATUS_T status; local 228 IV_API_CALL_STATUS_T status; local 252 IV_API_CALL_STATUS_T status; local 307 IV_API_CALL_STATUS_T status; local 342 IV_API_CALL_STATUS_T status; local 452 IV_API_CALL_STATUS_T status; local 579 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 116 IV_API_CALL_STATUS_T status; local 125 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, 128 if (status != IV_SUCCESS) { 141 IV_API_CALL_STATUS_T status; local 153 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, 156 if (status != IV_SUCCESS) { 179 IV_API_CALL_STATUS_T status; local 192 status = ivdec_api_function( 196 if (status != IV_SUCCESS) { 223 IV_API_CALL_STATUS_T status; local 248 IV_API_CALL_STATUS_T status; local 266 IV_API_CALL_STATUS_T status; local 291 IV_API_CALL_STATUS_T status; local 347 IV_API_CALL_STATUS_T status; local 449 IV_API_CALL_STATUS_T status; local 568 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 81 Bool status = PV_TRUE; local 109 status = PV_FALSE; 115 if (video->vol == NULL) status = PV_FALSE; 129 if (video->currVop == NULL) status = PV_FALSE; 132 if (video->prevVop == NULL) status = PV_FALSE; 139 if (video->currVop == NULL) status = PV_FALSE; 142 if (video->prevVop == NULL) status = PV_FALSE; 147 status = PV_FALSE; 153 if (video->vopHeader == NULL) status = PV_FALSE; 159 if (status 309 Bool status = PV_TRUE; local 1058 PV_STATUS status = PV_FAIL; local 1095 PV_STATUS status = PV_FAIL; local 1296 PV_STATUS status = PV_FAIL; local [all...] |
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.cpp | 123 IV_API_CALL_STATUS_T status; local 132 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 134 if (status != IV_SUCCESS) { 147 IV_API_CALL_STATUS_T status; local 159 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 161 if (status != IV_SUCCESS) { 186 IV_API_CALL_STATUS_T status; local 193 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 194 if (IV_SUCCESS != status) { 214 IV_API_CALL_STATUS_T status; local 231 IV_API_CALL_STATUS_T status; local 256 IV_API_CALL_STATUS_T status; local 466 IV_API_CALL_STATUS_T status; local 574 IV_API_CALL_STATUS_T status; local 704 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.cpp | 280 status_t status = mStreams[i].mThread->stop(); local 281 if (err == OK && status != OK) { 282 err = status; 544 status_t status = mStreams[i].mThread->pause(); local 545 if (status != OK) { 546 err = status;
|
/frameworks/av/media/libstagefright/xmlparser/ |
H A D | MediaCodecsXmlParser.cpp | 199 XML_Status status = ::XML_ParseBuffer(parser, bytes_read, bytes_read == 0); local 200 if (status != XML_STATUS_OK) {
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/jellybean/ |
H A D | MediaRouterJellybean.java | 219 public static void setStatus(Object routeObj, CharSequence status) { argument 220 ((android.media.MediaRouter.UserRouteInfo)routeObj).setStatus(status);
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 78 uint32_t status() { function in class:EffectModule 161 status_t mStatus; // initialization status
|