Home
last modified time | relevance | path

Searched refs:mTransactionHandler (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutor.java48 private ClientTransactionHandler mTransactionHandler; field in TransactionExecutor
54 mTransactionHandler = clientTransactionHandler; in TransactionExecutor()
66 log("Start resolving transaction for client: " + mTransactionHandler + ", token: " + token); in execute()
86 ActivityClientRecord r = mTransactionHandler.getActivityClient(token); in executeCallbacks()
108 item.execute(mTransactionHandler, token, mPendingActions); in executeCallbacks()
109 item.postExecute(mTransactionHandler, token, mPendingActions); in executeCallbacks()
112 r = mTransactionHandler.getActivityClient(token); in executeCallbacks()
134 final ActivityClientRecord r = mTransactionHandler.getActivityClient(token); in executeLifecycleState()
145 lifecycleItem.execute(mTransactionHandler, token, mPendingActions); in executeLifecycleState()
146 lifecycleItem.postExecute(mTransactionHandler, token, mPendingActions); in executeLifecycleState()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java69 private ClientTransactionHandler mTransactionHandler; field in TransactionExecutorTests
74 mTransactionHandler = mock(ClientTransactionHandler.class); in setUp()
77 when(mTransactionHandler.getActivityClient(any())).thenReturn(mClientRecord); in setUp()
79 mExecutor = spy(new TransactionExecutor(mTransactionHandler)); in setUp()
225 transaction.preExecute(mTransactionHandler); in testTransactionResolution()
228 InOrder inOrder = inOrder(mTransactionHandler, callback1, callback2, stateRequest); in testTransactionResolution()
229 inOrder.verify(callback1, times(1)).execute(eq(mTransactionHandler), eq(token), any()); in testTransactionResolution()
230 inOrder.verify(callback2, times(1)).execute(eq(mTransactionHandler), eq(token), any()); in testTransactionResolution()
231 inOrder.verify(stateRequest, times(1)).execute(eq(mTransactionHandler), eq(token), any()); in testTransactionResolution()