/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | DeliveryReportItem.java | 26 String status; field in class:DeliveryReportItem 28 public DeliveryReportItem(String recipient, String status) { argument 30 this.status = status;
|
H A D | DeliveryReportListItem.java | 31 * This class displays the status for a single recipient of a message. It is used in 48 mStatusView = (TextView) findViewById(R.id.status); 56 public final void bind(String recipient, String status) { argument 64 mStatusView.setText(status); 73 if (status.compareTo(receivedStr) == 0) { 75 } else if (status.compareTo(failedStr) == 0) { 77 } else if (status.compareTo(pendingStr) == 0) { 79 } else if (status.compareTo(rejectStr) == 0) { 83 // No status report or unknown
|
H A D | DeliveryReportActivity.java | 205 MmsReportStatus status = queryStatusByRecipient(reportStatus, recipient); 206 if (status == null) { 212 if (status.readStatus != 0) { 213 switch (status.readStatus) { 222 switch (status.deliveryStatus) { 236 Map<String, MmsReportStatus> status, String recipient) { 237 Set<String> recipientSet = status.keySet(); 243 return status.get(r); 247 return status.get(r); 293 MmsReportStatus status 235 queryStatusByRecipient( Map<String, MmsReportStatus> status, String recipient) argument 332 getSmsStatusText(int status) argument [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 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"; 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/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 462 NFCSTATUS status; local 601 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...] |
H A D | com_android_nfc_NativeNfcManager.cpp | 67 static void nfc_jni_init_callback(void *pContext, NFCSTATUS status); 68 static void nfc_jni_deinit_callback(void *pContext, NFCSTATUS status); 69 static void nfc_jni_discover_callback(void *pContext, NFCSTATUS status); 71 phLibNfc_Handle handle, NFCSTATUS status); 72 static void nfc_jni_llcpcfg_callback(void *pContext, NFCSTATUS status); 76 uint8_t uNofRemoteDev, NFCSTATUS status); 79 phLibNfc_uSeEvtInfo_t *evt_info, NFCSTATUS status); 111 static void nfc_jni_ioctl_callback(void *pContext, phNfc_sData_t *pOutput, NFCSTATUS status) { argument 113 LOG_CALLBACK("nfc_jni_ioctl_callback", status); 115 /* Report the callback status an 120 nfc_jni_deinit_download_callback(void *pContext, NFCSTATUS status) argument 135 NFCSTATUS status = NFCSTATUS_FAILED; local 279 NFCSTATUS status; local 314 NFCSTATUS status; local 364 NFCSTATUS status; local 845 NFCSTATUS status; local 904 nfc_jni_checkLlcp_callback(void *context, NFCSTATUS status) argument 915 nfc_jni_llcpcfg_callback(void *pContext, NFCSTATUS status) argument 972 nfc_jni_discover_callback(void *pContext, NFCSTATUS status) argument 982 nfc_jni_Discovery_notification_callback(void *pContext, phLibNfc_RemoteDevList_t *psRemoteDevList, uint8_t uNofRemoteDev, NFCSTATUS status) argument 1183 nfc_jni_init_callback(void *pContext, NFCSTATUS status) argument 1193 nfc_jni_deinit_callback(void *pContext, NFCSTATUS status) argument 1204 nfc_jni_smartMX_setModeCb(void* pContext, phLibNfc_Handle hSecureElement, NFCSTATUS status) argument 1217 nfc_jni_transaction_callback(void *context, phLibNfc_eSE_EvtType_t evt_type, phLibNfc_Handle handle, phLibNfc_uSeEvtInfo_t *evt_info, NFCSTATUS status) argument 1380 nfc_jni_se_set_mode_callback(void *pContext, phLibNfc_Handle handle, NFCSTATUS status) argument 1696 NFCSTATUS status; local 1828 NFCSTATUS status; local 2451 NFCSTATUS status = NFCSTATUS_FAILED; local [all...] |
H A D | com_android_nfc.h | 110 #define GET_LEVEL(status) ((status)==NFCSTATUS_SUCCESS)?ANDROID_LOG_DEBUG:ANDROID_LOG_WARN 113 #define LOG_CALLBACK(funcName, status) LOG_PRI(GET_LEVEL(status), LOG_TAG, "Callback: %s() - status=0x%04x[%s]", funcName, status, nfc_jni_get_status_name(status)); 155 NFCSTATUS status; member in struct:nfc_jni_native_data 182 /* Used to store the status sent by the callback */ 183 NFCSTATUS status; member in struct:nfc_jni_callback_data [all...] |
H A D | com_android_nfc_NativeLlcpServiceSocket.cpp | 30 NFCSTATUS status) 33 LOG_CALLBACK("nfc_jni_llcp_accept_socket_callback", status); 35 /* Report the callback status and wake up the caller */ 36 pCallbackData->status = status; 99 while(cb_data.status != NFCSTATUS_SUCCESS) 134 if(cb_data.status != NFCSTATUS_SUCCESS) 137 LOGD("Failed to accept incoming socket 0x%04x[%s]", cb_data.status, nfc_jni_get_status_name(cb_data.status)); 29 nfc_jni_llcp_accept_socket_callback(void* pContext, NFCSTATUS status) argument
|
/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/Exchange/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/Settings/src/com/android/settings/ |
H A D | AccountPreference.java | 31 * AccountPreference is used to display a username, status and provider icon for an account on 84 public void setSyncStatus(int status) { argument 85 mStatus = status; 87 mSyncStatusIcon.setImageResource(getSyncStatusIcon(status)); 89 setSummary(getSyncStatusMessage(status)); 92 private int getSyncStatusMessage(int status) { argument 94 switch (status) { 106 Log.e(TAG, "Unknown sync status: " + status); 111 private int getSyncStatusIcon(int status) { argument 130 getSyncContentDescription(int status) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | DirectoryPartition.java | 80 public void setStatus(int status) { argument 81 mStatus = status;
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pPeer.java | 74 // devices go in the order of the status 75 if (device.status != other.device.status) { 76 return device.status < other.device.status ? -1 : 1; 101 setSummary(statusArray[device.status]);
|