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

1 2 3 4 5

  /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"
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/content/browser/indexed_db/
indexed_db_fake_backing_store.cc 31 Transaction*,
36 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*,
45 bool IndexedDBFakeBackingStore::CreateObjectStore(Transaction*,
54 bool IndexedDBFakeBackingStore::ClearObjectStore(Transaction*,
59 bool IndexedDBFakeBackingStore::DeleteRecord(Transaction*,
66 Transaction*,
73 Transaction*,
81 Transaction*,
90 bool IndexedDBFakeBackingStore::CreateIndex(Transaction*,
101 bool IndexedDBFakeBackingStore::DeleteIndex(Transaction*,
    [all...]
indexed_db_fake_backing_store.h 28 virtual bool UpdateIDBDatabaseMetaData(Transaction*,
31 virtual bool UpdateIDBDatabaseIntVersion(Transaction*,
36 virtual bool CreateObjectStore(Transaction*,
43 virtual bool ClearObjectStore(Transaction*,
46 virtual bool DeleteRecord(Transaction*,
50 virtual bool GetKeyGeneratorCurrentNumber(Transaction*,
54 virtual bool MaybeUpdateKeyGeneratorCurrentNumber(Transaction*,
60 virtual bool KeyExistsInObjectStore(Transaction*,
67 virtual bool CreateIndex(Transaction*,
75 virtual bool DeleteIndex(Transaction*,
    [all...]
indexed_db_backing_store.h 45 class CONTENT_EXPORT Transaction;
77 IndexedDBBackingStore::Transaction* transaction,
81 IndexedDBBackingStore::Transaction* transaction,
90 IndexedDBBackingStore::Transaction* transaction,
97 IndexedDBBackingStore::Transaction* transaction,
122 virtual bool GetRecord(IndexedDBBackingStore::Transaction* transaction
    [all...]
indexed_db_index_writer.h 31 IndexedDBBackingStore::Transaction* transaction,
41 IndexedDBBackingStore::Transaction* transaction,
49 IndexedDBBackingStore::Transaction* transaction,
62 scoped_refptr<IndexedDBTransaction> transaction,
  /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>();
119 Transaction pair = new Transaction(pattern, responses);
137 mPairs.add(new Transaction(Transaction.ACTION_CLIENT_CLOSE));
141 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...]
  /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)
168 HttpCache::Transaction::Transaction(
196 io_callback_(base::Bind(&Transaction::OnIOComplete,
201 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders ==
209 HttpCache::Transaction::~Transaction() {
244 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len,
260 bool HttpCache::Transaction::AddTruncatedFlag() {
281 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...]

Completed in 2060 milliseconds

1 2 3 4 5