/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDeviceStateChangeManagerTest.java | 54 @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()
|
D | InsecureEapNetworkHandlerTest.java | 331 @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()
|
D | WifiServiceImplTest.java | 386 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 …]
|
D | WifiCarrierInfoManagerTest.java | 190 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()
|
D | SoftApManagerTest.java | 237 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()
|
D | WifiNetworkSuggestionsManagerTest.java | 199 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()
|
D | WifiConnectivityManagerTest.java | 344 @Captor ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in WifiConnectivityManagerTest
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairProviderTest.java | 137 @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()
|
D | FastPairGattServerTest.java | 178 @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/ |
D | CoexManagerTest.java | 121 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/ |
D | CarWatchdogServiceUnitTest.java | 196 @Captor private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in CarWatchdogServiceUnitTest 1186 .registerReceiverForAllUsers(mBroadcastReceiverCaptor.capture(), in captureBroadcastReceiver() 1189 mBroadcastReceiver = mBroadcastReceiverCaptor.getValue(); in captureBroadcastReceiver()
|