/frameworks/base/libs/rs/ |
H A D | rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, NULL); local 32 if (status) { 40 int status; local 41 status = pthread_mutex_lock(&mMutex); 42 if (status) { 43 LOGE("Mutex: error %i locking.", status); 50 int status; local 51 status = pthread_mutex_unlock(&mMutex); 52 if (status) { 53 LOGE("Mutex error %i unlocking.", status); [all...] |
H A D | rsSignal.cpp | 33 int status = pthread_mutex_init(&mMutex, NULL); local 34 if (status) { 39 status = pthread_cond_init(&mCondition, NULL); 40 if (status) { 50 int status; local 52 status = pthread_mutex_lock(&mMutex); 53 if (status) { 54 LOGE("LocklessCommandFifo: error %i locking for set condition.", status); 60 status = pthread_cond_signal(&mCondition); 61 if (status) { 72 int status; local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vop.cpp | 42 PV_STATUS status; local 81 status = RC_VopQPSetting(video, rc); 82 if (status == PV_FAIL) 98 return status; 101 status = EncodeVop_NoME(video); 110 return status; 130 PV_STATUS status = PV_SUCCESS; local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ 139 status = EncodeFrameCombinedMode(video); 147 status 199 PV_STATUS status = PV_SUCCESS; local 278 PV_STATUS status; local 311 PV_STATUS status; local 355 PV_STATUS status; local 415 PV_STATUS status; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | vlc_encode.cpp | 35 AVCEnc_Status status; local 46 status = ue_v(bitstream, codeNum); 48 return status; 53 AVCEnc_Status status; local 61 status = BitstreamWrite1Bit(bitstream, 1 - value); 62 return status; 72 AVCEnc_Status status; local 78 status = BitstreamWrite1Bit(bitstream, 1); 79 return status; 91 status 108 AVCEnc_Status status; local 150 AVCEnc_Status status = AVCENC_SUCCESS; local 204 AVCEnc_Status status = AVCENC_SUCCESS; local 255 AVCEnc_Status status; local 283 AVCEnc_Status status; local 319 AVCEnc_Status status; local [all...] |
H A D | header.cpp | 31 AVCEnc_Status status = AVCENC_SUCCESS; local 35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); 36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag); 37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag); 38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag); 39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag); 40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */ 41 if (status != AVCENC_SUCCESS) /* we can check after each write also */ 43 return status; 46 status 230 AVCEnc_Status status = AVCENC_SUCCESS; local 322 AVCEnc_Status status = AVCENC_SUCCESS; local 510 AVCEnc_Status status = AVCENC_SUCCESS; local 590 AVCEnc_Status status = AVCENC_SUCCESS; local [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | get_ga_specific_config.cpp | 70 status = 0 if success 144 status = CALL get_prog_config( 148 RETURNING (status) 155 status = CALL set_mc_info( 176 status = 1; 222 status = 1; 226 RETURN status; 309 Int status = SUCCESS; local 346 status = 1; /* do not support scalable coding in this release */ 360 if (status [all...] |
H A D | pvmp4audiodecoderconfig.cpp | 70 status = 0 if no error occurred 186 Int status = MP4AUDEC_INCOMPLETE_FRAME; local 219 status = get_audio_specific_config(pVars); 226 if (status == SUCCESS) 257 * Default to nonrecoverable error status unless there is a Buffer overrun 259 status = MP4AUDEC_INVALID_FRAME; 266 status = MP4AUDEC_INCOMPLETE_FRAME; /* audio config too small */ 280 pVars->status = status; 282 return (status); [all...] |
H A D | pvmp4setaudioconfig.cpp | 62 status = 0 if no error occurred 182 Int status = MP4AUDEC_INCOMPLETE_FRAME; local 245 status = -1; 274 status = -1; /* do not support more than two channels */ 275 pVars->status = status; 276 return (status); 289 status = set_mc_info(&(pVars->mc_info), 303 status = set_mc_info(&(pVars->mc_info), 335 status [all...] |
H A D | find_adts_syncword.cpp | 88 If no syncword is found, the function returns status == ERROR. 145 status = ERROR; 154 status = ERROR; 157 return (status); 236 Int status = SUCCESS; local 280 status = FIND_ADTS_ERROR; 298 status = FIND_ADTS_ERROR; 303 return (status);
|
H A D | getics.cpp | 118 status = 0 if success 191 status = CALL get_ics_info( 203 RETURNING(status) 234 status = 1 268 IF (status == SUCCESS) 270 status = CALL hufffac( 280 RETURNING(status) 282 ENDIF (status) 284 IF (status == SUCCESS) 306 status 440 Int status = SUCCESS; local [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Downloads.java | 207 * The name of the column containing the current status of the download. 213 public static final String COLUMN_STATUS = "status"; 217 * status changed in the download. Stored as a System.currentTimeMillis() 497 * Returns whether the status is informational (i.e. 1xx). 499 public static boolean isStatusInformational(int status) { argument 500 return (status >= 100 && status < 200); 504 * Returns whether the status is a success (i.e. 2xx). 506 public static boolean isStatusSuccess(int status) { argument 507 return (status > 513 isStatusError(int status) argument 520 isStatusClientError(int status) argument 527 isStatusServerError(int status) argument 546 isStatusCompleted(int status) argument [all...] |
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 82 status_t status = KeyLayoutMap::load(String8(filename), &map); local 83 if (status) { 84 fprintf(stderr, "Error %d parsing key layout file.\n\n", status); 92 status_t status = KeyCharacterMap::load(String8(filename), &map); local 93 if (status) { 94 fprintf(stderr, "Error %d parsing key character map file.\n\n", status); 102 status_t status = PropertyMap::load(String8(filename), &map); local 103 if (status) { 104 fprintf(stderr, "Error %d parsing input device configuration file.\n\n", status); 112 status_t status local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dec_pred_intra_dc.cpp | 32 PV_STATUS status = PV_SUCCESS; local 41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size); 43 if (status == PV_SUCCESS) 73 return status;
|
H A D | vop.cpp | 82 PV_STATUS status; local 101 status = BitstreamShowBits32HC(stream, &startCode); 138 status = BitstreamShowBits32HC(stream, &tmpvar); 142 status = DecodeUserData(stream); 143 if (status != PV_SUCCESS) return PV_FAIL; 152 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 153 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 204 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 205 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 214 status 804 PV_STATUS status = PV_SUCCESS; local 1014 PV_STATUS status = PV_SUCCESS; local 1526 PV_STATUS status; local [all...] |
H A D | bitstream.cpp | 177 PV_STATUS status = PV_SUCCESS; local 182 status = BitstreamFillCache(stream); 185 return status; 195 PV_STATUS status = PV_SUCCESS; local 200 status = BitstreamFillCache(stream); 203 return status; 217 PV_STATUS status = PV_SUCCESS; local 223 status = BitstreamFillCache(stream); 227 return status; 240 PV_STATUS status local 259 PV_STATUS status = PV_SUCCESS; local 273 PV_STATUS status; local 288 PV_STATUS status = PV_SUCCESS; local 357 PV_STATUS status = PV_SUCCESS; local 424 PV_STATUS status = PV_SUCCESS; local 443 PV_STATUS status = PV_SUCCESS; local 462 PV_STATUS status = PV_SUCCESS; local 605 PV_STATUS status = PV_SUCCESS; local 634 PV_STATUS status = PV_SUCCESS; local 684 PV_STATUS status = PV_SUCCESS; local 708 PV_STATUS status = PV_SUCCESS; local 787 PV_STATUS status; local 878 PV_STATUS status; local 952 PV_STATUS status; local [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 240 * @return A status code. 243 FwdLockConv_Status_t status; local 250 status = FwdLockConv_Status_OutOfMemory; 254 status = FwdLockConv_Status_ProgramError; 261 status = FwdLockConv_Status_ProgramError; 268 status = FwdLockConv_Status_OK; 274 return status; 309 * @return A status code. 328 * @return A status code. 332 FwdLockConv_Status_t status local 469 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 526 FwdLockConv_Status_t status; local 548 FwdLockConv_Status_t status; local 595 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 867 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 935 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 1076 FwdLockConv_Status_t status; local 1109 FwdLockConv_Status_t status; local 1169 FwdLockConv_Status_t status; local 1199 FwdLockConv_Status_t status; local 1253 FwdLockConv_Status_t status; local 1321 FwdLockConv_Status_t status; local [all...] |
/frameworks/base/libs/ui/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 73 status_t status; local 75 status = mPublisher->initialize(); 76 ASSERT_EQ(OK, status) 79 status = mConsumer->initialize(); 80 ASSERT_EQ(OK, status) 85 status_t status; local 98 status = mPublisher->publishKeyEvent(deviceId, source, action, flags, 100 ASSERT_EQ(OK, status) 103 status = mPublisher->sendDispatchSignal(); 104 ASSERT_EQ(OK, status) 151 status_t status; local 341 status_t status; local 360 status_t status; local 384 status_t status; local 398 status_t status; local 425 status_t status; local 431 status_t status; local 437 status_t status; local 447 status_t status; local 468 status_t status; local 494 ASSERT_EQ(status_t(FAILED_TRANSACTION), status) local 499 status_t status; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallForwardInfo.java | 27 public int status; /*1 = active, 0 = not active */ field in class:CallForwardInfo 35 return super.toString() + (status == 0 ? " not active " : " active ")
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WpsResult.java | 34 public Status status; field in class:WpsResult 39 status = Status.FAILURE; 44 status = s; 50 sbuf.append(" status: ").append(status.toString()); 65 status = source.status; 72 dest.writeString(status.name()); 81 result.status = Status.valueOf(in.readString());
|
/frameworks/base/media/libmedia/ |
H A D | Visualizer.cpp | 72 status_t status = AudioEffect::setEnabled(enabled); local 74 if (status == NO_ERROR) { 88 return status; 148 status_t status = setParameter(p); local 150 LOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); 152 if (status == NO_ERROR) { 153 status 171 status_t status = NO_ERROR; local 195 status_t status = NO_ERROR; local 245 status_t status = getWaveForm(waveform); local 280 status_t status = getParameter(p); local [all...] |
H A D | IAudioRecord.cpp | 49 status_t status = remote()->transact(START, data, &reply); local 50 if (status == NO_ERROR) { 51 status = reply.readInt32(); 53 LOGW("start() error: %s", strerror(-status)); 55 return status; 70 status_t status = remote()->transact(GET_CBLK, data, &reply); local 71 if (status == NO_ERROR) {
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 39 AssemblyStatus status; local 41 status = assembleMore(source); 43 if (status == WRONG_SEQUENCE_NUMBER) { 59 if (status == NOT_ENOUGH_DATA) {
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SchedulerService.java | 29 Notification status = new Notification(R.drawable.stat_happy, null, 31 status.flags |= Notification.FLAG_ONGOING_EVENT; 32 status.setLatestEventInfo(this, "Scheduler Test running", 38 startForeground(1, status);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 35 * @param status Success or failure of the registration or unregistration 43 int status) { 44 Log.d(TAG, "onHealthAppConfigurationStatusChange: " + config + "Status: " + status); 42 onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, int status) argument
|
/frameworks/base/core/jni/ |
H A D | android_nfc_NdefMessage.cpp | 29 uint16_t status; local 54 status = phFriNfc_NdefRecord_GetRecords((uint8_t *)raw_msg, 57 if (status) { 58 LOGE("phFriNfc_NdefRecord_GetRecords(NULL) returned 0x%04x", status); 61 TRACE("phFriNfc_NdefRecord_GetRecords(NULL) returned 0x%04x, with %d records", status, num_of_records); 73 status = phFriNfc_NdefRecord_GetRecords((uint8_t *)raw_msg, 76 if (status) { 77 LOGE("phFriNfc_NdefRecord_GetRecords() returned 0x%04x", status); 80 TRACE("phFriNfc_NdefRecord_GetRecords() returned 0x%04x, with %d records", status, num_of_records); 97 status [all...] |