/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | RecapitalizeStatusTests.java | 31 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 D | CallbackInfo.java | 27 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 D | BluetoothShare.java | 171 * 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 D | phNxpExtns.c | 62 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 D | DefaultOmtpEventHandler.java | 31 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 D | Vvm3EventHandler.java | 35 * 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 D | ContactPresenceIconUtil.java | 28 * 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/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | ContactPresenceIconUtil.java | 28 * 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 D | VoicemailErrorMessageCreator.java | 34 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 D | OmtpVoicemailMessageCreator.java | 36 * default behavior if other message creator does not handle the status. 49 Context context, VoicemailStatus status, final VoicemailStatusReader statusReader) { 51 new VoicemailTosMessageCreator(context, status, statusReader).maybeCreateTosMessage(); 56 if (Status.CONFIGURATION_STATE_OK == status.configurationState 57 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState 58 && Status.NOTIFICATION_CHANNEL_STATE_OK == status.notificationChannelState) { 59 return checkQuota(context, status, statusReader); 63 if (Status.CONFIGURATION_STATE_CONFIGURING == status.configurationState 64 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState 65 && Status.NOTIFICATION_CHANNEL_STATE_OK == status 48 create( Context context, VoicemailStatus status, final VoicemailStatusReader statusReader) argument 140 checkQuota( Context context, VoicemailStatus status, VoicemailStatusReader statusReader) argument 151 createInboxErrorMessage( Context context, VoicemailStatus status, VoicemailStatusReader statusReader) argument 237 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 268 createNoSignalMessage( Context context, VoicemailStatus status) argument [all...] |
H A D | Vvm3VoicemailMessageCreator.java | 77 final VoicemailStatus status, 80 new VoicemailTosMessageCreator(context, status, statusReader).maybeCreateTosMessage(); 85 if (VMS_DNS_FAILURE == status.dataChannelState) { 89 VoicemailErrorMessage.createRetryAction(context, status), 93 if (VMG_DNS_FAILURE == status.configurationState) { 97 VoicemailErrorMessage.createRetryAction(context, status), 101 if (SPG_DNS_FAILURE == status.configurationState) { 105 VoicemailErrorMessage.createRetryAction(context, status), 109 if (VMS_NO_CELLULAR == status.dataChannelState) { 113 VoicemailErrorMessage.createRetryAction(context, status), 75 create( final Context context, final VoicemailStatus status, final VoicemailStatusReader statusReader) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | BitmapManager.java | 69 * 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 D | Downloads.java | 208 * 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/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
H A D | TranscriptionClient.java | 32 /** Wraps the server response and status objects, either of which may be null. */ 35 public final Status status; field in class:TranscriptionClient.TranscriptionResponseWrapper 38 @Nullable TranscribeVoicemailResponse response, @Nullable Status status) { 39 Assert.checkArgument(!(response == null && status == null)); 41 this.status = status; 53 Status status = null; 57 status = e.getStatus(); 59 return new TranscriptionClient.TranscriptionResponseWrapper(response, status); 37 TranscriptionResponseWrapper( @ullable TranscribeVoicemailResponse response, @Nullable Status status) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | CompletedDownloadInfo.java | 28 public CompletedDownloadInfo(final String uri, final long downloadId, final int status) { argument 31 mStatus = status;
|
H A D | WordListPreference.java | 43 // 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...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | INetworkQueryServiceCallback.aidl | 29 * 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 D | RequestSetNotificationRegistration.java | 32 public RequestSetNotificationRegistration(boolean status) { argument 33 mStatus = status; 39 oap.add(OAP_TAGID_NOTIFICATION_STATUS, status ? NOTIFICATION_ON : NOTIFICATION_OFF);
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
H A D | ContactPresenceIconUtil.java | 28 * 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) { 40 return ContextCompat.getDrawable(context, StatusUpdates.getPresenceIconResourceId(status)); 42 // The undefined status is treated as OFFLINE in getPresenceIconResourceId();
|
/packages/experimental/RpcPerformance/ |
H A D | rpcperftest.cpp | 54 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 D | JniCallbacks.java | 65 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 D | phNxpExtns_MifareStd.c | 72 STATIC void Mfc_FormatNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status); 73 STATIC void Mfc_WriteNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status); 74 STATIC void Mfc_ReadNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status); 75 STATIC void Mfc_CheckNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status); 92 NFCSTATUS status = NFCSTATUS_FAILED; local 173 status = NFCSTATUS_SUCCESS; 174 return status; 193 NFCSTATUS status = NFCSTATUS_FAILED; local 293 status = NFCSTATUS_SUCCESS; 299 if(status ! 320 NFCSTATUS status = NFCSTATUS_FAILED; local 359 Mfc_CheckNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument 414 Mfc_ReadNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument 459 Mfc_WriteNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument 482 Mfc_FormatNdef_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument 579 Mfc_SetRdOnly_Completion_Routine(void *NdefCtxt, NFCSTATUS status) argument 605 NFCSTATUS status = NFCSTATUS_FAILED; local 663 NFCSTATUS status = NFCSTATUS_FAILED; local 756 NFCSTATUS status = NFCSTATUS_SUCCESS; local 795 NFCSTATUS status = NFCSTATUS_SUCCESS; local 938 NFCSTATUS status = NFCSTATUS_FAILED; local 1005 tNFA_STATUS status; local 1030 tNFA_STATUS status; local 1071 NFCSTATUS status = NFCSTATUS_FAILED; local 1187 tNFA_STATUS status = NFA_SendRawFrame (buff, buffSz, NFA_DM_DEFAULT_PRESENCE_CHECK_START_DELAY); local 1214 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1428 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1527 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1557 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1615 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1782 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1906 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2064 NFCSTATUS status = NFCSTATUS_FAILED; local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountPreference.java | 32 * 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 D | NativeNfcTag.cpp | 167 ** 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 D | HalClient.java | 81 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...] |