/packages/modules/Media/apex/framework/java/android/media/ |
D | Controller2Link.java | 89 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 …]
|
D | Session2Link.java | 112 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 …]
|
D | MediaController2.java | 227 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 …]
|
D | MediaSession2.java | 350 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/ |
D | TextHighlighterTest.java | 43 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 …]
|
D | SpannedTestUtils.java | 56 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/ |
D | AudioJitterBufferTest.cpp | 139 uint32_t seq = 0; in TEST_F() local 149 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 153 EXPECT_EQ(seq, countGetFrame); in TEST_F() 169 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &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, ×tamp, &mark, &seq, getTime)) in TEST_F() 223 EXPECT_EQ(seq, getSeq); in TEST_F() 238 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 243 EXPECT_EQ(seq, getSeq); in TEST_F() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/list/ |
D | ContactListItemViewTest.java | 81 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/ |
D | StructXfrmUsersaInfo.java | 80 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()
|
D | StructXfrmReplayStateEsn.java | 68 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/ |
D | IMediaController2.aidl | 32 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
|
D | IMediaSession2.aidl | 33 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/ |
D | TextRendererNode.cpp | 99 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, ×tamp, &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()
|
D | TextRtpPayloadDecoderNode.cpp | 113 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/ |
D | sysdeps_win32_test.cpp | 142 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/ |
D | KeepalivePacketDataUtilTest.java | 66 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/ |
D | MockBaseNode.h | 48 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/ |
D | MediaQualityAnalyzer.cpp | 274 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/ |
D | TcpHeader.java | 53 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/ |
D | X509Utils.java | 94 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/ |
D | SuppressorHelper.java | 42 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/ |
D | fillsms | 136 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/ |
D | MediaQualityAnalyzer.h | 174 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/ |
D | BaseNode.h | 244 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/ |
D | LevenshteinSuggestionFormatter.kt | 91 fun tokenize(seq: String?): Array<Token?> { in tokenize() 93 val len: Int = seq!!.length in tokenize() 94 val chars = seq.toCharArray() in tokenize()
|