Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityServiceConnectionTest.java95 @Mock IBinder mMockIBinder; field in AccessibilityServiceConnectionTest
152 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
153 verify(mMockIBinder).linkToDeath(eq(mConnection), anyInt()); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
155 verify(mMockIBinder).unlinkToDeath(eq(mConnection), anyInt()); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
162 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
166 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
180 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in binderDied_keysGetFlushed()
194 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedService_notInEnabledServiceList_doNotInitClient()
206 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in sendGesture_touchableDevice_injectEvents()
223 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in sendGesture_untouchableDevice_performGestureResultFailed()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
H A DAccessibilityServiceTest.java106 private @Mock IBinder mMockIBinder; field in AccessibilityServiceTest
118 mServiceInterface.init(mMockConnection, CONNECTION_ID, mMockIBinder); in setUp()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/
H A DVcnManagementServiceTest.java204 private final IBinder mMockIBinder = mock(IBinder.class); field in VcnManagementServiceTest
261 doReturn(mMockIBinder).when(mMockPolicyListener).asBinder(); in VcnManagementServiceTest()
262 doReturn(mMockIBinder).when(mMockStatusCallback).asBinder(); in VcnManagementServiceTest()
967 verify(mMockIBinder).linkToDeath(any(), anyInt()); in testAddVcnUnderlyingNetworkPolicyListener()
1588 VcnStatusCallbackInfo cbInfo = callbacks.get(mMockIBinder); in testRegisterVcnStatusCallback()
1595 verify(mMockIBinder).linkToDeath(eq(cbInfo), anyInt()); in testRegisterVcnStatusCallback()
1683 VcnStatusCallbackInfo cbInfo = callbacks.get(mMockIBinder); in testUnregisterVcnStatusCallback()
1687 verify(mMockIBinder).unlinkToDeath(eq(cbInfo), anyInt()); in testUnregisterVcnStatusCallback()