Home
last modified time | relevance | path

Searched refs:requestCaptor (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java174 final ArgumentCaptor<NetworkRequest> requestCaptor = in testCallbacksRegistered() local
181 requestCaptor.capture(), any(NetworkCallback.class), any(Handler.class)); in testCallbacksRegistered()
185 assertTrue(TestConnectivityManager.looksLikeDefaultRequest(requestCaptor.getValue())); in testCallbacksRegistered()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java1676 ArgumentCaptor<CreateUserRequest> requestCaptor = in testCreateUser_success() local
1684 CreateUserRequest request = requestCaptor.getValue(); in testCreateUser_success()
1712 ArgumentCaptor<CreateUserRequest> requestCaptor = in testCreateUser_success_nullName() local
1720 CreateUserRequest request = requestCaptor.getValue(); in testCreateUser_success_nullName()
2847 ArgumentCaptor<RemoveUserRequest> requestCaptor = in assertHalRemove() local
2849 verify(mUserHal).removeUser(requestCaptor.capture()); in assertHalRemove()
2850 RemoveUserRequest request = requestCaptor.getValue(); in assertHalRemove()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java916 ArgumentCaptor<CallsManager.RequestCallback> requestCaptor = in testDisconnectDialingCallOnIncoming() local
918 verify(mConnectionSvrFocusMgr).requestFocus(eq(newCall), requestCaptor.capture()); in testDisconnectDialingCallOnIncoming()
920 requestCaptor.getValue().onRequestFocusDone(newCall); in testDisconnectDialingCallOnIncoming()