Searched defs:status (Results 1 - 25 of 99) sorted by relevance

1234

/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/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;
H A DDeliveryReportListItem.java32 * 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/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/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/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/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 DDictionaryListInterfaceState.java57 public void setOpen(final String wordlistId, final int status) { argument
62 newState.mStatus = status;
/packages/apps/Calendar/src/com/android/calendar/
H A DGoogleCalendarUriIntentFilter.java200 // Pick up attendee status action from uri clicked
253 int eventId, String ownerAccount, final int status, final Intent intent) {
261 intent.putExtra(Attendees.ATTENDEE_STATUS, status);
266 switch (status) {
284 values.put(Attendees.ATTENDEE_STATUS, status);
252 updateSelfAttendeeStatus( int eventId, String ownerAccount, final int status, final Intent intent) argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntry.java28 public String status; field in class:ContactEntry
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppReceiveFileInfo.java71 public BluetoothOppReceiveFileInfo(String data, long length, int status) { argument
73 mStatus = status;
78 int status) {
81 mStatus = status;
85 public BluetoothOppReceiveFileInfo(int status) { argument
86 this(null, 0, null, status);
77 BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, int status) argument
H A DBluetoothOppSendFileInfo.java60 /** Reusable SendFileInfo for error status. */
81 FileInputStream inputStream, int status) {
86 mStatus = status;
91 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { argument
97 mStatus = status;
80 BluetoothOppSendFileInfo(String fileName, String type, long length, FileInputStream inputStream, int status) argument
H A DBluetoothOppShareInfo.java72 int direction, String destination, int visibility, int confirm, int status,
83 mStatus = status;
92 * For outbound 1. status is pending.
93 * For inbound share 1. status is pending
71 BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, int direction, String destination, int visibility, int confirm, int status, int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) argument
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAttachmentLoader.java64 private void doStatusCallback(int status) { argument
155 int status = resp.getStatus();
156 if (status == HttpStatus.SC_OK) {
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasMoveItems.java40 public MoveResponse(final String srcMsgId, final String dstMsgId, final int status) { argument
43 moveStatus = status;
67 final int status;
70 status = mResponse.moveStatus;
76 status = MoveItemsParser.STATUS_CODE_RETRY;
79 if (status <= 0) {
80 LogUtils.e(LOG_TAG, "MoveItems gave us an invalid status %d", status);
83 index = status - 1;
123 final int status
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMmsMessageSender.java151 public static void sendReadRec(Context context, String to, String messageId, int status) { argument
160 status,
H A DNotificationTransaction.java150 // By default, we set status to STATUS_DEFERRED because we
153 int status = STATUS_DEFERRED;
157 sendNotifyRespInd(status);
182 status = STATUS_UNRECOGNIZED;
206 status = STATUS_RETRIEVED;
211 Log.v(TAG, "status=0x" + Integer.toHexString(status));
214 // Check the status and update the result state of this Transaction.
215 switch (status) {
227 sendNotifyRespInd(status);
249 sendNotifyRespInd(int status) argument
[all...]
/packages/apps/Nfc/nci/jni/
H A DNativeLlcpConnectionlessSocket.cpp77 tNFA_STATUS status = NFA_P2pSendUI((tNFA_HANDLE) handle, nsap, byte_count, raw_ptr); local
79 ALOGD("%s: NFA_P2pSendUI done, status = %d", __FUNCTION__, status);
80 if (status != NFA_STATUS_OK)
82 ALOGE("%s: NFA_P2pSendUI failed, status = %d", __FUNCTION__, status);
201 // Wait for sConnlessRecvSem completion status
268 tNFA_STATUS status = NFA_P2pDisconnect((tNFA_HANDLE) handle, FALSE); local
269 if (status != NFA_STATUS_OK)
271 ALOGE ("%s: disconnect failed, status
[all...]
/packages/apps/Bluetooth/jni/
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...]
/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/Camera/src/com/android/camera/
H A DLocationManager.java139 // If GPS is available before start camera, we won't get status
163 String provider, int status, Bundle extras) {
164 switch(status) {
162 onStatusChanged( String provider, int status, Bundle extras) argument
H A DSoundClips.java168 public void onLoadComplete(SoundPool pool, int soundID, int status) { argument
169 if (status != 0) {
170 Log.e(TAG, "loading sound tracks failed (status=" + status + ")");
/packages/apps/Camera2/src/com/android/camera/
H A DLocationManager.java139 // If GPS is available before start camera, we won't get status
163 String provider, int status, Bundle extras) {
164 switch(status) {
162 onStatusChanged( String provider, int status, Bundle extras) argument
H A DSoundClips.java179 public void onLoadComplete(SoundPool pool, int soundID, int status) { argument
180 if (status != 0) {
181 Log.e(TAG, "loading sound tracks failed (status=" + status + ")");
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasAttachmentLoader.java50 final long messageKey, final long attachmentId, final int status, final int progress) {
53 callback.loadAttachmentStatus(messageKey, attachmentId, status, progress);
83 * @param callback The callback for any status updates.
118 final int status = loader.load(attachment);
119 doStatusCallback(callback, attachment.mMessageKey, attachmentId, status, 0);
221 * @return A status code, from {@link EmailServiceStatus}, for this load.
261 final int status;
263 status = EmailServiceStatus.SUCCESS;
265 status = EmailServiceStatus.CONNECTION_ERROR;
267 return status;
49 doStatusCallback(final IEmailServiceCallback callback, final long messageKey, final long attachmentId, final int status, final int progress) argument
[all...]

Completed in 1811 milliseconds

1234