/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 …]
|
/frameworks/av/radio/ |
D | IRadio.cpp | 68 status_t status = remote()->transact(SET_CONFIGURATION, data, &reply); in setConfiguration() local 69 if (status == NO_ERROR) { in setConfiguration() 70 status = (status_t)reply.readInt32(); in setConfiguration() 72 return status; in setConfiguration() 82 status_t status = remote()->transact(GET_CONFIGURATION, data, &reply); in getConfiguration() local 83 if (status == NO_ERROR) { in getConfiguration() 84 status = (status_t)reply.readInt32(); in getConfiguration() 85 if (status == NO_ERROR) { in getConfiguration() 89 return status; in getConfiguration() 97 status_t status = remote()->transact(SET_MUTE, data, &reply); in setMute() local [all …]
|
/frameworks/rs/ |
D | rsSignal.cpp | 34 int status = pthread_mutex_init(&mMutex, nullptr); in init() local 35 if (status) { in init() 40 status = pthread_cond_init(&mCondition, nullptr); in init() 41 if (status) { in init() 51 int status; in set() local 53 status = pthread_mutex_lock(&mMutex); in set() 54 if (status) { in set() 55 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); in set() 61 status = pthread_cond_signal(&mCondition); in set() 62 if (status) { in set() [all …]
|
D | rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, nullptr); 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 …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 244 FwdLockConv_Status_t status; in FwdLockConv_DeriveKeys() local 253 status = FwdLockConv_Status_OutOfMemory; in FwdLockConv_DeriveKeys() 257 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 264 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 271 status = FwdLockConv_Status_OK; in FwdLockConv_DeriveKeys() 277 return status; in FwdLockConv_DeriveKeys() 335 FwdLockConv_Status_t status = FwdLockConv_Status_OK; in FwdLockConv_MatchOpenDelimiter() local 381 status = FwdLockConv_Status_SyntaxError; in FwdLockConv_MatchOpenDelimiter() 384 status = FwdLockConv_RightTrimDelimiter(pSession); in FwdLockConv_MatchOpenDelimiter() 385 if (status == FwdLockConv_Status_OK) { in FwdLockConv_MatchOpenDelimiter() [all …]
|
/frameworks/native/libs/binder/ |
D | Status.cpp | 44 Status Status::fromStatusT(status_t status) { in fromStatusT() argument 46 ret.setFromStatusT(status); in fromStatusT() 60 status_t status = parcel.readInt32(&mException); in readFromParcel() local 61 if (status != OK) { in readFromParcel() 62 setFromStatusT(status); in readFromParcel() 63 return status; in readFromParcel() 71 status = parcel.readInt32(&header_size); in readFromParcel() 72 if (status != OK) { in readFromParcel() 73 setFromStatusT(status); in readFromParcel() 74 return status; in readFromParcel() [all …]
|
/frameworks/av/media/libmedia/ |
D | Visualizer.cpp | 78 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local 81 if (enabled && status == NO_ERROR) { in setEnabled() 92 return status; in setEnabled() 147 status_t status = setParameter(p); in setCaptureSize() local 149 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize() 151 if (status == NO_ERROR) { in setCaptureSize() 152 status = p->status; in setCaptureSize() 153 if (status == NO_ERROR) { in setCaptureSize() 158 return status; in setCaptureSize() 176 status_t status = setParameter(p); in setScalingMode() local [all …]
|
D | CharacterEncodingDetector.cpp | 35 UErrorCode status = U_ZERO_ERROR; in CharacterEncodingDetector() local 36 mUtf8Conv = ucnv_open("UTF-8", &status); in CharacterEncodingDetector() 37 if (U_FAILURE(status)) { in CharacterEncodingDetector() 85 UErrorCode status = U_ZERO_ERROR; in detectAndConvert() local 86 UCharsetDetector *csd = ucsdet_open(&status); in detectAndConvert() 116 ucsdet_setText(csd, buf, strlen(buf), &status); in detectAndConvert() 118 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); in detectAndConvert() 147 ucsdet_setText(csd, buf, strlen(buf), &status); in detectAndConvert() 148 ucma = ucsdet_detectAll(csd, &matches, &status); in detectAndConvert() 161 combinedenc = ucsdet_getName(bestCombinedMatch, &status); in detectAndConvert() [all …]
|
D | IAudioTrack.cpp | 57 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() local 58 if (status == NO_ERROR) { in getCblk() 71 status_t status = remote()->transact(START, data, &reply); in start() local 72 if (status == NO_ERROR) { in start() 73 status = reply.readInt32(); in start() 75 ALOGW("start() error: %s", strerror(-status)); in start() 77 return status; in start() 106 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); in attachAuxEffect() local 107 if (status == NO_ERROR) { in attachAuxEffect() 108 status = reply.readInt32(); in attachAuxEffect() [all …]
|
D | IAudioPolicyService.cpp | 227 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr() local 228 if (status != NO_ERROR) { in getOutputForAttr() 229 return status; in getOutputForAttr() 231 status = (status_t)reply.readInt32(); in getOutputForAttr() 232 if (status != NO_ERROR) { in getOutputForAttr() 233 return status; in getOutputForAttr() 239 return status; in getOutputForAttr() 310 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); in getInputForAttr() local 311 if (status != NO_ERROR) { in getInputForAttr() 312 return status; in getInputForAttr() [all …]
|
D | IDrm.cpp | 69 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck() local 70 if (status != OK) { in initCheck() 71 return status; in initCheck() 82 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported() local 83 if (status != OK) { in isCryptoSchemeSupported() 84 ALOGE("isCryptoSchemeSupported: binder call failed: %d", status); in isCryptoSchemeSupported() 96 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin() local 97 if (status != OK) { in createPlugin() 98 return status; in createPlugin() 107 status_t status = remote()->transact(DESTROY_PLUGIN, data, &reply); in destroyPlugin() local [all …]
|
D | IAudioFlinger.cpp | 111 status_t *status) in createTrack() argument 170 if (status != NULL) { in createTrack() 171 *status = lStatus; in createTrack() 191 status_t *status) in openRecord() argument 267 if (status != NULL) { in openRecord() 268 *status = lStatus; in openRecord() 470 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); in openOutput() local 471 if (status != NO_ERROR) { in openOutput() 473 return status; in openOutput() 475 status = (status_t)reply.readInt32(); in openOutput() [all …]
|
/frameworks/av/soundtrigger/ |
D | ISoundTrigger.cpp | 62 status_t status = remote()->transact(LOAD_SOUND_MODEL, data, &reply); in loadSoundModel() local 63 if (status != NO_ERROR) { in loadSoundModel() 64 return status; in loadSoundModel() 66 status = (status_t)reply.readInt32(); in loadSoundModel() 67 if (status == NO_ERROR) { in loadSoundModel() 70 return status; in loadSoundModel() 78 status_t status = remote()->transact(UNLOAD_SOUND_MODEL, data, &reply); in unloadSoundModel() local 79 if (status == NO_ERROR) { in unloadSoundModel() 80 status = (status_t)reply.readInt32(); in unloadSoundModel() 82 return status; in unloadSoundModel() [all …]
|
D | ISoundTriggerHwService.cpp | 63 status_t status = remote()->transact(LIST_MODULES, data, &reply); in listModules() local 64 if (status == NO_ERROR) { in listModules() 65 status = (status_t)reply.readInt32(); in listModules() 68 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules() 69 if (status == NO_ERROR) { in listModules() 77 return status; in listModules() 88 status_t status = remote()->transact(ATTACH, data, &reply); in attach() local 89 if (status != NO_ERROR) { in attach() 90 return status; in attach() 92 status = reply.readInt32(); in attach() [all …]
|
/frameworks/native/libs/gui/ |
D | StreamSplitter.cpp | 49 status_t status = splitter->mInput->consumerConnect(splitter, false); in createSplitter() local 50 if (status == NO_ERROR) { in createSplitter() 54 return status; in createSplitter() 85 status_t status = outputQueue->connect(listener, NATIVE_WINDOW_API_CPU, in addOutput() local 87 if (status != NO_ERROR) { in addOutput() 88 ALOGE("addOutput: failed to connect (%d)", status); in addOutput() 89 return status; in addOutput() 128 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable() local 129 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 130 "acquiring buffer from input failed (%d)", status); in onFrameAvailable() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Downloads.java | 520 public static boolean isStatusInformational(int status) { in isStatusInformational() argument 521 return (status >= 100 && status < 200); in isStatusInformational() 527 public static boolean isStatusSuccess(int status) { in isStatusSuccess() argument 528 return (status >= 200 && status < 300); in isStatusSuccess() 534 public static boolean isStatusError(int status) { in isStatusError() argument 535 return (status >= 400 && status < 600); in isStatusError() 541 public static boolean isStatusClientError(int status) { in isStatusClientError() argument 542 return (status >= 400 && status < 500); in isStatusClientError() 548 public static boolean isStatusServerError(int status) { in isStatusServerError() argument 549 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 | 84 PV_STATUS status; in DecodeVOLHeader() local 103 status = BitstreamShowBits32HC(stream, &startCode); in DecodeVOLHeader() 144 status = BitstreamShowBits32HC(stream, &tmpvar); in DecodeVOLHeader() 148 status = DecodeUserData(stream); in DecodeVOLHeader() 149 if (status != PV_SUCCESS) return PV_FAIL; in DecodeVOLHeader() 158 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 159 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 210 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 211 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 220 status = PV_BitstreamByteAlign(stream); /* 10/12/01 */ in DecodeVOLHeader() [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioStreamOut.cpp | 55 status_t status = stream->get_render_position(stream, &halPosition); in getRenderPosition() local 56 if (status != NO_ERROR) { in getRenderPosition() 57 return status; in getRenderPosition() 71 return status; in getRenderPosition() 78 status_t status = getRenderPosition(&position64); in getRenderPosition() local 79 if (status == NO_ERROR) { in getRenderPosition() 82 return status; in getRenderPosition() 92 status_t status = stream->get_presentation_position(stream, &halPosition, timestamp); in getPresentationPosition() local 93 if (status != NO_ERROR) { in getPresentationPosition() 94 return status; in getPresentationPosition() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent() local 124 if (status) { in finishInputEvent() 125 if (status == WOULD_BLOCK) { in finishInputEvent() 140 getInputChannelName(), status); in finishInputEvent() 142 return status; in finishInputEvent() 171 status_t status = consumeEvents(env, false /*consumeBatches*/, -1, NULL); in handleEvent() local 173 return status == OK || status == NO_MEMORY ? 1 : 0; in handleEvent() 179 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in handleEvent() local 180 if (status) { in handleEvent() 183 if (status == WOULD_BLOCK) { in handleEvent() [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 …]
|