Home
last modified time | relevance | path

Searched refs:sendEvent (Results 1 – 25 of 54) 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/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java131 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
240 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
241 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
246 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
247 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
277 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
303 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
324 sendEvent(KeyEvent.ACTION_UP, 0); in onTouchEvent()
327 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
365 public void sendEvent(int action, int flags) { in sendEvent() method in KeyButtonView
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java315 private void sendEvent(@NonNull ContentCaptureEvent event) { in sendEvent() method in MainContentCaptureSession
316 sendEvent(event, /* forceFlush= */ false); in sendEvent()
320 private void sendEvent(@NonNull ContentCaptureEvent event, boolean forceFlush) { in sendEvent() method in MainContentCaptureSession
696 mHandler.post(() -> sendEvent(new ContentCaptureEvent(childSessionId, TYPE_SESSION_STARTED) in notifyChildSessionStarted()
702 mHandler.post(() -> sendEvent(new ContentCaptureEvent(childSessionId, TYPE_SESSION_FINISHED) in notifyChildSessionFinished()
707 mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_VIEW_APPEARED) in notifyViewAppeared()
713 mHandler.post(() -> sendEvent( in notifyViewDisappeared()
735 mHandler.post(() -> sendEvent( in notifyViewTextChanged()
754 mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_VIEW_INSETS_CHANGED) in notifyViewInsetsChanged()
761 mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, type), FORCE_FLUSH)); in notifyViewTreeEvent()
[all …]
/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.java208 final MotionEvent sendEvent = in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() local
210 mTouchExplorer.onDoubleTapAndHold(sendEvent, sendEvent, 0); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
555 final MotionEvent sendEvent = fromTouchscreen(event); in send() local
556 mLastEvent = sendEvent; in send()
558 mTouchExplorer.onMotionEvent(sendEvent, sendEvent, /* policyFlags */ 0); in send()
560 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.h94 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
DMtpServer.h127 void sendEvent(MtpEventCode code, uint32_t param1);
/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/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/media/jni/
Dandroid_media_MediaDrm.h100 void sendEvent(
/frameworks/native/headers/media_plugin/media/cas/
DCasAPI.h137 virtual status_t sendEvent(
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h314 Return<void> sendEvent( in sendEvent() function
319 mListenerV1_2->sendEvent(eventType, sessionId, data); in sendEvent()
321 mListener->sendEvent(eventType, sessionId, data); in sendEvent()
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.h91 virtual status_t sendEvent(
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.h97 virtual status_t sendEvent(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java157 mKeyButtonView.sendEvent(action, flag); in checkmetrics()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DDrmPlugin.cpp135 sendEvent(kDrmPluginEventVendorDefined, 0, &scope, NULL); in provideKeyResponse()

123