Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java290 Builder.SpeedRange s1 = in testSpeedRangeComparison_DifferentMin() local
294 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_DifferentMin()
295 assertTrue(s2.compareTo(s1) > 0); in testSpeedRangeComparison_DifferentMin()
299 Builder.SpeedRange s1 = in testSpeedRangeComparison_SameMin() local
303 assertEquals(0, s1.compareTo(s2)); in testSpeedRangeComparison_SameMin()
307 Builder.SpeedRange s1 = in testSpeedRangeComparison_SameMinDifferentMax() local
311 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_SameMinDifferentMax()
312 assertTrue(s2.compareTo(s1) > 0); in testSpeedRangeComparison_SameMinDifferentMax()
316 Builder.SpeedRange s1 = in testSpeedRangeComparison_MaxSpeed() local
320 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_MaxSpeed()
[all …]
/packages/modules/DnsResolver/
Dresolv_tls_unit_test.cpp759 bool isAddressEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in isAddressEqual() argument
760 bool cmp1 = ADDRESS_COMPARATOR(s1, s2); in isAddressEqual()
761 bool cmp2 = ADDRESS_COMPARATOR(s2, s1); in isAddressEqual()
766 void checkUnequal(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkUnequal() argument
767 EXPECT_TRUE(s1 == s1); in checkUnequal()
769 EXPECT_TRUE(isAddressEqual(s1, s1)); in checkUnequal()
772 EXPECT_TRUE(s1 < s2 ^ s2 < s1); in checkUnequal()
773 EXPECT_FALSE(s1 == s2); in checkUnequal()
774 EXPECT_FALSE(s2 == s1); in checkUnequal()
795 DnsTlsServer s1(V6ADDR1), s2(V6ADDR1); in TEST_F() local
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dunittest.h52 inline int StrCmp(const Ch* s1, const Ch* s2) { in StrCmp() argument
53 while(*s1 && (*s1 == *s2)) { s1++; s2++; } in StrCmp()
54 return (unsigned)*s1 < (unsigned)*s2 ? -1 : (unsigned)*s1 > (unsigned)*s2; in StrCmp()
/packages/apps/TV/src/com/android/tv/data/api/
DBaseProgram.java33 static int numberCompare(String s1, String s2) { in numberCompare() argument
34 if (Objects.equals(s1, s2)) { in numberCompare()
36 } else if (s1 == null) { in numberCompare()
40 } else if (s1.equals(s2)) { in numberCompare()
44 return Integer.compare(Integer.parseInt(s1), Integer.parseInt(s2)); in numberCompare()
46 return s1.compareTo(s2); in numberCompare()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java70 byte[] s1 = Hex.decodeHex(NameNormalizer.normalize(name1)); in assertFloat()
73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInterface.java102 void setNoiseEdgeText(String s1, String s2); in setNoiseEdgeText() argument
107 void setNoiseEdgeTextForReprocessing(String s1, String s2); in setNoiseEdgeTextForReprocessing() argument
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java226 private static int findCommonPrefixEnd(String s1, String s2) { in findCommonPrefixEnd() argument
229 final boolean s1End = (s1.length() <= i); in findCommonPrefixEnd()
234 if (s1.charAt(i) != s2.charAt(i)) { in findCommonPrefixEnd()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java250 String s1 = p1.path.getSuffix(); in compare() local
252 int len1 = s1.length(); in compare()
259 return s1.compareTo(s2); in compare()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp78 SitePointer s1, s2, s3; in build() local
111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build()
114 if (ccw(s1, s3, s2)) { in build()
121 if (ccw(s1, s2, s3)) { in build()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_MifStdFormat.cpp70 static int phFriNfc_MfStd_MemCompare(void* s1, void* s2, unsigned int n);
1325 static int phFriNfc_MfStd_MemCompare(void* s1, void* s2, unsigned int n) { in phFriNfc_MfStd_MemCompare() argument
1327 int8_t* char_1 = (int8_t*)s1; in phFriNfc_MfStd_MemCompare()
1329 if (NULL == s1 || NULL == s2) { in phFriNfc_MfStd_MemCompare()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java116 public int compare(String s1, String s2) { in insertNameLookup()
117 return s2.length() - s1.length(); in insertNameLookup()
/packages/services/Car/tools/ioanalyze/
Danalyzer.py58 s1 = set(l1)
60 return list(s1 | s2)
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt313 private fun assertSameContents(s1: InputStream, s2: InputStream) { in assertSameContents()
318 val read1 = s1.read(buffer1, 0, buffer1.size) in assertSameContents()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java34 (ContentRatingSystem s1, ContentRatingSystem s2) -> {
35 String name1 = s1.getDisplayName();
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationProvider.java54 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query() argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DInspectorProvider.java94 public Cursor queryChildDocuments(String s, String[] projection, String s1) in queryChildDocuments() argument
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1278 String s1 = p1.getLabel() == null ? null : p1.getLabel().toString(); in sortPhoneAccounts()
1280 return nullSafeStringComparator.compare(s1, s2); in sortPhoneAccounts()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar548 5�R%1����5N�ċ���f��nU�Ղ;mJ��I�E'��k-1n'��T8�q׎}��� 4'�ݎ�5hcÞWg9=�z�����[�*s1$u�= ��M��=…
1096 …>��H���(��Kdw��l0������A�{�*� ��G�U����p����{{�W�N�[�;X�ӥ1B�K�`eH?�j�� ���|s1 �y$����Ue�mԌ.$
3538 …Ӹ�(�[�WS�;;�#F�����չ-Բ�� �Q5�w�>�]d �����X���7���#����`��*�M^ �s1��c�������[�`�<��`�…
3638 …�ڑQLa���b6��z��`�I�qL �G�[�$u��V�L�Q��#��)�ds·͞��ڟ�s'p9�4�dbĀsӞ(,s1]��y��s��Ӣ(��*�#՗�p1I…
4158 …�%�7``�`y���FQ��M)$�L��`� ���+ȥq� �����(A�>���6F�����4�e�®J����ڀ$��s1*Yv�@7�=*1ol6�n2Gjx…
4321 …�Q%��t��ݾ��G��L��zW�߳ a�G4rb�3�!� ��Ns������/�c�����j9@�c2��2p:�z�9���s1��1�L�JFA�����%�O3��…
6342 …�@03������ҼQ�ʶz��"��<�wA�I�.Z��l��w�|U�OY�d��4�<��#�����?�}Q���^��s1���f?Ŵf�u-+C�h�ӌl��…
7214 �"�� q���F����<á�!Vc�01�A�P�a8��!��!�ܒ0;{�; ��,�����n�� c�dt��s1�w�r�Ӗ���D�?6�9=ϭ3vc�…
7367 …�ԓH̄�<`��Qw���Z�,����U.d eqӑ�h���?7��H%�����6 uq�~V�{����fly�����A��s1��=kQ�J�*z沓)���V�…
7378 …��<���bx�/��~�U�EkY��rBʧ ?"}>~WsK�k[f�`�Q�~����ׇ���A� �6�@�}�\߇�@���s1 �q�����ۘ���gR�|jA�…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts12193 …Q0�@ ơ����))���:�!h�TQ[����B+��@ �e#�:8p"h�;�{k>̹��#� F� iƜ�1 Y���1�s1.�s�'Ni���AQ{��…
18877 …�I��p�����~ͧ�!��tּ�ͅ7����U�����U�'�嵄~m��V:�^��;U����YNi�3�ky�31̌�)����s1�N3���V�<lю������M…
18934 …F��G�1<������2;�Q���h֜�:�oX?]9&~��_�aH�_���r�an���ޠ?s�(�����@��ﲎ���s1�ⷢ������o���V퇷t���…
30734 …"�.A���$�4CF?S�3��lm�� �Bcd�4q�۠�aF$?�-B��� Է5e"�{���f�)��C�|��r�s1�<e�j��ǹ����z������…
36017 …�r����|�|� �Y�ä�۝��B��gϞ�}Jڛek�����5��dN2W��ɣ��4�"�(Vi��<��J�V�n�r��!s1�m��+ß7N8%�K��qE%��…
41480 …�������������������������G�Q�I9�+�]��Yъ��Հ}�X�D��@v�"���po��#$�b�s1)�2�A�����#���f��…
41853 1�,x���w4�1�D���"E�7���� p�<,�y: �b�����_��n�h��)��(�H�>�s1'�����wp`�����|����,…
41884 �f$rȒ@]�� ���vk�f�-����d�4s1&�*&�"�3 E����f$���#tx�dݦb��܉G�1�����������������������������…
42477 …���������G�QQ���"�k�C�Q��q:&v�g"����;,�! s01.��`�O���0�90�xɒCN0��s1%��lvXx=��D�m9�Y�…
60820 …��������������������������������G�Q f����Cƙ[��UtH_��G�>��#@܃�V65�Ιmg�!�s1�F�l#@%�(�$��KT��!�…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...