Home
last modified time | relevance | path

Searched refs:Transaction (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java55 private static class Transaction { class in MockTransport
65 Transaction(String pattern, String[] responses) { in Transaction() method in MockTransport.Transaction
71 Transaction(int otherType) { in Transaction() method in MockTransport.Transaction
94 private ArrayList<Transaction> mPairs = new ArrayList<Transaction>();
127 Transaction pair = new Transaction(pattern, responses); in expect()
145 mPairs.add(new Transaction(Transaction.ACTION_CLIENT_CLOSE)); in expectClose()
149 mPairs.add(new Transaction(Transaction.ACTION_IO_EXCEPTION)); in expectIOException()
153 mPairs.add(new Transaction(Transaction.ACTION_START_TLS)); in expectStartTls()
156 private void sendResponse(Transaction pair) { in sendResponse()
158 case Transaction.ACTION_INJECT_TEXT: in sendResponse()
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionService.java146 private final ArrayList<Transaction> mProcessing = new ArrayList<Transaction>();
147 private final ArrayList<Transaction> mPending = new ArrayList<Transaction>();
268 case Transaction.RETRIEVE_TRANSACTION: in onNewIntent()
364 return Transaction.RETRIEVE_TRANSACTION; in getTransactionType()
366 return Transaction.READREC_TRANSACTION; in getTransactionType()
368 return Transaction.SEND_TRANSACTION; in getTransactionType()
397 if (transactionType == Transaction.RETRIEVE_TRANSACTION) { in onNetworkUnavailable()
399 } else if (transactionType == Transaction.SEND_TRANSACTION) { in onNetworkUnavailable()
433 Transaction transaction = (Transaction) observable; in update()
479 case Transaction.NOTIFICATION_TRANSACTION: in update()
[all …]
DTransaction.java36 public abstract class Transaction extends Observable { class
61 public Transaction(Context context, int serviceId, in Transaction() method in Transaction
91 public boolean isEquivalent(Transaction transaction) { in isEquivalent()
DRetryScheduler.java73 Transaction t = (Transaction) observable; in update()
DReadRecTransaction.java46 public class ReadRecTransaction extends Transaction implements Runnable{
DSendTransaction.java57 public class SendTransaction extends Transaction implements Runnable {
DNotificationTransaction.java71 public class NotificationTransaction extends Transaction implements Runnable {
DPushReceiver.java136 Transaction.NOTIFICATION_TRANSACTION); in doInBackground()
DRetrieveTransaction.java61 public class RetrieveTransaction extends Transaction implements Runnable {
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListItem.java67 import com.android.mms.transaction.Transaction;
249 Transaction.RETRIEVE_TRANSACTION); in bindNotifInd()