/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardNetworkDetailsTrackerTest.java | 89 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in StandardNetworkDetailsTrackerTest 189 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testScanResultsAvailableAction_updates_getLevel() 198 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testScanResultsAvailableAction_updates_getLevel() 208 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testScanResultsAvailableAction_updates_getLevel() 228 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testConfiguredNetworksChangedAction_updates_isSaved() 239 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testConfiguredNetworksChangedAction_updates_isSaved() 247 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testConfiguredNetworksChangedAction_updates_isSaved() 269 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testWifiStateChanged_disabled_clearsLevel() 278 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChanged_disabled_clearsLevel() 332 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testScanner_wifiScannerResultReceived_scanResultsUpdated() [all …]
|
D | WifiPickerTrackerTest.java | 132 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in WifiPickerTrackerTest 239 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testWifiStateChangeBroadcast_updatesWifiState() 243 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_updatesWifiState() 250 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_updatesWifiState() 265 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testWifiStateChangeBroadcast_notifiesListener() 268 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_notifiesListener() 284 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testConfiguredNetworksChanged_notifiesListener() 287 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testConfiguredNetworksChanged_notifiesListener() 302 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testScanResultsAvailableAction_notifiesListener() 305 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testScanResultsAvailableAction_notifiesListener() [all …]
|
D | SavedNetworkTrackerTest.java | 105 private final ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor = field in SavedNetworkTrackerTest 168 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testWifiStateChangeBroadcast_updatesWifiState() 172 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_updatesWifiState() 179 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_updatesWifiState() 194 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testWifiStateChangeBroadcast_notifiesListener() 197 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testWifiStateChangeBroadcast_notifiesListener() 213 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testConfiguredNetworksChanged_notifiesListener() 216 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, in testConfiguredNetworksChanged_notifiesListener() 236 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testGetSavedWifiEntries_onStart_entryForEachConfiguredNetwork() 254 verify(mMockContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testGetSavedWifiEntries_configuredNetworksChanged_addsEntry() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 176 protected ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in KeyguardIndicationControllerBaseTest 303 verify(mBroadcastDispatcher).registerReceiver(mBroadcastReceiverCaptor.capture(), any()); in createController() 304 mBroadcastReceiver = mBroadcastReceiverCaptor.getValue(); in createController()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | IpSecPacketLossDetectorTest.java | 82 @Captor private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in IpSecPacketLossDetectorTest 212 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), any(), any(), any()); in testStartedMonitor_enterDozeMoze() 213 final BroadcastReceiver broadcastReceiver = mBroadcastReceiverCaptor.getValue(); in testStartedMonitor_enterDozeMoze()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 176 private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiverCaptor; field in DataManagerTest
|