/frameworks/base/core/java/android/view/ |
H A D | InputEventSender.java | 46 private static native boolean nativeSendKeyEvent(long senderPtr, int seq, KeyEvent event); argument 47 private static native boolean nativeSendMotionEvent(long senderPtr, int seq, MotionEvent event); argument 106 * @param seq The input event sequence number. 109 public void onInputEventFinished(int seq, boolean handled) { argument 116 * @param seq The input event sequence number. 121 public final boolean sendInputEvent(int seq, InputEvent event) { argument 132 return nativeSendKeyEvent(mSenderPtr, seq, (KeyEvent)event); 134 return nativeSendMotionEvent(mSenderPtr, seq, (MotionEvent)event); 140 private void dispatchInputEventFinished(int seq, boolean handled) { argument 141 onInputEventFinished(seq, handle [all...] |
H A D | InputEventReceiver.java | 50 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); argument 152 int seq = mSeqMap.valueAt(index); 154 nativeFinishInputEvent(mReceiverPtr, seq, handled); 184 private void dispatchInputEvent(int seq, InputEvent event, int displayId) { argument 185 mSeqMap.put(event.getSequenceNumber(), seq);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | AbstractInputMethodService.java | 142 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { argument 146 callback.finishedEvent(seq, handled); 155 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { argument 158 callback.finishedEvent(seq, handled); 167 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { argument 170 callback.finishedEvent(seq, handled);
|
H A D | IInputMethodSessionWrapper.java | 228 final int seq = event.getSequenceNumber(); 229 mPendingEvents.put(seq, event); 232 mInputMethodSession.dispatchKeyEvent(seq, keyEvent, this); 236 mInputMethodSession.dispatchTrackballEvent(seq, motionEvent, this); 238 mInputMethodSession.dispatchGenericMotionEvent(seq, motionEvent, this); 244 public void finishedEvent(int seq, boolean handled) { argument 245 int index = mPendingEvents.indexOfKey(seq);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSession.java | 35 void finishedEvent(int seq, boolean handled); argument 123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); argument 138 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); argument 153 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); argument
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
H A D | EuiccNotification.java | 74 * @param seq The sequence number of this notification. 80 public EuiccNotification(int seq, String targetAddr, @Event int event, @Nullable byte[] data) { argument 81 mSeq = seq; 137 return "EuiccNotification (seq="
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 105 public void dispatchSystemUiVisibilityChanged(int seq, int globalUi, argument 107 mSeq = seq;
|
H A D | IInputConnectionWrapper.java | 116 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { argument 117 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); 120 public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { argument 121 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); 124 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { argument 125 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); 128 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { argument 129 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); 133 int flags, int seq, IInputContextCallback callback) { 135 request, seq, callbac 132 getExtractedText(ExtractedTextRequest request, int flags, int seq, IInputContextCallback callback) argument 204 requestUpdateCursorAnchorInfo(int cursorUpdateMode, int seq, IInputContextCallback callback) argument 214 commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts, int seq, IInputContextCallback callback) argument [all...] |
H A D | InputConnectionWrapper.java | 120 public void setTextBeforeCursor(CharSequence textBeforeCursor, int seq) { argument 122 if (seq == mSeq) { 127 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq 134 public void setTextAfterCursor(CharSequence textAfterCursor, int seq) { argument 136 if (seq == mSeq) { 141 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq 148 public void setSelectedText(CharSequence selectedText, int seq) { argument 150 if (seq == mSeq) { 155 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq 162 public void setCursorCapsMode(int capsMode, int seq) { argument 176 setExtractedText(ExtractedText extractedText, int seq) argument 190 setRequestUpdateCursorAnchorInfoResult(boolean result, int seq) argument 204 setCommitContentResult(boolean result, int seq) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_InputEventReceiver.cpp | 60 status_t finishInputEvent(uint32_t seq, bool handled); 69 uint32_t seq; member in struct:android::NativeInputEventReceiver::Finish 120 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { argument 125 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); 133 finish.seq = seq; 181 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); 237 uint32_t seq; local 241 consumeBatches, frameTime, &seq, &inputEvent, &displayId); 318 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventOb 375 nativeFinishInputEvent(JNIEnv* env, jclass clazz, jlong receiverPtr, jint seq, jboolean handled) argument [all...] |
H A D | android_view_InputEventSender.cpp | 60 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) { argument 114 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName().c_str(), seq); 127 mPublishedSeqMap.add(publishedSeq, seq); 131 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { argument 133 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName().c_str(), seq); 155 mPublishedSeqMap.add(publishedSeq, seq); 206 uint32_t seq = mPublishedSeqMap.valueAt(index); local 275 nativeSendKeyEvent(JNIEnv* env, jclass clazz, jlong senderPtr, jint seq, jobject eventObj) argument 285 nativeSendMotionEvent(JNIEnv* env, jclass clazz, jlong senderPtr, jint seq, jobject eventObj) argument [all...] |
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | DeviceStorageMonitorService.java | 80 public static final String EXTRA_SEQUENCE = "seq"; 179 final int seq = mSeq.get(); 234 updateBroadcasts(vol, oldLevel, newLevel, seq); 374 int seq = mSeq.incrementAndGet(); 378 pw.println(seq); 386 int seq = mSeq.incrementAndGet(); 390 pw.println(seq); 398 int seq = mSeq.incrementAndGet(); 402 pw.println(seq); 508 private void updateBroadcasts(VolumeInfo vol, int oldLevel, int newLevel, int seq) { argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestIWindow.java | 97 public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility, int localValue, argument
|
/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 38 : seq(_seq) 76 const int32_t seq; member in struct:android::BufferedTextOutput::BufferState 271 if (bs != NULL && bs->seq == mSeq) return bs;
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 73 const uint32_t seq = 15; local 85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 104 EXPECT_EQ(seq, consumeSeq); 116 status = mConsumer->sendFinishedSignal(seq, true); 125 ASSERT_EQ(seq, finishedSeq) 134 const uint32_t seq = 15; local 170 status = mPublisher->publishMotionEvent(seq, deviceId, source, displayId, action, actionButton, 190 EXPECT_EQ(seq, consumeSeq); 234 status = mConsumer->sendFinishedSignal(seq, false); 243 ASSERT_EQ(seq, finishedSe [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 672 private String buildTestMessage(CharSequence seq) { argument 674 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { 676 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { 678 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { 680 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { 687 for (int i = 0; i < seq.length(); ++i) { 688 builder.append(String.format("0x%04X ", Integer.valueOf(seq.charAt(i)))); 691 return "testString: \"" + seq.toString() + "\"[" + builder.toString() + "]" 692 + ", class: " + seq.getClass().getName() 699 for (CharSequence seq [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 99 void onCaptured(uint32_t seq, bool succeeded); 180 void BufferProducerThread::onCaptured(uint32_t seq, bool succeeded) { argument 182 if (seq != mSeq) { 183 ALOGW("Incorrect sequence value: expected %u actual %u", mSeq, seq); 265 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded); 531 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { argument 543 thread->onCaptured(seq, succeeded); 544 if (seq == 0) {
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 63 uint32_t seq; member in struct:android::InputMessage::Body::Key 82 uint32_t seq; member in struct:android::InputMessage::Body::Motion 118 uint32_t seq; member in struct:android::InputMessage::Body::Finished 208 * Returns BAD_VALUE if seq is 0. 212 uint32_t seq, 229 * Returns BAD_VALUE if seq is 0 or if pointerCount is less than 1 or greater than MAX_POINTERS. 233 uint32_t seq, 315 * Returns BAD_VALUE if seq is 0. 318 status_t sendFinishedSignal(uint32_t seq, bool handled); 457 uint32_t seq; // sequenc member in struct:android::InputConsumer::SeqChain [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue-test.cpp | 510 int64_t seq = 1; local 511 mi.index = seq;
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 614 size_t seq; local 615 err = parseDiscontinuitySequence(line, &seq); 617 mDiscontinuitySeq = seq; 1266 status_t M3UParser::parseDiscontinuitySequence(const AString &line, size_t *seq) { argument 1283 if (seq) { 1284 *seq = x;
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDevice.cpp | 679 static jobject android_mtp_MtpDevice_reap_event_request(JNIEnv *env, jobject thiz, jint seq) argument 687 const int eventCode = device->reapEventRequest(seq, ¶meters); 700 static void android_mtp_MtpDevice_discard_event_request(JNIEnv *env, jobject thiz, jint seq) argument 706 device->discardEventRequest(seq);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 192 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, argument 195 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY, 201 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, argument 205 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, outFrame, 210 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument 212 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility, 217 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument 219 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId, 235 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, argument 244 int res = mService.relayoutWindow(this, window, seq, attr [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 243 uint32_t seq, 255 ALOGD("channel '%s' publisher ~ publishKeyEvent: seq=%u, deviceId=%d, source=0x%x, " 258 mChannel->getName().c_str(), seq, 263 if (!seq) { 270 msg.body.key.seq = seq; 285 uint32_t seq, 305 ALOGD("channel '%s' publisher ~ publishMotionEvent: seq=%u, deviceId=%d, source=0x%x, " 310 mChannel->getName().c_str(), seq, 315 if (!seq) { 242 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument 284 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t displayId, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 841 sendFinishedSignal(uint32_t seq, bool handled) argument 890 sendUnchainedFinishedSignal(uint32_t seq, bool handled) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 339 const uint8_t *seq = (const uint8_t*)memmem(data, size, "\x00\x00\x01\xB5", 4); local 340 if (seq != NULL && seq + 5 < data + size) { 341 const uint8_t start_code = seq[4] >> 4; 345 const uint8_t indication = ((seq[4] & 0xF) << 4) | ((seq[5] & 0xF0) >> 4); 412 const uint8_t *seq = (const uint8_t*)memmem(data, csd->size(), "\x00\x00\x01\xB0", 4); local 413 if (seq != NULL && seq + 4 < data + csd->size()) { 414 const uint8_t indication = seq[ [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 1483 CHECK(GetAttribute((*it).c_str(), "seq", &val)); 1486 unsigned long seq = strtoul(val.c_str(), &end, 10); local 1489 info->mFirstSeqNumInSegment = seq; 1812 // by ARTPSource. Only the low 16 bits of seq in RTP-Info of reply of
|