/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/rs/ |
D | rsSignal.cpp | 34 int status = pthread_mutex_init(&mMutex, NULL); in init() local 35 if (status) { in init() 40 status = pthread_cond_init(&mCondition, NULL); 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, 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 …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 243 FwdLockConv_Status_t status; in FwdLockConv_DeriveKeys() local 252 status = FwdLockConv_Status_OutOfMemory; in FwdLockConv_DeriveKeys() 256 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 263 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys() 270 status = FwdLockConv_Status_OK; in FwdLockConv_DeriveKeys() 276 return status; in FwdLockConv_DeriveKeys() 334 FwdLockConv_Status_t status = FwdLockConv_Status_OK; in FwdLockConv_MatchOpenDelimiter() local 380 status = FwdLockConv_Status_SyntaxError; in FwdLockConv_MatchOpenDelimiter() 383 status = FwdLockConv_RightTrimDelimiter(pSession); in FwdLockConv_MatchOpenDelimiter() 384 if (status == FwdLockConv_Status_OK) { in FwdLockConv_MatchOpenDelimiter() [all …]
|
/frameworks/av/media/libmedia/ |
D | Visualizer.cpp | 81 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local 83 if (status == NO_ERROR) { in setEnabled() 97 return status; in setEnabled() 152 status_t status = setParameter(p); in setCaptureSize() local 154 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize() 156 if (status == NO_ERROR) { in setCaptureSize() 157 status = p->status; in setCaptureSize() 158 if (status == NO_ERROR) { in setCaptureSize() 163 return status; in setCaptureSize() 181 status_t status = setParameter(p); in setScalingMode() local [all …]
|
D | IAudioTrack.cpp | 60 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() local 61 if (status == NO_ERROR) { in getCblk() 74 status_t status = remote()->transact(START, data, &reply); in start() local 75 if (status == NO_ERROR) { in start() 76 status = reply.readInt32(); in start() 78 ALOGW("start() error: %s", strerror(-status)); in start() 80 return status; in start() 109 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); in attachAuxEffect() local 110 if (status == NO_ERROR) { in attachAuxEffect() 111 status = reply.readInt32(); in attachAuxEffect() [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() 117 ucsdet_setText(csd, buf, strlen(buf), &status); in detectAndConvert() 119 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); in detectAndConvert() 148 ucsdet_setText(csd, buf, strlen(buf), &status); in detectAndConvert() 149 ucma = ucsdet_detectAll(csd, &matches, &status); in detectAndConvert() 162 combinedenc = ucsdet_getName(bestCombinedMatch, &status); in detectAndConvert() [all …]
|
D | IAudioFlinger.cpp | 108 status_t *status) in createTrack() argument 166 if (status != NULL) { in createTrack() 167 *status = lStatus; in createTrack() 184 status_t *status) in openRecord() argument 257 if (status != NULL) { in openRecord() 258 *status = lStatus; in openRecord() 458 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); in openOutput() local 459 if (status != NO_ERROR) { in openOutput() 461 return status; in openOutput() 463 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 (status = (status_t)reply.readInt32()) != NO_ERROR) { in loadSoundModel() 65 return status; in loadSoundModel() 68 return status; in loadSoundModel() 76 status_t status = remote()->transact(UNLOAD_SOUND_MODEL, data, &reply); in unloadSoundModel() local 77 if (status != NO_ERROR) { in unloadSoundModel() 78 status = (status_t)reply.readInt32(); in unloadSoundModel() 80 return status; in unloadSoundModel() 95 status_t status = remote()->transact(START_RECOGNITION, data, &reply); in startRecognition() local [all …]
|
D | ISoundTriggerHwService.cpp | 61 status_t status = remote()->transact(LIST_MODULES, data, &reply); in listModules() local 62 if (status == NO_ERROR) { in listModules() 63 status = (status_t)reply.readInt32(); in listModules() 66 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules() 67 if (status == NO_ERROR) { in listModules() 75 return status; in listModules() 87 status_t status = reply.readInt32(); in attach() local 91 return status; in attach() 99 status_t status = remote()->transact(SET_CAPTURE_STATE, data, &reply); in setCaptureState() local 100 if (status == NO_ERROR) { in setCaptureState() [all …]
|
/frameworks/native/libs/gui/ |
D | StreamSplitter.cpp | 48 status_t status = splitter->mInput->consumerConnect(splitter, false); in createSplitter() local 49 if (status == NO_ERROR) { in createSplitter() 53 return status; in createSplitter() 84 status_t status = outputQueue->connect(listener, NATIVE_WINDOW_API_CPU, in addOutput() local 86 if (status != NO_ERROR) { in addOutput() 87 ALOGE("addOutput: failed to connect (%d)", status); in addOutput() 88 return status; in addOutput() 127 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable() local 128 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 129 "acquiring buffer from input failed (%d)", status); in onFrameAvailable() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Downloads.java | 513 public static boolean isStatusInformational(int status) { in isStatusInformational() argument 514 return (status >= 100 && status < 200); in isStatusInformational() 520 public static boolean isStatusSuccess(int status) { in isStatusSuccess() argument 521 return (status >= 200 && status < 300); in isStatusSuccess() 527 public static boolean isStatusError(int status) { in isStatusError() argument 528 return (status >= 400 && status < 600); in isStatusError() 534 public static boolean isStatusClientError(int status) { in isStatusClientError() argument 535 return (status >= 400 && status < 500); in isStatusClientError() 541 public static boolean isStatusServerError(int status) { in isStatusServerError() argument 542 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() 142 status = BitstreamShowBits32HC(stream, &tmpvar); in DecodeVOLHeader() 146 status = DecodeUserData(stream); in DecodeVOLHeader() 147 if (status != PV_SUCCESS) return PV_FAIL; in DecodeVOLHeader() 156 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 157 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 208 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ in DecodeVOLHeader() 209 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ in DecodeVOLHeader() 218 status = PV_BitstreamByteAlign(stream); /* 10/12/01 */ in DecodeVOLHeader() [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/base/core/java/android/bluetooth/ |
D | BluetoothGattCallback.java | 35 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange() argument 47 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered() argument 60 int status) { in onCharacteristicRead() argument 79 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument 103 int status) { in onDescriptorRead() argument 116 int status) { in onDescriptorWrite() argument 126 public void onReliableWriteCompleted(BluetoothGatt gatt, int status) { in onReliableWriteCompleted() argument 139 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) { in onReadRemoteRssi() argument 153 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { in onMtuChanged() argument
|
/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 …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsMeasurementsProvider.java | 52 int status = isGpsMeasurementsSupported ? in onCapabilitiesUpdated() local 55 setSupported(isGpsMeasurementsSupported, new StatusChangedOperation(status)); in onCapabilitiesUpdated() 60 final int status; in getHandlerOperation() local 63 status = GpsMeasurementsEvent.STATUS_READY; in getHandlerOperation() 68 status = GpsMeasurementsEvent.STATUS_NOT_SUPPORTED; in getHandlerOperation() 71 status = GpsMeasurementsEvent.STATUS_GPS_LOCATION_DISABLED; in getHandlerOperation() 77 return new StatusChangedOperation(status); in getHandlerOperation() 82 int status = enabled ? in handleGpsEnabledChanged() local 85 foreach(new StatusChangedOperation(status)); in handleGpsEnabledChanged() 91 public StatusChangedOperation(int status) { in StatusChangedOperation() argument [all …]
|
D | GpsNavigationMessageProvider.java | 53 int status = isGpsNavigationMessageSupported ? in onCapabilitiesUpdated() local 56 setSupported(isGpsNavigationMessageSupported, new StatusChangedOperation(status)); in onCapabilitiesUpdated() 61 final int status; in getHandlerOperation() local 64 status = GpsNavigationMessageEvent.STATUS_READY; in getHandlerOperation() 69 status = GpsNavigationMessageEvent.STATUS_NOT_SUPPORTED; in getHandlerOperation() 72 status = GpsNavigationMessageEvent.STATUS_GPS_LOCATION_DISABLED; in getHandlerOperation() 78 return new StatusChangedOperation(status); in getHandlerOperation() 83 int status = enabled ? in handleGpsEnabledChanged() local 86 foreach(new StatusChangedOperation(status)); in handleGpsEnabledChanged() 93 public StatusChangedOperation(int status) { in StatusChangedOperation() argument [all …]
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 144 status_t status = NO_ERROR; in createAudioPatch() local 185 status = BAD_VALUE; in createAudioPatch() 194 status = INVALID_OPERATION; in createAudioPatch() 200 status = BAD_VALUE; in createAudioPatch() 209 status = BAD_VALUE; in createAudioPatch() 218 status = INVALID_OPERATION; in createAudioPatch() 228 status = INVALID_OPERATION; in createAudioPatch() 237 status = INVALID_OPERATION; in createAudioPatch() 255 status = NO_MEMORY; in createAudioPatch() 278 status = NO_MEMORY; in createAudioPatch() [all …]
|