Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/rust/
Dinput_filter.rs208 test_callbacks::TestCallbacks, test_filter::TestFilter, InputFilter,
221 let test_callbacks = TestCallbacks::new(); in test_not_enabled_with_default_filter()
230 let test_callbacks = TestCallbacks::new(); in test_notify_key_with_no_filters()
240 let test_callbacks = TestCallbacks::new(); in test_notify_key_with_filter()
253 let test_callbacks = TestCallbacks::new(); in test_notify_devices_changed()
266 let test_callbacks = TestCallbacks::new(); in test_notify_configuration_changed_enabled_bounce_keys()
280 let test_callbacks = TestCallbacks::new(); in test_notify_configuration_changed_enabled_sticky_keys()
294 let test_callbacks = TestCallbacks::new(); in test_notify_configuration_changed_enabled_slow_keys()
309 let test_callbacks = TestCallbacks::new(); in test_notify_configuration_changed_destroys_existing_filters()
417 pub struct TestCallbacks(Arc<RwLock<TestCallbacksInner>>); struct
[all …]
Dinput_filter_thread.rs276 use crate::input_filter::{test_callbacks::TestCallbacks, InputFilterThreadCreator};
285 let test_callbacks = TestCallbacks::new(); in test_register_callback_creates_cpp_thread()
294 let test_callbacks = TestCallbacks::new(); in test_unregister_callback_finishes_cpp_thread()
304 let test_callbacks = TestCallbacks::new(); in test_notify_timeout_called_after_timeout_expired()
318 let test_callbacks = TestCallbacks::new(); in test_notify_timeout_not_called_before_timeout_expired()
330 fn get_thread(callbacks: TestCallbacks) -> InputFilterThread { in get_thread()
Dsticky_keys_filter.rs224 test_callbacks::TestCallbacks, test_filter::TestFilter, Filter, ModifierStateListener,
264 let test_callbacks = TestCallbacks::new(); in test_notify_key_consumes_ephemeral_modifier_keys()
291 let test_callbacks = TestCallbacks::new(); in test_notify_key_passes_non_ephemeral_modifier_keys()
316 let test_callbacks = TestCallbacks::new(); in test_notify_key_passes_non_modifier_keys()
333 let mut test_callbacks = TestCallbacks::new(); in test_modifier_state_updated_on_modifier_key_press()
382 let test_callbacks = TestCallbacks::new(); in test_modifier_state_cleared_on_non_modifier_key_press()
406 let test_callbacks = TestCallbacks::new(); in test_locked_modifier_state_not_cleared_on_non_modifier_key_press()
448 let test_callbacks = TestCallbacks::new(); in test_key_events_have_sticky_modifier_state()
472 let test_callbacks = TestCallbacks::new(); in test_modifier_state_not_cleared_until_all_devices_removed()
Dslow_keys_filter.rs211 test_callbacks::TestCallbacks, test_filter::TestFilter, Filter, InputFilterThreadCreator,
244 let test_callbacks = TestCallbacks::new(); in test_is_notify_key_for_internal_keyboard_not_blocked()
261 let test_callbacks = TestCallbacks::new(); in test_is_notify_key_for_external_stylus_not_blocked()
279 let test_callbacks = TestCallbacks::new(); in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time()
330 let test_callbacks = TestCallbacks::new(); in test_notify_key_for_external_keyboard_when_key_not_pressed_for_threshold_time()
362 let test_callbacks = TestCallbacks::new(); in test_notify_key_for_external_keyboard_when_device_removed_before_threshold_time()
425 fn get_thread(callbacks: TestCallbacks) -> InputFilterThread { in get_thread()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
Dmedia_transcoder_fuzzer.cpp67 class TestCallbacks : public MediaTranscoder::CallbackInterface { class
136 shared_ptr<TestCallbacks> mCallbacks;
146 mCallbacks = make_shared<TestCallbacks>(); in init()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp181 class TestCallbacks : public MediaSampleWriter::CallbackInterface { class
292 std::shared_ptr<TestCallbacks> mTestCallbacks = std::make_shared<TestCallbacks>();
325 std::shared_ptr<TestCallbacks> callbacks = std::make_shared<TestCallbacks>(); in TEST_F()