Home
last modified time | relevance | path

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

12345

/packages/modules/Media/apex/framework/java/android/media/
DController2Link.java89 public void notifyConnected(int seq, Bundle connectionResult) { in notifyConnected() argument
91 mIController.notifyConnected(seq, connectionResult); in notifyConnected()
98 public void notifyDisconnected(int seq) { in notifyDisconnected() argument
100 mIController.notifyDisconnected(seq); in notifyDisconnected()
107 public void notifyPlaybackActiveChanged(int seq, boolean playbackActive) { in notifyPlaybackActiveChanged() argument
109 mIController.notifyPlaybackActiveChanged(seq, playbackActive); in notifyPlaybackActiveChanged()
116 public void sendSessionCommand(int seq, Session2Command command, Bundle args, in sendSessionCommand() argument
119 mIController.sendSessionCommand(seq, command, args, resultReceiver); in sendSessionCommand()
126 public void cancelSessionCommand(int seq) { in cancelSessionCommand() argument
128 mIController.cancelSessionCommand(seq); in cancelSessionCommand()
[all …]
DSession2Link.java112 public void connect(final Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
114 mISession.connect(caller, seq, connectionRequest); in connect()
121 public void disconnect(final Controller2Link caller, int seq) { in disconnect() argument
123 mISession.disconnect(caller, seq); in disconnect()
130 public void sendSessionCommand(final Controller2Link caller, final int seq, in sendSessionCommand() argument
133 mISession.sendSessionCommand(caller, seq, command, args, resultReceiver); in sendSessionCommand()
140 public void cancelSessionCommand(final Controller2Link caller, final int seq) { in cancelSessionCommand() argument
142 mISession.cancelSessionCommand(caller, seq); in cancelSessionCommand()
149 public void onConnect(final Controller2Link caller, int pid, int uid, int seq, in onConnect() argument
151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect()
[all …]
DMediaController2.java227 int seq = getNextSeqNumber(); in sendSessionCommand() local
228 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()
230 mSessionBinder.sendSessionCommand(mControllerStub, seq, command, args, in sendSessionCommand()
252 Integer seq = mPendingCommands.remove(token); in cancelSessionCommand()
253 if (seq != null) { in cancelSessionCommand()
254 mSessionBinder.cancelSessionCommand(mControllerStub, seq); in cancelSessionCommand()
260 void onConnected(int seq, Bundle connectionResult) { in onConnected() argument
301 void onDisconnected(int seq) { in onDisconnected() argument
307 void onPlaybackActiveChanged(int seq, boolean playbackActive) { in onPlaybackActiveChanged() argument
317 void onSessionCommand(int seq, Session2Command command, Bundle args, in onSessionCommand() argument
[all …]
DMediaSession2.java350 void onConnect(final Controller2Link controller, int callingPid, int callingUid, int seq, in onConnect() argument
439 void onDisconnect(@NonNull final Controller2Link controller, int seq) { in onDisconnect() argument
453 void onSessionCommand(@NonNull final Controller2Link controller, final int seq, in onSessionCommand() argument
469 controllerInfo.addRequestedCommandSeqNumber(seq); in onSessionCommand()
472 if (!controllerInfo.removeRequestedCommandSeqNumber(seq)) { in onSessionCommand()
491 void onCancelCommand(@NonNull final Controller2Link controller, final int seq) { in onCancelCommand() argument
499 controllerInfo.removeRequestedCommandSeqNumber(seq); in onCancelCommand()
792 int seq = getNextSeqNumber(); in sendSessionCommand() local
794 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()
796 mControllerBinder.sendSessionCommand(seq, command, args, resultReceiver); in sendSessionCommand()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/format/
DTextHighlighterTest.java43 CharSequence seq = mTextHighlighter.applyPrefixHighlight("", ""); in testApply_EmptyPrefix() local
44 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix()
46 seq = mTextHighlighter.applyPrefixHighlight("test", ""); in testApply_EmptyPrefix()
47 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix()
53 CharSequence seq = mTextHighlighter.applyPrefixHighlight("test", prefix); in testSetText_MatchingPrefix() local
54 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
56 seq = mTextHighlighter.applyPrefixHighlight("Test", prefix); in testSetText_MatchingPrefix()
57 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
59 seq = mTextHighlighter.applyPrefixHighlight("TEst", prefix); in testSetText_MatchingPrefix()
60 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
[all …]
DSpannedTestUtils.java56 public static void assertPrefixSpan(CharSequence seq, int start, int end) { in assertPrefixSpan() argument
57 Assert.assertTrue(seq instanceof Spanned); in assertPrefixSpan()
58 Spanned spannable = (Spanned) seq; in assertPrefixSpan()
78 public static void assertNotSpanned(CharSequence seq, String expected) { in assertNotSpanned() argument
79 Assert.assertFalse(seq instanceof Spanned); in assertNotSpanned()
80 Assert.assertEquals(expected, seq); in assertNotSpanned()
83 public static int getNextTransition(SpannableString seq, int start) { in getNextTransition() argument
84 return seq.nextSpanTransition(start, seq.length(), StyleSpan.class); in getNextTransition()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBufferTest.cpp139 uint32_t seq = 0; in TEST_F() local
149 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
153 EXPECT_EQ(seq, countGetFrame); in TEST_F()
169 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
173 EXPECT_EQ(seq, countGetFrame); in TEST_F()
203 uint32_t seq = 0; in TEST_F() local
218 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
223 EXPECT_EQ(seq, getSeq); in TEST_F()
238 if (mJitterBuffer->Get(&subtype, &data, &size, &timestamp, &mark, &seq, getTime)) in TEST_F()
243 EXPECT_EQ(seq, getSeq); in TEST_F()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/list/
DContactListItemViewTest.java81 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefix() local
82 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefix()
83 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix()
86 assertFalse("John Doe".equals(seq)); in testShowDisplayName_WithPrefix()
96 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefixReversed() local
97 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefixReversed()
98 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed()
106 CharSequence seq = view.getSnippetView().getText(); in testSetSnippet_Prefix() local
108 assertEquals("This is a test", seq.toString()); in testSetSnippet_Prefix()
109 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/
DStructXfrmUsersaInfo.java80 public final long seq; field in StructXfrmUsersaInfo
100 long seq, in StructXfrmUsersaInfo() argument
107 this.seq = seq; in StructXfrmUsersaInfo()
133 long seq, in StructXfrmUsersaInfo() argument
139 this.seq = seq; in StructXfrmUsersaInfo()
173 long seq, in StructXfrmUsersaInfo() argument
188 seq, in StructXfrmUsersaInfo()
DStructXfrmReplayStateEsn.java68 long seq, in StructXfrmReplayStateEsn() argument
75 bmpLen, oSeq, seq, oSeqHi, seqHi, replayWindow); in StructXfrmReplayStateEsn()
139 return getSequenceNumber(mWithoutBitmap.seqHi, mWithoutBitmap.seq); in getRxSequenceNumber()
166 public final long seq; field in StructXfrmReplayStateEsn.StructXfrmReplayStateEsnWithoutBitmap
180 long bmpLen, long oSeq, long seq, long oSeqHi, long seqHi, long replayWindow) { in StructXfrmReplayStateEsnWithoutBitmap() argument
183 this.seq = seq; in StructXfrmReplayStateEsnWithoutBitmap()
/packages/modules/Media/apex/aidl/private/android/media/
DIMediaController2.aidl32 void notifyConnected(int seq, in Bundle connectionResult) = 0; in notifyConnected() argument
33 void notifyDisconnected(int seq) = 1; in notifyDisconnected() argument
34 void notifyPlaybackActiveChanged(int seq, boolean playbackActive) = 2; in notifyPlaybackActiveChanged() argument
35 void sendSessionCommand(int seq, in Session2Command command, in Bundle args, in sendSessionCommand() argument
37 void cancelSessionCommand(int seq) = 4; in cancelSessionCommand() argument
DIMediaSession2.aidl33 void connect(in Controller2Link caller, int seq, in Bundle connectionRequest) = 0; in connect() argument
34 void disconnect(in Controller2Link caller, int seq) = 1; in disconnect() argument
35 void sendSessionCommand(in Controller2Link caller, int seq, in Session2Command sessionCommand, in sendSessionCommand() argument
37 void cancelSessionCommand(in Controller2Link caller, int seq) = 3; in cancelSessionCommand() argument
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRendererNode.cpp99 uint32_t timestamp, bool mark, uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
110 subtype, data, size, timestamp, mark, seq, dataType, arrivalTime); in OnDataFromFrontNode()
119 uint32_t seq; in ProcessData() local
124 while (GetData(&subtype, &data, &size, &timestamp, &mark, &seq, &dataType)) in ProcessData()
128 mark, seq, mLastPlayedSeq); in ProcessData()
133 uint16_t seqDiff = (uint16_t)seq - mLastPlayedSeq; in ProcessData()
206 mLastPlayedSeq = (uint16_t)seq; in ProcessData()
DTextRtpPayloadDecoderNode.cpp113 uint32_t timestamp, bool mark, uint32_t seq) in DecodeT140() argument
117 timestamp, mark, seq); in DecodeT140()
141 SendDataToRearNode(MEDIASUBTYPE_BITSTREAM_T140, data, size, timestamp, mark, seq); in DecodeT140()
174 uint16_t redundantSeqNum = seq - redundantCount; in DecodeT140()
193 MEDIASUBTYPE_BITSTREAM_T140, mPayload, (size - readByte), timestamp, mark, seq); in DecodeT140()
/packages/modules/adb/
Dsysdeps_win32_test.cpp142 for (const auto& seq : multi_byte_sequences) { in TEST() local
146 for (size_t i = 0; i < seq.size() - 1; ++i) { in TEST()
147 buffer.push_back(seq[i]); in TEST()
153 std::vector<char>(seq.begin(), seq.begin() + i + 1)); in TEST()
157 buffer.push_back(seq.back()); in TEST()
/packages/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java66 final int seq = 0x11111111; in testFromTcpKeepaliveStableParcelable() local
78 testInfo.seq = seq; in testFromTcpKeepaliveStableParcelable()
94 assertEquals(testInfo.seq, resultData.tcpSeq); in testFromTcpKeepaliveStableParcelable()
126 assertEquals(buf.getInt(), seq); in testFromTcpKeepaliveStableParcelable() local
151 testInfo.seq = sequence; in testToTcpKeepaliveStableParcelable()
165 assertEquals(resultData.seq, sequence); in testToTcpKeepaliveStableParcelable()
188 testParcel.seq = sequence; in testParseTcpKeepalivePacketData()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/include/
DMockBaseNode.h48 bool* mark, uint32_t* seq, ImsMediaSubType* dataType, uint32_t* arrivalTime),
53 uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime),
57 uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime),
65 uint32_t timestamp, bool mark, uint32_t seq, in DelegateToFake()
71 seq, dataType, arrivalTime); in DelegateToFake()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzer.cpp274 const int32_t optionType, const int32_t seq, const int32_t value) in collectOptionalInfo() argument
299 LostPacket* entry = new LostPacket(seq, value, ImsMediaTimer::GetTimeInMilliSeconds()); in collectOptionalInfo()
316 "[collectOptionalInfo] lost packet seq[%d], value[%d], list size[%d]", seq, value, in collectOptionalInfo()
334 const int32_t seq, const kRtpPacketStatus status, const uint32_t time) in collectRxRtpStatus() argument
348 if (packet->seqNum == seq) in collectRxRtpStatus()
354 seq, packet->status, delay); in collectRxRtpStatus()
377 IMLOGW1("[collectRxRtpStatus] no rtp packet found seq[%d]", seq); in collectRxRtpStatus()
405 mBeginSeq = seq; in collectRxRtpStatus()
406 mEndSeq = seq; in collectRxRtpStatus()
410 if (USHORT_SEQ_ROUND_COMPARE(seq, mEndSeq)) in collectRxRtpStatus()
[all …]
/packages/modules/Connectivity/staticlibs/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()
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/vm_attestation/util/
DX509Utils.java94 ASN1Sequence seq = ASN1Sequence.getInstance(extString.getOctets()); in verifyAvfAttestationExtension() local
108 assertThat(seq).hasSize(3); in verifyAvfAttestationExtension()
111 assertThat(seq.getObjectAt(0)).isEqualTo(expectedChallenge); in verifyAvfAttestationExtension()
113 .that(seq.getObjectAt(1)) in verifyAvfAttestationExtension()
115 ASN1Sequence vmComponents = ASN1Sequence.getInstance(seq.getObjectAt(2)); in verifyAvfAttestationExtension()
/packages/apps/Settings/src/com/android/settings/notification/
DSuppressorHelper.java42 final CharSequence seq = info.loadLabel(pm); in getSuppressorCaption() local
43 if (seq != null) { in getSuppressorCaption()
44 final String str = seq.toString().trim(); in getSuppressorCaption()
/packages/apps/Messaging/tools/messagegen/
Dfillsms136 for k in `seq 1 $words`;
182 for i in `seq 1 $num_of_threads`;
210 for j in `seq 1 $sms_per_thread`;
223 for j in `seq 1 $mms_per_thread`;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DMediaQualityAnalyzer.h174 void collectOptionalInfo(const int32_t optionType, const int32_t seq, const int32_t value);
183 void collectRxRtpStatus(const int32_t seq, const kRtpPacketStatus status, const uint32_t time);
260 void clearPacketList(std::list<RtpPacket*>& list, const int32_t seq);
261 void clearLostPacketList(const int32_t seq);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DBaseNode.h244 uint32_t* timestamp, bool* mark, uint32_t* seq, ImsMediaSubType* dataType = nullptr,
262 virtual void AddData(uint8_t* data, uint32_t size, uint32_t timestamp, bool mark, uint32_t seq,
287 uint32_t timestamp, bool mark, uint32_t seq,
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.kt91 fun tokenize(seq: String?): Array<Token?> { in tokenize()
93 val len: Int = seq!!.length in tokenize()
94 val chars = seq.toCharArray() in tokenize()

12345