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

12345678

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
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/exchange2/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
74 // String version of error status codes (for logging only)
90 public static boolean isNeedsProvisioning(int status) { argument
91 return (status == CommandStatus.NEEDS_PROVISIONING ||
92 status == CommandStatus.NEEDS_PROVISIONING_REFRESH ||
93 status == CommandStatus.NEEDS_PROVISIONING_INVALID ||
94 status == CommandStatus.NEEDS_PROVISIONING_WIPE);
97 public static boolean isBadSyncKey(int status) { argument
98 return (status
102 isDeniedAccess(int status) argument
114 isTransientError(int status) argument
119 toString(int status) argument
136 CommandStatusException(int status) argument
141 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/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...]
/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/apps/Phone/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/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.
80 private Button getButton(final int status) { argument
81 switch(status) {
93 public void setStatusAndUpdateVisuals(final int status) { argument
95 setButtonPositionWithoutAnimation(status);
96 mStatus = status;
102 mAnimateToStatus = status;
104 animateButtonPosition(mStatus, status);
105 mStatus = status;
110 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 private void setStatus(final int status) { argument
96 if (status == mStatus) return;
97 mStatus = status;
98 setSummary(getSummary(status));
101 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
140 getButtonSwitcherStatus(final int status) argument
148 getActionIdFromStatusAndMenuEntry(final int status) argument
[all...]
/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/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DPingParser.java73 int status = getValueInt();
74 mSyncStatus = status;
75 mService.userLog("Ping completed, status = ", status);
76 if (status == 2) {
78 } else if (status == 7 || status == 4) {
81 } else if (status == 5) {
H A DAbstractSyncParser.java113 int status;
132 status = getValueInt();
133 if (status != 1) {
134 mService.errorLog("Sync failed: " + CommandStatus.toString(status));
135 if (status == 3 || CommandStatus.isBadSyncKey(status)) {
145 } else if (status == 16 || status == 5) {
150 } else if (status == 8 || status
[all...]
H A DMeetingResponseParser.java37 int status = getValueInt();
38 if (status != 1) {
39 mService.userLog("Error in meeting response: " + status);
H A DSettingsParser.java46 int status = getValueInt();
47 mService.userLog("Settings status = ", status);
48 if (status == 1) {
76 mService.userLog("Set status = ", getValueInt());
/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_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_avrcp.cpp123 bt_status_t status; local
148 if ( (status = sBluetoothAvrcpInterface->init(&sBluetoothAvrcpCallbacks)) !=
150 ALOGE("Failed to initialize Bluetooth Avrcp, status: %d", status);
179 bt_status_t status; local
184 if ((status = sBluetoothAvrcpInterface->get_play_status_rsp((btrc_play_status_t)playStatus,
186 ALOGE("Failed get_play_status_rsp, status: %d", status);
189 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
195 bt_status_t status; local
260 bt_status_t status; local
277 bt_status_t status; local
306 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...]

Completed in 353 milliseconds

12345678