Searched refs:mServiceManagerMock (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | HostapdHalTest.java | 78 private @Mock IServiceManager mServiceManagerMock; field in HostapdHalTest 129 return mServiceManagerMock; in getServiceManagerMockable() 177 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp() 179 when(mServiceManagerMock.registerForNotifications(anyString(), anyString(), in setUp() 181 when(mServiceManagerMock.getTransport(anyString(), anyString())) in setUp() 225 when(mServiceManagerMock.getTransport(eq( in testInitialize_successV1_1() 237 when(mServiceManagerMock.getTransport(eq( in testInitialize_registerCallbackFailureV1_1() 530 when(mServiceManagerMock.getTransport(eq( in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 676 when(mServiceManagerMock.getTransport(eq( in testOnFailureCallbackHandling() 716 mInOrder = inOrder(mServiceManagerMock, mIHostapdMock); in executeAndValidateInitializationSequence() [all …]
|
D | HalDeviceManagerTest.java | 110 @Mock IServiceManager mServiceManagerMock; field in HalDeviceManagerTest 156 return mServiceManagerMock; in getServiceManagerMockable() 185 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in before() 187 when(mServiceManagerMock.registerForNotifications(anyString(), anyString(), in before() 189 when(mServiceManagerMock.listManifestByInterface(eq(IWifi.kInterfaceName))) in before() 225 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mWifiMockV15, in testStartStopFlow() 248 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mWifiMockV15, in testServiceRegisterationAfterInitialize() 255 verifyNoMoreInteractions(mManagerStatusListenerMock, mWifiMock, mServiceManagerMock); in testServiceRegisterationAfterInitialize() 264 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mWifiMockV15, in testMultipleCallbackRegistrations() 292 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mWifiMockV15, mWifiMockV15, in testWifiDeathAndRegistration() [all …]
|
D | SupplicantStaIfaceHalTest.java | 138 private @Mock IServiceManager mServiceManagerMock; field in SupplicantStaIfaceHalTest 206 return mServiceManagerMock; in getServiceManagerMockable() 282 when(mServiceManagerMock.getTransport(anyString(), anyString())) in setUp() 284 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp() 286 when(mServiceManagerMock.registerForNotifications(anyString(), anyString(), in setUp() 2456 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantStaIfaceMock, in executeAndValidateInitializationSequence() 2461 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence() 2463 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequence() 2519 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantMockV1_1, in executeAndValidateInitializationSequenceV1_1() 2524 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 80 private @Mock IServiceManager mServiceManagerMock; field in SupplicantP2pIfaceHalTest 164 return mServiceManagerMock; in getServiceManagerMockable() 209 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp() 211 when(mServiceManagerMock.registerForNotifications(anyString(), anyString(), in setUp() 2796 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantP2pIfaceMock); in executeAndValidateInitializationSequence() 2800 mInOrder.verify(mServiceManagerMock).linkToDeath( in executeAndValidateInitializationSequence() 2802 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequence() 2852 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantMockV1_1, in executeAndValidateInitializationSequenceV1_1() 2857 mInOrder.verify(mServiceManagerMock).linkToDeath( in executeAndValidateInitializationSequenceV1_1() 2859 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequenceV1_1()
|