/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/ |
D | oi_string.h | 61 #define OI_MemCmp(s1, s2, n) memcmp((s1), (s2), (n)) argument 65 #define OI_Strcmp(s1, s2) strcmp((s1), (s2)) argument 66 #define OI_Strncmp(s1, s2, n) strncmp((s1), (s2), (n)) argument 103 OI_INT OI_MemCmp(void const* s1, void const* s2, uint32_t n); 141 OI_INT OI_Strcmp(OI_CHAR const* s1, OI_CHAR const* s2); 153 OI_INT OI_Strncmp(OI_CHAR const* s1, OI_CHAR const* s2, uint32_t len); 169 OI_INT OI_StrcmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2); 184 OI_INT OI_StrncmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2, OI_UINT len);
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | StaticIpConfigurationTest.java | 103 StaticIpConfiguration s2 = new StaticIpConfiguration(s1); in testCopyAndClear() local 104 assertEquals(s1, s2); in testCopyAndClear() 105 s2.clear(); in testCopyAndClear() 106 assertEquals(empty, s2); in testCopyAndClear() 139 StaticIpConfiguration s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals() local 140 assertEquals(s, s2); in testHashCodeAndEquals() 143 assertNotEquals(s, s2); in testHashCodeAndEquals() 145 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals() 147 assertNotEquals(s, s2); in testHashCodeAndEquals() 149 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals() [all …]
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 764 bool isAddressEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in isAddressEqual() argument 765 bool cmp1 = ADDRESS_COMPARATOR(s1, s2); in isAddressEqual() 766 bool cmp2 = ADDRESS_COMPARATOR(s2, s1); in isAddressEqual() 771 void checkUnequal(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkUnequal() argument 773 EXPECT_TRUE(s2 == s2); in checkUnequal() 775 EXPECT_TRUE(isAddressEqual(s2, s2)); in checkUnequal() 777 EXPECT_TRUE(s1 < s2 ^ s2 < s1); in checkUnequal() 778 EXPECT_FALSE(s1 == s2); in checkUnequal() 779 EXPECT_FALSE(s2 == s1); in checkUnequal() 782 void checkEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkEqual() argument [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 257 Builder.SpeedRange s2 = in testSpeedRangeComparison_DifferentMin() local 259 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_DifferentMin() 260 assertThat(s2.compareTo(s1)).isGreaterThan(0); in testSpeedRangeComparison_DifferentMin() 267 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMin() local 269 assertThat(s1.compareTo(s2)).isEqualTo(0); in testSpeedRangeComparison_SameMin() 276 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMinDifferentMax() local 278 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_SameMinDifferentMax() 279 assertThat(s2.compareTo(s1)).isGreaterThan(0); in testSpeedRangeComparison_SameMinDifferentMax() 286 Builder.SpeedRange s2 = in testSpeedRangeComparison_MaxSpeed() local 288 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_MaxSpeed() [all …]
|
/packages/apps/TV/src/com/android/tv/data/api/ |
D | BaseProgram.java | 33 static int numberCompare(String s1, String s2) { in numberCompare() argument 34 if (Objects.equals(s1, s2)) { in numberCompare() 38 } else if (s2 == 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/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | UidRangeUtilsTest.java | 51 @Nullable final Set<UidRange> s2) { in assertInSameRange() argument 52 assertTrue(msg + " : " + s2 + " unexpectedly is not in range of " + r1, in assertInSameRange() 53 UidRangeUtils.isRangeSetInUidRange(r1, s2)); in assertInSameRange() 57 @Nullable final UidRange r1, @Nullable final Set<UidRange> s2) { in assertNotInSameRange() argument 58 assertFalse(msg + " : " + s2 + " unexpectedly is in range of " + r1, in assertNotInSameRange() 59 UidRangeUtils.isRangeSetInUidRange(r1, s2)); in assertNotInSameRange() 195 @Nullable final Set<UidRange> s2) { in assertRangeOverlaps() argument 196 assertTrue(msg + " : " + s2 + " unexpectedly does not overlap with " + s1, in assertRangeOverlaps() 197 UidRangeUtils.doesRangeSetOverlap(s1, s2)); in assertRangeOverlaps() 201 @Nullable final Set<UidRange> s1, @Nullable final Set<UidRange> s2) { in assertRangeDoesNotOverlap() argument [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | unittest.h | 52 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/modules/Connectivity/tests/common/java/android/net/ |
D | UidRangeTest.java | 123 @Nullable final Set<UidRange> s2) { 124 assertTrue(msg + " : " + s1 + " unexpectedly different from " + s2, 125 UidRange.hasSameUids(s1, s2)); 129 @Nullable final Set<UidRange> s1, @Nullable final Set<UidRange> s2) { 130 assertFalse(msg + " : " + s1 + " unexpectedly equal to " + s2, 131 UidRange.hasSameUids(s1, s2));
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/ |
D | TzS2Range.java | 19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString; 21 import com.android.timezone.location.storage.s2.S2CellOrdering; 22 import com.android.timezone.location.storage.s2.S2LevelRange; 23 import com.android.timezone.location.storage.s2.S2Support;
|
D | SuffixTableRange.java | 19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString; 21 import com.android.timezone.location.storage.s2.S2CellOrdering; 22 import com.android.timezone.location.storage.s2.S2LevelRange;
|
D | TzS2RangeFileFormat.java | 19 import static com.android.timezone.location.storage.s2.S2Support.FACE_BIT_COUNT; 20 import static com.android.timezone.location.storage.s2.S2Support.MAX_FACE_ID; 21 import static com.android.timezone.location.storage.s2.S2Support.MAX_S2_LEVEL; 23 import com.android.timezone.location.storage.s2.S2Support;
|
/packages/modules/Bluetooth/system/stack/crypto_toolbox/ |
D | aes.cc | 612 uint_8t s2[N_BLOCK]; 613 mix_sub_columns(s2, s1); 614 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK); 660 uint_8t s2[N_BLOCK]; 661 copy_and_key(s2, s1, ctx->ksch + r * N_BLOCK); 662 inv_mix_sub_columns(s1, s2); 732 uint_8t s2[N_BLOCK]; 733 mix_sub_columns(s2, s1); 735 copy_and_key(s1, s2, o_key); 787 uint_8t s2[N_BLOCK]; [all …]
|
/packages/modules/Bluetooth/system/gd/crypto_toolbox/ |
D | aes.cc | 559 uint_8t s2[N_BLOCK]; 560 mix_sub_columns(s2, s1); 561 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK); 605 uint_8t s2[N_BLOCK]; 606 copy_and_key(s2, s1, ctx->ksch + r * N_BLOCK); 607 inv_mix_sub_columns(s1, s2); 677 uint_8t s2[N_BLOCK]; 678 mix_sub_columns(s2, s1); 680 copy_and_key(s1, s2, o_key); 733 uint_8t s2[N_BLOCK]; [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.cpp | 1549 bool EqualsTo(const DimensionsValue& s1, const DimensionsValue& s2) { in EqualsTo() argument 1550 if (s1.field() != s2.field()) { in EqualsTo() 1553 if (s1.value_case() != s2.value_case()) { in EqualsTo() 1558 return (s1.value_str() == s2.value_str()); in EqualsTo() 1560 return s1.value_int() == s2.value_int(); in EqualsTo() 1562 return s1.value_long() == s2.value_long(); in EqualsTo() 1564 return s1.value_bool() == s2.value_bool(); in EqualsTo() 1566 return s1.value_float() == s2.value_float(); in EqualsTo() 1569 s2.value_tuple().dimensions_value_size()) { in EqualsTo() 1575 s2.value_tuple().dimensions_value(i)); in EqualsTo() [all …]
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/s2/ |
D | S2CellOrdering.java | 17 package com.android.timezone.location.storage.s2; 19 import static com.android.timezone.location.storage.s2.S2Support.getMaxCellId; 20 import static com.android.timezone.location.storage.s2.S2Support.getMinCellId;
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/s2/ |
D | S2CellOrderingTest.java | 17 package com.android.timezone.location.storage.s2; 19 import static com.android.timezone.location.storage.s2.S2CellOrdering.asUnsignedNumeric; 20 import static com.android.timezone.location.storage.s2.S2Support.MAX_FACE_ID;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanDetailCacheTest.java | 71 ScanDetail s2 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_2, in testGetMostRecentScanResult() local 81 mScanDetailCache.put(s2); in testGetMostRecentScanResult() 91 assertEquals(s2, mScanDetailCache.getScanDetail(TEST_BSSID_2)); in testGetMostRecentScanResult()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.cpp | 308 bool LessThan(const vector<FieldValue>& s1, const vector<FieldValue>& s2) { in LessThan() argument 309 if (s1.size() != s2.size()) { in LessThan() 310 return s1.size() < s2.size(); in LessThan() 315 if (s1[i] != s2[i]) { in LessThan() 316 return s1[i] < s2[i]; in LessThan()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDraw.java | 203 float s2 = size / 2; in draw() local 204 float step = s2 / 8; in draw() 208 canvas.drawBitmap(brush, mPosition[0] - s2, mPosition[1] - s2, paint); in draw()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | concat_float16_2.mod.py | 33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 34 [x + s1 for x in range(s2)])()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | concat_float_2.mod.py | 33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 34 [x + s1 for x in range(s2)])()
|
D | concat_quant8_2.mod.py | 33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 34 [(x + s1) % 256 for x in range(s2)])()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | concat_float_2_relaxed.mod.py | 34 input2_values = (lambda s1 = row1 * col, s2 = row2 * col: 35 [x + s1 for x in range(s2)])()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistanceTest.java | 71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat() 73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraInterface.java | 102 void setNoiseEdgeText(String s1, String s2); in setNoiseEdgeText() argument 107 void setNoiseEdgeTextForReprocessing(String s1, String s2); in setNoiseEdgeTextForReprocessing() argument
|