Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DTelephonyTimeZoneSuggestionTest.java50 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 …]
DManualTimeZoneSuggestionTest.java44 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/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java139 private void assertUserInfoEquals(UserInfo one, UserInfo two) { in assertUserInfoEquals() argument
140 assertEquals("Id not preserved", one.id, two.id); in assertUserInfoEquals()
141 assertEquals("Name not preserved", one.name, two.name); in assertUserInfoEquals()
142 assertEquals("Icon path not preserved", one.iconPath, two.iconPath); in assertUserInfoEquals()
143 assertEquals("Flags not preserved", one.flags, two.flags); in assertUserInfoEquals()
145 two.profileGroupId); in assertUserInfoEquals()
147 two.restrictedProfileParentId); in assertUserInfoEquals()
148 assertEquals("profile badge not preseved", one.profileBadge, two.profileBadge); in assertUserInfoEquals()
149 assertEquals("partial not preseved", one.partial, two.partial); in assertUserInfoEquals()
150 assertEquals("guestToRemove not preseved", one.guestToRemove, two.guestToRemove); in assertUserInfoEquals()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/timedetector/
DTelephonyTimeSuggestionTest.java43 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()
DManualTimeSuggestionTest.java39 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()
DNetworkTimeSuggestionTest.java39 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/tests/net/common/java/android/net/
DNetworkTest.java118 Network two = new Network(2); in testGetNetworkHandle() local
123 assertNotEquals(0, two.hashCode()); in testGetNetworkHandle()
127 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
129 assertNotEquals(two.hashCode(), three.hashCode()); in testGetNetworkHandle()
133 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle()
137 assertNotEquals(one.getNetworkHandle(), two.getNetworkHandle()); in testGetNetworkHandle()
139 assertNotEquals(two.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle()
143 assertNotEquals(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle()
149 assertEquals(11995631629L, two.getNetworkHandle()); in testGetNetworkHandle()
/frameworks/compile/mclinker/unittests/
DRTLinearAllocatorTest.h38 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
DLinearAllocatorTest.h25 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
DLinearAllocatorTest.cpp62 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()
DRTLinearAllocatorTest.cpp63 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()
/frameworks/base/core/tests/coretests/src/android/app/timezone/
DDistroRulesVersionTest.java40 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()
DDistroFormatVersionTest.java40 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()
DRulesStateTest.java43 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/rs/script_api/
Drs_vector_math.spec45 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/
Drs_value_types.rsh58 * 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 …]
Drs_vector_math.rsh42 * cross: Cross product of two vectors
44 * Computes the cross product of two vectors.
63 * distance: Distance between two points
65 * Compute the distance between two points.
102 * dot: Dot product of two vectors
104 * Computes the dot product of two vectors.
139 * fast_distance: Approximate distance between two points
141 * Computes the approximate distance between two points.
271 * native_distance: Approximate distance between two points
273 * Computes the approximate distance between two points.
/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java59 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/
Djit.cpp21 int two() in two() function
28 return two(); in one()
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/
DStaticLibTwo.java16 package com.android.aapt.staticlib.two;
24 public static int FooBarId = com.android.aapt.staticlib.two.R.string.FooBar;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java231 private boolean offsetInfoIsTheSame(NitzData one, NitzData two) {
232 return Objects.equals(two.getDstAdjustmentMillis(), one.getDstAdjustmentMillis())
234 two.getEmulatorHostTimeZone(), one.getEmulatorHostTimeZone())
235 && two.getLocalOffsetMillis() == one.getLocalOffsetMillis();
/frameworks/base/core/tests/coretests/src/android/os/
DTimestampedValueTest.java46 private static void assertEqualsAndHashCode(Object one, Object two) { in assertEqualsAndHashCode() argument
47 assertEquals(one, two); in assertEqualsAndHashCode()
48 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsAndHashCode()
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
Dreduce_general_duplicate_array.rscript5 // The two kernels have anonymous result types that are equivalent.
7 // so Java reflection must guard against this to avoid creating two
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java185 final byte[] two = "two 2".getBytes("UTF-8"); in testBasicWorking()
186 sendPacket(two); in testBasicWorking()
189 assertTrue(Arrays.equals(two, mLastRecvBuf)); in testBasicWorking()
195 assertTrue(Arrays.equals(two, mLastRecvBuf)); in testBasicWorking()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dqpisf_2s.tab21 * Quantization tables for two-stage of ISFs (split by 2 in 1st stage)
49 * isf codebooks: two-stage VQ with split-by-5 in 2nd stage *
1019 * isf codebooks: two-stage VQ with split-by-3 in 2nd stage *

123456