/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/chromium_org/sql/ |
transaction.cc | 5 #include "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 SQL_EXPORT 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 24 explicit Transaction(Connection* connection); 25 ~Transaction(); 27 // Returns true when there is a transaction that has been successfully begun. 30 // Begins the transaction. This uses the default sqlite "deferred" transaction [all...] |
transaction_unittest.cc | 9 #include "sql/transaction.h" 43 sql::Transaction t(&db()); 61 sql::Transaction t(&db()); 73 sql::Transaction t2(&db()); 85 // Rolling back any part of a transaction should roll back all of them. 89 // Outermost transaction. 91 sql::Transaction outer(&db()); 97 sql::Transaction inner1(&db()); 111 sql::Transaction inner2(&db()); 124 sql::Transaction inner3(&db()) [all...] |
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_fake_backing_store.h | 28 virtual bool UpdateIDBDatabaseIntVersion(Transaction*, 33 virtual bool CreateObjectStore(Transaction*, 40 virtual bool ClearObjectStore(Transaction*, 43 virtual bool DeleteRecord(Transaction*, 47 virtual bool GetKeyGeneratorCurrentNumber(Transaction*, 51 virtual bool MaybeUpdateKeyGeneratorCurrentNumber(Transaction*, 57 virtual bool KeyExistsInObjectStore(Transaction*, 64 virtual bool CreateIndex(Transaction*, 72 virtual bool DeleteIndex(Transaction*, 76 virtual bool PutIndexDataForRecord(Transaction*, [all...] |
indexed_db_fake_backing_store.cc | 30 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*, 39 bool IndexedDBFakeBackingStore::CreateObjectStore(Transaction*, 48 bool IndexedDBFakeBackingStore::ClearObjectStore(Transaction*, 53 bool IndexedDBFakeBackingStore::DeleteRecord(Transaction*, 60 Transaction*, 67 Transaction*, 75 Transaction*, 84 bool IndexedDBFakeBackingStore::CreateIndex(Transaction*, 95 bool IndexedDBFakeBackingStore::DeleteIndex(Transaction*, 101 bool IndexedDBFakeBackingStore::PutIndexDataForRecord(Transaction*, [all...] |
indexed_db_backing_store.h | 45 class CONTENT_EXPORT Transaction; 81 IndexedDBBackingStore::Transaction* transaction, 90 IndexedDBBackingStore::Transaction* transaction, 97 IndexedDBBackingStore::Transaction* transaction, 122 virtual bool GetRecord(IndexedDBBackingStore::Transaction* transaction, 127 virtual bool PutRecord(IndexedDBBackingStore::Transaction* transaction 291 LevelDBTransaction* transaction() { return transaction_; } function in class:content::IndexedDBBackingStore::Transaction [all...] |
indexed_db_index_writer.h | 31 IndexedDBBackingStore::Transaction* transaction, 41 IndexedDBBackingStore::Transaction* transaction, 49 IndexedDBBackingStore::Transaction* transaction, 62 scoped_refptr<IndexedDBTransaction> transaction,
|
indexed_db_transaction.h | 37 IndexedDBBackingStore::Transaction* backing_store_transaction); 43 // Called by the transaction coordinator when this transaction is unblocked. 61 IndexedDBBackingStore::Transaction* BackingStoreTransaction() { 140 scoped_ptr<IndexedDBBackingStore::Transaction> transaction_; 150 // unresponsive and abort to unblock the transaction queue.
|
/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;
|
/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 | 55 private static class Transaction { 65 Transaction(String pattern, String[] responses) { 71 Transaction(int otherType) { 94 private ArrayList<Transaction> mPairs = new ArrayList<Transaction>(); 127 Transaction pair = new Transaction(pattern, responses); 145 mPairs.add(new Transaction(Transaction.ACTION_CLIENT_CLOSE)); 149 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...] |
/external/chromium_org/net/http/ |
http_cache.h | 215 class Transaction; 217 friend class Transaction; 220 typedef std::list<Transaction*> TransactionList; 228 Transaction* writer; 248 // provided transaction to use the object. Returns an error code. |trans| 250 // The transaction is free to use the backend directly at any time after 252 int GetBackendForTransaction(Transaction* trans); 264 int DoomEntry(const std::string& key, Transaction* trans); 269 int AsyncDoomEntry(const std::string& key, Transaction* trans); 301 Transaction* trans) [all...] |
http_cache_transaction.cc | 71 // A cache transaction hit in cache (data was present and not stale) 185 HttpCache::Transaction::Transaction( 213 io_callback_(base::Bind(&Transaction::OnIOComplete, 218 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders == 223 HttpCache::Transaction::~Transaction() { 248 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len, 264 bool HttpCache::Transaction::AddTruncatedFlag() { 285 LoadState HttpCache::Transaction::GetWriterLoadState() const [all...] |
http_cache.cc | 135 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) 140 WorkItem(WorkItemOperation operation, Transaction* trans, 149 // Calls back the transaction with the result of the operation. 174 bool Matches(Transaction* trans) const { return trans == trans_; } 179 Transaction* trans_; 187 // This class encapsulates a transaction whose only purpose is to write metadata 191 explicit MetadataWriter(HttpCache::Transaction* trans) 208 scoped_ptr<HttpCache::Transaction> transaction_; 381 HttpCache::Transaction* trans = 382 new HttpCache::Transaction(priority, this, NULL) [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteSession.java | 41 * at most one read-write transaction is performed at a time. When WAL is not 51 * has its own session object and therefore its own transaction state independent 64 * There are two kinds of transaction: implicit transactions and explicit 67 * An implicit transaction is created whenever a database operation is requested 68 * and there is no explicit transaction currently in progress. An implicit transaction 72 * An explicit transaction is started by calling {@link #beginTransaction} and 73 * specifying the desired transaction mode. Once an explicit transaction has begun, 74 * all subsequent database operations will be performed as part of that transaction 345 Transaction transaction = obtainTransaction(transactionMode, transactionListener); local 936 Transaction transaction = mTransactionPool; local [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 18 package com.android.mms.transaction; 86 * the MMS transaction until the connection is established.</li> 94 * TransactionService when a Transaction is completed. 114 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents). 122 * when a Transaction is completed (TRANSACTION_COMPLETED_ACTION intents). 138 // How often to extend the use of the MMS APN while a transaction 144 private final ArrayList<Transaction> mProcessing = new ArrayList<Transaction>(); 145 private final ArrayList<Transaction> mPending = new ArrayList<Transaction>(); 421 Transaction transaction = (Transaction) observable; local 617 Transaction transaction = null; local 782 Transaction transaction = mPending.remove(0); local [all...] |