/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
D | TextHighlighterTest.java | 42 CharSequence seq = mTextHighlighter.applyPrefixHighlight("", ""); in testApply_EmptyPrefix() local 43 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix() 45 seq = mTextHighlighter.applyPrefixHighlight("test", ""); in testApply_EmptyPrefix() 46 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix() 52 CharSequence seq = mTextHighlighter.applyPrefixHighlight("test", prefix); in testSetText_MatchingPrefix() local 53 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix() 55 seq = mTextHighlighter.applyPrefixHighlight("Test", prefix); in testSetText_MatchingPrefix() 56 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix() 58 seq = mTextHighlighter.applyPrefixHighlight("TEst", prefix); in testSetText_MatchingPrefix() 59 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/apps/Contacts/tests/src/com/android/contacts/list/ |
D | ContactListItemViewTest.java | 80 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefix() local 81 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefix() 82 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix() 85 assertFalse("John Doe".equals(seq)); in testShowDisplayName_WithPrefix() 95 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefixReversed() local 96 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefixReversed() 97 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed() 105 CharSequence seq = view.getSnippetView().getText(); in testSetSnippet_Prefix() local 107 assertEquals("This is a test", seq.toString()); in testSetSnippet_Prefix() 108 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 65 final int seq = 0x11111111; in testFromTcpKeepaliveStableParcelable() local 77 testInfo.seq = seq; in testFromTcpKeepaliveStableParcelable() 93 assertEquals(testInfo.seq, resultData.tcpSeq); in testFromTcpKeepaliveStableParcelable() 125 assertEquals(buf.getInt(), seq); in testFromTcpKeepaliveStableParcelable() local 150 testInfo.seq = sequence; in testToTcpKeepaliveStableParcelable() 164 assertEquals(resultData.seq, sequence); in testToTcpKeepaliveStableParcelable() 193 testParcel.seq = sequence; in testParseTcpKeepalivePacketData()
|
/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/apps/Messaging/tools/messagegen/ |
D | fillsms | 134 for k in `seq 1 $words`; 174 for i in `seq 1 $num_of_threads`; 201 for j in `seq 1 $sms_per_thread`; 214 for j in `seq 1 $mms_per_thread`;
|
/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/modules/DnsResolver/ |
D | PrivateDnsConfigurationTest.cpp | 142 testing::InSequence seq; in TEST_F() local 155 testing::InSequence seq; in TEST_F() local 171 testing::InSequence seq; in TEST_F() local 206 testing::InSequence seq; in TEST_F() local 250 testing::InSequence seq; in TEST_F() local 313 testing::InSequence seq; in TEST_F() local
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/ |
D | KeepalivePacketDataUtil.java | 83 parcel.seq = pkt.getTcpSeq(); in toStableParcelable() 114 tcpDetails.seq, tcpDetails.ack, tcpDetails.rcvWnd, tcpDetails.rcvWndScale, in fromStableParcelable() 143 buf.putInt(tcpDetails.seq); // Sequence Number in buildV4Packet() 213 p.seq = tcpSeq; in parseTcpKeepalivePacketData()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | LevenshteinSuggestionFormatter.java | 99 Token[] tokenize(final String seq) { in tokenize() argument 101 final int len = seq.length(); in tokenize() 102 final char[] chars = seq.toCharArray(); in tokenize()
|
/packages/providers/MediaProvider/tests/res/raw/ |
D | test_wpl.wpl | 12 <seq> 18 </seq>
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 178 tcpDetails.seq = Os.getsockoptInt(fd, IPPROTO_TCP, TCP_QUEUE_SEQ); in switchToRepairMode() 220 tcpDetails.seq = tcpDetails.seq - 1; in switchToRepairMode()
|
/packages/modules/NeuralNetworks/tools/ |
D | build_and_run_benchmark.sh | 72 for i in $(seq 1 $NUMBER_RUNS); do 89 for i in $(seq 1 $NUMBER_RUNS); do
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DataManager.java | 203 String[] seq = Path.splitSequence(segment); in getMediaSetsFromString() local 204 int n = seq.length; in getMediaSetsFromString() 207 sets[i] = getMediaSet(seq[i]); in getMediaSetsFromString()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 593 for (int seq = 1; seq <= sequenceNumber; seq++) { in receiveWithSequence() 596 assertEquals(seq, sequenceNumberFn.applyAsInt(obj)); in receiveWithSequence()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 1048 public final int seq; field in ApfFilter.TcpKeepaliveAck.TcpKeepaliveAckData 1057 seq = sentKeepalivePacket.ack; in TcpKeepaliveAckData() 1058 ack = sentKeepalivePacket.seq + 1; in TcpKeepaliveAckData() 1070 mPacket.dstPort, mPacket.seq, mPacket.ack); in TcpKeepaliveAck() 1073 static byte[] generatePortSeqAckFingerprint(int srcPort, int dstPort, int seq, int ack) { in generatePortSeqAckFingerprint() argument 1078 fp.putInt(seq); in generatePortSeqAckFingerprint() 1090 Integer.toUnsignedLong(mPacket.seq), in toString()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 7 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 7 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 7 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 25 int seq;
|