Home
last modified time | relevance | path

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

12345678

/aosp14/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCube.java34 -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()
47 one, one, 0, one, in Cube()
51 one, one, one, one, in Cube()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/net/sntp/
H A DDuration64Test.java129 assertNtpEraOfInstant(one, 0); in testBetween_sameEra0()
131 checkDuration64Behavior(one, one); in testBetween_sameEra0()
136 checkDuration64Behavior(one, two); in testBetween_sameEra0()
137 checkDuration64Behavior(two, one); in testBetween_sameEra0()
144 assertNtpEraOfInstant(one, 1); in testBetween_sameEra1()
146 checkDuration64Behavior(one, one); in testBetween_sameEra1()
151 checkDuration64Behavior(one, two); in testBetween_sameEra1()
152 checkDuration64Behavior(two, one); in testBetween_sameEra1()
168 assertNtpEraOfInstant(one, 0); in testBetween_adjacentEras()
170 checkDuration64Behavior(one, one); in testBetween_adjacentEras()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
H A DTelephonyTimeZoneSuggestionTest.java43 assertEquals(one, one); in testEquals()
51 assertEquals(one, two); in testEquals()
52 assertEquals(two, one); in testEquals()
70 assertNotEquals(one, two); in testEquals()
79 assertNotEquals(one, two); in testEquals()
86 assertEquals(one, two); in testEquals()
94 assertNotEquals(one, two); in testEquals()
101 assertEquals(one, two); in testEquals()
110 assertNotEquals(one, two); in testEquals()
118 assertEquals(one, two); in testEquals()
[all …]
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/timedetector/
H A DTelephonyTimeSuggestionTest.java38 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
39 assertEquals(one, one); in testEquals()
44 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
46 assertEquals(one, two); in testEquals()
47 assertEquals(two, one); in testEquals()
53 assertEquals(one, one); in testEquals()
60 assertEquals(one, two); in testEquals()
61 assertEquals(two, one); in testEquals()
70 assertNotEquals(one, three); in testEquals()
71 assertNotEquals(three, one); in testEquals()
[all …]
H A DManualTimeSuggestionTest.java37 ManualTimeSuggestion one = new ManualTimeSuggestion(ARBITRARY_TIME); in testEquals() local
38 assertEquals(one, one); in testEquals()
41 assertEquals(one, two); in testEquals()
42 assertEquals(two, one); in testEquals()
48 assertNotEquals(one, three); in testEquals()
49 assertNotEquals(three, one); in testEquals()
52 one.addDebugInfo("Debug info 1"); in testEquals()
54 assertEquals(one, two); in testEquals()
/aosp14/frameworks/base/core/tests/coretests/src/android/service/timezone/
H A DTimeZoneProviderSuggestionTest.java61 TimeZoneProviderSuggestion one, TimeZoneProviderSuggestion two) { in assertNotEquivalentTo() argument
62 if (one == null && two == null) { in assertNotEquivalentTo()
65 if (one != null) { in assertNotEquivalentTo()
66 assertFalse("one=" + one + ", two=" + two, one.isEquivalentTo(two)); in assertNotEquivalentTo()
69 assertFalse("one=" + one + ", two=" + two, two.isEquivalentTo(one)); in assertNotEquivalentTo()
74 TimeZoneProviderSuggestion one, TimeZoneProviderSuggestion two) { in assertIsEquivalentTo() argument
75 if (one == null || two == null) { in assertIsEquivalentTo()
78 assertTrue("one=" + one + ", two=" + two, one.isEquivalentTo(two)); in assertIsEquivalentTo()
79 assertTrue("one=" + one + ", two=" + two, two.isEquivalentTo(one)); in assertIsEquivalentTo()
H A DTimeZoneProviderEventTest.java313 TimeZoneProviderEvent one, TimeZoneProviderEvent two) { in assertNotEquivalentTo() argument
314 if (one == null && two == null) { in assertNotEquivalentTo()
317 if (one != null) { in assertNotEquivalentTo()
318 assertFalse("one=" + one + ", two=" + two, one.isEquivalentTo(two)); in assertNotEquivalentTo()
321 assertFalse("one=" + one + ", two=" + two, two.isEquivalentTo(one)); in assertNotEquivalentTo()
325 private static void assertIsEquivalentTo(TimeZoneProviderEvent one, TimeZoneProviderEvent two) { in assertIsEquivalentTo() argument
326 if (one == null || two == null) { in assertIsEquivalentTo()
329 assertTrue("one=" + one + ", two=" + two, one.isEquivalentTo(two)); in assertIsEquivalentTo()
330 assertTrue("one=" + one + ", two=" + two, two.isEquivalentTo(one)); in assertIsEquivalentTo()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DNetworkTimeSuggestionTest.java37 NetworkTimeSuggestion one = new NetworkTimeSuggestion( in testEquals() local
39 assertEquals(one, one); in testEquals()
43 assertEquals(one, two); in testEquals()
44 assertEquals(two, one); in testEquals()
51 assertNotEquals(one, three); in testEquals()
52 assertNotEquals(three, one); in testEquals()
57 assertNotEquals(one, four); in testEquals()
58 assertNotEquals(four, one); in testEquals()
61 one.addDebugInfo("Debug info 1"); in testEquals()
63 assertEquals(one, two); in testEquals()
H A DGnssTimeSuggestionTest.java36 GnssTimeSuggestion one = new GnssTimeSuggestion(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()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/time/
H A DTimeZoneDetectorStatusTest.java43 TimeZoneDetectorStatus one = new TimeZoneDetectorStatus(DETECTOR_STATUS_RUNNING, in testEquals() local
45 assertEqualsAndHashCode(one, one); in testEquals()
50 assertEqualsAndHashCode(one, two); in testEquals()
56 assertNotEquals(one, three); in testEquals()
57 assertNotEquals(three, one); in testEquals()
67 assertNotEquals(one, three); in testEquals()
68 assertNotEquals(three, one); in testEquals()
81 assertNotEquals(one, three); in testEquals()
82 assertNotEquals(three, one); in testEquals()
H A DTimeZoneCapabilitiesTest.java56 TimeZoneCapabilities one = builder1.build(); in testEquals() local
58 assertEquals(one, two); in testEquals()
63 TimeZoneCapabilities one = builder1.build(); in testEquals() local
65 assertNotEquals(one, two); in testEquals()
72 assertEquals(one, two); in testEquals()
79 assertNotEquals(one, two); in testEquals()
86 assertEquals(one, two); in testEquals()
93 assertNotEquals(one, two); in testEquals()
100 assertEquals(one, two); in testEquals()
107 assertNotEquals(one, two); in testEquals()
[all …]
H A DTelephonyTimeZoneAlgorithmStatusTest.java32 TelephonyTimeZoneAlgorithmStatus one = new TelephonyTimeZoneAlgorithmStatus( in testEquals() local
34 assertEqualsAndHashCode(one, one); in testEquals()
39 assertEqualsAndHashCode(one, two); in testEquals()
45 assertNotEquals(one, three); in testEquals()
46 assertNotEquals(three, one); in testEquals()
H A DTimeCapabilitiesTest.java57 TimeCapabilities one = builder1.build(); in testEquals() local
59 assertEqualsAndHashCode(one, two); in testEquals()
64 TimeCapabilities one = builder1.build(); in testEquals() local
66 assertNotEquals(one, two); in testEquals()
71 TimeCapabilities one = builder1.build(); in testEquals() local
73 assertEqualsAndHashCode(one, two); in testEquals()
78 TimeCapabilities one = builder1.build(); in testEquals() local
80 assertNotEquals(one, two); in testEquals()
85 TimeCapabilities one = builder1.build(); in testEquals() local
87 assertEqualsAndHashCode(one, two); in testEquals()
H A DParcelableTestSupport.java55 public static void assertEqualsAndHashCode(Object one, Object two) { in assertEqualsAndHashCode() argument
56 assertEquals(one, two); in assertEqualsAndHashCode()
57 assertEquals(two, one); in assertEqualsAndHashCode()
58 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsAndHashCode()
H A DLocationTimeZoneAlgorithmStatusTest.java103 LocationTimeZoneAlgorithmStatus one = new LocationTimeZoneAlgorithmStatus( in testEquals() local
107 assertEqualsAndHashCode(one, one); in testEquals()
114 assertEqualsAndHashCode(one, two); in testEquals()
122 assertNotEquals(one, three); in testEquals()
123 assertNotEquals(three, one); in testEquals()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DWuQuantizer.java268 maximize(one, Direction.RED, one.r0 + 1, one.r1, wholeR, wholeG, wholeB, wholeW); in cut()
270 maximize(one, Direction.GREEN, one.g0 + 1, one.g1, wholeR, wholeG, wholeB, wholeW); in cut()
272 maximize(one, Direction.BLUE, one.b0 + 1, one.b1, wholeR, wholeG, wholeB, wholeW); in cut()
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()
[all …]
/aosp14/frameworks/base/core/java/android/app/backup/
H A 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()
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibOne/src/com/android/aapt/staticlib/one/
H A 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;
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/src/com/android/aapt/app/one/
H A 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;
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
H A DInsetsStateTest.java445 Rect one = new Rect(0, 1, 2, 3); in testEquals_samePrivacyIndicator() local
447 Rect[] bounds = new Rect[] { one, two, one, two }; in testEquals_samePrivacyIndicator()
455 Rect one = new Rect(0, 1, 2, 3); in testEquals_differentPrivacyIndicatorStaticBounds() local
458 Rect[] boundsOne = new Rect[] { one, two, one, two }; in testEquals_differentPrivacyIndicatorStaticBounds()
459 Rect[] boundsDifferent = new Rect[] { one, two, three, one }; in testEquals_differentPrivacyIndicatorStaticBounds()
460 Rect[] boundsDifferentOrder = new Rect[] { two, one, one, two }; in testEquals_differentPrivacyIndicatorStaticBounds()
461 Rect[] boundsDifferentLength = new Rect[] { one, two }; in testEquals_differentPrivacyIndicatorStaticBounds()
480 Rect one = new Rect(0, 1, 2, 3); in testEquals_differentPrivacyIndicatorRotation() local
482 Rect[] arr = new Rect[] { one, two, one, two}; in testEquals_differentPrivacyIndicatorRotation()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java362 private void assertUserInfoEquals(UserInfo one, UserInfo two, boolean parcelCopy) { in assertUserInfoEquals() argument
363 assertEquals("Id not preserved", one.id, two.id); in assertUserInfoEquals()
364 assertEquals("Name not preserved", one.name, two.name); in assertUserInfoEquals()
365 assertEquals("Icon path not preserved", one.iconPath, two.iconPath); in assertUserInfoEquals()
366 assertEquals("Flags not preserved", one.flags, two.flags); in assertUserInfoEquals()
367 assertEquals("UserType not preserved", one.userType, two.userType); in assertUserInfoEquals()
368 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
372 assertEquals("profile badge not preserved", one.profileBadge, two.profileBadge); in assertUserInfoEquals()
373 assertEquals("partial not preserved", one.partial, two.partial); in assertUserInfoEquals()
374 assertEquals("guestToRemove not preserved", one.guestToRemove, two.guestToRemove); in assertUserInfoEquals()
[all …]
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/
H A 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;
/aosp14/frameworks/base/media/java/android/media/
H A DUtils.java84 Range<T>[] intersectSortedDistinctRanges(Range<T>[] one, Range<T>[] another) { in intersectSortedDistinctRanges() argument
88 while (ix < one.length && in intersectSortedDistinctRanges()
89 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges()
92 while (ix < one.length && in intersectSortedDistinctRanges()
93 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges()
94 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
97 if (ix == one.length) { in intersectSortedDistinctRanges()
100 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges()
101 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()

12345678