/frameworks/base/media/java/android/media/tv/ |
D | ITvInputClient.aidl | 32 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 …]
|
D | TvInputManager.java | 871 int seq) { in TvInputManager() 873 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager() 880 session = new Session(token, channel, mService, mUserId, seq, in TvInputManager() 888 public void onSessionReleased(int seq) { in TvInputManager() 890 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager() 891 mSessionCallbackRecordMap.delete(seq); in TvInputManager() 893 Log.e(TAG, "Callback not found for seq:" + seq); in TvInputManager() 902 public void onChannelRetuned(Uri channelUri, int seq) { in TvInputManager() 904 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager() 906 Log.e(TAG, "Callback not found for seq " + seq); in TvInputManager() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 83 int seq; field in IInputConnectionWrapper.SomeArgs 144 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextAfterCursor() argument 145 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); in getTextAfterCursor() 148 … public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextBeforeCursor() argument 149 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); in getTextBeforeCursor() 152 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { in getSelectedText() argument 153 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); in getSelectedText() 156 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { in getCursorCapsMode() argument 157 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); in getCursorCapsMode() 161 int flags, int seq, IInputContextCallback callback) { in getExtractedText() argument [all …]
|
D | IInputContextCallback.aidl | 25 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 31 void setCommitContentResult(boolean result, int seq); in setCommitContentResult() argument
|
D | InputConnectionWrapper.java | 106 public void setTextBeforeCursor(CharSequence textBeforeCursor, int seq) { in setTextBeforeCursor() argument 108 if (seq == mSeq) { in setTextBeforeCursor() 113 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setTextBeforeCursor() 119 public void setTextAfterCursor(CharSequence textAfterCursor, int seq) { in setTextAfterCursor() argument 121 if (seq == mSeq) { in setTextAfterCursor() 126 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setTextAfterCursor() 132 public void setSelectedText(CharSequence selectedText, int seq) { in setSelectedText() argument 134 if (seq == mSeq) { in setSelectedText() 139 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq in setSelectedText() 145 public void setCursorCapsMode(int capsMode, int seq) { in setCursorCapsMode() argument [all …]
|
D | IInputContext.aidl | 34 void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextBeforeCursor() argument 36 void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextAfterCursor() argument 38 void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback); in getCursorCapsMode() argument 40 void getExtractedText(in ExtractedTextRequest request, int flags, int seq, in getExtractedText() argument 76 void getSelectedText(int flags, int seq, IInputContextCallback callback); in getSelectedText() argument 78 void requestUpdateCursorAnchorInfo(int cursorUpdateMode, int seq, in requestUpdateCursorAnchorInfo() argument
|
D | BaseIWindow.java | 93 public void dispatchSystemUiVisibilityChanged(int seq, int globalUi, in dispatchSystemUiVisibilityChanged() argument 95 mSeq = seq; in dispatchSystemUiVisibilityChanged()
|
/frameworks/base/core/java/android/view/ |
D | InputEventSender.java | 46 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()
|
D | InputEventReceiver.java | 50 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
|
D | IWindowSession.aidl | 38 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 94 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout() argument
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 58 status_t sendKeyEvent(uint32_t seq, const KeyEvent* event); 59 status_t sendMotionEvent(uint32_t seq, const MotionEvent* event); 110 status_t NativeInputEventSender::sendKeyEvent(uint32_t seq, const KeyEvent* event) { in sendKeyEvent() argument 112 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName(), seq); in sendKeyEvent() 125 mPublishedSeqMap.add(publishedSeq, seq); in sendKeyEvent() 129 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { in sendMotionEvent() argument 131 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName(), seq); in sendMotionEvent() 152 mPublishedSeqMap.add(publishedSeq, seq); in sendMotionEvent() 203 uint32_t seq = mPublishedSeqMap.valueAt(index); in receiveFinishedSignals() local 209 getInputChannelName(), seq, handled ? "true" : "false", in receiveFinishedSignals() [all …]
|
D | android_view_InputEventReceiver.cpp | 58 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/ |
D | AbstractInputMethodService.java | 138 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent() argument 142 callback.finishedEvent(seq, handled); in dispatchKeyEvent() 151 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchTrackballEvent() argument 154 callback.finishedEvent(seq, handled); in dispatchTrackballEvent() 163 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchGenericMotionEvent() argument 166 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
|
D | IInputMethodSessionWrapper.java | 228 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/ |
D | InputMethodSession.java | 35 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/ |
D | InputTransport.cpp | 244 uint32_t seq, in publishKeyEvent() argument 259 mChannel->getName().string(), seq, in publishKeyEvent() 264 if (!seq) { in publishKeyEvent() 271 msg.body.key.seq = seq; in publishKeyEvent() 286 uint32_t seq, in publishMotionEvent() argument 310 mChannel->getName().string(), seq, in publishMotionEvent() 315 if (!seq) { in publishMotionEvent() 328 msg.body.motion.seq = seq; in publishMotionEvent() 369 *outSeq = msg.body.finished.seq; in receiveFinishedSignal() 441 *outSeq = mMsg.body.key.seq; in consume() [all …]
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 73 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 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton, in PublishAndConsumeMotionEvent() 186 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeMotionEvent() 230 status = mConsumer->sendFinishedSignal(seq, false); in PublishAndConsumeMotionEvent() 239 ASSERT_EQ(seq, finishedSeq) in PublishAndConsumeMotionEvent()
|
D | InputChannel_test.cpp | 95 clientReply.body.finished.seq = 0x11223344; in TEST_F() 105 EXPECT_EQ(clientReply.body.finished.seq, serverReply.body.finished.seq) in TEST_F()
|
D | StructLayout_test.cpp | 37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment() 49 CHECK_OFFSET(InputMessage::Body::Motion, seq, 0); in TestInputMessageAlignment()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 64 uint32_t seq; member 82 uint32_t seq; member 117 uint32_t seq; member 211 uint32_t seq, 232 uint32_t seq, 316 status_t sendFinishedSignal(uint32_t seq, bool handled); 421 uint32_t seq; // sequence number of batched input message member 439 status_t sendUnchainedFinishedSignal(uint32_t seq, bool handled);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 163 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, in add() argument 166 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY, in add() 171 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplay() argument 174 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, in addToDisplay() 179 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, in addWithoutInputChannel() argument 181 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility, in addWithoutInputChannel() 186 …public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams att… in addToDisplayWithoutInputChannel() argument 188 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, in addToDisplayWithoutInputChannel() 208 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, in relayout() argument 215 int res = mService.relayoutWindow(this, window, seq, attrs, in relayout()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeWindowSession.java | 41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, Rect arg4, 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/tv/ |
D | TvInputManagerService.java | 463 state.client.onSessionReleased(state.seq); in clearSessionAndNotifyClientLocked() 474 sessionState.client.onSessionReleased(sessionState.seq); in clearSessionAndNotifyClientLocked() 660 sessionState.inputId, null, null, sessionState.seq); in abortPendingCreateSessionRequestsLocked() 688 null, sessionState.seq); in createSessionInternalLocked() 694 IBinder sessionToken, InputChannel channel, int seq) { in sendSessionTokenToClientLocked() argument 696 client.onSessionCreated(inputId, sessionToken, channel, seq); in sendSessionTokenToClientLocked() 1132 boolean isRecordingSession, int seq, int userId) { in createSession() argument 1143 sendSessionTokenToClientLocked(client, inputId, null, null, seq); in createSession() 1150 sendSessionTokenToClientLocked(client, inputId, null, null, seq); in createSession() 1161 sendSessionTokenToClientLocked(client, inputId, null, null, seq); in createSession() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 81 void onCaptured(uint32_t seq, bool succeeded); 162 void BufferProducerThread::onCaptured(uint32_t seq, bool succeeded) { in onCaptured() argument 164 if (seq != mSeq) { in onCaptured() 165 ALOGW("Incorrect sequence value: expected %u actual %u", mSeq, seq); in onCaptured() 247 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded); 536 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured() argument 548 thread->onCaptured(seq, succeeded); in onCaptured() 549 if (seq == 0) { in onCaptured() 587 mEvent.capture_result.seq, in handleMessage() 593 mEvent.capture_result.seq, in handleMessage()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 670 public int seq; field in Configuration 775 seq = o.seq; in setTo() 909 if (seq != 0) { in toString() 911 sb.append(seq); in toString() 939 seq = 0; in setToDefaults() 1082 if (delta.seq != 0) { in updateFrom() 1083 seq = delta.seq; in updateFrom() 1227 if (other.seq == 0) { in isOtherSeqNewer() 1232 if (seq == 0) { in isOtherSeqNewer() 1237 int diff = other.seq - seq; in isOtherSeqNewer() [all …]
|