/frameworks/av/media/common_time/ |
D | ICommonTimeConfig.cpp | 59 status_t status = remote()->transact(GET_MASTER_ELECTION_PRIORITY, in getMasterElectionPriority() local 62 if (status == OK) { in getMasterElectionPriority() 63 status = reply.readInt32(); in getMasterElectionPriority() 64 if (status == OK) { in getMasterElectionPriority() 69 return status; in getMasterElectionPriority() 76 status_t status = remote()->transact(SET_MASTER_ELECTION_PRIORITY, in setMasterElectionPriority() local 79 if (status == OK) { in setMasterElectionPriority() 80 status = reply.readInt32(); in setMasterElectionPriority() 83 return status; in setMasterElectionPriority() 89 status_t status = remote()->transact(GET_MASTER_ELECTION_ENDPOINT, in getMasterElectionEndpoint() local [all …]
|
D | ICommonClock.cpp | 57 status_t status = remote()->transact(IS_COMMON_TIME_VALID, in isCommonTimeValid() local 60 if (status == OK) { in isCommonTimeValid() 61 status = reply.readInt32(); in isCommonTimeValid() 62 if (status == OK) { in isCommonTimeValid() 67 return status; in isCommonTimeValid() 75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME, in commonTimeToLocalTime() local 77 if (status == OK) { in commonTimeToLocalTime() 78 status = reply.readInt32(); in commonTimeToLocalTime() 79 if (status == OK) { in commonTimeToLocalTime() 83 return status; in commonTimeToLocalTime() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vop.cpp | 42 PV_STATUS status; in EncodeVop() local 81 status = RC_VopQPSetting(video, rc); in EncodeVop() 82 if (status == PV_FAIL) in EncodeVop() 98 return status; in EncodeVop() 101 status = EncodeVop_NoME(video); in EncodeVop() 110 return status; in EncodeVop() 130 PV_STATUS status = PV_SUCCESS; in EncodeVop_NoME() local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ in EncodeVop_NoME() 139 status = EncodeFrameCombinedMode(video); in EncodeVop_NoME() 147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */ in EncodeVop_NoME() [all …]
|
D | combined_encode.cpp | 39 PV_STATUS status = PV_SUCCESS; in EncodeFrameCombinedMode() local 119 … status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */ in EncodeFrameCombinedMode() 148 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0); in EncodeFrameCombinedMode() 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); in EncodeFrameCombinedMode() 182 … status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ in EncodeFrameCombinedMode() 192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ in EncodeFrameCombinedMode() 201 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ in EncodeFrameCombinedMode() 234 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ in EncodeFrameCombinedMode() 247 return status; /* if status == PV_END_OF_BUF, this frame will be pre-skipped */ in EncodeFrameCombinedMode() 264 PV_STATUS status = PV_SUCCESS; in EncodeSliceCombinedMode() local [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsSignal.cpp | 33 int status = pthread_mutex_init(&mMutex, NULL); in init() local 34 if (status) { in init() 39 status = pthread_cond_init(&mCondition, NULL); in init() 40 if (status) { in init() 50 int status; in set() local 52 status = pthread_mutex_lock(&mMutex); in set() 53 if (status) { in set() 54 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); in set() 60 status = pthread_cond_signal(&mCondition); in set() 61 if (status) { in set() [all …]
|
D | rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, NULL); in init() local 32 if (status) { in init() 40 int status; in lock() local 41 status = pthread_mutex_lock(&mMutex); in lock() 42 if (status) { in lock() 43 ALOGE("Mutex: error %i locking.", status); in lock() 50 int status; in unlock() local 51 status = pthread_mutex_unlock(&mMutex); in unlock() 52 if (status) { in unlock() 53 ALOGE("Mutex error %i unlocking.", status); in unlock()
|
/frameworks/rs/ |
D | rsSignal.cpp | 33 int status = pthread_mutex_init(&mMutex, NULL); in init() local 34 if (status) { in init() 39 status = pthread_cond_init(&mCondition, NULL); in init() 40 if (status) { in init() 50 int status; in set() local 52 status = pthread_mutex_lock(&mMutex); in set() 53 if (status) { in set() 54 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); in set() 60 status = pthread_cond_signal(&mCondition); in set() 61 if (status) { in set() [all …]
|
D | rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, NULL); in init() local 32 if (status) { in init() 40 int status; in lock() local 41 status = pthread_mutex_lock(&mMutex); in lock() 42 if (status) { in lock() 43 ALOGE("Mutex: error %i locking.", status); in lock() 50 int status; in unlock() local 51 status = pthread_mutex_unlock(&mMutex); in unlock() 52 if (status) { in unlock() 53 ALOGE("Mutex error %i unlocking.", status); in unlock()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | header.cpp | 31 AVCEnc_Status status = AVCENC_SUCCESS; in EncodeSPS() local 35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); in EncodeSPS() 36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag); in EncodeSPS() 37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag); in EncodeSPS() 38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag); in EncodeSPS() 39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag); in EncodeSPS() 40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */ in EncodeSPS() 41 if (status != AVCENC_SUCCESS) /* we can check after each write also */ in EncodeSPS() 43 return status; in EncodeSPS() 46 status = BitstreamWriteBits(stream, 8, seqParam->level_idc); in EncodeSPS() [all …]
|
D | vlc_encode.cpp | 35 AVCEnc_Status status; in se_v() local 46 status = ue_v(bitstream, codeNum); in se_v() 48 return status; in se_v() 53 AVCEnc_Status status; in te_v() local 61 status = BitstreamWrite1Bit(bitstream, 1 - value); in te_v() 62 return status; in te_v() 72 AVCEnc_Status status; in SetEGBitstring() local 78 status = BitstreamWrite1Bit(bitstream, 1); in SetEGBitstring() 79 return status; in SetEGBitstring() 91 status = BitstreamWriteBits(bitstream, leadingZeros, 0); in SetEGBitstring() [all …]
|
D | slice.cpp | 23 AVCEnc_Status status = AVCENC_SUCCESS; in AVCEncodeSlice() local 89 status = EncodeMB(encvid); in AVCEncodeSlice() 90 if (status != AVCENC_SUCCESS) in AVCEncodeSlice() 111 status = AVCENC_PICTURE_READY; in AVCEncodeSlice() 125 status = AVCENC_SLICE_EMPTY; /* error, one slice group has no MBs in it */ in AVCEncodeSlice() 129 status = AVCENC_SUCCESS; in AVCEncodeSlice() 145 status = AVCENC_FAIL; in AVCEncodeSlice() 149 return status; in AVCEncodeSlice() 155 AVCEnc_Status status = AVCENC_SUCCESS; in EncodeMB() local 210 status = EncodeIntraPCM(encvid); in EncodeMB() [all …]
|
D | residual.cpp | 22 AVCEnc_Status status = AVCENC_SUCCESS; in EncodeIntraPCM() local 58 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM() 67 status = BitstreamWriteBits(stream, 16, code); in EncodeIntraPCM() 74 if (status != AVCENC_SUCCESS) /* check only once per line */ in EncodeIntraPCM() 75 return status; in EncodeIntraPCM() 91 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM() 100 status = BitstreamWriteBits(stream, 16, code); in EncodeIntraPCM() 108 if (status != AVCENC_SUCCESS) /* check only once per line */ in EncodeIntraPCM() 109 return status; in EncodeIntraPCM() 124 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM() [all …]
|
D | avcenc_api.cpp | 59 AVCEnc_Status status; in PVAVCEncInitialize() local 144 …status = SetEncodeParam(avcHandle, encParam, extSPS, extPPS); /* initialized variables to be used … in PVAVCEncInitialize() 145 if (status != AVCENC_SUCCESS) in PVAVCEncInitialize() 147 return status; in PVAVCEncInitialize() 282 AVCEnc_Status status; in PVAVCEncSetInput() local 322 status = InitFrame(encvid); in PVAVCEncSetInput() 324 if (status == AVCENC_SUCCESS) in PVAVCEncSetInput() 328 else if (status == AVCENC_NEW_IDR) in PVAVCEncSetInput() 351 else if (status == AVCENC_PICTURE_READY) // no buffers returned back to the encoder in PVAVCEncSetInput() 357 return status; // return status, including the AVCENC_FAIL case and all 3 above. in PVAVCEncSetInput() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 243 FwdLockConv_Status_t status; in FwdLockConv_DeriveKeys() local 250 status = FwdLockConv_Status_OutOfMemory; in FwdLockConv_DeriveKeys() 254 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 261 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 268 status = FwdLockConv_Status_OK; in FwdLockConv_DeriveKeys() 274 return status; in FwdLockConv_DeriveKeys() 332 FwdLockConv_Status_t status = FwdLockConv_Status_OK; in FwdLockConv_MatchOpenDelimiter() local 378 status = FwdLockConv_Status_SyntaxError; in FwdLockConv_MatchOpenDelimiter() 381 status = FwdLockConv_RightTrimDelimiter(pSession); in FwdLockConv_MatchOpenDelimiter() 382 if (status == FwdLockConv_Status_OK) { in FwdLockConv_MatchOpenDelimiter() [all …]
|
/frameworks/av/media/libmedia/ |
D | Visualizer.cpp | 72 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local 74 if (status == NO_ERROR) { in setEnabled() 88 return status; in setEnabled() 144 status_t status = setParameter(p); in setCaptureSize() local 146 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize() 148 if (status == NO_ERROR) { in setCaptureSize() 149 status = p->status; in setCaptureSize() 150 if (status == NO_ERROR) { in setCaptureSize() 155 return status; in setCaptureSize() 173 status_t status = setParameter(p); in setScalingMode() local [all …]
|
D | IAudioTrack.cpp | 57 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() local 58 if (status == NO_ERROR) { in getCblk() 68 status_t status = remote()->transact(START, data, &reply); in start() local 69 if (status == NO_ERROR) { in start() 70 status = reply.readInt32(); in start() 72 ALOGW("start() error: %s", strerror(-status)); in start() 74 return status; in start() 111 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); in attachAuxEffect() local 112 if (status == NO_ERROR) { in attachAuxEffect() 113 status = reply.readInt32(); in attachAuxEffect() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Downloads.java | 508 public static boolean isStatusInformational(int status) { in isStatusInformational() argument 509 return (status >= 100 && status < 200); in isStatusInformational() 515 public static boolean isStatusSuccess(int status) { in isStatusSuccess() argument 516 return (status >= 200 && status < 300); in isStatusSuccess() 522 public static boolean isStatusError(int status) { in isStatusError() argument 523 return (status >= 400 && status < 600); in isStatusError() 529 public static boolean isStatusClientError(int status) { in isStatusClientError() argument 530 return (status >= 400 && status < 500); in isStatusClientError() 536 public static boolean isStatusServerError(int status) { in isStatusServerError() argument 537 return (status >= 500 && status < 600); in isStatusServerError() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | bitstream.cpp | 177 PV_STATUS status = PV_SUCCESS; in BitstreamShowBits32HC() local 182 status = BitstreamFillCache(stream); in BitstreamShowBits32HC() 185 return status; in BitstreamShowBits32HC() 195 PV_STATUS status = PV_SUCCESS; in BitstreamShowBits32() local 200 status = BitstreamFillCache(stream); in BitstreamShowBits32() 203 return status; in BitstreamShowBits32() 217 PV_STATUS status = PV_SUCCESS; in BitstreamShowBits16() local 223 status = BitstreamFillCache(stream); in BitstreamShowBits16() 227 return status; in BitstreamShowBits16() 240 PV_STATUS status = PV_SUCCESS; in BitstreamShow15Bits() local [all …]
|
D | vop.cpp | 82 PV_STATUS status; in DecodeVOLHeader() local 101 status = BitstreamShowBits32HC(stream, &startCode); in DecodeVOLHeader() 138 status = BitstreamShowBits32HC(stream, &tmpvar); in DecodeVOLHeader() 142 status = DecodeUserData(stream); in DecodeVOLHeader() 143 if (status != PV_SUCCESS) return PV_FAIL; in DecodeVOLHeader() 152 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 153 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 204 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 205 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 214 status = PV_BitstreamByteAlign(stream); /* 10/12/01 */ in DecodeVOLHeader() [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IEnvironmentalReverb.c | 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetRoomLevel() local 61 result = android_fx_statusToResult(status); in IEnvironmentalReverb_SetRoomLevel() 86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetRoomLevel() local 88 result = android_fx_statusToResult(status); in IEnvironmentalReverb_GetRoomLevel() 120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetRoomHFLevel() local 122 result = android_fx_statusToResult(status); in IEnvironmentalReverb_SetRoomHFLevel() 148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetRoomHFLevel() local 150 result = android_fx_statusToResult(status); in IEnvironmentalReverb_GetRoomHFLevel() 179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetDecayTime() local 181 result = android_fx_statusToResult(status); in IEnvironmentalReverb_SetDecayTime() [all …]
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 82 status_t status = KeyLayoutMap::load(String8(filename), &map); in validateFile() local 83 if (status) { in validateFile() 84 fprintf(stderr, "Error %d parsing key layout file.\n\n", status); in validateFile() 92 status_t status = KeyCharacterMap::load(String8(filename), in validateFile() local 94 if (status) { in validateFile() 95 fprintf(stderr, "Error %d parsing key character map file.\n\n", status); in validateFile() 103 status_t status = PropertyMap::load(String8(filename), &map); in validateFile() local 104 if (status) { in validateFile() 105 fprintf(stderr, "Error %d parsing input device configuration file.\n\n", status); in validateFile() 114 status_t status = VirtualKeyMap::load(String8(filename), &map); in validateFile() local [all …]
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 191 android::status_t status; in android_eq_getParam() local 201 status = pFx->getParameter(p); in android_eq_getParam() 202 if (android::NO_ERROR == status) { in android_eq_getParam() 203 status = p->status; in android_eq_getParam() 204 if (android::NO_ERROR == status) { in android_eq_getParam() 209 return status; in android_eq_getParam() 217 android::status_t status; in android_eq_setParam() local 228 status = pFx->setParameter(p); in android_eq_setParam() 229 if (android::NO_ERROR == status) { in android_eq_setParam() 230 status = p->status; in android_eq_setParam() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 111 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent() local 112 if (status) { in finishInputEvent() 114 getInputChannelName(), status); in finishInputEvent() 116 return status; in finishInputEvent() 133 status_t status = consumeEvents(env, false /*consumeBatches*/, -1); in handleEvent() local 135 return status == OK || status == NO_MEMORY ? 1 : 0; in handleEvent() 153 status_t status = mInputConsumer.consume(&mInputEventFactory, in consumeEvents() local 155 if (status) { in consumeEvents() 156 if (status == WOULD_BLOCK) { in consumeEvents() 175 getInputChannelName(), status); in consumeEvents() [all …]
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClientImpl.cpp | 91 status_t status = DRM_ERROR_UNKNOWN; in installDrmEngine() local 93 status = getDrmManagerService()->installDrmEngine(uniqueId, drmEngineFile); in installDrmEngine() 95 return status; in installDrmEngine() 181 status_t status = DRM_ERROR_UNKNOWN; in consumeRights() local 183 status = getDrmManagerService()->consumeRights( in consumeRights() 186 return status; in consumeRights() 192 status_t status = DRM_ERROR_UNKNOWN; in setPlaybackStatus() local 194 status = getDrmManagerService()->setPlaybackStatus( in setPlaybackStatus() 197 return status; in setPlaybackStatus() 212 status_t status = DRM_ERROR_UNKNOWN; in removeRights() local [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 677 int status = getParameter(p, v); in getParameter() local 679 if (status == 4 || status == 8) { in getParameter() 681 if (status == 8) { in getParameter() 684 status /= 4; in getParameter() 686 status = ERROR; in getParameter() 688 return status; in getParameter() 708 int status = getParameter(p, v); in getParameter() local 710 if (status == 2 || status == 4) { in getParameter() 712 if (status == 4) { in getParameter() 715 status /= 2; in getParameter() [all …]
|