HomeSort by relevance Sort by last modified time
    Searched refs:Transaction (Results 1 - 25 of 30) sorted by null

1 2

  /external/nist-sip/java/javax/sip/
ServerTransaction.java 5 public interface ServerTransaction extends Transaction {
ClientTransaction.java 6 public interface ClientTransaction extends Transaction {
Transaction.java 6 public interface Transaction extends Serializable {
SipProvider.java 41 Dialog getNewDialog(Transaction transaction) throws SipException;
Dialog.java 21 Transaction getFirstTransaction();
  /external/nist-sip/java/gov/nist/javax/sip/
TransactionExt.java 8 import javax.sip.Transaction;
10 public interface TransactionExt extends Transaction {
13 * Get the Sip Provider associated with this transaction
51 * @throw UnsupportedOperationException if this is not a secure client transaction.
58 *@throw UnsupportedOperationException if this is not a secure client transaction.
66 * @throw UnsupportedOperationException if this is not a secure client transaction.
SipProviderImpl.java 71 import javax.sip.Transaction;
168 public void handleEvent(EventObject sipEvent, SIPTransaction transaction) {
172 + transaction + "this.sipListener = "
185 EventWrapper eventWrapper = new EventWrapper(sipEvent, transaction);
284 "Transaction already assigned to request");
286 throw new TransactionUnavailableException ("Cannot create client transaction for " + Request.ACK);
312 "Transaction already exists!");
338 "could not find existing transaction for "
349 "Cannot resolve next hop -- transaction unavailable");
352 "Cannot resolve next hop -- transaction unavailable", ex)
457 SIPServerTransaction transaction = null; local
902 SIPTransaction transaction = (SIPTransaction) transactionErrorEvent local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
MockTransport.java 58 private static class Transaction {
68 Transaction(String pattern, String[] responses) {
74 Transaction(int otherType) {
97 private ArrayList<Transaction> mPairs = new ArrayList<Transaction>();
122 Transaction pair = new Transaction(pattern, responses);
140 mPairs.add(new Transaction(Transaction.ACTION_CLIENT_CLOSE));
144 mPairs.add(new Transaction(Transaction.ACTION_IO_EXCEPTION))
    [all...]
  /external/chromium/net/http/
http_cache_transaction.cc 100 HttpCache::Transaction::Transaction(HttpCache* cache, bool enable_range_support)
121 io_callback_(this, &Transaction::OnIOComplete)),
123 cache_callback_(new CancelableCompletionCallback<Transaction>(
124 this, &Transaction::OnIOComplete))),
126 write_headers_callback_(new CancelableCompletionCallback<Transaction>(
127 this, &Transaction::OnIOComplete))) {
128 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders ==
137 HttpCache::Transaction::~Transaction() {
    [all...]
http_cache.h 153 class Transaction;
155 friend class Transaction;
158 typedef std::list<Transaction*> TransactionList;
163 Transaction* writer;
233 // Adds a transaction to an ActiveEntry.
234 int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
236 // Called when the transaction has finished working with this entry. |cancel|
239 void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
241 // Called when the transaction has finished writting to this entry. |success|
245 // Called when the transaction has finished reading from this entry
    [all...]
http_cache_transaction.h 5 // This file declares HttpCache::Transaction, a private class of HttpCache so
20 // This is the transaction that is returned by the HttpCache transaction
22 class HttpCache::Transaction : public HttpTransaction {
24 Transaction(HttpCache* cache, bool enable_range_support);
25 virtual ~Transaction();
41 // The transaction has the following modes, which apply to how it may access
44 // o If the mode of the transaction is NONE, then it is in "pass through"
45 // mode and all methods just forward to the inner network transaction.
47 // o If the mode of the transaction is only READ, then it may only read fro
    [all...]
http_cache.cc 85 // Calls back the transaction with the result of the operation.
222 trans->reset(new HttpCache::Transaction(this, enable_range_support_));
322 // Need to abandon the ActiveEntry, but any transaction attached to the entry
523 int HttpCache::AddTransactionToEntry(ActiveEntry* entry, Transaction* trans) {
531 // NOTE: If the transaction can only write, then the entry should not be in
539 if (trans->mode() & Transaction::WRITE) {
540 // transaction needs exclusive access to the entry
548 // transaction needs read access to the entry
553 // AddTransactionToEntry to add their transaction to the pending queue, which
561 void HttpCache::DoneWithEntry(ActiveEntry* entry, Transaction* trans
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
TransactionService.java 18 package com.android.mms.transaction;
79 * the MMS transaction until the connection is established.</li>
87 * TransactionService when a Transaction is completed.
100 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents).
108 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents).
123 // How often to extend the use of the MMS APN while a transaction
129 private final ArrayList<Transaction> mProcessing = new ArrayList<Transaction>();
130 private final ArrayList<Transaction> mPending = new ArrayList<Transaction>();
373 Transaction transaction = (Transaction) observable; local
530 Transaction transaction = null; local
    [all...]
Transaction.java 18 package com.android.mms.transaction;
32 * Transaction is an abstract class for notification transaction, send transaction
36 public abstract class Transaction extends Observable {
61 public Transaction(Context context, int serviceId,
70 * Returns the transaction state of this transaction.
72 * @return Current state of the Transaction.
80 * An instance of Transaction encapsulates the actions require
    [all...]
ReadRecTransaction.java 18 package com.android.mms.transaction;
46 public class ReadRecTransaction extends Transaction {
61 // Attach the transaction to the instance of RetryScheduler.
67 * @see com.android.mms.Transaction#process()
RetryScheduler.java 18 package com.android.mms.transaction;
76 Transaction t = (Transaction) observable;
78 if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) {
145 if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) {
245 if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) {
NotificationTransaction.java 18 package com.android.mms.transaction;
20 import static com.android.mms.transaction.TransactionState.FAILED;
21 import static com.android.mms.transaction.TransactionState.INITIALIZED;
22 import static com.android.mms.transaction.TransactionState.SUCCESS;
65 * retrieval</b> response. The transaction service, upon succesful
66 * completion of this transaction, will trigger a retrieve transaction
69 public class NotificationTransaction extends Transaction implements Runnable {
96 // Attach the transaction to the instance of RetryScheduler.
122 * @see com.google.android.mms.pdu.Transaction#process(
    [all...]
PushReceiver.java 18 package com.android.mms.transaction;
123 // Start service to finish the notification transaction.
127 Transaction.NOTIFICATION_TRANSACTION);
RetrieveTransaction.java 18 package com.android.mms.transaction;
58 public class RetrieveTransaction extends Transaction implements Runnable {
92 // Attach the transaction to the instance of RetryScheduler.
120 * @see com.android.mms.transaction.Transaction#process()
144 // Mark this transaction as failed to prevent duplicate
157 // Since it's not critical, it won't fail the transaction.
175 // Don't mark the transaction as failed if we failed to send it.
217 // If the Transaction-ID isn't set in the M-Retrieve.conf, it means
SendTransaction.java 18 package com.android.mms.transaction;
60 public class SendTransaction extends Transaction implements Runnable {
74 // Attach the transaction to the instance of RetryScheduler.
80 * @see com.android.mms.Transaction#process()
122 if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) {
132 // Check whether the responding Transaction-ID is consistent
137 Log.e(TAG, "Inconsistent Transaction-ID: req="
  /external/chromium/net/disk_cache/
rankings.cc 26 // entry is to be inserted or removed from the list, a transaction object should
28 // finishing the operation, the transaction record (stored as part of the user
30 class Transaction {
36 Transaction(volatile disk_cache::LruData* data, disk_cache::Addr addr,
38 ~Transaction();
41 DISALLOW_COPY_AND_ASSIGN(Transaction);
44 Transaction::Transaction(volatile disk_cache::LruData* data,
47 DCHECK(!data_->transaction);
51 data_->transaction = addr.value()
    [all...]
  /frameworks/base/voip/java/com/android/server/sip/
SipHelper.java 43 import javax.sip.Transaction;
299 ServerTransaction transaction = event.getServerTransaction(); local
300 if (transaction == null) {
304 return transaction;
315 ServerTransaction transaction = getServerTransaction(event); local
324 transaction.sendResponse(response);
325 return transaction;
448 if (source instanceof Transaction) {
449 return getCallId(((Transaction) source));
457 public static String getCallId(Transaction transaction)
    [all...]
SipSessionGroup.java 62 import javax.sip.Transaction;
493 private Transaction getTransaction() {
593 "cannot initiate a new transaction to execute: "
704 Transaction current = event.isServerTransaction()
707 Transaction target = event.isServerTransaction()
712 Log.d(TAG, "not the current transaction; current="
716 Log.d(TAG, "transaction terminated: " + toString(current));
719 // no transaction; shouldn't be here; ignored
724 private String toString(Transaction transaction) {
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MessageListItem.java 72 import com.android.mms.transaction.Transaction;
73 import com.android.mms.transaction.TransactionBundle;
74 import com.android.mms.transaction.TransactionService;
210 Transaction.RETRIEVE_TRANSACTION);
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPTransaction.java 76 javax.sip.Transaction, gov.nist.javax.sip.TransactionExt {
112 * INVITE transaction timeout timer
138 protected String transactionId; // Transaction Id.
183 // Parent stack for this transaction
186 // Original request that is being handled by this transaction
189 // Underlying channel being used to send messages for this transaction
212 // Transaction branch ID
215 // Method of the Request used to create the transaction.
218 // Sequence number of request used to create the transaction
221 // Current transaction stat
285 SIPTransaction transaction = SIPTransaction.this; local
    [all...]

Completed in 1326 milliseconds

1 2