/packages/apps/Exchange/exchange2/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 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 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/Mms/src/com/android/mms/ui/ |
H A D | DeliveryReportItem.java | 26 String status; field in class:DeliveryReportItem 29 public DeliveryReportItem(String recipient, String status, String deliveryDate) { argument 31 this.status = status;
|
H A D | DeliveryReportListItem.java | 32 * This class displays the status for a single recipient of a message. It is used in 50 mStatusView = (TextView) findViewById(R.id.status); 59 public final void bind(String recipient, String status, String deliveryDate) { argument 67 mStatusView.setText(status); 76 if (status.compareTo(receivedStr) == 0) { 78 } else if (status.compareTo(failedStr) == 0) { 80 } else if (status.compareTo(pendingStr) == 0) { 82 } else if (status.compareTo(rejectStr) == 0) { 86 // No status report or unknown
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeP2pDevice.cpp | 32 static void nfc_jni_presence_check_callback(void* pContext, NFCSTATUS status) argument 35 LOG_CALLBACK("nfc_jni_presence_check_callback", status); 37 /* Report the callback status and wake up the caller */ 38 pCallbackData->status = status; 44 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) 48 LOG_CALLBACK("nfc_jni_connect_callback", status); 50 if(status == NFCSTATUS_SUCCESS) 57 /* Report the callback status and wake up the caller */ 58 pCallbackData->status 42 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle hRemoteDev, phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument 62 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument 72 nfc_jni_receive_callback(void *pContext, phNfc_sData_t *data, NFCSTATUS status) argument 92 nfc_jni_send_callback(void *pContext, NFCSTATUS status) argument 106 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument 121 NFCSTATUS status; local 203 NFCSTATUS status; local 271 NFCSTATUS status; local 357 NFCSTATUS status; local 410 NFCSTATUS status; local [all...] |
H A D | com_android_nfc_NativeNfcTag.cpp | 40 static void nfc_jni_tag_rw_callback(void *pContext, NFCSTATUS status) argument 43 LOG_CALLBACK("nfc_jni_tag_rw_callback", status); 45 /* Report the callback status and wake up the caller */ 46 pCallbackData->status = status; 52 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) 55 LOG_CALLBACK("nfc_jni_connect_callback", status); 57 /* Report the callback status and wake up the caller */ 58 pCallbackData->status = status; 50 nfc_jni_connect_callback(void *pContext, phLibNfc_Handle hRemoteDev, phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) argument 71 nfc_jni_checkndef_callback(void *pContext, phLibNfc_ChkNdef_Info_t info, NFCSTATUS status) argument 98 nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument 116 nfc_jni_async_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS status) argument 131 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument 144 nfc_jni_presencecheck_callback(void *pContext, NFCSTATUS status) argument 154 nfc_jni_formatndef_callback(void *pContext, NFCSTATUS status) argument 164 nfc_jni_readonly_callback(void *pContext, NFCSTATUS status) argument 178 NFCSTATUS status; local 237 NFCSTATUS status; local 452 jint status; local 509 jint status; local 583 NFCSTATUS status; local 724 NFCSTATUS status; local 949 jint status; local 1022 NFCSTATUS status; local 1117 NFCSTATUS status; local 1168 NFCSTATUS status; local [all...] |
H A D | com_android_nfc_NativeNfcSecureElement.cpp | 33 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 479 NFCSTATUS status; local 620 NFCSTATUS status; 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/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/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/Phone/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 135 getSyncContentDescription(int status) argument [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | PingParser.java | 73 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 D | AbstractSyncParser.java | 113 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 D | MeetingResponseParser.java | 37 int status = getValueInt(); 38 if (status != 1) { 39 mService.userLog("Error in meeting response: " + status);
|
H A D | SettingsParser.java | 46 int status = getValueInt(); 47 mService.userLog("Settings status = ", status); 48 if (status == 1) { 76 mService.userLog("Set status = ", getValueInt());
|
H A D | MoveItemsParser.java | 31 // These are the EAS status codes for MoveItems 40 // These are the status values we return to callers 61 int status = getValueInt(); 62 // Convert the EAS status code with our external codes 63 switch(status) { 84 if (status != STATUS_SUCCESS) { 86 mService.userLog("Error in MoveItems: " + status);
|
/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 | 64 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 D | com_android_bluetooth_hfp.cpp | 223 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 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_hid.cpp | 117 jint status = hh_status; 127 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVirtualUnplug, addr, status); 148 // bt_status_t status; 168 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { 169 ALOGE("Failed to initialize Bluetooth HID, status: %d", status); 180 bt_status_t status; local 206 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { 207 ALOGE("Failed to initialize Bluetooth HID, status: %d", status); 219 bt_status_t status; local 242 bt_status_t status; local 264 bt_status_t status; local 286 bt_status_t status; local 309 bt_status_t status; local 331 bt_status_t status; local 369 bt_status_t status; local 396 bt_status_t status; local 422 bt_status_t status; local [all...] |
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcManager.cpp | 51 extern void nativeNfcTag_doDeactivateStatus (int status); 53 extern void nativeNfcTag_doCheckNdefResult (tNFA_STATUS status, uint32_t max_size, uint32_t current_size, uint8_t flags); 54 extern void nativeNfcTag_doMakeReadonlyResult (tNFA_STATUS status); 55 extern void nativeNfcTag_doPresenceCheckResult (tNFA_STATUS status); 58 extern void nativeNfcTag_doReadCompleted (tNFA_STATUS status); 210 tNFA_STATUS status = NFA_STATUS_FAILED; local 225 ALOGD("%s: NFA_POLL_ENABLED_EVT: status = %u", __FUNCTION__, eventData->status); 234 ALOGD("%s: NFA_POLL_DISABLED_EVT: status = %u", __FUNCTION__, eventData->status); 889 tNFA_STATUS status = NFA_STATUS_OK; local 1664 tNFA_STATUS status = NFA_STATUS_FAILED; local [all...] |