Searched refs:intentFilterCaptor (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | SimpleBroadcastReceiverTest.kt | 50 @Captor private lateinit var intentFilterCaptor: ArgumentCaptor<IntentFilter> variable in com.android.launcher3.util.SimpleBroadcastReceiverTest 66 verify(context).registerReceiver(same(underTest), intentFilterCaptor.capture()) in async_register() 67 val intentFilter = intentFilterCaptor.value in async_register() 78 verify(context).registerReceiver(same(underTest), intentFilterCaptor.capture()) in async_register_withCompletionRunnable() 80 val intentFilter = intentFilterCaptor.value in async_register_withCompletionRunnable() 91 verify(context).registerReceiver(same(underTest), intentFilterCaptor.capture(), eq(1)) in async_register_withCompletionRunnable_and_flag() 93 val intentFilter = intentFilterCaptor.value in async_register_withCompletionRunnable_and_flag() 104 verify(context).registerReceiver(same(underTest), intentFilterCaptor.capture()) in async_register_with_package() 105 val intentFilter = intentFilterCaptor.value in async_register_with_package() 121 verify(context).registerReceiver(same(underTest), intentFilterCaptor.capture(), eq(1)) in sync_register_withCompletionRunnable_and_flag() [all …]
|
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/location/ |
D | AdasLocationSwitchPreferenceControllerTest.java | 231 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onAdasIntentReceived_updateUi() local 235 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in onAdasIntentReceived_updateUi() 236 List<IntentFilter> actions = intentFilterCaptor.getAllValues(); in onAdasIntentReceived_updateUi() 255 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onAdasIntentReceived_updateUi_flagReq() local 259 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in onAdasIntentReceived_updateUi_flagReq() 260 List<IntentFilter> actions = intentFilterCaptor.getAllValues(); in onAdasIntentReceived_updateUi_flagReq() 279 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onLocationIntentReceived_updateUi() local 284 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in onLocationIntentReceived_updateUi() 285 List<IntentFilter> actions = intentFilterCaptor.getAllValues(); in onLocationIntentReceived_updateUi() 305 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onLocationIntentReceived_updateUi_flagReq() local [all …]
|
D | LocationStateListenerBasePreferenceControllerTest.java | 107 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onAdasIntentReceived_refreshUi() local 111 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in onAdasIntentReceived_refreshUi() 113 List<IntentFilter> actions = intentFilterCaptor.getAllValues(); in onAdasIntentReceived_refreshUi() 151 ArgumentCaptor<IntentFilter> intentFilterCaptor = ArgumentCaptor.forClass( in onLocationIntentReceived_refreshUi() local 156 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in onLocationIntentReceived_refreshUi() 158 List<IntentFilter> actions = intentFilterCaptor.getAllValues(); in onLocationIntentReceived_refreshUi()
|
D | LocationRecentAccessesPreferenceControllerTest.java | 377 ArgumentCaptor<IntentFilter> intentFilterCaptor = in initializePreference() local 382 intentFilterCaptor.capture(), eq(Context.RECEIVER_NOT_EXPORTED)); in initializePreference()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 124 ArgumentCaptor<IntentFilter> intentFilterCaptor = in verifyBroadcastIntentRegistration() local 127 intentFilterCaptor.capture(), any(), eq(mHandler)); in verifyBroadcastIntentRegistration() 129 IntentFilter intentFilter = intentFilterCaptor.getValue(); in verifyBroadcastIntentRegistration()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 192 ArgumentCaptor<IntentFilter> intentFilterCaptor = in testReceiverAndIntentFilter() local 196 any(BroadcastReceiver.class), intentFilterCaptor.capture()); in testReceiverAndIntentFilter() 208 List<IntentFilter> capturedFilters = intentFilterCaptor.getAllValues(); in testReceiverAndIntentFilter()
|
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCacheTest.java | 138 private ArgumentCaptor<IntentFilter> intentFilterCaptor; field in RegisteredNfcFServicesCacheTest 194 .registerReceiverForAllUsers(receiverCaptor.capture(), intentFilterCaptor.capture(), in testConstructor() 199 IntentFilter intentFilter = intentFilterCaptor.getAllValues().get(0); in testConstructor() 200 IntentFilter sdFilter = intentFilterCaptor.getAllValues().get(1); in testConstructor()
|