Searched refs:TestFilter (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | VisualInterruptionDecisionProviderImplTest.kt | 77 withFilter(TestFilter(types = emptySet()) { true }) { in testNothingFilter_suppressesNothing() 268 withFilter(TestFilter(types = setOf(PEEK)) { true }) { in testPeekFilter_suppressesOnlyPeek() 288 withFilter(TestFilter(types = setOf(PULSE)) { true }) { in testPulseFilter_suppressesOnlyPulse() 308 withFilter(TestFilter(types = setOf(BUBBLE)) { true }) { in testBubbleFilter_suppressesOnlyBubble() 339 withFilter(TestFilter(types = setOf(PEEK)) { stateShouldSuppress }) { in testFilter_differentState() 357 withFilter(TestFilter(types = setOf(PEEK)) { it == suppressedEntry }) { in testFilter_differentNotif() 416 private class TestFilter( in shouldSuppress() class
|
/frameworks/native/services/inputflinger/rust/ |
D | sticky_keys_filter.rs | 224 test_callbacks::TestCallbacks, test_filter::TestFilter, Filter, ModifierStateListener, 263 let test_filter = TestFilter::new(); in test_notify_key_consumes_ephemeral_modifier_keys() 290 let test_filter = TestFilter::new(); in test_notify_key_passes_non_ephemeral_modifier_keys() 315 let test_filter = TestFilter::new(); in test_notify_key_passes_non_modifier_keys() 332 let mut test_filter = TestFilter::new(); in test_modifier_state_updated_on_modifier_key_press() 381 let test_filter = TestFilter::new(); in test_modifier_state_cleared_on_non_modifier_key_press() 405 let test_filter = TestFilter::new(); in test_locked_modifier_state_not_cleared_on_non_modifier_key_press() 447 let test_filter = TestFilter::new(); in test_key_events_have_sticky_modifier_state() 471 let test_filter = TestFilter::new(); in test_modifier_state_not_cleared_until_all_devices_removed()
|
D | bounce_keys_filter.rs | 130 use crate::input_filter::{test_filter::TestFilter, Filter}; 154 let mut next = TestFilter::new(); in test_is_notify_key_for_external_keyboard() 185 let next = TestFilter::new(); in test_is_notify_key_doesnt_block_for_internal_keyboard() 207 let next = TestFilter::new(); in test_is_notify_key_doesnt_block_for_external_stylus() 232 let mut next = TestFilter::new(); in test_is_notify_key_for_multiple_external_keyboards()
|
D | slow_keys_filter.rs | 211 test_callbacks::TestCallbacks, test_filter::TestFilter, Filter, InputFilterThreadCreator, 246 let next = TestFilter::new(); in test_is_notify_key_for_internal_keyboard_not_blocked() 263 let next = TestFilter::new(); in test_is_notify_key_for_external_stylus_not_blocked() 281 let next = TestFilter::new(); in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time() 332 let next = TestFilter::new(); in test_notify_key_for_external_keyboard_when_key_not_pressed_for_threshold_time() 364 let next = TestFilter::new(); in test_notify_key_for_external_keyboard_when_device_removed_before_threshold_time()
|
D | input_filter.rs | 208 test_callbacks::TestCallbacks, test_filter::TestFilter, InputFilter, 239 let test_filter = TestFilter::new(); in test_notify_key_with_filter() 252 let test_filter = TestFilter::new(); in test_notify_devices_changed() 308 let test_filter = TestFilter::new(); in test_notify_configuration_changed_destroys_existing_filters() 354 pub struct TestFilter(Arc<RwLock<TestFilterInner>>); struct 356 impl TestFilter { impl 382 impl Filter for TestFilter { implementation
|
/frameworks/native/services/inputflinger/tests/ |
D | UnwantedInteractionBlocker_test.cpp | 876 class TestFilter : public ::ui::PalmDetectionFilter { class 878 TestFilter(::ui::SharedPalmDetectionFilterState* state, in TestFilter() function in android::TestFilter 915 std::make_unique<TestFilter>(&mSharedPalmState, /*byref*/ mSuppressedPointers); in SetUp()
|