Home
last modified time | relevance | path

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

12345

/frameworks/base/media/java/android/media/tv/
DITvInputClient.aidl35 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated() argument
36 void onSessionReleased(int seq); in onSessionReleased() argument
37 void onSessionEvent(in String name, in Bundle args, int seq); in onSessionEvent() argument
38 void onChannelRetuned(in Uri channelUri, int seq); in onChannelRetuned() argument
39 void onTracksChanged(in List<TvTrackInfo> tracks, int seq); in onTracksChanged() argument
40 void onTrackSelected(int type, in String trackId, int seq); in onTrackSelected() argument
41 void onVideoAvailable(int seq); in onVideoAvailable() argument
42 void onVideoUnavailable(int reason, int seq); in onVideoUnavailable() argument
43 void onContentAllowed(int seq); in onContentAllowed() argument
44 void onContentBlocked(in String rating, int seq); in onContentBlocked() argument
[all …]
DTvInputManager.java1143 int seq) { in TvInputManager()
1145 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
1152 session = new Session(token, channel, mService, mUserId, seq, in TvInputManager()
1155 mSessionCallbackRecordMap.delete(seq); in TvInputManager()
1162 public void onSessionReleased(int seq) { in TvInputManager()
1164 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
1165 mSessionCallbackRecordMap.delete(seq); in TvInputManager()
1167 Log.e(TAG, "Callback not found for seq:" + seq); in TvInputManager()
1176 public void onChannelRetuned(Uri channelUri, int seq) { in TvInputManager()
1178 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInputManager()
[all …]
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppClient.aidl32 void onSessionCreated(in String iAppServiceId, IBinder token, in InputChannel channel, int seq); in onSessionCreated() argument
33 void onSessionReleased(int seq); in onSessionReleased() argument
34 void onLayoutSurface(int left, int top, int right, int bottom, int seq); in onLayoutSurface() argument
35 void onBroadcastInfoRequest(in BroadcastInfoRequest request, int seq); in onBroadcastInfoRequest() argument
36 void onRemoveBroadcastInfo(int id, int seq); in onRemoveBroadcastInfo() argument
37 void onSessionStateChanged(int state, int err, int seq); in onSessionStateChanged() argument
38 void onBiInteractiveAppCreated(in Uri biIAppUri, in String biIAppId, int seq); in onBiInteractiveAppCreated() argument
39 void onTeletextAppStateChanged(int state, int seq); in onTeletextAppStateChanged() argument
40 void onCommandRequest(in String cmdType, in Bundle parameters, int seq); in onCommandRequest() argument
41 void onSetVideoBounds(in Rect rect, int seq); in onSetVideoBounds() argument
[all …]
DTvInteractiveAppManager.java322 int seq) { in TvInteractiveAppManager()
324 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInteractiveAppManager()
331 session = new Session(token, channel, mService, mUserId, seq, in TvInteractiveAppManager()
334 mSessionCallbackRecordMap.delete(seq); in TvInteractiveAppManager()
341 public void onSessionReleased(int seq) { in TvInteractiveAppManager()
343 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInteractiveAppManager()
344 mSessionCallbackRecordMap.delete(seq); in TvInteractiveAppManager()
346 Log.e(TAG, "Callback not found for seq:" + seq); in TvInteractiveAppManager()
355 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) { in TvInteractiveAppManager()
357 SessionCallbackRecord record = mSessionCallbackRecordMap.get(seq); in TvInteractiveAppManager()
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java104 public void sendCommand(int command, int seq, String sourcePackage, String targetPackage, in sendCommand() argument
107 Log.i(TAG, "Received command=" + command + ", seq=" + seq + ", from=" in sendCommand()
112 handleBindService(seq, targetPackage, flags, bundle); in sendCommand()
115 handleUnbindService(seq, targetPackage); in sendCommand()
118 acquireProvider(seq, bundle.getParcelable(Constants.EXTRA_URI)); in sendCommand()
121 releaseProvider(seq, bundle.getParcelable(Constants.EXTRA_URI)); in sendCommand()
124 sendBroadcast(seq, targetPackage); in sendCommand()
127 startActivity(seq, targetPackage); in sendCommand()
130 stopActivity(seq, targetPackage); in sendCommand()
135 private void handleBindService(int seq, String targetPackage, int flags, Bundle bundle) { in handleBindService() argument
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp376 Sequence seq; in TEST_F() local
377 EXPECT_CALL(mMockClock, alarmAt(_, 955)).InSequence(seq); in TEST_F()
378 EXPECT_CALL(mMockClock, alarmAt(_, 813)).InSequence(seq); in TEST_F()
379 EXPECT_CALL(mMockClock, alarmAt(_, 975)).InSequence(seq); in TEST_F()
404 Sequence seq; in TEST_F() local
405 EXPECT_CALL(mMockClock, alarmAt(_, 9900)).InSequence(seq); in TEST_F()
406 EXPECT_CALL(mMockClock, alarmAt(_, 750)).InSequence(seq); in TEST_F()
407 EXPECT_CALL(mMockClock, alarmAt(_, 9900)).InSequence(seq); in TEST_F()
419 Sequence seq; in TEST_F() local
420 EXPECT_CALL(mMockClock, alarmAt(_, 600)).InSequence(seq); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DInputEventSender.java48 private static native boolean nativeSendKeyEvent(long senderPtr, int seq, KeyEvent event); in nativeSendKeyEvent() argument
49 private static native boolean nativeSendMotionEvent(long senderPtr, int seq, MotionEvent event); in nativeSendMotionEvent() argument
111 public void onInputEventFinished(int seq, boolean handled) { in onInputEventFinished() argument
133 public final boolean sendInputEvent(int seq, InputEvent event) { in sendInputEvent() argument
144 return nativeSendKeyEvent(mSenderPtr, seq, (KeyEvent)event); in sendInputEvent()
146 return nativeSendMotionEvent(mSenderPtr, seq, (MotionEvent)event); in sendInputEvent()
153 private void dispatchInputEventFinished(int seq, boolean handled) { in dispatchInputEventFinished() argument
154 onInputEventFinished(seq, handled); in dispatchInputEventFinished()
DInputEventReceiver.java56 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument
213 int seq = mSeqMap.valueAt(index); in finishInputEvent() local
215 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
265 private void dispatchInputEvent(int seq, InputEvent event) { in dispatchInputEvent() argument
266 mSeqMap.put(event.getSequenceNumber(), seq); in dispatchInputEvent() local
/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);
116 status_t NativeInputEventSender::sendKeyEvent(uint32_t seq, const KeyEvent* event) { in sendKeyEvent() argument
118 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName().c_str(), seq); in sendKeyEvent()
134 mPublishedSeqMap.emplace(publishedSeq, seq); in sendKeyEvent()
138 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { in sendMotionEvent() argument
140 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName().c_str(), seq); in sendMotionEvent()
169 mPublishedSeqMap.emplace(publishedSeq, seq); in sendMotionEvent()
273 auto it = mPublishedSeqMap.find(finished.seq); in notifyConsumerResponse()
275 ALOGW("Received 'finished' signal for unknown seq number = %" PRIu32, finished.seq); in notifyConsumerResponse()
[all …]
Dandroid_view_InputEventReceiver.cpp84 status_t finishInputEvent(uint32_t seq, bool handled);
95 uint32_t seq; member
155 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument
161 .seq = seq, in finishInputEvent()
220 status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in processOutboundEvents()
317 uint32_t seq; in consumeEvents() local
321 consumeBatches, frameTime, &seq, &inputEvent); in consumeEvents()
398 finishInputEvent(seq, true /* handled */); in consumeEvents()
411 finishInputEvent(seq, true /* handled */); in consumeEvents()
423 finishInputEvent(seq, true /* handled */); in consumeEvents()
[all …]
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp74 constexpr uint32_t seq = 15; in PublishAndConsumeKeyEvent() local
92 status = mPublisher->publishKeyEvent(seq, eventId, deviceId, source, displayId, hmac, action, in PublishAndConsumeKeyEvent()
110 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeKeyEvent()
125 status = mConsumer->sendFinishedSignal(seq, true); in PublishAndConsumeKeyEvent()
133 ASSERT_EQ(seq, finish.seq) in PublishAndConsumeKeyEvent()
144 constexpr uint32_t seq = 15; in PublishAndConsumeMotionEvent() local
198 status = mPublisher->publishMotionEvent(seq, eventId, deviceId, source, displayId, hmac, action, in PublishAndConsumeMotionEvent()
219 EXPECT_EQ(seq, consumeSeq); in PublishAndConsumeMotionEvent()
271 status = mConsumer->sendFinishedSignal(seq, false); in PublishAndConsumeMotionEvent()
279 ASSERT_EQ(seq, finish.seq) in PublishAndConsumeMotionEvent()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java246 final int seq = applyConfigurationChange(activity, BASE_SEQ); in testHandleActivityConfigurationChanged_ApplyNewConfigurations() local
252 applyConfigurationChange(activity, seq + 1); in testHandleActivityConfigurationChanged_ApplyNewConfigurations()
264 final int seq = applyConfigurationChange(activity, BASE_SEQ); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() local
274 newerConfig.seq = seq + 2; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
280 olderConfig.seq = seq + 1; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
301 config.seq = BASE_SEQ; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
314 processConfigLandscape.seq = BASE_SEQ + 1; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
319 activityConfigLandscape.seq = BASE_SEQ + 2; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
324 processConfigPortrait.seq = BASE_SEQ + 3; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
329 activityConfigPortrait.seq = BASE_SEQ + 4; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
[all …]
/frameworks/native/libs/input/
DInputTransport.cpp170 msg->header.seq = header.seq; in getSanitizedCopy()
498 status_t InputPublisher::publishKeyEvent(uint32_t seq, int32_t eventId, int32_t deviceId, in publishKeyEvent() argument
513 mChannel->getName().c_str(), seq, deviceId, source, action, flags, keyCode, scanCode, in publishKeyEvent()
517 if (!seq) { in publishKeyEvent()
524 msg.header.seq = seq; in publishKeyEvent()
542 uint32_t seq, int32_t eventId, int32_t deviceId, int32_t source, int32_t displayId, in publishMotionEvent() argument
565 mChannel->getName().c_str(), seq, deviceId, source, displayId, action, actionButton, in publishMotionEvent()
571 if (!seq) { in publishMotionEvent()
584 msg.header.seq = seq; in publishMotionEvent()
624 status_t InputPublisher::publishFocusEvent(uint32_t seq, int32_t eventId, bool hasFocus) { in publishFocusEvent() argument
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSession.java38 void finishedEvent(int seq, boolean handled); in finishedEvent() argument
125 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); in dispatchKeyEvent() argument
140 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); in dispatchTrackballEvent() argument
155 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); in dispatchGenericMotionEvent() argument
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java205 private static void onPackageStartResult(int seq, Bundle bundle) { in onPackageStartResult() argument
210 releaseLatch(seq); in onPackageStartResult()
213 private static void onCommandResult(int seq, int result) { in onCommandResult() argument
214 Assert.assertTrue("Error in command seq " + seq, result == Constants.RESULT_NO_ERROR); in onCommandResult()
215 releaseLatch(seq); in onCommandResult()
239 int seq; in obtainLatch() local
241 seq = sSeqNum++; in obtainLatch()
242 sCommandLatches.put(seq, latch); in obtainLatch()
244 return new Pair<>(seq, latch); in obtainLatch()
247 private static void releaseLatch(int seq) { in releaseLatch() argument
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DTcpHeader.java53 public final long seq; field in TcpHeader
67 public TcpHeader(final int srcPort, final int dstPort, final long seq, final long ack, in TcpHeader() argument
72 this.seq = seq; in TcpHeader()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java180 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent() argument
184 callback.finishedEvent(seq, handled); in dispatchKeyEvent()
193 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchTrackballEvent() argument
196 callback.finishedEvent(seq, handled); in dispatchTrackballEvent()
205 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchGenericMotionEvent() argument
208 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
DIInputMethodSessionWrapper.java249 final int seq = event.getSequenceNumber(); in onInputEvent() local
250 mPendingEvents.put(seq, event); in onInputEvent()
253 mInputMethodSession.dispatchKeyEvent(seq, keyEvent, this); in onInputEvent()
257 mInputMethodSession.dispatchTrackballEvent(seq, motionEvent, this); in onInputEvent()
259 mInputMethodSession.dispatchGenericMotionEvent(seq, motionEvent, this); in onInputEvent()
265 public void finishedEvent(int seq, boolean handled) { in finishedEvent() argument
266 int index = mPendingEvents.indexOfKey(seq); in finishedEvent()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventSenderAndReceiverTest.kt86 val seq = 10 in testSendAndReceiveKey() constant
87 mSender.sendInputEvent(seq, key) in testSendAndReceiveKey()
95 assertEquals(SpyInputEventSender.FinishedSignal(seq, handled = true), finishedSignal) in testSendAndReceiveKey()
151 val seq = 11 in testCrashingReceiverDoesNotCrash() constant
152 sender.sendInputEvent(seq, key) in testCrashingReceiverDoesNotCrash()
154 assertEquals(SpyInputEventSender.FinishedSignal(seq, handled = true), finishedSignal) in testCrashingReceiverDoesNotCrash()
DPointerEventDispatcherTest.kt82 val seq = 10 in testSendMotionToCrashingListenerDoesNotCrash() constant
83 mSender.sendInputEvent(seq, motionEvent) in testSendMotionToCrashingListenerDoesNotCrash()
88 assertEquals(SpyInputEventSender.FinishedSignal(seq, handled = false), finishedSignal) in testSendMotionToCrashingListenerDoesNotCrash()
DSpyInputEventSenderAndReceiver.kt54 data class FinishedSignal(val seq: Int, val handled: Boolean) constant in FinishedSignal
60 override fun onInputEventFinished(seq: Int, handled: Boolean) { in onInputEventFinished()
61 mFinishedSignals.put(FinishedSignal(seq, handled)) in onInputEventFinished()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp43 std::deque<DispatchEntry*>::iterator Connection::findWaitQueueEntry(uint32_t seq) { in findWaitQueueEntry() argument
45 if ((*it)->seq == seq) { in findWaitQueueEntry()
/frameworks/native/include/input/
DInputTransport.h82 uint32_t seq; member
352 status_t publishKeyEvent(uint32_t seq, int32_t eventId, int32_t deviceId, int32_t source,
365 status_t publishMotionEvent(uint32_t seq, int32_t eventId, int32_t deviceId, int32_t source,
383 status_t publishFocusEvent(uint32_t seq, int32_t eventId, bool hasFocus);
392 status_t publishCaptureEvent(uint32_t seq, int32_t eventId, bool pointerCaptureEnabled);
401 status_t publishDragEvent(uint32_t seq, int32_t eventId, float x, float y, bool isExiting);
410 status_t publishTouchModeEvent(uint32_t seq, int32_t eventId, bool isInTouchMode);
413 uint32_t seq; member
498 status_t sendFinishedSignal(uint32_t seq, bool handled);
630 uint32_t seq; // sequence number of batched input message member
[all …]
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_3Test.cpp87 InSequence seq; in TEST_F() local
110 InSequence seq; in TEST_F() local
126 InSequence seq; in TEST_F() local
140 InSequence seq; in TEST_F() local
154 InSequence seq; in TEST_F() local
168 InSequence seq; in TEST_F() local
191 InSequence seq; in TEST_F() local
212 InSequence seq; in TEST_F() local
251 InSequence seq; in TEST_F() local
276 InSequence seq; in TEST_F() local
[all …]
/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

12345