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

1 2 3 4 5 6 7 8

  /external/webkit/Source/WebCore/storage/
IDBTransactionCoordinator.cpp 51 void IDBTransactionCoordinator::didCreateTransaction(IDBTransactionBackendImpl* transaction)
53 ASSERT(!m_transactions.contains(transaction));
54 m_transactions.add(transaction, transaction);
57 void IDBTransactionCoordinator::didStartTransaction(IDBTransactionBackendImpl* transaction)
59 ASSERT(m_transactions.contains(transaction));
61 m_startedTransactions.add(transaction);
65 void IDBTransactionCoordinator::didFinishTransaction(IDBTransactionBackendImpl* transaction)
67 ASSERT(m_transactions.contains(transaction));
69 if (m_startedTransactions.contains(transaction)) {
    [all...]
ChangeVersionWrapper.cpp 45 bool ChangeVersionWrapper::performPreflight(SQLTransaction* transaction)
47 ASSERT(transaction && transaction->database());
51 if (!transaction->database()->getVersionFromDatabase(actualVersion)) {
66 bool ChangeVersionWrapper::performPostflight(SQLTransaction* transaction)
68 ASSERT(transaction && transaction->database());
70 if (!transaction->database()->setVersionInDatabase(m_newVersion)) {
76 transaction->database()->setExpectedVersion(m_newVersion);
SQLTransactionCallback.idl 34 boolean handleEvent(in SQLTransaction transaction);
SQLTransactionSyncCallback.idl 36 boolean handleEvent(in SQLTransactionSync transaction);
IDBCursorWithValue.cpp 36 PassRefPtr<IDBCursorWithValue> IDBCursorWithValue::create(PassRefPtr<IDBCursorBackendInterface> backend, IDBRequest* request, IDBAny* source, IDBTransaction* transaction)
38 return adoptRef(new IDBCursorWithValue(backend, request, source, transaction));
41 IDBCursorWithValue::IDBCursorWithValue(PassRefPtr<IDBCursorBackendInterface> backend, IDBRequest* request, IDBAny* source, IDBTransaction* transaction)
42 : IDBCursor(backend, request, source, transaction)
IDBPendingTransactionMonitor.cpp 36 void IDBPendingTransactionMonitor::addPendingTransaction(IDBTransactionBackendInterface* transaction)
40 m_transactions->append(transaction);
43 void IDBPendingTransactionMonitor::removePendingTransaction(IDBTransactionBackendInterface* transaction)
48 size_t pos = m_transactions->find(transaction);
SQLStatementCallback.idl 34 boolean handleEvent(in SQLTransaction transaction, in SQLResultSet resultSet);
SQLStatementErrorCallback.idl 34 [Custom] boolean handleEvent(in SQLTransaction transaction, in SQLError error);
SQLTransactionCoordinator.cpp 45 static String getDatabaseIdentifier(SQLTransaction* transaction)
47 Database* database = transaction->database();
71 void SQLTransactionCoordinator::acquireLock(SQLTransaction* transaction)
73 String dbIdentifier = getDatabaseIdentifier(transaction);
82 info.pendingTransactions.append(transaction);
86 void SQLTransactionCoordinator::releaseLock(SQLTransaction* transaction)
91 String dbIdentifier = getDatabaseIdentifier(transaction);
97 if (transaction->isReadOnly()) {
98 ASSERT(info.activeReadTransactions.contains(transaction));
99 info.activeReadTransactions.remove(transaction);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
EventWrapper.java 37 protected SIPTransaction transaction; field in class:EventWrapper
39 EventWrapper(EventObject sipEvent, SIPTransaction transaction) {
41 this.transaction = transaction;
DialogFilter.java 106 * @param transaction
109 SIPServerTransaction transaction) {
120 sipStack.addTransactionPendingAck(transaction);
122 transaction.sendResponse(sipResponse);
123 transaction.releaseSem();
126 transaction.releaseSem();
127 sipStack.removeTransaction(transaction);
135 * @param transaction
139 private void sendBadRequestResponse(SIPRequest sipRequest, SIPServerTransaction transaction,
150 sipStack.addTransactionPendingAck(transaction);
288 SIPServerTransaction transaction = (SIPServerTransaction) this.transactionChannel; local
1154 SIPClientTransaction transaction = (SIPClientTransaction) this.transactionChannel; local
1309 SIPClientTransaction transaction = (SIPClientTransaction) this.transactionChannel; local
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
Observer.java 18 package com.android.mms.transaction;
21 * An interface for observing the state of a Transaction.
AbstractRetryScheme.java 18 package com.android.mms.transaction;
MessageSender.java 18 package com.android.mms.transaction;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AbstractContactsProvider.java 51 * Number of inserts performed in bulk to allow before yielding the transaction.
56 * The contacts transaction that is active in this thread.
66 * The database helper to serialize all transactions on. If non-null, any new transaction
68 * and initiate a transaction on that database. This should be used to ensure that operations
106 ContactsTransaction transaction = startTransaction(false); local
110 transaction.markDirty();
112 transaction.markSuccessful(false);
121 ContactsTransaction transaction = startTransaction(false); local
125 transaction.markDirty();
127 transaction.markSuccessful(false)
136 ContactsTransaction transaction = startTransaction(false); local
151 ContactsTransaction transaction = startTransaction(true); local
174 ContactsTransaction transaction = startTransaction(true); local
209 ContactsTransaction transaction = mTransactionHolder.get(); local
227 ContactsTransaction transaction = mTransactionHolder.get(); local
    [all...]
  /external/dbus/bus/
driver.h 32 BusTransaction *transaction,
37 BusTransaction *transaction,
41 BusTransaction *transaction,
46 BusTransaction *transaction,
  /external/webkit/Source/WebKit/chromium/src/
WebIDBIndexImpl.cpp 71 void WebIDBIndexImpl::openObjectCursor(const WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
73 m_backend->openCursor(keyRange, direction, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
76 void WebIDBIndexImpl::openKeyCursor(const WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
78 m_backend->openKeyCursor(keyRange, direction, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
81 void WebIDBIndexImpl::getObject(const WebIDBKey& keyRange, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
83 m_backend->get(keyRange, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
86 void WebIDBIndexImpl::getKey(const WebIDBKey& keyRange, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
88 m_backend->getKey(keyRange, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
WebIDBObjectStoreImpl.cpp 70 void WebIDBObjectStoreImpl::get(const WebIDBKey& key, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
72 m_objectStore->get(key, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
75 void WebIDBObjectStoreImpl::put(const WebSerializedScriptValue& value, const WebIDBKey& key, PutMode putMode, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
77 m_objectStore->put(value, key, static_cast<IDBObjectStoreBackendInterface::PutMode>(putMode), IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
80 void WebIDBObjectStoreImpl::deleteFunction(const WebIDBKey& key, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
82 m_objectStore->deleteFunction(key, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
85 void WebIDBObjectStoreImpl::clear(WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec)
87 m_objectStore->clear(IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInterface(), ec);
90 WebIDBIndex* WebIDBObjectStoreImpl::createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebIDBTransaction& transaction, WebExceptionCode& ec)
92 RefPtr<IDBIndexBackendInterface> index = m_objectStore->createIndex(name, keyPath, unique, transaction.getIDBTransactionBackendInterface(), ec)
    [all...]
IDBDatabaseBackendProxy.cpp 78 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendProxy::createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface* transaction, ExceptionCode& ec)
80 // The transaction pointer is guaranteed to be a pointer to a proxy object as, in the renderer,
82 IDBTransactionBackendProxy* transactionProxy = static_cast<IDBTransactionBackendProxy*>(transaction);
89 void IDBDatabaseBackendProxy::deleteObjectStore(const String& name, IDBTransactionBackendInterface* transaction, ExceptionCode& ec)
91 // The transaction pointer is guaranteed to be a pointer to a proxy object as, in the renderer,
93 IDBTransactionBackendProxy* transactionProxy = static_cast<IDBTransactionBackendProxy*>(transaction);
102 PassRefPtr<IDBTransactionBackendInterface> IDBDatabaseBackendProxy::transaction(DOMStringList* storeNames, unsigned short mode, ExceptionCode& ec) function in class:WebKit::IDBDatabaseBackendProxy
105 WebIDBTransaction* transaction = m_webIDBDatabase->transaction(names, mode, ec); local
106 if (!transaction) {
    [all...]
WebIDBDatabaseImpl.cpp 69 WebIDBObjectStore* WebIDBDatabaseImpl::createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncrement, const WebIDBTransaction& transaction, WebExceptionCode& ec)
71 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_databaseBackend->createObjectStore(name, keyPath, autoIncrement, transaction.getIDBTransactionBackendInterface(), ec);
79 void WebIDBDatabaseImpl::deleteObjectStore(const WebString& name, const WebIDBTransaction& transaction, WebExceptionCode& ec)
81 m_databaseBackend->deleteObjectStore(name, transaction.getIDBTransactionBackendInterface(), ec);
89 WebIDBTransaction* WebIDBDatabaseImpl::transaction(const WebDOMStringList& names, unsigned short mode, WebExceptionCode& ec) function in class:WebKit::WebIDBDatabaseImpl
92 RefPtr<IDBTransactionBackendInterface> transaction = m_databaseBackend->transaction(nameList.get(), mode, ec); local
93 if (!transaction) {
97 return new WebIDBTransactionImpl(transaction);
IDBTransactionBackendProxy.cpp 42 PassRefPtr<IDBTransactionBackendInterface> IDBTransactionBackendProxy::create(PassOwnPtr<WebIDBTransaction> transaction)
44 return adoptRef(new IDBTransactionBackendProxy(transaction));
47 IDBTransactionBackendProxy::IDBTransactionBackendProxy(PassOwnPtr<WebIDBTransaction> transaction)
48 : m_webIDBTransaction(transaction)
IDBIndexBackendProxy.cpp 78 void IDBIndexBackendProxy::openCursor(PassRefPtr<IDBKeyRange> keyRange, unsigned short direction, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec)
80 // The transaction pointer is guaranteed to be a pointer to a proxy object as, in the renderer,
82 IDBTransactionBackendProxy* transactionProxy = static_cast<IDBTransactionBackendProxy*>(transaction);
86 void IDBIndexBackendProxy::openKeyCursor(PassRefPtr<IDBKeyRange> keyRange, unsigned short direction, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec)
88 // The transaction pointer is guaranteed to be a pointer to a proxy object as, in the renderer,
90 IDBTransactionBackendProxy* transactionProxy = static_cast<IDBTransactionBackendProxy*>(transaction);
94 void IDBIndexBackendProxy::get(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec)
96 // The transaction pointer is guaranteed to be a pointer to a proxy object as, in the renderer,
98 IDBTransactionBackendProxy* transactionProxy = static_cast<IDBTransactionBackendProxy*>(transaction);
102 void IDBIndexBackendProxy::getKey(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec
    [all...]
  /external/webkit/Source/WebKit/chromium/public/
WebIDBDatabase.h 66 virtual void deleteObjectStore(const WebString& name, const WebIDBTransaction& transaction, WebExceptionCode& ec) { WEBKIT_ASSERT_NOT_REACHED(); }
69 virtual WebIDBTransaction* transaction(const WebDOMStringList& names, unsigned short mode, WebExceptionCode& ec) function in class:WebKit::WebIDBDatabase
71 return transaction(names, mode, 0, ec);
74 virtual WebIDBTransaction* transaction(const WebDOMStringList& names, unsigned short mode, unsigned long, WebExceptionCode& ec) function in class:WebKit::WebIDBDatabase
76 return transaction(names, mode, ec);
  /external/webkit/Tools/Scripts/webkitpy/common/net/
networktransaction_unittest.py 40 transaction = NetworkTransaction()
41 self.assertEqual(transaction.run(lambda: 42), 42)
47 transaction = NetworkTransaction()
51 transaction.run(lambda: self._raise_exception())
70 transaction = NetworkTransaction(initial_backoff_seconds=0)
71 self.assertEqual(transaction.run(lambda: self._raise_500_error()), 42)
79 transaction = NetworkTransaction(convert_404_to_None=True)
80 self.assertEqual(transaction.run(lambda: self._raise_404_error()), None)
84 transaction = NetworkTransaction(initial_backoff_seconds=60*60, timeout_seconds=60)
88 transaction.run(lambda: self._raise_500_error()
    [all...]
  /external/webkit/LayoutTests/storage/
change-version-handle-reuse.js 16 log("changeVersion: transaction callback");
33 db.transaction(function(tx) {
35 log("transaction: statement callback");
38 log("transaction: statement error callback: " + error.message);
43 log("transaction exception: " + e);

Completed in 3699 milliseconds

1 2 3 4 5 6 7 8