Searched refs:transactions (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/tare/ |
H A D | LedgerTest.java | 83 transactions.add(transaction); in testInitialization_FullLists() 113 transactions = ledger.getTransactions(); in testInitialization_FullLists() 135 transactions.add(transaction); in testInitialization_OverflowingLists() 258 assertTrue(transactions.isEmpty()); in testTransactionsAlwaysInOrder() 280 transactions = ledger.getTransactions(); in testTransactionsAlwaysInOrder() 281 assertEquals(5, transactions.size()); in testTransactionsAlwaysInOrder() 282 assertTransactionsInOrder(transactions); in testTransactionsAlwaysInOrder() 290 transactions = ledger.getTransactions(); in testTransactionsAlwaysInOrder() 292 assertTransactionsInOrder(transactions); in testTransactionsAlwaysInOrder() 315 transactions = ledger.getTransactions(); in testTransactionsAlwaysInOrder() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BLASTSync.md | 122 interface on another, and will be ordered. When we hand out transactions for sync 127 the transactions are applied in the right order, it's possible for them to be 131 To solve these issues, we use a scheme involving "barrier transactions". We show how 137 2. Sync, NotSync: For sync transactions we register a commit callback, and require it to 141 3. Sync, Sync: Ordering of consecutive sync transactions is delegated to the sync 144 on not sync transactions (as this would incur an unacceptable performance overhead). 147 "setBufferHasBarrier" system. Sync transactions (before they are handed out) 150 by stalling transactions in the queue until barriers are fulfilled. This barrier 177 and sync transactions. This means the pending transaction is only useful in 182 a commit callback on all transactions it hands out. In the interval between [all …]
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
H A D | Ledger.java | 99 Ledger(long currentBalance, @NonNull List<Transaction> transactions, in Ledger() argument 103 final int numTxs = transactions.size(); in Ledger() 105 mTransactions[mTransactionIndex++] = transactions.get(i); in Ledger()
|
H A D | Scribe.java | 448 final List<Ledger.Transaction> transactions = new ArrayList<>(); in readLedgerFromXml() local 495 transactions.add( in readLedgerFromXml() 511 return Pair.create(pkgName, new Ledger(curBalance, transactions, rewardBuckets)); in readLedgerFromXml() 734 final List<Ledger.Transaction> transactions = ledger.getTransactions(); in writeUserLocked() local 735 for (int t = 0; t < transactions.size(); ++t) { in writeUserLocked() 736 Ledger.Transaction transaction = transactions.get(t); in writeUserLocked()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BinderCallsStatsTest.java | 920 int[] transactions = {41, 42, 43, 42, 43, 43}; in testTrackingSpecificWorksourceUid() local 923 for (int i = 0; i < transactions.length; i++) { in testTrackingSpecificWorksourceUid() 924 CallSession callSession = bcs.callStarted(binder, transactions[i], WORKSOURCE_UID); in testTrackingSpecificWorksourceUid()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | SurfaceSyncGroup.md | 54 The above works fine when everything is in process. However, we don't want to expose transactions t…
|