/aosp_15_r20/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
H A D | ContextHubTransactionManager.java | 49 * <p>This class maintains a queue of transaction requests made to the ContextHubService by clients, 50 * and executes them through the Context Hub. At any point in time, either the transaction queue is 51 * empty, or there is a pending transaction that is waiting for an asynchronous response from the 52 * hub. This class also handles synchronous errors and timeouts of each transaction. 87 /** A set of host endpoint IDs that have an active pending transaction. */ 113 * The list of previous transaction records. 132 TransactionRecord(String transaction) { in TransactionRecord() argument 133 mTransaction = transaction; in TransactionRecord() 145 /** Used when finishing a transaction. */ 148 * Returns whether to accept the found transaction when receiving a response from the [all …]
|
H A D | ContextHubTransactionManagerOld.java | 47 * <p>This class maintains a queue of transaction requests made to the ContextHubService by clients, 48 * and executes them through the Context Hub. At any point in time, either the transaction queue is 49 * empty, or there is a pending transaction that is waiting for an asynchronous response from the 50 * hub. This class also handles synchronous errors and timeouts of each transaction. 67 * Adds a new transaction to the queue. 69 * <p>If there was no pending transaction at the time, the transaction that was added will be 73 * @param transaction the transaction to add 78 synchronized void addTransaction(ContextHubServiceTransaction transaction) in addTransaction() argument 80 if (transaction == null) { in addTransaction() 87 "Transaction queue is full (capacity = " + MAX_PENDING_REQUESTS + ")"); in addTransaction() [all …]
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/ |
H A D | LayerCallback_test.cpp | 58 static int fillBuffer(Transaction& transaction, const sp<SurfaceControl>& layer, in fillBuffer() argument 68 transaction.setBuffer(layer, buffer, fence); in fillBuffer() 72 transaction.setBackgroundColor(layer, /*color*/ half3(1.0f, 0, 0), /*alpha*/ 1.0f, in fillBuffer() 79 static int fillTransaction(Transaction& transaction, CallbackHelper* callbackHelper, in fillTransaction() argument 83 int err = fillBuffer(transaction, layer, setBuffer, setBackgroundColor); in fillTransaction() 89 transaction.addTransactionCompletedCallback(callbackHelper->function, in fillTransaction() 169 Transaction transaction; in TEST_F() local 171 int err = fillTransaction(transaction, &callback, layer, true, true); in TEST_F() 177 transaction.apply(); in TEST_F() 180 expected.addSurface(ExpectedResult::Transaction::PRESENTED, layer); in TEST_F() [all …]
|
/aosp_15_r20/external/guice/extensions/persist/lib/ |
HD | jta.jar | ... (java.lang.String)
}
javax/transaction/Transaction.class
Transaction.java
package javax. ... |
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | spanner_v1.projects.instances.databases.sessions.html | 82 …="firstline">Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit… 88 …transaction. The request includes the mutations to be applied to rows in the database. `Commit` mi… 91 …transaction at a time. To execute multiple concurrent read-write/write-only transactions, create m… 100 …. If this occurs, the application should restart the transaction from the beginning. See Transacti… 115 …transaction must be used by the PartitionQueryRequest used to create the partition tokens and the … 118 …transaction must be used by the PartitionReadRequest used to create the partition tokens and the R… 121 …. If this occurs, the application should restart the transaction from the beginning. See Transacti… 124 …transaction, releasing any locks it holds. It is a good idea to call this for any transaction that… 174 …<pre>Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can beg… 177 session: string, Required. The session in which the transaction runs. (required) [all …]
|
/aosp_15_r20/external/cronet/net/http/ |
H A D | http_cache_unittest.cc | 773 using Transaction = HttpCache::Transaction; typedef in net::HttpCacheIOCallbackTest 779 HttpCache::Transaction* trans) { in OpenEntry() 786 HttpCache::Transaction* trans) { in OpenOrCreateEntry() 793 HttpCache::Transaction* trans) { in CreateEntry() 799 HttpCache::Transaction* trans) { in DoomEntry() 870 std::unique_ptr<HttpTransaction> transaction; in TEST_F() local 871 EXPECT_THAT(cache.CreateTransaction(&transaction), IsOk()); in TEST_F() 872 ASSERT_THAT(transaction, NotNull()); in TEST_F() 874 transaction->SetConnectedCallback(connected_handler.Callback()); in TEST_F() 878 transaction->Start(&request, callback.callback(), NetLogWithSource()), in TEST_F() [all …]
|
H A D | http_cache.cc | 189 Transaction* transaction) const { in TransactionInReaders() 190 return readers_.count(transaction) > 0; in TransactionInReaders() 199 Transaction* transaction, in AddTransactionToWriters() argument 211 Writers::TransactionInfo info(transaction->partial(), in AddTransactionToWriters() 212 transaction->is_truncated(), in AddTransactionToWriters() 213 *(transaction->GetResponseInfo())); in AddTransactionToWriters() 215 writers_->AddTransaction(transaction, parallel_writing_pattern, in AddTransactionToWriters() 216 transaction->priority(), info); in AddTransactionToWriters() 231 Transaction* done_headers_transaction = *it; in RestartHeadersPhaseTransactions() 238 Transaction* headers_transaction = headers_transaction_; in RestartHeadersTransaction() [all …]
|
H A D | http_cache.h | 128 // Whether a transaction can join parallel writing or not is a function of the 129 // transaction as well as the current writers (if present). This enum 134 // Used as the default value till the transaction is in initial headers 137 // The transaction creates a writers object. This is only logged for 140 // The transaction joins existing writers. 142 // The transaction cannot join existing writers since either itself or 145 // The transaction cannot join existing writers since either itself or 148 // The transaction cannot join existing writers since it does not have cache 151 // Writers does not exist and the transaction does not need to create one 224 // after the transaction has completed its headers phase. [all …]
|
/aosp_15_r20/external/mbedtls/docs/architecture/ |
H A D | psa-storage-resilience.md | 67 Accomplishing a transaction across system boundaries is a well-known problem in database management… 99 …re needs to perform a transaction recovery. When a power loss happens, the core decides whether to… 105 …es are rare. Therefore we will primarily optimize for the normal case. Transaction recovery needs … 111 …in storage: an ITS call can only access one file identifier. Therefore transaction recovery cannot… 113 #### Minimum effort for a transaction 119 For a key that is not in a stateful element, the transaction consists of a single write operation. … 121 …transaction in progress. The file `id` cannot be used for this purpose because there is no way to … 127 …-elements) follow this pattern, with `t` being the file containing the transaction list that the r… 133 …transaction(s) that need to be resumed. This information will be stored in a persistent “transacti… 137 …ur cases for recovery when a transaction is in progress. In each case, the core can either decide … [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/architecture/ |
H A D | psa-storage-resilience.md | 67 Accomplishing a transaction across system boundaries is a well-known problem in database management… 99 …re needs to perform a transaction recovery. When a power loss happens, the core decides whether to… 105 …es are rare. Therefore we will primarily optimize for the normal case. Transaction recovery needs … 111 …in storage: an ITS call can only access one file identifier. Therefore transaction recovery cannot… 113 #### Minimum effort for a transaction 119 For a key that is not in a stateful element, the transaction consists of a single write operation. … 121 …transaction in progress. The file `id` cannot be used for this purpose because there is no way to … 127 …-elements) follow this pattern, with `t` being the file containing the transaction list that the r… 133 …transaction(s) that need to be resumed. This information will be stored in a persistent “transacti… 137 …ur cases for recovery when a transaction is in progress. In each case, the core can either decide … [all …]
|
/aosp_15_r20/external/nist-sip/java/gov/nist/javax/sip/ |
H A D | DialogFilter.java | 106 * @param transaction 109 SIPServerTransaction transaction) { in sendRequestPendingResponse() argument 120 sipStack.addTransactionPendingAck(transaction); in sendRequestPendingResponse() 122 transaction.sendResponse(sipResponse); in sendRequestPendingResponse() 123 transaction.releaseSem(); in sendRequestPendingResponse() 126 transaction.releaseSem(); in sendRequestPendingResponse() 127 sipStack.removeTransaction(transaction); in sendRequestPendingResponse() 135 * @param transaction 139 private void sendBadRequestResponse(SIPRequest sipRequest, SIPServerTransaction transaction, in sendBadRequestResponse() argument 150 sipStack.addTransactionPendingAck(transaction); in sendBadRequestResponse() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteSession.java | 48 * at most one read-write transaction is performed at a time. When WAL is not 58 * has its own session object and therefore its own transaction state independent 71 * There are two kinds of transaction: implicit transactions and explicit 74 * An implicit transaction is created whenever a database operation is requested 75 * and there is no explicit transaction currently in progress. An implicit transaction 79 * An explicit transaction is started by calling {@link #beginTransaction} and 80 * specifying the desired transaction mode. Once an explicit transaction has begun, 81 * all subsequent database operations will be performed as part of that transaction. 82 * To end an explicit transaction, first call {@link #setTransactionSuccessful} if the 83 * transaction was successful, then call {@link #end}. If the transaction was [all …]
|
/aosp_15_r20/frameworks/base/native/android/ |
H A D | surface_control.cpp | 42 using Transaction = SurfaceComposerClient::Transaction; typedef 70 Transaction* ASurfaceTransaction_to_Transaction(ASurfaceTransaction* aSurfaceTransaction) { in ASurfaceTransaction_to_Transaction() 71 return reinterpret_cast<Transaction*>(aSurfaceTransaction); in ASurfaceTransaction_to_Transaction() 225 Transaction* transaction = new Transaction; in ASurfaceTransaction_create() local 226 return reinterpret_cast<ASurfaceTransaction*>(transaction); in ASurfaceTransaction_create() 230 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_delete() local 231 delete transaction; in ASurfaceTransaction_delete() 239 Transaction* transaction = in ASurfaceTransaction_fromJava() local 241 LOG_ALWAYS_FATAL_IF(!transaction, in ASurfaceTransaction_fromJava() 243 return reinterpret_cast<ASurfaceTransaction*>(transaction); in ASurfaceTransaction_fromJava() [all …]
|
/aosp_15_r20/external/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/datastore/snippets/ |
H A D | TransactionSnippets.java | 19 * This file is referenced in Transaction's javadoc. Any change to this file should be reflected in 20 * Transaction's javadoc. 36 import com.google.cloud.datastore.Transaction; 37 import com.google.cloud.datastore.Transaction.Response; 41 /** This class contains a number of snippets for the {@link Transaction} interface. */ 44 private final Transaction transaction; field in TransactionSnippets 46 public TransactionSnippets(Transaction transaction) { in TransactionSnippets() argument 47 this.transaction = transaction; in TransactionSnippets() 54 Datastore datastore = transaction.getDatastore(); in get() 57 Entity entity = transaction.get(key); in get() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
H A D | StubTransaction.java | 37 * Stubbed {@link android.view.SurfaceControl.Transaction} class that can be used when unit 40 public class StubTransaction extends SurfaceControl.Transaction { 68 public SurfaceControl.Transaction setVisibility(SurfaceControl sc, boolean visible) { in setVisibility() 73 public SurfaceControl.Transaction show(SurfaceControl sc) { in show() 78 public SurfaceControl.Transaction hide(SurfaceControl sc) { in hide() 83 public SurfaceControl.Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition() 88 public SurfaceControl.Transaction setBufferSize(SurfaceControl sc, in setBufferSize() 94 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int z) { in setLayer() 99 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, SurfaceControl relativeTo, in setRelativeLayer() 105 public SurfaceControl.Transaction setTransparentRegionHint(SurfaceControl sc, in setTransparentRegionHint() [all …]
|
/aosp_15_r20/external/nist-sip/java/gov/nist/javax/sip/stack/ |
H A D | 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 state [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/paymentgateway/issuerswitch/v1/ |
H A D | transactions.proto | 91 // file represents a transaction. The file has the following fields in order: 96 // * **Description** - UPI transaction ID. 100 // * **Description** - Type of the transaction. This will be one of 106 // * **Description** - Subtype of the transaction. This will be one of 112 // switch created the transaction resource for processing the transaction. 117 // * **Description** - State of the transaction. This will be one of 123 // transaction. 186 // * **Description** - Currency of the amount involved in the transaction. 189 // * **Description** - Amount involved in the transaction. 194 // when invoking the Adapter APIs for fulfilling a transaction request. [all …]
|
/aosp_15_r20/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 486 return reinterpret_cast<jlong>(new SurfaceComposerClient::Transaction); in nativeCreateTransaction() 489 static void releaseTransaction(SurfaceComposerClient::Transaction* t) { in releaseTransaction() 563 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeApplyTransaction() local 564 transaction->apply(sync, oneWay); in nativeApplyTransaction() 569 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeMergeTransaction() local 570 auto otherTransaction = reinterpret_cast<SurfaceComposerClient::Transaction*>( in nativeMergeTransaction() 572 transaction->merge(std::move(*otherTransaction)); in nativeMergeTransaction() 576 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetAnimationTransaction() local 577 transaction->setAnimationTransaction(); in nativeSetAnimationTransaction() 581 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetEarlyWakeupStart() local [all …]
|
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/ |
H A D | StubTransaction.java | 37 * Stubbed {@link SurfaceControl.Transaction} class that can be used when unit 42 public class StubTransaction extends SurfaceControl.Transaction { 63 public SurfaceControl.Transaction setVisibility(SurfaceControl sc, boolean visible) { in setVisibility() 68 public SurfaceControl.Transaction show(SurfaceControl sc) { in show() 73 public SurfaceControl.Transaction hide(SurfaceControl sc) { in hide() 78 public SurfaceControl.Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition() 83 public SurfaceControl.Transaction setBufferSize(SurfaceControl sc, in setBufferSize() 89 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int z) { in setLayer() 94 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, SurfaceControl relativeTo, in setRelativeLayer() 100 public SurfaceControl.Transaction setTransparentRegionHint(SurfaceControl sc, in setTransparentRegionHint() [all …]
|
/aosp_15_r20/trusty/user/app/storage/ |
D | file.c | 30 #include "transaction.h" 54 struct transaction* tr, 62 * @tr: Transaction object. 68 static data_block_t path_hash(struct transaction* tr, const char* path) { in path_hash() 81 * @tr: Transaction object. 88 void file_block_map_init(struct transaction* tr, in file_block_map_init() 110 pr_warn("can't read file entry at %" PRIu64 ", transaction failed\n", in file_block_map_init() 121 * @tr: Transaction object. 124 void file_print(struct transaction* tr, in file_print() 148 * @tr: Transaction object. [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/paymentgateway/issuerswitch/accountmanager/v1/ |
H A D | account_manager_transactions.proto | 52 // file represents a transaction. The file has the following fields in order: 57 // * **Description** - Account manager transaction ID. 61 // * **Description** - Type of the transaction. This will be one of 68 // financial transaction which happened offline. 78 // * **Description** - State of the transaction. This will be one of 84 // transaction. 122 // * **Description** - Currency of the amount involved in the transaction. 125 // * **Description** - Amount involved in the transaction. 129 // * **Description** - Purpose code associated with the transaction. When 134 // transaction). [all …]
|
/aosp_15_r20/external/google-cloud-java/google-cloud-examples/src/test/java/com/google/cloud/examples/datastore/snippets/ |
H A D | ITTransactionSnippets.java | 29 import com.google.cloud.datastore.Transaction; 72 Transaction transaction = datastore.newTransaction(); in testEntityAddGet() local 73 TransactionSnippets transactionSnippets = new TransactionSnippets(transaction); in testEntityAddGet() 76 transaction = datastore.newTransaction(); in testEntityAddGet() 77 transactionSnippets = new TransactionSnippets(transaction); in testEntityAddGet() 84 Transaction transaction = datastore.newTransaction(); in testEntityPutGet() local 85 TransactionSnippets transactionSnippets = new TransactionSnippets(transaction); in testEntityPutGet() 88 transaction = datastore.newTransaction(); in testEntityPutGet() 89 transactionSnippets = new TransactionSnippets(transaction); in testEntityPutGet() 96 Transaction transaction = datastore.newTransaction(); in testAddGetUpdateMultiple() local [all …]
|
/aosp_15_r20/external/googleapis/google/spanner/v1/ |
H A D | transaction.proto | 32 // Each session can have at most one active transaction at a time (note that 33 // standalone reads and queries use a transaction internally and do count 34 // towards the one transaction limit). After the active transaction is 35 // completed, the session can immediately be re-used for the next transaction. 36 // It is not necessary to create a new session for each transaction. 38 // Transaction modes: 40 // Cloud Spanner supports three transaction modes: 42 // 1. Locking read-write. This type of transaction is the only way 58 // transaction mode, specifying a strong read. Please see 62 // 3. Partitioned DML. This type of transaction is used to execute [all …]
|
/aosp_15_r20/system/chre/util/include/chre/util/system/ |
H A D | transaction_manager_impl.h | 32 LOGI("At least one pending transaction at destruction"); in ~TransactionManager() 44 LOGE("Can't add new transaction: storage is full"); in add() 66 Transaction &transaction = mTransactions[i]; in remove() local 67 if (transaction.id == transactionId) { in remove() 68 uint16_t groupId = transaction.groupId; in remove() 69 bool transactionWasStarted = transaction.attemptCount > 0; in remove() 104 Transaction &lastTransaction = mTransactions.back(); in maybeStartLastTransaction() 106 for (const Transaction &transaction : mTransactions) { in maybeStartLastTransaction() local 107 if (transaction.groupId == lastTransaction.groupId && in maybeStartLastTransaction() 108 transaction.id != lastTransaction.id) { in maybeStartLastTransaction() [all …]
|
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
H A D | FreeformTaskTransitionObserverTest.java | 111 final SurfaceControl.Transaction startT = mock(SurfaceControl.Transaction.class); in openTransition_createsWindowDecor() 112 final SurfaceControl.Transaction finishT = mock(SurfaceControl.Transaction.class); in openTransition_createsWindowDecor() 127 final SurfaceControl.Transaction startT = mock(SurfaceControl.Transaction.class); in openTransition_notifiesOnTaskOpening() 128 final SurfaceControl.Transaction finishT = mock(SurfaceControl.Transaction.class); in openTransition_notifiesOnTaskOpening() 145 final SurfaceControl.Transaction startT = mock(SurfaceControl.Transaction.class); in toFrontTransition_notifiesOnTaskMovingToFront() 146 final SurfaceControl.Transaction finishT = mock(SurfaceControl.Transaction.class); in toFrontTransition_notifiesOnTaskMovingToFront() 163 final SurfaceControl.Transaction startT = mock(SurfaceControl.Transaction.class); in toBackTransition_notifiesOnTaskMovingToBack() 164 final SurfaceControl.Transaction finishT = mock(SurfaceControl.Transaction.class); in toBackTransition_notifiesOnTaskMovingToBack() 179 final SurfaceControl.Transaction startT = mock(SurfaceControl.Transaction.class); in changeTransition_notifiesOnTaskChange() 180 final SurfaceControl.Transaction finishT = mock(SurfaceControl.Transaction.class); in changeTransition_notifiesOnTaskChange() [all …]
|