Home
last modified time | relevance | path

Searched refs:InputEvent (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/inputverification/
DClickVerifierTest.java30 import android.view.InputEvent;
75 InputEvent eventOutsideRange = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testInputEventOutsideTimeRangeReturnsFalse()
90 InputEvent eventInsideRange = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testVerifiedInputEventInsideTimeRangeReturnsTrue()
106 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testInputEventNotValidatedBySystem()
122 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testInputEvent_verifyByInputEventFlagDisabled_Verified()
139 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testVerifiedInputEvent_underUseLimit_verified()
161 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testVerifiedInputEvent_overUseLimit_notVerified()
184 InputEvent inputEvent1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testMultipleUnverifiedInputEvents_allVerified()
185 InputEvent inputEvent2 = MotionEvent.obtain(10, 10, MotionEvent.ACTION_DOWN, 0, 0, 0); in testMultipleUnverifiedInputEvents_allVerified()
186 InputEvent inputEvent3 = MotionEvent.obtain(20, 20, MotionEvent.ACTION_DOWN, 0, 0, 0); in testMultipleUnverifiedInputEvents_allVerified()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DSourceRegistrationRequest.java25 import android.view.InputEvent;
46 @Nullable private final InputEvent mInputEvent;
64 in, InputEvent.CREATOR::createFromParcel); in SourceRegistrationRequest()
93 public InputEvent getInputEvent() { in getInputEvent()
118 @Nullable private InputEvent mInputEvent;
156 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent()
DRegistrationRequest.java24 import android.view.InputEvent;
56 private final InputEvent mInputEvent;
84 mInputEvent = InputEvent.CREATOR.createFromParcel(in); in RegistrationRequest()
159 public InputEvent getInputEvent() { in getInputEvent()
201 private InputEvent mInputEvent;
241 public Builder setInputEvent(@Nullable InputEvent event) { in setInputEvent()
DWebSourceRegistrationRequest.java25 import android.view.InputEvent;
60 @Nullable private final InputEvent mInputEvent;
104 mInputEvent = InputEvent.CREATOR.createFromParcel(in); in WebSourceRegistrationRequest()
163 public InputEvent getInputEvent() { in getInputEvent()
238 @Nullable private InputEvent mInputEvent;
281 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent()
DMeasurementManager.java33 import android.view.InputEvent;
141 @Nullable InputEvent inputEvent, in registerSource()
166 @Nullable InputEvent inputEvent, in registerSource()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DReportInteractionInput.java26 import android.view.InputEvent;
49 @Nullable private final InputEvent mInputEvent;
75 @Nullable InputEvent inputEvent, in ReportInteractionInput()
100 in, InputEvent.CREATOR::createFromParcel); in ReportInteractionInput()
176 public InputEvent getInputEvent() { in getInputEvent()
209 @Nullable private InputEvent mInputEvent;
262 public ReportInteractionInput.Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent()
DReportEventRequest.java25 import android.view.InputEvent;
55 @Nullable private final InputEvent mInputEvent;
115 public InputEvent getInputEvent() { in getInputEvent()
167 @Nullable private InputEvent mInputEvent;
230 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent()
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Duhid_hfp.rs11 use uhid_virt::{Bus, CreateParams, InputEvent, StreamError, UHID_EVENT_SIZE};
114 let create_event: [u8; UHID_EVENT_SIZE] = InputEvent::Create(create_params).into(); in create()
163 let destroy_event: [u8; UHID_EVENT_SIZE] = InputEvent::Destroy.into(); in destroy()
169 let input_event: [u8; UHID_EVENT_SIZE] = InputEvent::Input { data: &data }.into(); in send_input()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarFullScreenTouchHandler.java23 import android.view.InputEvent;
53 private void onInputEvent(InputEvent ev) { in onInputEvent()
105 public void onInputEvent(InputEvent event) { in onInputEvent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/inputverification/
DClickVerifier.java22 import android.view.InputEvent;
169 @NonNull InputEvent event, long registerTimestamp, String sourceRegistrant) { in isInputEventVerifiable()
201 InputEvent event, MeasurementClickVerificationStats.Builder stats) { in isInputEventVerifiableBySystem()
217 InputEvent event, in isInputEventWithinValidTimeRange()
231 InputEvent event, MeasurementClickVerificationStats.Builder stats) { in isInputEventUnderUsageLimit()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DInputManagerCompat.java19 import android.view.InputEvent;
30 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/view/
DInputEventHelper.java21 import android.view.InputEvent;
37 public static void setDisplayId(@NonNull InputEvent inputEvent, int newDisplayId) { in setDisplayId()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java930 private static record InputEvent(short type, short code, int value) {} in InputEvent() method in VirtualMachine
947 new InputEvent(EV_KEY, (short) event.getScanCode(), down ? 1 : 0), in sendKeyEvent()
948 new InputEvent(EV_SYN, SYN_REPORT, 0))); in sendKeyEvent()
971 new InputEvent(EV_REL, REL_X, x), in sendMouseEvent()
972 new InputEvent(EV_REL, REL_Y, y), in sendMouseEvent()
973 new InputEvent(EV_SYN, SYN_REPORT, 0))); in sendMouseEvent()
997 new InputEvent( in sendMouseEvent()
1003 new InputEvent(EV_SYN, SYN_REPORT, 0))); in sendMouseEvent()
1015 new InputEvent(EV_REL, REL_HWHEEL, scrollX), in sendMouseEvent()
1016 new InputEvent(EV_SYN, SYN_REPORT, 0))); in sendMouseEvent()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSink.java30 import android.view.InputEvent;
131 public void onInputEvent(InputEvent event) { in createDisplayInputListener()
175 void onInputEvent(InputEvent event); in onInputEvent()
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/
DMeasurementClient.java28 import android.view.InputEvent;
59 @NonNull Uri attributionSource, @Nullable InputEvent inputEvent) { in registerSource()
121 Uri attributionSource, InputEvent inputEvent) { in registerSourceForSPlus()
146 Uri attributionSource, InputEvent inputEvent) {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInputConsumer.java20 import android.view.InputEvent;
109 default void onInputEvent(InputEvent ev) { in onInputEvent()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java20 import android.view.InputEvent;
56 private static void registerEventNotFromTest(InputEvent event) { in registerEventNotFromTest()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DInputConsumerProxy.java24 import android.view.InputEvent;
77 private boolean onInputConsumerEvent(InputEvent ev) { in onInputConsumerEvent()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DReportEventRequestTest.java28 import android.view.InputEvent;
41 private static final InputEvent INPUT_EVENT = new KeyEvent(ACTION_DOWN, 0);
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DRecentsButtonStateProviderTest.java39 import android.view.InputEvent;
112 when(mInputManager.injectInputEvent(any(InputEvent.class), anyInt())).thenReturn(true); in setUp()
386 private boolean isRecentsKeyEvent(InputEvent event) { in isRecentsKeyEvent()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplier.java32 import android.view.InputEvent;
274 public void onInputEvent(InputEvent event) { in onInputEvent()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/input/
DInputManagerHelper.java45 @NonNull android.view.InputEvent event) { in injectInputEvent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementClickVerificationStats.java20 import android.view.InputEvent;
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DReportInteractionInputTest.java27 import android.view.InputEvent;
46 private static final InputEvent CLICK_EVENT =
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java46 import android.view.InputEvent;
302 @Nullable InputEvent inputEvent, in registerEvent()
428 InputEvent inputEvent, long requestTime, String sourceRegistrant) { in getSourceType()

12