/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/Exchange/src/com/android/exchange/ |
H A D | CommandStatusException.java | 20 * 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 D | BluetoothShare.java | 177 * 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/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | CallbackInfo.java | 29 int status; field in class:CallbackInfo 36 CallbackInfo(String address, int status, int srvcType, int srvcInstId, argument 39 this.status = status; 47 CallbackInfo(String address, int status) { argument 49 this.status = status;
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeP2pDevice.cpp | 34 static void nfc_jni_presence_check_callback(void* pContext, NFCSTATUS status) argument 37 LOG_CALLBACK("nfc_jni_presence_check_callback", status); 39 /* Report the callback status and wake up the caller */ 40 pCallbackData->status = status; 46 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) 50 LOG_CALLBACK("nfc_jni_connect_callback", status); 52 if(status == NFCSTATUS_SUCCESS) 59 /* Report the callback status and wake up the caller */ 60 pCallbackData->status 44 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle , phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument 64 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle , NFCSTATUS status) argument 74 nfc_jni_receive_callback(void *pContext, phNfc_sData_t *data, NFCSTATUS status) argument 94 nfc_jni_send_callback(void *pContext, NFCSTATUS status) argument 108 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle , phNfc_sData_t *pResBuffer, NFCSTATUS status) argument 123 NFCSTATUS status; local 205 NFCSTATUS status; local 273 NFCSTATUS status; local 359 NFCSTATUS status; local 412 NFCSTATUS status; local [all...] |
H A D | com_android_nfc_NativeNfcTag.cpp | 43 static void nfc_jni_tag_rw_callback(void *pContext, NFCSTATUS status) argument 46 LOG_CALLBACK("nfc_jni_tag_rw_callback", status); 48 /* Report the callback status and wake up the caller */ 49 pCallbackData->status = status; 55 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) 58 LOG_CALLBACK("nfc_jni_connect_callback", status); 60 /* Report the callback status and wake up the caller */ 61 pCallbackData->status = status; 53 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle , phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument 74 nfc_jni_checkndef_callback(void *pContext, phLibNfc_ChkNdef_Info_t info, NFCSTATUS status) argument 101 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle , NFCSTATUS status) argument 119 nfc_jni_async_disconnect_callback(void * , phLibNfc_Handle , NFCSTATUS status) argument 134 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle , phNfc_sData_t *pResBuffer, NFCSTATUS status) argument 147 nfc_jni_presencecheck_callback(void *pContext, NFCSTATUS status) argument 157 nfc_jni_formatndef_callback(void *pContext, NFCSTATUS status) argument 167 nfc_jni_readonly_callback(void *pContext, NFCSTATUS status) argument 181 NFCSTATUS status; local 240 NFCSTATUS status; local 444 jint status; local 499 jint status; local 571 NFCSTATUS status; local 712 NFCSTATUS status; local 937 jint status; local 1010 NFCSTATUS status; local 1105 NFCSTATUS status; local 1156 NFCSTATUS status; local [all...] |
H A D | com_android_nfc_NativeNfcManager.cpp | 63 static void nfc_jni_init_callback(void *pContext, NFCSTATUS status); 64 static void nfc_jni_deinit_callback(void *pContext, NFCSTATUS status); 65 static void nfc_jni_discover_callback(void *pContext, NFCSTATUS status); 67 phLibNfc_Handle handle, NFCSTATUS status); 68 static void nfc_jni_llcpcfg_callback(void *pContext, NFCSTATUS status); 72 uint8_t uNofRemoteDev, NFCSTATUS status); 75 phLibNfc_uSeEvtInfo_t *evt_info, NFCSTATUS status); 113 static void nfc_jni_ioctl_callback(void *pContext, phNfc_sData_t* /*pOutput*/, NFCSTATUS status) { argument 115 LOG_CALLBACK("nfc_jni_ioctl_callback", status); 117 /* Report the callback status an 122 nfc_jni_deinit_download_callback(void *pContext, NFCSTATUS status) argument 137 NFCSTATUS status = NFCSTATUS_FAILED; local 241 NFCSTATUS status; local 276 NFCSTATUS status; local 302 NFCSTATUS status; local 753 NFCSTATUS status; local 812 nfc_jni_checkLlcp_callback(void *context, NFCSTATUS status) argument 823 nfc_jni_llcpcfg_callback(void *pContext, NFCSTATUS status) argument 880 nfc_jni_discover_callback(void *pContext, NFCSTATUS status) argument 905 nfc_jni_Discovery_notification_callback(void *pContext, phLibNfc_RemoteDevList_t *psRemoteDevList, uint8_t uNofRemoteDev, NFCSTATUS status) argument 1094 nfc_jni_init_callback(void *pContext, NFCSTATUS status) argument 1104 nfc_jni_deinit_callback(void *pContext, NFCSTATUS status) argument 1115 nfc_jni_smartMX_setModeCb(void* pContext, phLibNfc_Handle , NFCSTATUS status) argument 1128 nfc_jni_transaction_callback(void *context, phLibNfc_eSE_EvtType_t evt_type, phLibNfc_Handle , phLibNfc_uSeEvtInfo_t *evt_info, NFCSTATUS status) argument 1210 nfc_jni_se_set_mode_callback(void *pContext, phLibNfc_Handle , NFCSTATUS status) argument 1589 NFCSTATUS status; local 1710 NFCSTATUS status; local 2257 NFCSTATUS status = NFCSTATUS_FAILED; local [all...] |
H A D | com_android_nfc_NativeLlcpSocket.cpp | 29 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 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/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/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...] |
H A D | ButtonSwitcher.java | 31 * 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 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/Settings/src/com/android/settings/ |
H A D | AccountPreference.java | 30 * 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 133 getSyncContentDescription(int status) argument [all...] |
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_hfpclient.cpp | 308 bt_status_t status; local 335 status = sBluetoothHfpClientInterface->init(&sBluetoothHfpClientCallbacks); 336 if (status != BT_STATUS_SUCCESS) { 337 ALOGE("Failed to initialize Bluetooth HFP Client, status: %d", status); 347 bt_status_t status; local 369 bt_status_t status; local 379 if ((status = sBluetoothHfpClientInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 380 ALOGE("Failed AG connection, status: %d", status); 388 bt_status_t status; local 407 bt_status_t status; local 427 bt_status_t status; local 446 bt_status_t status; local 456 bt_status_t status; local 466 bt_status_t status; local 477 bt_status_t status; local 495 bt_status_t status; local 506 bt_status_t status; local 517 bt_status_t status; local 528 bt_status_t status; local 539 bt_status_t status; local 550 bt_status_t status; local 561 bt_status_t status; local 573 bt_status_t status; local [all...] |
H A D | com_android_bluetooth_avrcp.cpp | 206 bt_status_t status; local 231 if ( (status = sBluetoothAvrcpInterface->init(&sBluetoothAvrcpCallbacks)) != 233 ALOGE("Failed to initialize Bluetooth Avrcp, status: %d", status); 262 bt_status_t status; local 267 if ((status = sBluetoothAvrcpInterface->get_play_status_rsp((btrc_play_status_t)playStatus, 269 ALOGE("Failed get_play_status_rsp, status: %d", status); 272 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 278 bt_status_t status; local 343 bt_status_t status; local 360 bt_status_t status; local 389 bt_status_t status; local 404 bt_status_t status; local [all...] |
H A D | com_android_bluetooth_a2dp.cpp | 105 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 D | com_android_bluetooth_hdp.cpp | 103 // 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...] |
H A D | com_android_bluetooth_hfp.cpp | 405 bt_status_t status; 441 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) { 442 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status); 453 bt_status_t status; local 478 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks, 480 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status); 490 bt_status_t status; local 512 bt_status_t status; local 532 bt_status_t status; local 551 bt_status_t status; local 571 bt_status_t status; local 591 bt_status_t status; local 610 bt_status_t status; local 630 bt_status_t status; local 650 bt_status_t status; local 664 bt_status_t status; local 689 bt_status_t status; local 713 bt_status_t status; local 737 bt_status_t status; local 758 bt_status_t status; local 785 bt_status_t status; local 804 bt_status_t status; local [all...] |
/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/Exchange/src/com/android/exchange/adapter/ |
H A D | MeetingResponseParser.java | 37 int status = getValueInt(); 38 if (status != 1) { 39 LogUtils.w(TAG, "Error in meeting response: %d", status);
|