Searched refs:KeyboardLogEvent (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
H A D | ShortcutLoggingTests.java | 25 import com.android.server.input.KeyboardMetricsCollector.KeyboardLogEvent; 55 KeyboardLogEvent.HOME, KeyEvent.KEYCODE_H, META_ON}, in shortcutTestArguments() 57 KeyboardLogEvent.HOME, KeyEvent.KEYCODE_ENTER, META_ON}, in shortcutTestArguments() 100 KeyboardLogEvent.KEYBOARD_BACKLIGHT_UP, in shortcutTestArguments() 104 KeyboardLogEvent.KEYBOARD_BACKLIGHT_DOWN, in shortcutTestArguments() 108 KeyboardLogEvent.KEYBOARD_BACKLIGHT_TOGGLE, in shortcutTestArguments() 117 KeyboardLogEvent.ALL_APPS, KeyEvent.KEYCODE_ALL_APPS, 0}, in shortcutTestArguments() 139 KeyboardLogEvent.SYSTEM_MUTE, KeyEvent.KEYCODE_MUTE, 0}, in shortcutTestArguments() 176 KeyboardLogEvent.SYSTEM_NAVIGATION, in shortcutTestArguments() 179 KeyboardLogEvent.SLEEP, KeyEvent.KEYCODE_SLEEP, 0}, in shortcutTestArguments() [all …]
|
H A D | TestPhoneWindowManager.java | 91 import com.android.server.input.KeyboardMetricsCollector.KeyboardLogEvent; 606 void assertShortcutLogged(int vendorId, int productId, KeyboardLogEvent logEvent, in assertShortcutLogged()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | KeyboardMetricsCollector.java | 90 public enum KeyboardLogEvent { enum in KeyboardMetricsCollector 235 private static final SparseArray<KeyboardLogEvent> VALUE_TO_ENUM_MAP = new SparseArray<>(); 238 for (KeyboardLogEvent type : KeyboardLogEvent.values()) { 243 KeyboardLogEvent(int enumValue, String enumName) { in KeyboardLogEvent() method in KeyboardMetricsCollector.KeyboardLogEvent 257 public static KeyboardLogEvent from(int value) { in from() 265 public static KeyboardLogEvent getVolumeEvent(int keycode) { in getVolumeEvent() 282 public static KeyboardLogEvent getBrightnessEvent(int keycode) { in getBrightnessEvent() 298 public static KeyboardLogEvent getLogEventFromIntent(Intent intent) { in getLogEventFromIntent() 304 KeyboardLogEvent logEvent = getEventFromSelectorCategory(intentCategory); in getLogEventFromIntent() 328 private static KeyboardLogEvent getEventFromSelectorCategory(String category) { in getEventFromSelectorCategory() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | ModifierShortcutManager.java | 43 import com.android.server.input.KeyboardMetricsCollector.KeyboardLogEvent; 320 logKeyboardShortcut(keyEvent, KeyboardLogEvent.getLogEventFromIntent(intent)); in handleIntentShortcut() 337 logKeyboardShortcut(keyEvent, KeyboardLogEvent.getLogEventFromIntent(shortcutIntent)); in handleIntentShortcut() 343 private void logKeyboardShortcut(KeyEvent event, KeyboardLogEvent logEvent) { in logKeyboardShortcut() 347 private void handleKeyboardLogging(KeyEvent event, KeyboardLogEvent logEvent) { in handleKeyboardLogging()
|
H A D | PhoneWindowManager.java | 222 import com.android.server.input.KeyboardMetricsCollector.KeyboardLogEvent; 1842 logKeyboardSystemsEvent(event, KeyboardLogEvent.HOME); in handleHomeButton() 2948 KeyboardLogEvent keyboardSystemEvent) { 2956 KeyboardLogEvent keyboardSystemEvent) { 3084 logKeyboardSystemsEvent(event, KeyboardLogEvent.RECENT_APPS); 3122 logKeyboardSystemsEvent(event, KeyboardLogEvent.LOCK_SCREEN); 3314 logKeyboardSystemsEvent(event, KeyboardLogEvent.ALL_APPS); 4254 logKeyboardSystemsEventOnActionUp(event, KeyboardLogEvent.BACK); 4273 KeyboardLogEvent.getVolumeEvent(keyCode)); 4414 logKeyboardSystemsEventOnActionUp(event, KeyboardLogEvent.SLEEP); [all …]
|