Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java205 final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiServiceImplTest
716 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
719 TestUtil.sendWifiApStateChanged(mBroadcastReceiverCaptor.getValue(), mContext, in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
744 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testSetWifiEnabledFromAppFailsWhenApEnabled()
747 TestUtil.sendWifiApStateChanged(mBroadcastReceiverCaptor.getValue(), mContext, in testSetWifiEnabledFromAppFailsWhenApEnabled()
985 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testGetWifiApEnabled()
988 TestUtil.sendWifiApStateChanged(mBroadcastReceiverCaptor.getValue(), mContext, in testGetWifiApEnabled()
1951 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric()
1956 TestUtil.sendWifiApStateChanged(mBroadcastReceiverCaptor.getValue(), mContext, in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric()
1976 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel()
[all …]
DWifiNetworkSuggestionsManagerTest.java107 private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiNetworkSuggestionsManagerTest
166 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in setUp()
1980 assertNotNull(mBroadcastReceiverCaptor.getValue()); in sendBroadcastForUserAction()
1981 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in sendBroadcastForUserAction()