Searched defs:status (Results 176 - 200 of 264) sorted by relevance

1234567891011

/frameworks/base/core/java/android/provider/
H A DDownloads.java208 * The name of the column containing the current status of the download.
214 public static final String COLUMN_STATUS = "status";
218 * status changed in the download. Stored as a System.currentTimeMillis()
506 * Returns whether the status is informational (i.e. 1xx).
508 public static boolean isStatusInformational(int status) { argument
509 return (status >= 100 && status < 200);
513 * Returns whether the status is a success (i.e. 2xx).
515 public static boolean isStatusSuccess(int status) { argument
516 return (status >
522 isStatusError(int status) argument
529 isStatusClientError(int status) argument
536 isStatusServerError(int status) argument
555 isStatusCompleted(int status) argument
719 statusToString(int status) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp417 android::status_t status = p->readBlob(size, &blob); local
418 if (status) {
466 android::status_t status = p->writeBlob(size, &blob); local
467 if (status) {
/frameworks/base/libs/androidfw/
H A DInput.cpp512 status_t status = mSamplePointerCoords.editTop().readFromParcel(parcel); local
513 if (status) {
514 return status;
551 status_t status = (pc++)->writeToParcel(parcel); local
552 if (status) {
553 return status;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardUpdateMonitor.java103 // Battery status
181 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN);
186 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
274 public final int status; field in class:KeyguardUpdateMonitor.BatteryStatus
278 public BatteryStatus(int status, int level, int plugged, int health) { argument
279 this.status = status;
297 * battery level, so this allows either battery level or status to determine if the
302 return status == BATTERY_STATUS_FULL || level >= 100;
334 // Take a guess at initial SIM state, battery status an
535 handleBatteryUpdate(BatteryStatus status) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardUpdateMonitor.java156 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN);
161 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
245 public final int status; field in class:KeyguardUpdateMonitor.BatteryStatus
249 public BatteryStatus(int status, int level, int plugged, int health) { argument
250 this.status = status;
268 * battery level, so this allows either battery level or status to determine if the
273 return status == BATTERY_STATUS_FULL || level >= 100;
298 // Take a guess at initial SIM state, battery status and PLMN until we get an update
431 private void handleBatteryUpdate(BatteryStatus status) { argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DStatusBarManagerService.java66 // for disabling the status bar
94 void onSetDisabled(int status); argument
104 * Construct the service, add the status bar view to the window manager
197 throw new SecurityException("invalid status bar icon slot: " + slot);
221 throw new SecurityException("invalid status bar icon slot: " + slot);
248 throw new SecurityException("invalid status bar icon slot: " + slot);
416 // Callbacks from the status bar service.
447 * The status bar service should call this each time the user brings the panel from
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java431 public void setBatteryState(int status, int health, int plugType, int level, argument
434 mStats.setBatteryState(status, health, plugType, level, temp, volt);
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java66 /* Expected status codes */
150 * Implements the EventHandler status method called when a server status
154 * @param code The status code
157 public void status(int major_version, int minor_version, method in class:TestEventHandler
160 Log.v(LOGTAG, "TestEventHandler:status() major: " + major_version +
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java237 /** Possible status of a network configuration. */
268 * The current status of this network configuration entry.
271 public int status; field in class:WifiConfiguration
275 * Valid when {@link #status} == Status.DISABLED
428 if (this.status == WifiConfiguration.Status.CURRENT) {
430 } else if (this.status == WifiConfiguration.Status.DISABLED) {
590 status = source.status;
621 dest.writeInt(status);
652 config.status
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java84 * TP-Status - status of a previously submitted SMS.
88 private int status; field in class:SmsMessage
91 * TP-Status - status of a previously submitted SMS.
169 // First byte is status: RECEIVED_READ, RECEIVED_UNREAD, STORED_SENT,
475 if (false) Log.d(LOG_TAG, "SMS status report requested");
876 return status;
956 status = p.getByte();
/frameworks/support/renderscript/v8/rs_support/
H A DrsContext.cpp273 int status; local
280 status = pthread_attr_init(&threadAttr);
281 if (status) {
291 status = pthread_create(&mThreadId, &threadAttr, threadProc, this);
292 if (status) {
317 int status = pthread_join(mThreadId, &res); local
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp191 android::status_t status; local
201 status = pFx->getParameter(p);
202 if (android::NO_ERROR == status) {
203 status = p->status;
204 if (android::NO_ERROR == status) {
209 return status;
217 android::status_t status; local
228 status = pFx->setParameter(p);
229 if (android::NO_ERROR == status) {
377 android::status_t status = android_fx_setParam(pFx, REVERB_PARAM_PRESET, local
492 android::status_t status = ap->mAudioTrack->attachAuxEffect(pFx->id()); local
565 android::status_t status; local
585 android::status_t status; local
605 android_fx_statusToResult(android::status_t status) argument
627 android::status_t status = effect->initCheck(); local
685 android::status_t status = local
718 android::status_t status = local
768 android::status_t status = pFx->initCheck(); local
807 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local
839 android::status_t status = pFx->command( local
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp167 SLuint32 status; local
168 result = (*caller)->GetPrefetchStatus(caller, &status);
170 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event);
173 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
177 new_prefetch_status = status;
474 /* for prefetch status */
597 /* Get the prefetch status interface which was explicitly requested */
757 // wait for prefetch status callback to indicate either sufficient data or error
/frameworks/wilhelm/tests/sandbox/
H A Dreverb.c188 // Prefetch status callback
197 SLuint32 status; local
198 result = (*caller)->GetPrefetchStatus(caller, &status);
202 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
205 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) {
206 new_prefetch_status = status;
593 // get the prefetch status interface
599 // enable prefetch status callbacks
611 // wait for prefetch status callback to indicate either sufficient data or error
H A Dxaplay.c90 // prefetch status callback
99 XAuint32 status; local
100 result = (*caller)->GetPrefetchStatus(caller, &status);
106 printf("PrefetchEventCallback: Prefetch Status is = %u\n", status);
110 && (level == 0) && (status == XA_PREFETCHSTATUS_UNDERFLOW)) {
114 new_prefetch_status = status;
505 // get the prefetch status interface
511 // register prefetch status callback
578 // wait for prefetch status callback to indicate either sufficient data or error
799 XAuint32 status; local
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp557 lStatus = p->status;
619 lStatus = p->status;
792 status_t status = AudioEffect::queryDefaultPreProcessing(audioSession, local
795 if ((status != NO_ERROR && status != NO_MEMORY) ||
800 if (status == NO_MEMORY) {
803 status = AudioEffect::queryDefaultPreProcessing(audioSession,
807 if (status != NO_ERROR || numEffects == 0) {
H A Dandroid_media_Visualizer.cpp536 jint status = translateError(lpVisualizer->getWaveForm((uint8_t *)nWaveform)); local
539 return status;
554 jint status = translateError(lpVisualizer->getFft((uint8_t *)nFft)); local
558 return status;
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java497 public void onInit(int status) { argument
498 // status can be either TextToSpeech.SUCCESS or TextToSpeech.ERROR.
500 if (status != TextToSpeech.SUCCESS) {
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp534 int status; local
567 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
749 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
815 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
866 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
913 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1071 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1112 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1152 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1179 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1798 int status = 0; local
1868 int status = 0; local
1916 int status = 0; local
1986 int status = 0; local
2034 int status = 0; local
2208 int status = 0; local
2292 int status = 0; local
2383 int status = 0; local
2627 int status = 0; local
3187 int status = 0; local
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp441 LVREV_ReturnStatus_en LvmStatus = LVREV_SUCCESS; /* Function call status */
583 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
734 int status; local
772 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
986 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1021 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1059 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1104 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1150 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1189 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */
1563 int status = 0; local
1777 int status = 0; local
1884 int status = 0; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp287 status_t status = createTrack_l(streamType, local
296 if (status != NO_ERROR) {
301 return status;
403 status_t status = NO_ERROR; local
407 status = mAudioTrack->start();
409 if (status == DEAD_OBJECT) {
414 status = restoreTrack_l(cblk, true);
417 if (status != NO_ERROR) {
739 status_t status = mAudioTrack->attachAuxEffect(effectId); local
740 if (status
759 status_t status; local
1172 status_t status = mAudioTrack->queueTimedBuffer(buffer, pts); local
[all...]
H A DIAudioFlinger.cpp98 status_t *status)
129 if (status) {
130 *status = lStatus;
145 status_t *status)
174 if (status) {
175 *status = lStatus;
511 status_t status = reply.readInt32(); local
512 if (status == NO_ERROR) {
522 return status;
538 status_t status local
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
566 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local
588 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local
609 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local
621 createEffect(pid_t pid, effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, status_t *status, int *id, int *enabled) argument
732 status_t status; local
752 status_t status; local
970 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local
1004 status_t status = queryNumberEffects(&numEffects); local
1014 status_t status = queryEffect(data.readInt32(), &desc); local
1026 status_t status = getEffectDescriptor(&uuid, &desc); local
1042 status_t status; local
[all...]
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp167 void errorCallback(FLAC__StreamDecoderErrorStatus status);
199 FLAC__StreamDecoderErrorStatus status,
260 FLAC__StreamDecoderErrorStatus status, void *client_data)
262 ((FLACParser *) client_data)->errorCallback(status);
374 void FLACParser::errorCallback(FLAC__StreamDecoderErrorStatus status) argument
376 ALOGE("FLACParser::errorCallback status=%d", status);
377 mErrorStatus = status;
258 error_callback( const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp133 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status);
189 Bool status = PV_TRUE; local
618 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE;
625 status = SetProfile_BufferSize(video, video->encParams->VBV_delay, 1);
626 if (status != PV_TRUE)
963 status = PV_FALSE;
973 status = PV_FALSE;
982 status = PV_FALSE;
992 status = PV_FALSE;
1001 status
1356 Bool status = PV_TRUE; local
1650 Bool status = PV_TRUE; local
2407 PV_STATUS status = PV_SUCCESS; local
2569 PV_STATUS status = PV_SUCCESS; local
2826 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp208 status_t status = initTrackDownmix(&mState.tracks[n], n, channelMask); local
209 if (status == OK) {
230 status_t status = OK; local
236 status = prepareTrackForDownmix(pTrack, trackNum);
240 return status;
265 int32_t status; local
300 status = (*pDbp->mDownmixHandle)->command(pDbp->mDownmixHandle,
304 if ((status != 0) || (cmdStatus != 0)) {
305 ALOGE("error %d while configuring downmixer for track %d", status, trackName);
309 status
[all...]

Completed in 4767 milliseconds

1234567891011