Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 64) 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.java880 int seq) { in TvInputManager()
882 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
889 session = new Session(token, channel, mService, mUserId, seq, in TvInputManager()
897 public void onSessionReleased(int seq) { in TvInputManager()
899 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
900 mSessionCallbackRecordMap.delete(seq); in TvInputManager()
902 Log.e(TAG, "Callback not found for seq:" + seq); in TvInputManager()
911 public void onChannelRetuned(Uri channelUri, int seq) { in TvInputManager()
913 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
915 Log.e(TAG, "Callback not found for seq " + seq); in TvInputManager()
[all …]
/frameworks/base/core/java/com/android/internal/view/
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
31 void setCommitContentResult(boolean result, int seq); in setCommitContentResult() argument
DInputConnectionWrapper.java106 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 …]
DIInputContext.aidl34 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
74 void getSelectedText(int flags, int seq, IInputContextCallback callback); in getSelectedText() argument
76 void requestUpdateCursorAnchorInfo(int cursorUpdateMode, int seq, in requestUpdateCursorAnchorInfo() argument
DIInputConnectionWrapper.java116 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextAfterCursor() argument
117 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); in getTextAfterCursor()
120 … public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextBeforeCursor() argument
121 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); in getTextBeforeCursor()
124 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { in getSelectedText() argument
125 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); in getSelectedText()
128 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { in getCursorCapsMode() argument
129 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); in getCursorCapsMode()
133 int flags, int seq, IInputContextCallback callback) { in getExtractedText() argument
135 request, seq, callback)); in getExtractedText()
[all …]
/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
152 int seq = mSeqMap.valueAt(index); in finishInputEvent() local
154 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
184 private void dispatchInputEvent(int seq, InputEvent event, int displayId) { in dispatchInputEvent() argument
185 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
94 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout() argument
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp60 status_t sendKeyEvent(uint32_t seq, const KeyEvent* event);
61 status_t sendMotionEvent(uint32_t seq, const MotionEvent* event);
112 status_t NativeInputEventSender::sendKeyEvent(uint32_t seq, const KeyEvent* event) { in sendKeyEvent() argument
114 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName(), seq); in sendKeyEvent()
127 mPublishedSeqMap.add(publishedSeq, seq); in sendKeyEvent()
131 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { in sendMotionEvent() argument
133 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName(), seq); in sendMotionEvent()
155 mPublishedSeqMap.add(publishedSeq, seq); in sendMotionEvent()
206 uint32_t seq = mPublishedSeqMap.valueAt(index); in receiveFinishedSignals() local
212 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
238 consumeBatches, frameTime, &seq, &inputEvent, &displayId); in consumeEvents()
315 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventObj, in consumeEvents()
329 mInputConsumer.sendFinishedSignal(seq, false); in consumeEvents()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java138 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()
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.cpp113 msg->body.key.seq = body.key.seq; in getSanitizedCopy()
140 msg->body.motion.seq = body.motion.seq; in getSanitizedCopy()
189 msg->body.finished.seq = body.finished.seq; in getSanitizedCopy()
345 uint32_t seq, in publishKeyEvent() argument
360 mChannel->getName().string(), seq, in publishKeyEvent()
365 if (!seq) { in publishKeyEvent()
372 msg.body.key.seq = seq; in publishKeyEvent()
387 uint32_t seq, in publishMotionEvent() argument
412 mChannel->getName().string(), seq, in publishMotionEvent()
417 if (!seq) { in publishMotionEvent()
[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()
103 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeKeyEvent()
115 status = mConsumer->sendFinishedSignal(seq, true); in PublishAndConsumeKeyEvent()
124 ASSERT_EQ(seq, finishedSeq) in PublishAndConsumeKeyEvent()
133 const uint32_t seq = 15; in PublishAndConsumeMotionEvent() local
169 status = mPublisher->publishMotionEvent(seq, deviceId, source, displayId, action, actionButton, in PublishAndConsumeMotionEvent()
189 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeMotionEvent()
233 status = mConsumer->sendFinishedSignal(seq, false); in PublishAndConsumeMotionEvent()
242 ASSERT_EQ(seq, finishedSeq) in PublishAndConsumeMotionEvent()
DStructLayout_test.cpp37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment()
50 CHECK_OFFSET(InputMessage::Body::Motion, seq, 0); in TestInputMessageAlignment()
69 CHECK_OFFSET(InputMessage::Body::Finished, seq, 0); in TestInputMessageAlignment()
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()
/frameworks/native/include/input/
DInputTransport.h71 uint32_t seq; member
92 uint32_t seq; member
131 uint32_t seq; member
226 uint32_t seq,
247 uint32_t seq,
332 status_t sendFinishedSignal(uint32_t seq, bool handled);
459 uint32_t seq; // sequence number of batched input message member
478 status_t sendUnchainedFinishedSignal(uint32_t seq, bool handled);
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp116 uint64_t seq; in TEST_F() local
135 auto status = consumer_queue_->Dequeue(100, &slot, &seq, &fence); in TEST_F()
148 auto consumer_status = consumer_queue_->Dequeue(100, &slot, &seq, &fence); in TEST_F()
469 int64_t seq = 1; in TEST_F() local
470 ASSERT_EQ(p1->Post(LocalHandle(), seq), 0); in TEST_F()
472 auto c1_status = consumer_queue_->Dequeue(100, &cs1, &seq, &fence); in TEST_F()
480 ASSERT_EQ(p2->Post(LocalHandle(), seq), 0); in TEST_F()
481 auto c2_status = consumer_queue_->Dequeue(100, &cs2, &seq, &fence); in TEST_F()
601 uint64_t seq; in TEST_F() local
639 ASSERT_EQ(0, producer_buffer->Post(fence, &seq, sizeof(seq))); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java178 final int seq = mSeq.get(); in check() local
233 updateBroadcasts(vol, oldLevel, newLevel, seq); in check()
373 int seq = mSeq.incrementAndGet(); in onShellCommand() local
377 pw.println(seq); in onShellCommand()
385 int seq = mSeq.incrementAndGet(); in onShellCommand() local
389 pw.println(seq); in onShellCommand()
397 int seq = mSeq.incrementAndGet(); in onShellCommand() local
401 pw.println(seq); in onShellCommand()
507 private void updateBroadcasts(VolumeInfo vol, int oldLevel, int newLevel, int seq) { in updateBroadcasts() argument
517 .putExtra(EXTRA_SEQUENCE, seq); in updateBroadcasts()
[all …]
/frameworks/base/tools/fonts/
Dfontchain_lint.py67 return '{' + ', '.join([printable(seq) for seq in inp]) + '}'
301 maps_to_glyph = [seq for seq in coverage if coverage[seq] == glyph]
306 for seq in maps_to_glyph:
307 equivalent_seq = seq
548 def reverse_emoji(seq): argument
549 rev = list(reversed(seq))
621 for seq in _emoji_variation_sequences:
622 equivalent_emoji[seq] = seq[0]
/frameworks/rs/perf-test-scripts/
Dtiming62 for i in `seq 0 $((${#TEST_NAMES[@]} - 1))`; do
135 TESTS=(`seq 0 $((${#TEST_NAMES[@]} - 1))`)
196 for num in `seq 0 $((${#TESTS[@]} - 1))`; do
254 for num in `seq 1 $((${#TESTS[@]} - 1))`; do
262 for num in `seq 0 $((${#TESTS[@]} - 1))`; do
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java41 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/core/tests/coretests/src/android/text/
DStaticLayoutTest.java628 private String buildTestMessage(CharSequence seq) { in buildTestMessage() argument
630 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { in buildTestMessage()
632 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { in buildTestMessage()
634 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { in buildTestMessage()
636 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { in buildTestMessage()
643 for (int i = 0; i < seq.length(); ++i) { in buildTestMessage()
644 builder.append(String.format("0x%04X ", Integer.valueOf(seq.charAt(i)))); in buildTestMessage()
647 return "testString: \"" + seq.toString() + "\"[" + builder.toString() + "]" in buildTestMessage()
648 + ", class: " + seq.getClass().getName() in buildTestMessage()
655 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_UNICODE_Hebrew()
[all …]

123