Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/media/java/android/media/tv/
DITvInputClient.aidl32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated() argument
33 void onSessionReleased(int seq); in onSessionReleased() argument
34 void onSessionEvent(in String name, in Bundle args, int seq); in onSessionEvent() argument
35 void onChannelRetuned(in Uri channelUri, int seq); in onChannelRetuned() argument
36 void onTracksChanged(in List<TvTrackInfo> tracks, int seq); in onTracksChanged() argument
37 void onTrackSelected(int type, in String trackId, int seq); in onTrackSelected() argument
38 void onVideoAvailable(int seq); in onVideoAvailable() argument
39 void onVideoUnavailable(int reason, int seq); in onVideoUnavailable() argument
40 void onContentAllowed(int seq); in onContentAllowed() argument
41 void onContentBlocked(in String rating, int seq); in onContentBlocked() argument
[all …]
DTvInputManager.java563 int seq) { in TvInputManager()
565 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
572 session = new Session(token, channel, mService, mUserId, seq, in TvInputManager()
580 public void onSessionReleased(int seq) { in TvInputManager()
582 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
583 mSessionCallbackRecordMap.delete(seq); in TvInputManager()
585 Log.e(TAG, "Callback not found for seq:" + seq); in TvInputManager()
594 public void onChannelRetuned(Uri channelUri, int seq) { in TvInputManager()
596 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
598 Log.e(TAG, "Callback not found for seq " + seq); in TvInputManager()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java68 int seq; field in IInputConnectionWrapper.SomeArgs
92 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextAfterCursor() argument
93 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); in getTextAfterCursor()
96 … public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextBeforeCursor() argument
97 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); in getTextBeforeCursor()
100 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { in getSelectedText() argument
101 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); in getSelectedText()
104 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { in getCursorCapsMode() argument
105 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); in getCursorCapsMode()
109 int flags, int seq, IInputContextCallback callback) { in getExtractedText() argument
[all …]
DIInputContextCallback.aidl25 void setTextBeforeCursor(CharSequence textBeforeCursor, int seq); in setTextBeforeCursor() argument
26 void setTextAfterCursor(CharSequence textAfterCursor, int seq); in setTextAfterCursor() argument
27 void setCursorCapsMode(int capsMode, int seq); in setCursorCapsMode() argument
28 void setExtractedText(in ExtractedText extractedText, int seq); in setExtractedText() argument
29 void setSelectedText(CharSequence selectedText, int seq); in setSelectedText() argument
30 void setRequestUpdateCursorAnchorInfoResult(boolean result, int seq); in setRequestUpdateCursorAnchorInfoResult() argument
DInputConnectionWrapper.java92 public void setTextBeforeCursor(CharSequence textBeforeCursor, int seq) { in setTextBeforeCursor() argument
94 if (seq == mSeq) { in setTextBeforeCursor()
99 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setTextBeforeCursor()
105 public void setTextAfterCursor(CharSequence textAfterCursor, int seq) { in setTextAfterCursor() argument
107 if (seq == mSeq) { in setTextAfterCursor()
112 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setTextAfterCursor()
118 public void setSelectedText(CharSequence selectedText, int seq) { in setSelectedText() argument
120 if (seq == mSeq) { in setSelectedText()
125 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setSelectedText()
131 public void setCursorCapsMode(int capsMode, int seq) { in setCursorCapsMode() argument
[all …]
DIInputContext.aidl33 void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextBeforeCursor() argument
35 void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextAfterCursor() argument
37 void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback); in getCursorCapsMode() argument
39 void getExtractedText(in ExtractedTextRequest request, int flags, int seq, in getExtractedText() argument
74 void getSelectedText(int flags, int seq, IInputContextCallback callback); in getSelectedText() argument
76 void requestUpdateCursorAnchorInfo(in int cursorUpdateMode, int seq, in requestUpdateCursorAnchorInfo() argument
DBaseIWindow.java86 public void dispatchSystemUiVisibilityChanged(int seq, int globalUi, in dispatchSystemUiVisibilityChanged() argument
88 mSeq = seq; in dispatchSystemUiVisibilityChanged()
/frameworks/base/core/java/android/view/
DInputEventSender.java46 private static native boolean nativeSendKeyEvent(long senderPtr, int seq, KeyEvent event); in nativeSendKeyEvent() argument
47 private static native boolean nativeSendMotionEvent(long senderPtr, int seq, MotionEvent event); in nativeSendMotionEvent() argument
109 public void onInputEventFinished(int seq, boolean handled) { in onInputEventFinished() argument
121 public final boolean sendInputEvent(int seq, InputEvent event) { in sendInputEvent() argument
132 return nativeSendKeyEvent(mSenderPtr, seq, (KeyEvent)event); in sendInputEvent()
134 return nativeSendMotionEvent(mSenderPtr, seq, (MotionEvent)event); in sendInputEvent()
140 private void dispatchInputEventFinished(int seq, boolean handled) { in dispatchInputEventFinished() argument
141 onInputEventFinished(seq, handled); in dispatchInputEventFinished()
DInputEventReceiver.java50 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument
151 int seq = mSeqMap.valueAt(index); in finishInputEvent() local
153 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
183 private void dispatchInputEvent(int seq, InputEvent event) { in dispatchInputEvent() argument
184 mSeqMap.put(event.getSequenceNumber(), seq); in dispatchInputEvent() local
DIWindowSession.aidl38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs, in add() argument
41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplay() argument
44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addWithoutInputChannel() argument
46 … int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel() argument
89 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout() argument
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp57 status_t sendKeyEvent(uint32_t seq, const KeyEvent* event);
58 status_t sendMotionEvent(uint32_t seq, const MotionEvent* event);
109 status_t NativeInputEventSender::sendKeyEvent(uint32_t seq, const KeyEvent* event) { in sendKeyEvent() argument
111 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName(), seq); in sendKeyEvent()
124 mPublishedSeqMap.add(publishedSeq, seq); in sendKeyEvent()
128 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { in sendMotionEvent() argument
130 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName(), seq); in sendMotionEvent()
150 mPublishedSeqMap.add(publishedSeq, seq); in sendMotionEvent()
200 uint32_t seq = mPublishedSeqMap.valueAt(index); in receiveFinishedSignals() local
206 getInputChannelName(), seq, handled ? "true" : "false", in receiveFinishedSignals()
[all …]
Dandroid_view_InputEventReceiver.cpp58 status_t finishInputEvent(uint32_t seq, bool handled);
67 uint32_t seq; member
118 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument
123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent()
131 finish.seq = seq; in finishInputEvent()
179 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in handleEvent()
234 uint32_t seq; in consumeEvents() local
237 consumeBatches, frameTime, &seq, &inputEvent); in consumeEvents()
314 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventObj); in consumeEvents()
327 mInputConsumer.sendFinishedSignal(seq, false); in consumeEvents()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java135 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent() argument
139 callback.finishedEvent(seq, handled); in dispatchKeyEvent()
148 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchTrackballEvent() argument
151 callback.finishedEvent(seq, handled); in dispatchTrackballEvent()
160 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchGenericMotionEvent() argument
163 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
DIInputMethodSessionWrapper.java228 final int seq = event.getSequenceNumber(); in onInputEvent() local
229 mPendingEvents.put(seq, event); in onInputEvent()
232 mInputMethodSession.dispatchKeyEvent(seq, keyEvent, this); in onInputEvent()
236 mInputMethodSession.dispatchTrackballEvent(seq, motionEvent, this); in onInputEvent()
238 mInputMethodSession.dispatchGenericMotionEvent(seq, motionEvent, this); in onInputEvent()
244 public void finishedEvent(int seq, boolean handled) { in finishedEvent() argument
245 int index = mPendingEvents.indexOfKey(seq); in finishedEvent()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSession.java35 void finishedEvent(int seq, boolean handled); in finishedEvent() argument
123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); in dispatchKeyEvent() argument
138 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); in dispatchTrackballEvent() argument
153 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); in dispatchGenericMotionEvent() argument
/frameworks/native/libs/input/
DInputTransport.cpp240 uint32_t seq, in publishKeyEvent() argument
255 mChannel->getName().string(), seq, in publishKeyEvent()
260 if (!seq) { in publishKeyEvent()
267 msg.body.key.seq = seq; in publishKeyEvent()
282 uint32_t seq, in publishMotionEvent() argument
305 mChannel->getName().string(), seq, in publishMotionEvent()
310 if (!seq) { in publishMotionEvent()
323 msg.body.motion.seq = seq; in publishMotionEvent()
363 *outSeq = msg.body.finished.seq; in receiveFinishedSignal()
435 *outSeq = mMsg.body.key.seq; in consume()
[all …]
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp73 const uint32_t seq = 15; in PublishAndConsumeKeyEvent() local
85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, in PublishAndConsumeKeyEvent()
102 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeKeyEvent()
114 status = mConsumer->sendFinishedSignal(seq, true); in PublishAndConsumeKeyEvent()
123 ASSERT_EQ(seq, finishedSeq) in PublishAndConsumeKeyEvent()
132 const uint32_t seq = 15; in PublishAndConsumeMotionEvent() local
166 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, flags, edgeFlags, in PublishAndConsumeMotionEvent()
185 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeMotionEvent()
229 status = mConsumer->sendFinishedSignal(seq, false); in PublishAndConsumeMotionEvent()
238 ASSERT_EQ(seq, finishedSeq) in PublishAndConsumeMotionEvent()
DInputChannel_test.cpp95 clientReply.body.finished.seq = 0x11223344; in TEST_F()
105 EXPECT_EQ(clientReply.body.finished.seq, serverReply.body.finished.seq) in TEST_F()
DStructLayout_test.cpp37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment()
49 CHECK_OFFSET(InputMessage::Body::Motion, seq, 0); in TestInputMessageAlignment()
/frameworks/native/include/input/
DInputTransport.h64 uint32_t seq; member
82 uint32_t seq; member
116 uint32_t seq; member
210 uint32_t seq,
231 uint32_t seq,
314 status_t sendFinishedSignal(uint32_t seq, bool handled);
419 uint32_t seq; // sequence number of batched input message member
437 status_t sendUnchainedFinishedSignal(uint32_t seq, bool handled);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, in add() argument
49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, in addToDisplay() argument
57 public int addWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, in addWithoutInputChannel() argument
65 public int addToDisplayWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, in addToDisplayWithoutInputChannel() argument
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java157 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, in add() argument
159 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY, in add()
164 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplay() argument
167 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, in addToDisplay()
172 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, in addWithoutInputChannel() argument
174 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility, in addWithoutInputChannel()
179 …public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams att… in addToDisplayWithoutInputChannel() argument
181 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, in addToDisplayWithoutInputChannel()
189 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, in relayout() argument
196 int res = mService.relayoutWindow(this, window, seq, attrs, in relayout()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp79 void onCaptured(uint32_t seq, bool succeeded);
160 void BufferProducerThread::onCaptured(uint32_t seq, bool succeeded) { in onCaptured() argument
162 if (seq != mSeq) { in onCaptured()
163 ALOGW("Incorrect sequence value: expected %u actual %u", mSeq, seq); in onCaptured()
265 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded);
444 event->capture_result.seq, in notify()
450 event->capture_result.seq, in notify()
529 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured() argument
541 thread->onCaptured(seq, succeeded); in onCaptured()
542 if (seq == 0) { in onCaptured()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java552 sessionState.info.getId(), null, null, sessionState.seq); in abortPendingCreateSessionRequestsLocked()
576 null, sessionState.seq); in createSessionInternalLocked()
582 IBinder sessionToken, InputChannel channel, int seq) { in sendSessionTokenToClientLocked() argument
584 client.onSessionCreated(inputId, sessionToken, channel, seq); in sendSessionTokenToClientLocked()
956 int seq, int userId) { in createSession() argument
967 sendSessionTokenToClientLocked(client, inputId, null, null, seq); in createSession()
978 sendSessionTokenToClientLocked(client, inputId, null, null, seq); in createSession()
985 seq, callingUid, resolvedUserId); in createSession()
1568 pw.println("seq: " + session.seq); in dump()
1700 private final int seq; field in TvInputManagerService.SessionState
[all …]
/frameworks/base/core/java/android/content/res/
DConfiguration.java572 public int seq; field in Configuration
646 seq = o.seq; in setTo()
779 if (seq != 0) { in toString()
781 sb.append(seq); in toString()
808 seq = 0; in setToDefaults()
948 if (delta.seq != 0) { in updateFrom()
949 seq = delta.seq; in updateFrom()
1090 if (other.seq == 0) { in isOtherSeqNewer()
1095 if (seq == 0) { in isOtherSeqNewer()
1100 int diff = other.seq - seq; in isOtherSeqNewer()
[all …]

123