Home
last modified time | relevance | path

Searched refs:filterCaptor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinatorTest.java85 ArgumentCaptor<NotifFilter> filterCaptor = ArgumentCaptor.forClass(NotifFilter.class); in setup() local
87 verify(mNotifPipeline, times(1)).addPreGroupFilter(filterCaptor.capture()); in setup()
88 mDeviceProvisionedFilter = filterCaptor.getValue(); in setup()
DMediaCoordinatorTest.java276 ArgumentCaptor<NotifFilter> filterCaptor = ArgumentCaptor.forClass(NotifFilter.class); in finishSetupWithMediaFeatureFlagEnabled() local
280 verify(mNotifPipeline).addPreGroupFilter(filterCaptor.capture()); in finishSetupWithMediaFeatureFlagEnabled()
283 mFilter = filterCaptor.getValue(); in finishSetupWithMediaFeatureFlagEnabled()
DPreparationCoordinatorTest.java159 ArgumentCaptor<NotifFilter> filterCaptor = ArgumentCaptor.forClass(NotifFilter.class); in setUp() local
161 verify(mNotifPipeline, times(2)).addFinalizeFilter(filterCaptor.capture()); in setUp()
162 List<NotifFilter> filters = filterCaptor.getAllValues(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt59 @Captor private lateinit var filterCaptor: ArgumentCaptor<IntentFilter> variable in com.android.systemui.power.data.repository.PowerRepositoryImplTest
86 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_ON)).isTrue() in isInteractive_registersForBroadcasts()
87 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_OFF)).isTrue() in isInteractive_registersForBroadcasts()
236 capture(filterCaptor), in verifyRegistered()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java2983 ArgumentCaptor<IntentFilter> filterCaptor = ArgumentCaptor.forClass(IntentFilter.class); in testResetEmergencyCallStateChanges() local
2985 verify(mContext).registerReceiver(eq(null), filterCaptor.capture(), in testResetEmergencyCallStateChanges()
2988 IntentFilter filter = filterCaptor.getValue(); in testResetEmergencyCallStateChanges()
3020 ArgumentCaptor<IntentFilter> filterCaptor = ArgumentCaptor.forClass(IntentFilter.class); in testResetEmergencyCallStateChangesAlreadyReset() local
3022 verify(mContext).registerReceiver(eq(null), filterCaptor.capture(), in testResetEmergencyCallStateChangesAlreadyReset()
3025 IntentFilter filter = filterCaptor.getValue(); in testResetEmergencyCallStateChangesAlreadyReset()
3048 ArgumentCaptor<IntentFilter> filterCaptor = ArgumentCaptor.forClass(IntentFilter.class); in testResetEmergencyCallStateChangesNotSent() local
3050 verify(mContext).registerReceiver(eq(null), filterCaptor.capture(), in testResetEmergencyCallStateChangesNotSent()
3053 IntentFilter filter = filterCaptor.getValue(); in testResetEmergencyCallStateChangesNotSent()