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

123456789

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DRecapitalizeStatusTests.java27 final RecapitalizeStatus status = new RecapitalizeStatus();
28 status.initialize(30, 40, "abcdefghij", Locale.ENGLISH, " ");
29 status.trim();
30 assertEquals("abcdefghij", status.getRecapitalizedString());
31 assertEquals(30, status.getNewCursorStart());
32 assertEquals(40, status.getNewCursorEnd());
34 status.initialize(30, 44, " abcdefghij", Locale.ENGLISH, " ");
35 status.trim();
36 assertEquals("abcdefghij", status.getRecapitalizedString());
37 assertEquals(34, status
[all...]
/packages/apps/Exchange/src/com/android/exchange/
H A DCommandStatusException.java20 * ActiveSync command error status definitions (EAS 14.0 and later); these are in addition to the
26 // A status response to an EAS account. Responses < 16 correspond to command-specific errors as
75 // String version of error status codes (for logging only)
91 public static boolean isNeedsProvisioning(int status) { argument
92 return (status == CommandStatus.NEEDS_PROVISIONING ||
93 status == CommandStatus.NEEDS_PROVISIONING_REFRESH ||
94 status == CommandStatus.NEEDS_PROVISIONING_INVALID ||
95 status == CommandStatus.NEEDS_PROVISIONING_WIPE);
98 public static boolean isBadSyncKey(int status) { argument
99 return (status
103 isDeniedAccess(int status) argument
115 isTransientError(int status) argument
120 toString(int status) argument
137 CommandStatusException(int status) argument
142 CommandStatusException(int status, String itemId) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothShare.java177 * The name of the column containing the current status of the transfer.
187 public static final String STATUS = "status";
278 * Returns whether the status is informational (i.e. 1xx).
280 public static boolean isStatusInformational(int status) { argument
281 return (status >= 100 && status < 200);
288 public static boolean isStatusSuspended(int status) { argument
289 return (status == STATUS_PENDING);
293 * Returns whether the status is a success (i.e. 2xx).
295 public static boolean isStatusSuccess(int status) { argument
302 isStatusError(int status) argument
309 isStatusClientError(int status) argument
316 isStatusServerError(int status) argument
324 isStatusCompleted(int status) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DContactInfo.java25 public final Integer status; field in class:ContactInfo
29 public ContactInfo(Uri contactUri, Integer status) { argument
30 this(contactUri, status, null, null);
33 public ContactInfo(Uri contactUri, Integer status, byte[] photoBytes) { argument
34 this(contactUri, status, photoBytes, null);
37 public ContactInfo(Uri contactUri, Integer status, Bitmap photo) { argument
38 this(contactUri, status, null, photo);
41 private ContactInfo(Uri contactUri, Integer status, byte[] photoBytes, Bitmap photo) { argument
43 this.status = status;
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DDeliveryReportItem.java26 String status; field in class:DeliveryReportItem
29 public DeliveryReportItem(String recipient, String status, String deliveryDate) { argument
31 this.status = status;
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeP2pDevice.cpp33 static void nfc_jni_presence_check_callback(void* pContext, NFCSTATUS status) argument
36 LOG_CALLBACK("nfc_jni_presence_check_callback", status);
38 /* Report the callback status and wake up the caller */
39 pCallbackData->status = status;
45 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status)
49 LOG_CALLBACK("nfc_jni_connect_callback", status);
51 if(status == NFCSTATUS_SUCCESS)
58 /* Report the callback status and wake up the caller */
59 pCallbackData->status
43 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle hRemoteDev, phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument
63 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument
73 nfc_jni_receive_callback(void *pContext, phNfc_sData_t *data, NFCSTATUS status) argument
93 nfc_jni_send_callback(void *pContext, NFCSTATUS status) argument
107 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
122 NFCSTATUS status; local
204 NFCSTATUS status; local
272 NFCSTATUS status; local
358 NFCSTATUS status; local
411 NFCSTATUS status; local
[all...]
H A Dcom_android_nfc_NativeNfcTag.cpp42 static void nfc_jni_tag_rw_callback(void *pContext, NFCSTATUS status) argument
45 LOG_CALLBACK("nfc_jni_tag_rw_callback", status);
47 /* Report the callback status and wake up the caller */
48 pCallbackData->status = status;
54 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status)
57 LOG_CALLBACK("nfc_jni_connect_callback", status);
59 /* Report the callback status and wake up the caller */
60 pCallbackData->status = status;
52 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle hRemoteDev, phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument
73 nfc_jni_checkndef_callback(void *pContext, phLibNfc_ChkNdef_Info_t info, NFCSTATUS status) argument
100 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument
118 nfc_jni_async_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument
133 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
146 nfc_jni_presencecheck_callback(void *pContext, NFCSTATUS status) argument
156 nfc_jni_formatndef_callback(void *pContext, NFCSTATUS status) argument
166 nfc_jni_readonly_callback(void *pContext, NFCSTATUS status) argument
180 NFCSTATUS status; local
239 NFCSTATUS status; local
443 jint status; local
498 jint status; local
570 NFCSTATUS status; local
711 NFCSTATUS status; local
936 jint status; local
1009 NFCSTATUS status; local
1104 NFCSTATUS status; local
1155 NFCSTATUS status; local
[all...]
H A Dcom_android_nfc_NativeNfcSecureElement.cpp33 NFCSTATUS status)
37 if (status == NFCSTATUS_SUCCESS )
39 LOG_CALLBACK("> IOCTL successful",status);
43 LOG_CALLBACK("> IOCTL error",status);
47 pContextData->status = status;
52 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status)
56 LOG_CALLBACK("com_android_nfc_jni_transceive_callback", status);
59 pContextData->status = status;
31 com_android_nfc_jni_ioctl_callback( void* pContext, phNfc_sData_t* Outparam_Cb, NFCSTATUS status) argument
51 com_android_nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
64 com_android_nfc_jni_connect_callback(void *pContext, phLibNfc_Handle hRemoteDev, phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument
76 com_android_nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument
89 com_android_nfc_jni_smartMX_setModeCb(void* pContext, phLibNfc_Handle hSecureElement, NFCSTATUS status) argument
109 com_android_nfc_jni_open_secure_element_notification_callback(void *pContext, phLibNfc_RemoteDevList_t *psRemoteDevList, uint8_t uNofRemoteDev, NFCSTATUS status) argument
478 NFCSTATUS status; local
619 NFCSTATUS status; local
[all...]
H A Dcom_android_nfc_NativeLlcpSocket.cpp29 NFCSTATUS status)
32 LOG_CALLBACK("nfc_jni_disconnect_callback", status);
34 /* Report the callback status and wake up the caller */
35 pCallbackData->status = status;
40 static void nfc_jni_connect_callback(void* pContext, uint8_t nErrCode, NFCSTATUS status) argument
43 LOG_CALLBACK("nfc_jni_llcp_connect_callback", status);
45 if(status == NFCSTATUS_SUCCESS)
81 /* Report the callback status and wake up the caller */
82 pCallbackData->status
28 nfc_jni_disconnect_callback(void* pContext, NFCSTATUS status) argument
89 nfc_jni_receive_callback(void* pContext, NFCSTATUS status) argument
99 nfc_jni_send_callback(void *pContext, NFCSTATUS status) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
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/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/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/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 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...]
H A DWordListPreference.java43 // What to display in the "status" field when we receive unknown data as a status from
63 // The status
77 final String description, final int status, final int filesize) {
91 setStatus(status);
95 public void setStatus(final int status) { argument
96 if (status == mStatus) return;
97 mStatus = status;
98 setSummary(getSummary(status));
114 private String getSummary(final int status) { argument
74 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
153 getButtonSwitcherStatus(final int status) argument
161 getActionIdFromStatusAndMenuEntry(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/Settings/src/com/android/settings/
H A DAccountPreference.java30 * AccountPreference is used to display a username, status and provider icon for an account on
80 public void setSyncStatus(int status, boolean updateSummary) { argument
81 mStatus = status;
83 mSyncStatusIcon.setImageResource(getSyncStatusIcon(status));
87 setSummary(getSyncStatusMessage(status));
91 private int getSyncStatusMessage(int status) { argument
93 switch (status) {
108 Log.e(TAG, "Unknown sync status: " + status);
113 private int getSyncStatusIcon(int status) { argument
135 getSyncContentDescription(int status) argument
[all...]
/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.java64 void bondStateChangeCallback(int status, byte[] address, int newState) { argument
65 mBondStateMachine.bondStateChangeCallback(status, address, newState);
68 void aclStateChangeCallback(int status, byte[] address, int newState) { argument
69 mRemoteDevices.aclStateChangeCallback(status, address, newState);
72 void stateChangeCallback(int status) { argument
73 mAdapterStateMachine.stateChangeCallback(status);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfp.cpp223 bt_status_t status;
258 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) {
259 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status);
270 bt_status_t status; local
295 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) {
296 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status);
306 bt_status_t status; local
328 bt_status_t status; local
348 bt_status_t status; local
367 bt_status_t status; local
387 bt_status_t status; local
406 bt_status_t status; local
416 bt_status_t status; local
426 bt_status_t status; local
439 bt_status_t status; local
451 bt_status_t status; local
467 bt_status_t status; local
480 bt_status_t status; local
494 bt_status_t status; local
507 bt_status_t status; local
527 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_avrcp.cpp183 bt_status_t status; local
208 if ( (status = sBluetoothAvrcpInterface->init(&sBluetoothAvrcpCallbacks)) !=
210 ALOGE("Failed to initialize Bluetooth Avrcp, status: %d", status);
239 bt_status_t status; local
244 if ((status = sBluetoothAvrcpInterface->get_play_status_rsp((btrc_play_status_t)playStatus,
246 ALOGE("Failed get_play_status_rsp, status: %d", status);
249 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
255 bt_status_t status; local
320 bt_status_t status; local
337 bt_status_t status; local
366 bt_status_t status; local
382 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_a2dp.cpp105 bt_status_t status; local
128 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
129 ALOGE("Failed to initialize Bluetooth A2DP, status: %d", status);
139 bt_status_t status; local
164 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
165 ALOGE("Failed to initialize Bluetooth A2DP, status: %d", status);
175 bt_status_t status; local
196 bt_status_t status; local
217 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_hdp.cpp103 // bt_status_t status;
123 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) {
124 ALOGE("Failed to initialize Bluetooth HDP, status: %d", status);
135 bt_status_t status; local
160 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) {
161 ALOGE("Failed to initialize Bluetooth HDP, status: %d", status);
171 bt_status_t status; local
193 bt_status_t status; local
224 bt_status_t status; local
235 bt_status_t status; local
258 bt_status_t status; local
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAbstractSyncParser.java125 int status;
143 status = getValueInt();
144 if (status != 1) {
145 if (status == 3 || CommandStatus.isBadSyncKey(status)) {
152 } else if (status == 16 || status == 5) {
157 } else if (status == 8 || status == 12) {
166 } else if (status
[all...]
H A DMeetingResponseParser.java37 int status = getValueInt();
38 if (status != 1) {
39 LogUtils.w(TAG, "Error in meeting response: %d", status);

Completed in 744 milliseconds

123456789