/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/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 | 1047 public final int seq; field in ApfFilter.TcpKeepaliveAck.TcpKeepaliveAckData 1056 seq = sentKeepalivePacket.ack; in TcpKeepaliveAckData() 1057 ack = sentKeepalivePacket.seq + 1; in TcpKeepaliveAckData() 1069 mPacket.dstPort, mPacket.seq, mPacket.ack); in TcpKeepaliveAck() 1072 static byte[] generatePortSeqAckFingerprint(int srcPort, int dstPort, int seq, int ack) { in generatePortSeqAckFingerprint() argument 1077 fp.putInt(seq); in generatePortSeqAckFingerprint() 1089 Integer.toUnsignedLong(mPacket.seq), in toString()
|
/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/7/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 int seq;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/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/2/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/src/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 24 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/apps/Browser2/ |
D | run_startup_time_test.sh | 25 for i in $(seq 1 100); do
|
/packages/apps/TV/tests/input/tools/ |
D | get_test_logos.sh | 49 for n in `seq 1 80`;
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1598 parcel.seq = seqNum; in testApfFilterKeepaliveAck() 1637 ipv6Parcel.seq = seqNum; in testApfFilterKeepaliveAck() 1723 int dport, int seq, int ack, int dataLength) { in ipv4TcpPacket() argument 1736 packet.putInt(IPV4_TCP_SEQ_NUM_OFFSET, seq); in ipv4TcpPacket() 1747 int dport, int seq, int ack) { in ipv6TcpPacket() argument 1755 packet.putInt(IPV6_TCP_SEQ_NUM_OFFSET, seq); in ipv6TcpPacket()
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | legacy_contacts.sql | 66 CREATE TABLE sqlite_sequence(name,seq); field
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | legacy_contacts.sql | 96 CREATE TABLE sqlite_sequence(name,seq); field
|