Searched refs:status (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DRecapitalizeStatusTests.java31 final RecapitalizeStatus status = new RecapitalizeStatus();
32 status.start(30, 40, "abcdefghij", Locale.ENGLISH, SPACE);
33 status.trim();
34 assertEquals("abcdefghij", status.getRecapitalizedString());
35 assertEquals(30, status.getNewCursorStart());
36 assertEquals(40, status.getNewCursorEnd());
38 status.start(30, 44, " abcdefghij", Locale.ENGLISH, SPACE);
39 status.trim();
40 assertEquals("abcdefghij", status.getRecapitalizedString());
41 assertEquals(34, status
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DCallbackInfo.java27 int status; field in class:CallbackInfo
30 CallbackInfo(String address, int status, int handle) { argument
32 this.status = status;
36 CallbackInfo(String address, int status) { argument
38 this.status = status;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothShare.java171 * The name of the column containing the current status of the transfer.
181 public static final String STATUS = "status";
272 * Returns whether the status is informational (i.e. 1xx).
274 public static boolean isStatusInformational(int status) { argument
275 return (status >= 100 && status < 200);
282 public static boolean isStatusSuspended(int status) { argument
283 return (status == STATUS_PENDING);
287 * Returns whether the status is a success (i.e. 2xx).
289 public static boolean isStatusSuccess(int status) { argument
296 isStatusError(int status) argument
303 isStatusClientError(int status) argument
310 isStatusServerError(int status) argument
318 isStatusCompleted(int status) argument
[all...]
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
H A DphNxpExtns.c62 NFCSTATUS status = NFCSTATUS_FAILED; local
87 status = NFCSTATUS_SUCCESS;
88 return status;
92 return status;
126 NFCSTATUS status = NFCSTATUS_SUCCESS; local
134 status = phNxpExtns_SendMsg (&msg);
135 if (NFCSTATUS_SUCCESS != status)
139 return status;
160 NFCSTATUS status = NFCSTATUS_SUCCESS; local
167 status
192 NFCSTATUS status = NFCSTATUS_SUCCESS; local
222 NFCSTATUS status = NFCSTATUS_SUCCESS; local
265 NFCSTATUS status = NFCSTATUS_SUCCESS; local
300 NFCSTATUS status = NFCSTATUS_SUCCESS; local
333 NFCSTATUS status = NFCSTATUS_SUCCESS; local
363 NFCSTATUS status = NFCSTATUS_SUCCESS; local
393 NFCSTATUS status = NFCSTATUS_SUCCESS; local
421 NFCSTATUS status = NFCSTATUS_SUCCESS; local
473 NFCSTATUS status = NFCSTATUS_SUCCESS; local
549 NFCSTATUS status = NFCSTATUS_SUCCESS; local
572 NFCSTATUS status = NFCSTATUS_FAILED; local
644 MfcPresenceCheckResult(NFCSTATUS status) argument
668 NFCSTATUS status = NFCSTATUS_SUCCESS; local
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DDefaultOmtpEventHandler.java31 VoicemailStatus.Editor status,
35 handleConfigurationEvent(context, status, event);
38 handleDataChannelEvent(context, status, event);
41 handleNotificationChannelEvent(context, config, status, event);
44 handleOtherEvent(context, status, event);
52 Context context, VoicemailStatus.Editor status, OmtpEvents event) {
57 status
65 status
72 status
79 status
28 handleEvent( Context context, OmtpVvmCarrierConfigHelper config, VoicemailStatus.Editor status, OmtpEvents event) argument
51 handleConfigurationEvent( Context context, VoicemailStatus.Editor status, OmtpEvents event) argument
89 handleDataChannelEvent( Context context, VoicemailStatus.Editor status, OmtpEvents event) argument
153 handleNotificationChannelEvent( Context context, OmtpVvmCarrierConfigHelper config, VoicemailStatus.Editor status, OmtpEvents event) argument
179 handleOtherEvent( Context context, VoicemailStatus.Editor status, OmtpEvents event) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
H A DVvm3EventHandler.java35 * error codes into the voicemail status table so support on the dialer side is required.
111 VoicemailStatus.Editor status,
116 handled = handleConfigurationEvent(context, status, event);
119 handled = handleDataChannelEvent(status, event);
122 handled = handleNotificationChannelEvent(status, event);
125 handled = handleOtherEvent(status, event);
131 DefaultOmtpEventHandler.handleEvent(context, config, status, event);
136 Context context, VoicemailStatus.Editor status, OmtpEvents event) {
139 if (!isPinRandomized(context, status.getPhoneAccountHandle())) {
142 postError(status, PIN_NOT_SE
108 handleEvent( Context context, OmtpVvmCarrierConfigHelper config, VoicemailStatus.Editor status, OmtpEvents event) argument
135 handleConfigurationEvent( Context context, VoicemailStatus.Editor status, OmtpEvents event) argument
168 handleDataChannelEvent(VoicemailStatus.Editor status, OmtpEvents event) argument
223 handleOtherEvent(VoicemailStatus.Editor status, OmtpEvents event) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPresenceIconUtil.java28 * Get the presence icon resource according the status.
30 * @return null means don't show the status icon.
32 public static Drawable getPresenceIcon (Context context, int status) { argument
33 // We don't show the offline status in Contacts
34 switch(status) {
41 StatusUpdates.getPresenceIconResourceId(status));
43 // The undefined status is treated as OFFLINE in getPresenceIconResourceId();
/packages/apps/Dialer/java/com/android/contacts/common/
H A DContactPresenceIconUtil.java27 * Get the presence icon resource according the status.
29 * @return null means don't show the status icon.
31 public static Drawable getPresenceIcon(Context context, int status) { argument
32 // We don't show the offline status in Contacts
33 switch (status) {
39 return context.getResources().getDrawable(StatusUpdates.getPresenceIconResourceId(status));
41 // The undefined status is treated as OFFLINE in getPresenceIconResourceId();
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactPresenceIconUtil.java28 * Get the presence icon resource according the status.
30 * @return null means don't show the status icon.
32 public static Drawable getPresenceIcon (Context context, int status) { argument
33 // We don't show the offline status in Contacts
34 switch(status) {
41 StatusUpdates.getPresenceIconResourceId(status));
43 // The undefined status is treated as OFFLINE in getPresenceIconResourceId();
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/error/
H A DVoicemailErrorMessageCreator.java34 Context context, VoicemailStatus status, VoicemailStatusReader statusReader) {
35 // Never return error message before NMR1. Voicemail status is not supported on those.
39 switch (status.type) {
41 return Vvm3VoicemailMessageCreator.create(context, status, statusReader);
43 return OmtpVoicemailMessageCreator.create(context, status, statusReader);
33 create( Context context, VoicemailStatus status, VoicemailStatusReader statusReader) argument
H A DOmtpVoicemailMessageCreator.java36 * default behavior if other message creator does not handle the status.
49 Context context, VoicemailStatus status, final VoicemailStatusReader statusReader) {
50 if (Status.CONFIGURATION_STATE_OK == status.configurationState
51 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState
52 && Status.NOTIFICATION_CHANNEL_STATE_OK == status.notificationChannelState) {
53 return checkQuota(context, status, statusReader);
57 if (Status.CONFIGURATION_STATE_CONFIGURING == status.configurationState
58 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState
59 && Status.NOTIFICATION_CHANNEL_STATE_OK == status.notificationChannelState) {
66 if (Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION == status
48 create( Context context, VoicemailStatus status, final VoicemailStatusReader statusReader) argument
134 checkQuota( Context context, VoicemailStatus status, VoicemailStatusReader statusReader) argument
145 createInboxErrorMessage( Context context, VoicemailStatus status, VoicemailStatusReader statusReader) argument
231 createVMQuotaPromo( Context context, PhoneAccountHandle phoneAccountHandle, VoicemailStatus status, VoicemailStatusReader statusReader, VoicemailClient voicemailClient, PerAccountSharedPreferences sharedPreferenceForAccount, String title, CharSequence message, DialerImpression.Type impressionToLogOnEnable, DialerImpression.Type impressionToLogOnDismiss, String preferenceKeyToUpdate) argument
262 createNoSignalMessage( Context context, VoicemailStatus status) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DBitmapManager.java69 * Get thread status and create one if specified.
72 ThreadStatus status = mThreadStatus.get(t);
73 if (status == null) {
74 status = new ThreadStatus();
75 mThreadStatus.put(t, status);
77 return status;
90 ThreadStatus status = mThreadStatus.get(t);
91 status.mOptions = null;
99 ThreadStatus status = mThreadStatus.get(t);
100 if (status
[all...]
/packages/apps/Messaging/src/com/android/messaging/mmslib/
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()
510 * Returns whether the status is informational (i.e. 1xx).
512 public static boolean isStatusInformational(int status) { argument
513 return (status >= 100 && status < 200);
517 * Returns whether the status is a success (i.e. 2xx).
519 public static boolean isStatusSuccess(int status) { argument
520 return (status >
526 isStatusError(int status) argument
533 isStatusClientError(int status) argument
540 isStatusServerError(int status) argument
559 isStatusCompleted(int status) argument
723 statusToString(int status) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DCompletedDownloadInfo.java28 public CompletedDownloadInfo(final String uri, final long downloadId, final int status) { argument
31 mStatus = status;
H A DWordListPreference.java43 // What to display in the "status" field when we receive unknown data as a status from
62 // The status
72 final String description, final int status, final int filesize) {
85 setStatus(status);
89 public void setStatus(final int status) { argument
90 if (status == mStatus) return;
91 mStatus = status;
92 setSummary(getSummary(status));
95 public boolean hasStatus(final int status) { argument
69 WordListPreference(final Context context, final DictionaryListInterfaceState dictionaryListInterfaceState, final String clientId, final String wordlistId, final int version, final Locale locale, final String description, final int status, final int filesize) argument
112 getSummary(final int status) argument
152 getButtonSwitcherStatus(final int status) argument
160 getActionIdFromStatusAndMenuEntry(final int status) argument
[all...]
H A DButtonSwitcher.java31 * A view that handles buttons inside it according to a status.
85 private Button getButton(final int status) { argument
86 switch(status) {
98 public void setStatusAndUpdateVisuals(final int status) { argument
100 setButtonPositionWithoutAnimation(status);
101 mStatus = status;
107 mAnimateToStatus = status;
109 animateButtonPosition(mStatus, status);
110 mStatus = status;
115 private void setButtonPositionWithoutAnimation(final int status) { argument
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DINetworkQueryServiceCallback.aidl29 * Called upon query completion, handing a status value and an
34 * @param status the status indicating if there were any
37 void onQueryComplete(in List<OperatorInfo> networkInfoArray, int status);
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DRequestSetNotificationRegistration.java32 public RequestSetNotificationRegistration(boolean status) { argument
33 mStatus = status;
39 oap.add(OAP_TAGID_NOTIFICATION_STATUS, status ? NOTIFICATION_ON : NOTIFICATION_OFF);
/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp54 status_t status = sm->addService(name, new BnInterface<ITestService>()); local
55 if (status != OK) {
73 status_t status = service->pingBinder(); local
74 if (status != OK) {
75 fprintf(stderr, "error: can't ping: %s [%d]\n", argv[1], status);
83 status_t status = service->pingBinder(); local
84 if (status != OK) {
85 fprintf(stderr, "error: can't ping: %s [%d]\n", argv[1], status);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DJniCallbacks.java65 void bondStateChangeCallback(int status, byte[] address, int newState) { argument
66 mBondStateMachine.bondStateChangeCallback(status, address, newState);
69 void aclStateChangeCallback(int status, byte[] address, int newState) { argument
70 mRemoteDevices.aclStateChangeCallback(status, address, newState);
73 void stateChangeCallback(int status) { argument
74 mAdapterStateMachine.stateChangeCallback(status);
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
H A DphNxpExtns_MifareStd.c71 STATIC void Mfc_FormatNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status);
72 STATIC void Mfc_WriteNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status);
73 STATIC void Mfc_ReadNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status);
74 STATIC void Mfc_CheckNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status);
91 NFCSTATUS status = NFCSTATUS_FAILED; local
172 status = NFCSTATUS_SUCCESS;
173 return status;
192 NFCSTATUS status = NFCSTATUS_FAILED; local
292 status = NFCSTATUS_SUCCESS;
298 if(status !
319 NFCSTATUS status = NFCSTATUS_FAILED; local
358 Mfc_CheckNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument
413 Mfc_ReadNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument
458 Mfc_WriteNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument
481 Mfc_FormatNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument
578 Mfc_SetRdOnly_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument
604 NFCSTATUS status = NFCSTATUS_FAILED; local
662 NFCSTATUS status = NFCSTATUS_FAILED; local
755 NFCSTATUS status = NFCSTATUS_SUCCESS; local
794 NFCSTATUS status = NFCSTATUS_SUCCESS; local
937 NFCSTATUS status = NFCSTATUS_FAILED; local
1004 tNFA_STATUS status; local
1029 tNFA_STATUS status; local
1070 NFCSTATUS status = NFCSTATUS_FAILED; local
1186 tNFA_STATUS status = NFA_SendRawFrame (buff, buffSz, NFA_DM_DEFAULT_PRESENCE_CHECK_START_DELAY); local
1213 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1414 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1513 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1543 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1601 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1768 NFCSTATUS status = NFCSTATUS_SUCCESS; local
1892 NFCSTATUS status = NFCSTATUS_SUCCESS; local
2050 NFCSTATUS status = NFCSTATUS_FAILED; local
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountPreference.java32 * AccountPreference is used to display a username, status and provider icon for an account on
82 public void setSyncStatus(int status, boolean updateSummary) { argument
83 if (mStatus == status) {
87 mStatus = status;
89 mSyncStatusIcon.setImageResource(getSyncStatusIcon(status));
93 setSummary(getSyncStatusMessage(status));
97 private int getSyncStatusMessage(int status) { argument
99 switch (status) {
114 Log.e(TAG, "Unknown sync status: " + status);
119 getSyncStatusIcon(int status) argument
139 getSyncContentDescription(int status) argument
[all...]
/packages/apps/Nfc/nci/jni/
H A DNativeNfcTag.cpp167 ** Description: Receive the completion status of read operation. Called by
169 ** status: Status of operation.
174 void nativeNfcTag_doReadCompleted (tNFA_STATUS status) argument
176 ALOGV("%s: status=0x%X; is reading=%u", __func__, status, sIsReadingNdefMessage);
181 if (status != NFA_STATUS_OK)
228 ALOGV("%s: NFA_NDEF_REGISTER_EVT; status=0x%X; h=0x%X", __func__, ndef_reg.status, ndef_reg.ndef_type_handle);
263 tNFA_STATUS status = NFA_STATUS_FAILED; local
280 status
373 tNFA_STATUS status = 0; local
533 nativeNfcTag_doDeactivateStatus(int status) argument
634 tNFA_STATUS status; local
861 nativeNfcTag_doTransceiveStatus(tNFA_STATUS status, uint8_t* buf, uint32_t bufLen) argument
923 tNFA_STATUS status; local
1127 nativeNfcTag_doCheckNdefResult(tNFA_STATUS status, uint32_t maxSize, uint32_t currentSize, uint8_t flags) argument
1204 tNFA_STATUS status = NFA_STATUS_FAILED; local
1346 nativeNfcTag_doPresenceCheckResult(tNFA_STATUS status) argument
1368 tNFA_STATUS status = NFA_STATUS_OK; local
1555 tNFA_STATUS status = NFA_STATUS_OK; local
1601 tNFA_STATUS status = NFA_STATUS_OK; local
1658 nativeNfcTag_doMakeReadonlyResult(tNFA_STATUS status) argument
1686 tNFA_STATUS status = NFA_STATUS_OK; local
1745 tNFA_STATUS status; local
[all...]
/packages/services/Car/service/src/com/android/car/hal/
H A DHalClient.java81 int status = invokeRetriable(() -> {
90 if (StatusCode.INVALID_ARG == status) {
96 if (StatusCode.TRY_AGAIN == status) {
100 if (StatusCode.OK != status) {
103 + "code: %d", propValue.prop, propValue.areaId, status));
109 int status = invokeRetriable(() -> {
112 return res.status;
117 if (StatusCode.INVALID_ARG == status) {
122 if (StatusCode.TRY_AGAIN == status) {
126 if (StatusCode.OK != status || valueWrappe
177 int status; field in class:HalClient.ValueResult
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
H A DInstallExistingPackageTask.java53 int status = pm.installExistingPackageAsUser(mPackageName, userId);
54 if (status == PackageManager.INSTALL_SUCCEEDED) {
57 ProvisionLogger.loge("Install failed, result code = " + status);

Completed in 766 milliseconds

1234567891011>>