/external/chromium/app/sql/ |
transaction.cc | 5 #include "app/sql/transaction.h" 12 Transaction::Transaction(Connection* connection) 17 Transaction::~Transaction() { 22 bool Transaction::Begin() { 24 NOTREACHED() << "Beginning a transaction twice!"; 31 void Transaction::Rollback() { 33 NOTREACHED() << "Attempting to roll back a nonexistent transaction. " 41 bool Transaction::Commit() [all...] |
transaction.h | 15 class Transaction { 17 // Creates the scoped transaction object. You MUST call Begin() to begin the 18 // transaction. If you have begun a transaction and not committed it, the 19 // constructor will roll back the transaction. If you want to commit, you 21 explicit Transaction(Connection* connection); 22 ~Transaction(); 24 // Returns true when there is a transaction that has been successfully begun. 27 // Begins the transaction. This uses the default sqlite "deferred" transaction [all...] |
transaction_unittest.cc | 7 #include "app/sql/transaction.h" 45 sql::Transaction t(&db()); 63 sql::Transaction t(&db()); 75 sql::Transaction t2(&db()); 87 // Rolling back any part of a transaction should roll back all of them. 91 // Outermost transaction. 93 sql::Transaction outer(&db()); 99 sql::Transaction inner1(&db()); 113 sql::Transaction inner2(&db()); 126 sql::Transaction inner3(&db()) [all...] |
/external/webkit/LayoutTests/storage/ |
multiple-transactions.js | 13 db.transaction(function(tx) { 14 log("Transaction 1 Started"); 16 log("Transaction 1 Errored - " + err); 19 log("Transaction 1 Succeeded"); 23 db.transaction(function(tx) { 24 log("Transaction 2 Started"); 26 log("Transaction 2 Errored - " + err); 29 log("Transaction 2 Succeeded");
|
multiple-databases-garbage-collection.js | 30 persistentDB.transaction(function(tx) { 36 log("Persistent Database Transaction Errored - " + err); 39 log("Persistent Database Transaction Complete"); 43 forgottenDB.transaction(function(tx) { 46 log("Forgotten Database Transaction Errored - " + err); 51 log("Forgotten Database Transaction Complete");
|
/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.
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
MockTransport.java | 57 private static class Transaction { 67 Transaction(String pattern, String[] responses) { 73 Transaction(int otherType) { 96 private ArrayList<Transaction> mPairs = new ArrayList<Transaction>(); 121 Transaction pair = new Transaction(pattern, responses); 139 mPairs.add(new Transaction(Transaction.ACTION_CLIENT_CLOSE)); 143 mPairs.add(new Transaction(Transaction.ACTION_IO_EXCEPTION)) [all...] |
/external/chromium/net/http/ |
http_cache.h | 209 class Transaction; 211 friend class Transaction; 214 typedef std::list<Transaction*> TransactionList; 222 Transaction* writer; 242 // provided transaction to use the object. Returns an error code. |trans| 244 // The transaction is free to use the backend directly at any time after 246 int GetBackendForTransaction(Transaction* trans); 254 int DoomEntry(const std::string& key, Transaction* trans); 259 int AsyncDoomEntry(const std::string& key, Transaction* trans); 288 Transaction* trans) [all...] |
http_cache_transaction.cc | 102 HttpCache::Transaction::Transaction(HttpCache* cache) 124 io_callback_(this, &Transaction::OnIOComplete)), 126 cache_callback_(new CancelableCompletionCallback<Transaction>( 127 this, &Transaction::OnIOComplete))), 129 write_headers_callback_(new CancelableCompletionCallback<Transaction>( 130 this, &Transaction::OnIOComplete))) { 131 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders == 136 HttpCache::Transaction::~Transaction() { [all...] |
http_cache.cc | 139 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) 142 WorkItem(WorkItemOperation operation, Transaction* trans, 148 // Calls back the transaction with the result of the operation. 173 bool Matches(Transaction* trans) const { return trans == trans_; } 178 Transaction* trans_; 217 // This class encapsulates a transaction whose only purpose is to write metadata 221 explicit MetadataWriter(HttpCache::Transaction* trans) 236 scoped_ptr<HttpCache::Transaction> transaction_; 447 HttpCache::Transaction* trans = new HttpCache::Transaction(this) [all...] |
http_cache_transaction.h | 5 // This file declares HttpCache::Transaction, a private class of HttpCache so 27 // This is the transaction that is returned by the HttpCache transaction 29 class HttpCache::Transaction : public HttpTransaction { 31 // The transaction has the following modes, which apply to how it may access 34 // o If the mode of the transaction is NONE, then it is in "pass through" 35 // mode and all methods just forward to the inner network transaction. 37 // o If the mode of the transaction is only READ, then it may only read from 40 // o If the mode of the transaction is only WRITE, then it may only write to 43 // o If the mode of the transaction is READ_WRITE, then the transaction ma [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 18 package com.android.mms.transaction; 82 * the MMS transaction until the connection is established.</li> 90 * TransactionService when a Transaction is completed. 103 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents). 111 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents). 125 // How often to extend the use of the MMS APN while a transaction 131 private final ArrayList<Transaction> mProcessing = new ArrayList<Transaction>(); 132 private final ArrayList<Transaction> mPending = new ArrayList<Transaction>(); 375 Transaction transaction = (Transaction) observable; local 558 Transaction transaction = null; local [all...] |
Transaction.java | 18 package com.android.mms.transaction; 33 * Transaction is an abstract class for notification transaction, send transaction 37 public abstract class Transaction extends Observable { 62 public Transaction(Context context, int serviceId, 71 * Returns the transaction state of this transaction. 73 * @return Current state of the Transaction. 81 * An instance of Transaction encapsulates the actions require [all...] |
/external/clang/lib/ARCMigrate/ |
TransUnusedInitDelegate.cpp | 54 Transaction Trans(Pass.TA);
|
Internals.h | 115 class Transaction { 120 Transaction(TransformActions &TA) : TA(TA), Aborted(false) { 124 ~Transaction() {
|
TransARCAssign.cpp | 53 Transaction Trans(Pass.TA);
|
TransRetainReleaseDealloc.cpp | 110 Transaction Trans(Pass.TA); 124 Transaction Trans(Pass.TA);
|
/external/webkit/Source/WebCore/storage/ |
IDBBackingStore.h | 101 class Transaction : public RefCounted<Transaction> { 107 virtual PassRefPtr<Transaction> createTransaction() = 0;
|
IDBTransactionBackendImpl.h | 62 StartPending, // Enqueued tasks, but SQLite transaction not yet started. 63 Running, // SQLite transaction started but not yet finished. 84 RefPtr<IDBBackingStore::Transaction> m_transaction;
|
/external/chromium/chrome/browser/history/ |
archived_database.cc | 8 #include "app/sql/transaction.h" 45 sql::Transaction transaction(&db_); 46 if (!transaction.Begin()) { 72 return transaction.Commit();
|