Home
last modified time | relevance | path

Searched refs:intentFilterCaptor (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DAdasLocationSwitchPreferenceControllerTest.java231 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 …]
DLocationStateListenerBasePreferenceControllerTest.java107 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()
DLocationRecentAccessesPreferenceControllerTest.java377 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/
DOsuNetworkConnectionTest.java124 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/
DSystemStateHelperTest.java192 ArgumentCaptor<IntentFilter> intentFilterCaptor = in testReceiverAndIntentFilter() local
196 any(BroadcastReceiver.class), intentFilterCaptor.capture()); in testReceiverAndIntentFilter()
208 List<IntentFilter> capturedFilters = intentFilterCaptor.getAllValues(); in testReceiverAndIntentFilter()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCacheTest.java134 private ArgumentCaptor<IntentFilter> intentFilterCaptor; field in RegisteredNfcFServicesCacheTest
190 .registerReceiverForAllUsers(receiverCaptor.capture(), intentFilterCaptor.capture(), in testConstructor()
195 IntentFilter intentFilter = intentFilterCaptor.getAllValues().get(0); in testConstructor()
196 IntentFilter sdFilter = intentFilterCaptor.getAllValues().get(1); in testConstructor()