Home
last modified time | relevance | path

Searched refs:inputEvent (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/inputverification/
DClickVerifierTest.java106 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testInputEventNotValidatedBySystem() local
113 when(mInputManager.verifyInputEvent(inputEvent)).thenReturn(null); in testInputEventNotValidatedBySystem()
116 inputEvent, registerTimestamp, SOURCE_REGISTRANT)) in testInputEventNotValidatedBySystem()
122 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testInputEvent_verifyByInputEventFlagDisabled_Verified() local
129 when(mInputManager.verifyInputEvent(inputEvent)).thenReturn(null); in testInputEvent_verifyByInputEventFlagDisabled_Verified()
132 inputEvent, registerTimestamp, SOURCE_REGISTRANT)) in testInputEvent_verifyByInputEventFlagDisabled_Verified()
139 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testVerifiedInputEvent_underUseLimit_verified() local
146 when(mInputManager.verifyInputEvent(inputEvent)).thenReturn(mVerifiedMotionEvent); in testVerifiedInputEvent_underUseLimit_verified()
154 inputEvent, registerTimestamp, SOURCE_REGISTRANT)) in testVerifiedInputEvent_underUseLimit_verified()
161 InputEvent inputEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testVerifiedInputEvent_overUseLimit_notVerified() local
[all …]
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/
DMeasurementClient.java59 @NonNull Uri attributionSource, @Nullable InputEvent inputEvent) { in registerSource() argument
63 ? registerSourceForSPlus(attributionSource, inputEvent) in registerSource()
64 : registerSourceForR(attributionSource, inputEvent); in registerSource()
121 Uri attributionSource, InputEvent inputEvent) { in registerSourceForSPlus() argument
126 inputEvent, in registerSourceForSPlus()
146 Uri attributionSource, InputEvent inputEvent) {
151 inputEvent,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp466 jobject inputEvent = env->GetObjectArrayElement(inputEvents, 0); in latinime_BinaryDictionary_updateEntriesForInputEvents() local
467 jclass wordInputEventClass = env->GetObjectClass(inputEvent); in latinime_BinaryDictionary_updateEntriesForInputEvents()
468 env->DeleteLocalRef(inputEvent); in latinime_BinaryDictionary_updateEntriesForInputEvents()
480 jobject inputEvent = env->GetObjectArrayElement(inputEvents, i); in latinime_BinaryDictionary_updateEntriesForInputEvents() local
482 env->GetObjectField(inputEvent, targetWordFieldId)); in latinime_BinaryDictionary_updateEntriesForInputEvents()
488 jint prevWordCount = env->GetIntField(inputEvent, prevWordCountFieldId); in latinime_BinaryDictionary_updateEntriesForInputEvents()
490 static_cast<jobjectArray>(env->GetObjectField(inputEvent, prevWordArrayFieldId)); in latinime_BinaryDictionary_updateEntriesForInputEvents()
492 env->GetObjectField(inputEvent, isPrevWordBoSArrayFieldId)); in latinime_BinaryDictionary_updateEntriesForInputEvents()
493 jboolean isValid = env->GetBooleanField(inputEvent, isValidFieldId); in latinime_BinaryDictionary_updateEntriesForInputEvents()
494 jint timestamp = env->GetIntField(inputEvent, timestampFieldId); in latinime_BinaryDictionary_updateEntriesForInputEvents()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DWordInputEventForPersonalization.java86 final WordInputEventForPersonalization inputEvent = in createInputEventFrom() local
89 if (inputEvent == null) { in createInputEventFrom()
92 inputEvents.add(inputEvent); in createInputEventFrom()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/view/
DInputEventHelper.java37 public static void setDisplayId(@NonNull InputEvent inputEvent, int newDisplayId) { in setDisplayId() argument
38 inputEvent.setDisplayId(newDisplayId); in setDisplayId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DReportInteractionInput.java75 @Nullable InputEvent inputEvent, in ReportInteractionInput() argument
87 this.mInputEvent = inputEvent; in ReportInteractionInput()
262 public ReportInteractionInput.Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent() argument
263 mInputEvent = inputEvent; in setInputEvent()
DReportEventRequest.java230 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent() argument
231 mInputEvent = inputEvent; in setInputEvent()
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsServiceUtils.java57 static @CarEvsStreamEvent int convertToStreamEvent(int inputEvent) { in convertToStreamEvent() argument
60 switch (inputEvent) { in convertToStreamEvent()
83 Slogf.w(TAG, "Invalid event type: " + inputEvent); in convertToStreamEvent()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementManager.java141 @Nullable InputEvent inputEvent, in registerSource() argument
146 inputEvent, in registerSource()
166 @Nullable InputEvent inputEvent, in registerSource() argument
169 mImpl.registerSource(attributionSource, inputEvent, executor, callback); in registerSource()
DSourceRegistrationRequest.java156 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent() argument
157 mInputEvent = inputEvent; in setInputEvent()
DWebSourceRegistrationRequest.java281 public Builder setInputEvent(@Nullable InputEvent inputEvent) { in setInputEvent() argument
282 mInputEvent = inputEvent; in setInputEvent()
DMeasurementCompatibleManager.java195 @Nullable InputEvent inputEvent, in registerSource() argument
216 .setInputEvent(inputEvent); in registerSource()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java302 @Nullable InputEvent inputEvent, in registerEvent() argument
328 inputEvent, in registerEvent()
428 InputEvent inputEvent, long requestTime, String sourceRegistrant) { in getSourceType() argument
432 && inputEvent != null in getSourceType()
434 inputEvent, requestTime, sourceRegistrant)) { in getSourceType()
437 return inputEvent == null ? Source.SourceType.EVENT : Source.SourceType.NAVIGATION; in getSourceType()
/packages/apps/TV/src/com/android/tv/interactive/
DIAppManager.java94 inputEvent -> { in IAppManager()
98 if (inputEvent instanceof KeyEvent) { in IAppManager()
99 KeyEvent keyEvent = (KeyEvent) inputEvent; in IAppManager()
/packages/modules/StatsD/statsd/src/matchers/
Dmatcher_util.cpp566 const LogEvent& inputEvent = transformedEvent == nullptr ? event : *transformedEvent; in matchesSimple() local
568 matchesSimple(uidMap, matcher, inputEvent, 0, inputEvent.getValues().size(), 0); in matchesSimple()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java10234 private RegistrationRequest buildRequest(String registrationUri, InputEvent inputEvent) { in buildRequest() argument
10237 return builder.setInputEvent(inputEvent).build(); in buildRequest()
10406 static Source.SourceType getSourceType(InputEvent inputEvent) { in getSourceType() argument
10407 return inputEvent == null ? Source.SourceType.EVENT : Source.SourceType.NAVIGATION; in getSourceType()