Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java32 int one = 0x10000; in Cube() local
34 -one, -one, -one, in Cube()
35 one, -one, -one, in Cube()
36 one, one, -one, in Cube()
37 -one, one, -one, in Cube()
38 -one, -one, one, in Cube()
39 one, -one, one, in Cube()
40 one, one, one, in Cube()
41 -one, one, one, in Cube()
45 0, 0, 0, one, in Cube()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/timedetector/
DTelephonyTimeSuggestionTest.java36 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
37 assertEquals(one, one); in testEquals()
42 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
44 assertEquals(one, two); in testEquals()
45 assertEquals(two, one); in testEquals()
50 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
51 assertEquals(one, one); in testEquals()
56 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
58 assertEquals(one, two); in testEquals()
59 assertEquals(two, one); in testEquals()
[all …]
DManualTimeSuggestionTest.java36 ManualTimeSuggestion one = new ManualTimeSuggestion(ARBITRARY_TIME); in testEquals() local
37 assertEquals(one, one); in testEquals()
40 assertEquals(one, two); in testEquals()
41 assertEquals(two, one); in testEquals()
47 assertNotEquals(one, three); in testEquals()
48 assertNotEquals(three, one); in testEquals()
51 one.addDebugInfo("Debug info 1"); in testEquals()
53 assertEquals(one, two); in testEquals()
DNetworkTimeSuggestionTest.java36 NetworkTimeSuggestion one = new NetworkTimeSuggestion(ARBITRARY_TIME); in testEquals() local
37 assertEquals(one, one); in testEquals()
40 assertEquals(one, two); in testEquals()
41 assertEquals(two, one); in testEquals()
47 assertNotEquals(one, three); in testEquals()
48 assertNotEquals(three, one); in testEquals()
51 one.addDebugInfo("Debug info 1"); in testEquals()
53 assertEquals(one, two); in testEquals()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DTelephonyTimeZoneSuggestionTest.java42 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
43 assertEquals(one, one); in testEquals()
49 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
51 assertEquals(one, two); in testEquals()
52 assertEquals(two, one); in testEquals()
58 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
60 assertNotEquals(one, three); in testEquals()
61 assertNotEquals(three, one); in testEquals()
68 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
70 assertNotEquals(one, two); in testEquals()
[all …]
DManualTimeZoneSuggestionTest.java41 ManualTimeZoneSuggestion one = new ManualTimeZoneSuggestion(ARBITRARY_ZONE_ID1); in testEquals() local
42 assertEquals(one, one); in testEquals()
45 assertEquals(one, two); in testEquals()
46 assertEquals(two, one); in testEquals()
49 assertNotEquals(one, three); in testEquals()
50 assertNotEquals(three, one); in testEquals()
53 one.addDebugInfo("Debug info 1"); in testEquals()
55 assertEquals(one, two); in testEquals()
/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesStateTest.java37 RulesState one = new RulesState( in equalsAndHashCode() local
41 assertEqualsContract(one, one); in equalsAndHashCode()
47 assertEqualsContract(one, two); in equalsAndHashCode()
53 assertFalse(one.equals(differentBaseRules)); in equalsAndHashCode()
59 assertFalse(one.equals(differentFormatVersion)); in equalsAndHashCode()
65 assertFalse(one.equals(differentOperationInProgress)); in equalsAndHashCode()
71 assertFalse(one.equals(differentStagedOperation)); in equalsAndHashCode()
77 assertFalse(one.equals(differentStagedInstallVersion)); in equalsAndHashCode()
83 assertFalse(one.equals(differentInstalled)); in equalsAndHashCode()
89 assertFalse(one.equals(differentInstalledVersion)); in equalsAndHashCode()
[all …]
DDistroRulesVersionTest.java37 DistroRulesVersion one = new DistroRulesVersion("2016a", 2); in equalsAndHashCode() local
38 assertEqualsContract(one, one); in equalsAndHashCode()
41 assertEqualsContract(one, two); in equalsAndHashCode()
44 assertFalse(one.equals(three)); 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.java37 DistroFormatVersion one = new DistroFormatVersion(1, 2); in equalsAndHashCode() local
38 assertEqualsContract(one, one); in equalsAndHashCode()
41 assertEqualsContract(one, two); in equalsAndHashCode()
44 assertFalse(one.equals(three)); 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()
/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()
144 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
146 assertEquals("restricted profile parent not preseved", one.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/tests/net/common/java/android/net/
DNetworkTest.java117 Network one = new Network(1); in testGetNetworkHandle() local
122 assertNotEquals(0, one.hashCode()); in testGetNetworkHandle()
127 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
128 assertNotEquals(one.hashCode(), three.hashCode()); in testGetNetworkHandle()
132 assertNotEquals(0, one.getNetworkHandle()); in testGetNetworkHandle()
137 assertNotEquals(one.getNetworkHandle(), two.getNetworkHandle()); in testGetNetworkHandle()
138 assertNotEquals(one.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle()
142 assertNotEquals(one.hashCode(), one.getNetworkHandle()); in testGetNetworkHandle()
148 assertEquals(7700664333L, one.getNetworkHandle()); in testGetNetworkHandle()
/frameworks/compile/mclinker/unittests/
DRTLinearAllocatorTest.h38 Data() : one(1), two(2), three(3), four(4) {} in Data()
44 one = pOne; in Data()
51 one = -1; in ~Data()
57 unsigned int one; member
DLinearAllocatorTest.cpp61 ASSERT_TRUE(1 == pointer->one); in TEST_F()
72 ASSERT_TRUE(7 == pointer->one); in TEST_F()
81 ASSERT_TRUE(1 == pointer->one); in TEST_F()
92 ASSERT_TRUE(7 == pointer->one); in TEST_F()
102 pointer->one = i; in TEST_F()
120 pointer->one = counter; in TEST_F()
DRTLinearAllocatorTest.cpp62 ASSERT_TRUE(1 == pointer->one); in TEST_F()
73 ASSERT_TRUE(7 == pointer->one); in TEST_F()
82 ASSERT_TRUE(1 == pointer->one); in TEST_F()
93 ASSERT_TRUE(7 == pointer->one); in TEST_F()
103 pointer->one = i; in TEST_F()
121 pointer->one = counter; in TEST_F()
DLinearAllocatorTest.h25 Data() : one(1), two(2), three(3), four(4) {} in Data()
31 one = pOne; in Data()
38 one = -1; in ~Data()
44 unsigned int one; member
/frameworks/base/core/java/android/app/backup/
DBackupDataInputStream.java63 byte[] one = mOneByte; in read()
65 one = mOneByte = new byte[1]; in read()
67 mData.readEntityData(one, 0, 1); in read()
68 return one[0]; in read()
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibOne/src/com/android/aapt/staticlib/one/
DStaticLibOne.java16 package com.android.aapt.staticlib.one;
20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
21 public static int LayoutId = com.android.aapt.staticlib.one.R.layout.layout;
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/src/com/android/aapt/app/one/
DAppOne.java16 package com.android.aapt.app.one;
20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
21 public static int LayoutId = com.android.aapt.staticlib.one.R.layout.layout;
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect10 …script:15:12: error: reduction kernel 'foo' declared multiple times (first one is at reduce_genera…
11 reduce_general_parse.rscript:17:63: error: more than one 'accumulator' for '#pragma rs reduce'
12 reduce_general_parse.rscript:18:63: error: more than one 'accumulator' for '#pragma rs reduce'
13 …19:24: error: did not recognize 'something' for '#pragma reduce'; expected one of the following ke…
/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java56 ViewOne one = new ViewOne(mContext); in testLayout3() local
57 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
94 TextView one = new TextView(mContext); in testLayout6() local
95 one.setText("S"); in testLayout6()
96 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
/frameworks/base/media/java/android/media/
DUtils.java68 Range<T>[] intersectSortedDistinctRanges(Range<T>[] one, Range<T>[] another) { in intersectSortedDistinctRanges() argument
72 while (ix < one.length && in intersectSortedDistinctRanges()
73 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges()
76 while (ix < one.length && in intersectSortedDistinctRanges()
77 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges()
78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
81 if (ix == one.length) { in intersectSortedDistinctRanges()
84 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges()
85 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dreflection3264_foreach_mismatch.rscript24 // one non-void* output type, one void* output type
34 // one non-void* output type, one no-output
48 // one void* output type, one no-output
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Djit.cpp26 int one() in one() function
33 return one(); in main()
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/
DStaticLibTwo.java20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
21 public static int LayoutId = com.android.aapt.staticlib.one.R.layout.layout;
/frameworks/opt/telephony/proto/src/
DcarrierId.proto26 // A collection of carriers. one entry for one carrier.
40 // [Optional] Carrier attributes to match a carrier. At least one value is required.
52 // - if set, the device must have one of the specified values to match.
55 // [Optional] The MCC and MNC that map to this carrier. At least one value is required.

12345678910>>...13