Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDeviceStateChangeManagerTest.java54 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in WifiDeviceStateChangeManagerTest
77 .registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in testRegisterBeforeBootCompleted()
94 .registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in testRegisterAfterBootCompleted()
101 BroadcastReceiver broadcastReceiver = mBroadcastReceiverCaptor.getValue(); in setScreenState()
DInsecureEapNetworkHandlerTest.java331 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in InsecureEapNetworkHandlerTest
770 mBroadcastReceiverCaptor.capture(), in setupTest()
779 mBroadcastReceiverCaptor.capture(), in setupTest()
1114 BroadcastReceiver br = mBroadcastReceiverCaptor.getValue(); in verifyTrustOnFirstUseFlow()
1138 BroadcastReceiver br = mBroadcastReceiverCaptor.getValue(); in verifyTrustOnFirstUseFlow()
1220 BroadcastReceiver br = mBroadcastReceiverCaptor.getValue(); in testCleanUp()
DWifiServiceImplTest.java386 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiServiceImplTest
6062 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testHandleDelayedScanAfterIdleMode()
6069 TestUtil.sendIdleModeChanged(mBroadcastReceiverCaptor.getValue(), mContext); in testHandleDelayedScanAfterIdleMode()
6083 TestUtil.sendIdleModeChanged(mBroadcastReceiverCaptor.getValue(), mContext); in testHandleDelayedScanAfterIdleMode()
6154 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testPackageFullyRemovedBroadcastHandling()
6169 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in testPackageFullyRemovedBroadcastHandling()
6188 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testPackageRemovedBroadcastHandling()
6201 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in testPackageRemovedBroadcastHandling()
6222 mBroadcastReceiverCaptor.capture(), in testPackageRemovedWithReplacingBroadcastHandling()
6237 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in testPackageRemovedWithReplacingBroadcastHandling()
[all …]
DWifiCarrierInfoManagerTest.java190 private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiCarrierInfoManagerTest
250 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any(), any(), any()); in setUp()
2254 assertNotNull(mBroadcastReceiverCaptor.getValue()); in sendBroadcastForUserActionOnImsi()
2255 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in sendBroadcastForUserActionOnImsi()
DSoftApManagerTest.java237 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in SoftApManagerTest
3986 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testSchedulesTimeoutTimerWhenPluggedChanged()
3989 mBroadcastReceiverCaptor.getValue().onReceive(mContext, in testSchedulesTimeoutTimerWhenPluggedChanged()
4001 mBroadcastReceiverCaptor.getValue().onReceive(mContext, in testSchedulesTimeoutTimerWhenPluggedChanged()
DWifiNetworkSuggestionsManagerTest.java199 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiNetworkSuggestionsManagerTest
320 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any(), any(), any()); in setUp()
3352 assertNotNull(mBroadcastReceiverCaptor.getValue()); in sendBroadcastForUserActionOnApp()
3353 mBroadcastReceiverCaptor.getValue().onReceive(mContext, intent); in sendBroadcastForUserActionOnApp()
DWifiConnectivityManagerTest.java344 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in WifiConnectivityManagerTest
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairProviderTest.java137 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in FastPairProviderTest
215 mBroadcastReceiverCaptor = ArgumentCaptor.forClass(BroadcastReceiver.class); in setUp()
306 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in startFastPairProvider()
307 mReceiver = mBroadcastReceiverCaptor.getValue(); in startFastPairProvider()
DFastPairGattServerTest.java178 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in FastPairGattServerTest
248 mBroadcastReceiverCaptor = ArgumentCaptor.forClass(BroadcastReceiver.class); in setUp()
283 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in startAndVerifyServer()
284 mReceiver = mBroadcastReceiverCaptor.getValue(); in startAndVerifyServer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java121 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in CoexManagerTest
758 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
770 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, intent); in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java196 @Captor private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in CarWatchdogServiceUnitTest
1186 .registerReceiverForAllUsers(mBroadcastReceiverCaptor.capture(), in captureBroadcastReceiver()
1189 mBroadcastReceiver = mBroadcastReceiverCaptor.getValue(); in captureBroadcastReceiver()