Home
last modified time | relevance | path

Searched refs:sendEvent (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp272 void sendEvent(int32_t type, int32_t code, int32_t value);
353 void NativeConnection::sendEvent(int32_t type, int32_t code, int32_t value) { in sendEvent() function in android::NativeConnection
396 connection->sendEvent(EV_KEY, code, down ? 1 : 0); in nativeSendKey()
416 connection->sendEvent(EV_KEY, linuxKeyCode, down ? 1 : 0); in nativeSendGamepadKey()
446 connection->sendEvent(EV_ABS, axisInfo->linuxUinputAxis, axisRawValue); in nativeSendGamepadAxisValue()
463 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerDown()
464 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, pointerId); in nativeSendPointerDown()
465 connection->sendEvent(EV_ABS, ABS_MT_POSITION_X, x); in nativeSendPointerDown()
466 connection->sendEvent(EV_ABS, ABS_MT_POSITION_Y, y); in nativeSendPointerDown()
481 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerUp()
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java80 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
152 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
153 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in performAccessibilityActionInternal()
159 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
160 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in performAccessibilityActionInternal()
191 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
217 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
238 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in onTouchEvent()
242 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
281 private void sendEvent(int action, int flags) { in sendEvent() method in KeyButtonView
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java135 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
244 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
245 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
250 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
251 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
280 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
306 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
327 sendEvent(KeyEvent.ACTION_UP, 0); in onTouchEvent()
330 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
368 public void sendEvent(int action, int flags) { in sendEvent() method in KeyButtonView
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java352 public void sendEvent(@NonNull ContentCaptureEvent event) { in sendEvent() method in MainContentCaptureSession
353 sendEvent(event, /* forceFlush= */ false); in sendEvent()
357 private void sendEvent(@NonNull ContentCaptureEvent event, boolean forceFlush) { in sendEvent() method in MainContentCaptureSession
784 mHandler.post(() -> sendEvent(new ContentCaptureEvent(childSessionId, TYPE_SESSION_STARTED) in notifyChildSessionStarted()
790 mHandler.post(() -> sendEvent(new ContentCaptureEvent(childSessionId, TYPE_SESSION_FINISHED) in notifyChildSessionFinished()
795 mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_VIEW_APPEARED) in notifyViewAppeared()
801 mHandler.post(() -> sendEvent( in notifyViewDisappeared()
826 mHandler.post(() -> sendEvent( in notifyViewTextChanged()
835 mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_VIEW_INSETS_CHANGED) in notifyViewInsetsChanged()
844 mHandler.post(() -> sendEvent( in notifyViewTreeEvent()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DMainContentCaptureSessionTest.java143 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
157 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
171 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionDisabled()
183 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionEnabled()
197 session.sendEvent(EVENT); in sendEvent_contentProtectionEnabled_processorNotCreated()
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h414 void sendEvent(EventType eventType, int extra,
435 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
447 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent() function
455 listener->sendEvent(eventType, extra, sessionId, data); in sendEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java213 final MotionEvent sendEvent = in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() local
215 mTouchExplorer.onDoubleTapAndHold(sendEvent, sendEvent, 0); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
560 final MotionEvent sendEvent = fromTouchscreen(event); in send() local
561 mLastEvent = sendEvent; in send()
563 mTouchExplorer.onMotionEvent(sendEvent, sendEvent, /* policyFlags */ 0); in send()
565 throw new RuntimeException("Exception while handling " + sendEvent, t); in send()
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroupCallback.h38 void sendEvent(int event);
Dandroid_media_DeviceCallback.h38 void sendEvent(int event);
/frameworks/av/media/mtp/
DMtpDevHandle.h37 int sendEvent(mtp_event me);
DIMtpHandle.h32 virtual int sendEvent(mtp_event me) = 0;
DMtpDevHandle.cpp59 int MtpDevHandle::sendEvent(mtp_event me) { in sendEvent() function in android::MtpDevHandle
DMtpEventPacket.cpp47 int ret = h->sendEvent(event); in write()
DMtpFfsHandle.h98 int sendEvent(mtp_event me) override;
DMtpServer.cpp257 sendEvent(MTP_EVENT_OBJECT_ADDED, handle); in sendObjectAdded()
262 sendEvent(MTP_EVENT_OBJECT_REMOVED, handle); in sendObjectRemoved()
267 sendEvent(MTP_EVENT_OBJECT_INFO_CHANGED, handle); in sendObjectInfoChanged()
272 sendEvent(MTP_EVENT_STORE_ADDED, id); in sendStoreAdded()
277 sendEvent(MTP_EVENT_STORE_REMOVED, id); in sendStoreRemoved()
282 sendEvent(MTP_EVENT_DEVICE_PROP_CHANGED, property); in sendDevicePropertyChanged()
285 void MtpServer::sendEvent(MtpEventCode code, uint32_t param1) { in sendEvent() function in android::MtpServer
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderControllerCallbackImpl.java37 void sendEvent(@NonNull LocationAlgorithmEvent event) { in sendEvent() method in LocationTimeZoneProviderControllerCallbackImpl
/frameworks/base/core/java/android/os/
DUEventObserver.java194 sendEvent(message); in run()
199 private void sendEvent(String message) { in sendEvent() method in UEventObserver.UEventThread
/frameworks/av/drm/libmediadrm/include/mediadrm/
DIDrmClient.h39 virtual void sendEvent(
/frameworks/base/telecomm/java/com/android/internal/telecom/
DICallControl.aidl35 void sendEvent(String callId, String event, in Bundle extras); in sendEvent() method
/frameworks/base/media/java/android/media/session/
DISession.aidl34 void sendEvent(String event, in Bundle data); in sendEvent() method
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockHandle.h80 int sendEvent(mtp_event me) { in sendEvent() function
/frameworks/base/telecomm/java/android/telecom/
DCallControl.java313 public void sendEvent(@NonNull String event, @NonNull Bundle extras) { in sendEvent() method in CallControl
318 mServerInterface.sendEvent(mCallId, event, extras); in sendEvent()
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensor.java122 public void sendEvent(@NonNull VirtualSensorEvent event) { in sendEvent() method in VirtualSensor
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h100 void sendEvent(
/frameworks/native/headers/media_plugin/media/cas/
DCasAPI.h137 virtual status_t sendEvent(

123