/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/util/ |
D | BundleUtil.java | 42 public static boolean deepEquals(@Nullable Bundle one, @Nullable Bundle two) { in deepEquals() argument 43 if (one == null && two == null) { in deepEquals() 46 if (one == null || two == null) { in deepEquals() 49 if (one.size() != two.size()) { in deepEquals() 52 if (!one.keySet().equals(two.keySet())) { in deepEquals() 58 if (!bundleValueEquals(one.get(key), two.get(key))) { in deepEquals() 70 private static boolean bundleValueEquals(@Nullable Object one, @Nullable Object two) { in bundleValueEquals() argument 71 if (one == null && two == null) { in bundleValueEquals() 74 if (one == null || two == null) { in bundleValueEquals() 77 if (one.equals(two)) { in bundleValueEquals() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/ |
D | TelephonyTimeZoneSuggestionTest.java | 50 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() local 51 assertEquals(one, two); in testEquals() 52 assertEquals(two, one); in testEquals() 69 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() local 70 assertNotEquals(one, two); in testEquals() 78 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() local 79 assertNotEquals(one, two); in testEquals() 85 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() local 86 assertEquals(one, two); in testEquals() 93 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() local [all …]
|
D | ManualTimeZoneSuggestionTest.java | 44 ManualTimeZoneSuggestion two = new ManualTimeZoneSuggestion(ARBITRARY_ZONE_ID1); in testEquals() local 45 assertEquals(one, two); in testEquals() 46 assertEquals(two, one); in testEquals() 54 two.addDebugInfo("Debug info 2"); in testEquals() 55 assertEquals(one, two); in testEquals()
|
/frameworks/base/core/tests/coretests/src/android/app/time/ |
D | TimeZoneCapabilitiesTest.java | 55 TimeZoneCapabilities two = builder2.build(); in testEquals() local 56 assertEquals(one, two); in testEquals() 62 TimeZoneCapabilities two = builder2.build(); in testEquals() local 63 assertNotEquals(one, two); in testEquals() 69 TimeZoneCapabilities two = builder2.build(); in testEquals() local 70 assertEquals(one, two); in testEquals() 76 TimeZoneCapabilities two = builder2.build(); in testEquals() local 77 assertNotEquals(one, two); in testEquals() 83 TimeZoneCapabilities two = builder2.build(); in testEquals() local 84 assertEquals(one, two); in testEquals() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/timedetector/ |
D | TelephonyTimeSuggestionTest.java | 43 TelephonyTimeSuggestion two = builder2.build(); in testEquals() local 44 assertEquals(one, two); in testEquals() 45 assertEquals(two, one); in testEquals() 57 TelephonyTimeSuggestion two = builder2.build(); in testEquals() local 58 assertEquals(one, two); in testEquals() 59 assertEquals(two, one); in testEquals() 77 TelephonyTimeSuggestion two = builder2.build(); in testEquals() local 78 assertEquals(one, two); in testEquals()
|
D | ManualTimeSuggestionTest.java | 39 ManualTimeSuggestion two = new ManualTimeSuggestion(ARBITRARY_TIME); in testEquals() local 40 assertEquals(one, two); in testEquals() 41 assertEquals(two, one); in testEquals() 52 two.addDebugInfo("Debug info 2"); in testEquals() 53 assertEquals(one, two); in testEquals()
|
D | GnssTimeSuggestionTest.java | 39 GnssTimeSuggestion two = new GnssTimeSuggestion(ARBITRARY_TIME); in testEquals() local 40 assertEquals(one, two); in testEquals() 41 assertEquals(two, one); in testEquals() 52 two.addDebugInfo("Debug info 2"); in testEquals() 53 assertEquals(one, two); in testEquals()
|
D | NetworkTimeSuggestionTest.java | 39 NetworkTimeSuggestion two = new NetworkTimeSuggestion(ARBITRARY_TIME); in testEquals() local 40 assertEquals(one, two); in testEquals() 41 assertEquals(two, one); in testEquals() 52 two.addDebugInfo("Debug info 2"); in testEquals() 53 assertEquals(one, two); in testEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
D | GeolocationTimeZoneSuggestionTest.java | 40 GeolocationTimeZoneSuggestion two = new GeolocationTimeZoneSuggestion(ARBITRARY_ZONE_IDS1); in testEquals() local 41 assertEquals(one, two); in testEquals() 42 assertEquals(two, one); in testEquals() 56 two.addDebugInfo("Debug info 2"); in testEquals() 57 assertEquals(one, two); in testEquals()
|
/frameworks/compile/mclinker/unittests/ |
D | RTLinearAllocatorTest.h | 38 Data() : one(1), two(2), three(3), four(4) {} in Data() 45 two = pTwo; in Data() 52 two = -2; in ~Data() 58 unsigned int two; member
|
D | LinearAllocatorTest.h | 25 Data() : one(1), two(2), three(3), four(4) {} in Data() 32 two = pTwo; in Data() 39 two = -2; in ~Data() 45 unsigned int two; member
|
D | RTLinearAllocatorTest.cpp | 63 ASSERT_TRUE(2 == pointer->two); in TEST_F() 74 ASSERT_TRUE(7 == pointer->two); in TEST_F() 83 ASSERT_TRUE(2 == pointer->two); in TEST_F() 94 ASSERT_TRUE(7 == pointer->two); in TEST_F()
|
D | LinearAllocatorTest.cpp | 62 ASSERT_TRUE(2 == pointer->two); in TEST_F() 73 ASSERT_TRUE(7 == pointer->two); in TEST_F() 82 ASSERT_TRUE(2 == pointer->two); in TEST_F() 93 ASSERT_TRUE(7 == pointer->two); in TEST_F()
|
/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/util/ |
D | BundleUtilTest.java | 50 Bundle two = new Bundle(); in testDeepEquals_simple() local 51 two.putString("a", "a"); in testDeepEquals_simple() 53 assertThat(one).isNotEqualTo(two); in testDeepEquals_simple() 54 assertThat(BundleUtil.deepEquals(one, two)).isTrue(); in testDeepEquals_simple() 62 Bundle two = new Bundle(); in testDeepEquals_keyMismatch() local 63 two.putString("a", "a"); in testDeepEquals_keyMismatch() 64 two.putString("b", "b"); in testDeepEquals_keyMismatch() 65 assertThat(BundleUtil.deepEquals(one, two)).isFalse(); in testDeepEquals_keyMismatch() 96 Bundle two = new Bundle(); in testDeepEquals_nestedNotEquals() local 97 two.putBundle("b", one); in testDeepEquals_nestedNotEquals() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/timezone/ |
D | DistroRulesVersionTest.java | 40 DistroRulesVersion two = new DistroRulesVersion("2016a", 2); in equalsAndHashCode() local 41 assertEqualsContract(one, two); in equalsAndHashCode() 81 private static void assertEqualsContract(DistroRulesVersion one, DistroRulesVersion two) { in assertEqualsContract() argument 82 assertEquals(one, two); in assertEqualsContract() 83 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsContract()
|
D | DistroFormatVersionTest.java | 40 DistroFormatVersion two = new DistroFormatVersion(1, 2); in equalsAndHashCode() local 41 assertEqualsContract(one, two); in equalsAndHashCode() 81 private static void assertEqualsContract(DistroFormatVersion one, DistroFormatVersion two) { in assertEqualsContract() argument 82 assertEquals(one, two); in assertEqualsContract() 83 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsContract()
|
D | RulesStateTest.java | 43 RulesState two = new RulesState( in equalsAndHashCode() local 47 assertEqualsContract(one, two); in equalsAndHashCode() 134 private static void assertEqualsContract(RulesState one, RulesState two) { in assertEqualsContract() argument 135 assertEquals(one, two); in assertEqualsContract() 136 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsContract()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | WuQuantizer.java | 261 private boolean cut(Box one, Box two) { in cut() argument 288 two.r1 = one.r1; in cut() 289 two.g1 = one.g1; in cut() 290 two.b1 = one.b1; in cut() 295 two.r0 = one.r1; in cut() 296 two.g0 = one.g0; in cut() 297 two.b0 = one.b0; in cut() 301 two.r0 = one.r0; in cut() 302 two.g0 = one.g1; in cut() 303 two.b0 = one.b0; in cut() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 264 private void assertUserInfoEquals(UserInfo one, UserInfo two, boolean parcelCopy) { in assertUserInfoEquals() argument 265 assertEquals("Id not preserved", one.id, two.id); in assertUserInfoEquals() 266 assertEquals("Name not preserved", one.name, two.name); in assertUserInfoEquals() 267 assertEquals("Icon path not preserved", one.iconPath, two.iconPath); in assertUserInfoEquals() 268 assertEquals("Flags not preserved", one.flags, two.flags); in assertUserInfoEquals() 269 assertEquals("UserType not preserved", one.userType, two.userType); in assertUserInfoEquals() 271 two.profileGroupId); in assertUserInfoEquals() 273 two.restrictedProfileParentId); in assertUserInfoEquals() 274 assertEquals("profile badge not preserved", one.profileBadge, two.profileBadge); in assertUserInfoEquals() 275 assertEquals("partial not preserved", one.partial, two.partial); in assertUserInfoEquals() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleXmlHelperTest.kt | 58 two: SparseArray<List<BubbleEntity>>? in sparseArraysEqual() 60 if (one == null && two == null) return true in sparseArraysEqual() 61 if ((one == null) != (two == null)) return false in sparseArraysEqual() 62 if (one!!.size() != two!!.size()) return false in sparseArraysEqual() 66 val k2 = two.keyAt(i) in sparseArraysEqual() 67 val v2 = two.valueAt(i) in sparseArraysEqual()
|
/frameworks/rs/script_api/ |
D | rs_vector_math.spec | 45 summary: Cross product of two vectors 47 Computes the cross product of two vectors. 70 summary: Distance between two points 72 Compute the distance between two points. 97 summary: Dot product of two vectors 99 Computes the dot product of two vectors. 122 summary: Approximate distance between two points 124 Computes the approximate distance between two points. 205 summary: Approximate distance between two points 207 Computes the approximate distance between two points.
|
/frameworks/rs/script_api/include/ |
D | rs_value_types.rsh | 58 * With the example above, the middle two entries can be accessed using 106 * Vector version of the half float type. Provides two half fields packed 258 * A vector of two floats. These two floats are packed into a single 64 bit field 261 * A vector of two floats. These two floats are packed into a single 64 bit field 285 * A vector of two doubles. These two double fields packed into a single 128 bit field 309 * A vector of two uchars. These two uchar fields packed into a single 16 bit field 333 * A vector of two ushorts. These two ushort fields packed into a single 32 bit field 357 * A vector of two uints. These two uints are packed into a single 64 bit field 381 * A vector of two ulongs. These two ulongs are packed into a single 128 bit field 405 * A vector of two chars. These two chars are packed into a single 16 bit field [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 59 ViewOne two = new ViewOne(mContext); in testLayout3() local 60 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 98 TextView two = new TextView(mContext); in testLayout6() local 99 two.setText("M"); in testLayout6() 100 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | jit.cpp | 21 int two() in two() function 28 return two(); in one()
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/ |
D | StaticLibTwo.java | 16 package com.android.aapt.staticlib.two; 24 public static int FooBarId = com.android.aapt.staticlib.two.R.string.FooBar;
|