Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
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 …]
/cts/tests/tests/time/src/android/service/timezone/cts/
DTimeZoneProviderSuggestionTest.java60 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
61 assertEquals(one, one); in testEquals()
67 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
69 assertEquals(one, two); in testEquals()
70 assertEquals(two, one); in testEquals()
75 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
77 assertNotEquals(one, two); in testEquals()
78 assertNotEquals(two, one); in testEquals()
83 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
85 assertEquals(one, two); in testEquals()
[all …]
DTimeZoneProviderStatusTest.java93 private static void assertEqualsAndHashcode(Object one, Object two) { in assertEqualsAndHashcode() argument
94 assertEquals(one, two); in assertEqualsAndHashcode()
95 assertEquals(two, one); in assertEqualsAndHashcode()
96 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsAndHashcode()
/cts/tests/tests/time/src/android/app/time/cts/
DTimeZoneConfigurationTest.java55 TimeZoneConfiguration one = builder1.build(); in testEquals() local
56 assertEquals(one, one); in testEquals()
62 TimeZoneConfiguration one = builder1.build(); in testEquals() local
64 assertEquals(one, two); in testEquals()
65 assertEquals(two, one); in testEquals()
70 TimeZoneConfiguration one = builder1.build(); in testEquals() local
72 assertNotEquals(one, two); in testEquals()
77 TimeZoneConfiguration one = builder1.build(); in testEquals() local
79 assertNotEquals(one, two); in testEquals()
84 TimeZoneConfiguration one = builder1.build(); in testEquals() local
[all …]
DExternalTimeSuggestionTest.java36 ExternalTimeSuggestion one = new ExternalTimeSuggestion( in testEquals() local
38 assertEquals(one, one); in testEquals()
42 assertEquals(one, two); in testEquals()
43 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()
DUnixEpochTimeTest.java49 private static void assertEqualsAndHashCode(Object one, Object two) { in assertEqualsAndHashCode() argument
50 assertEquals(one, two); in assertEqualsAndHashCode()
51 assertEquals(one.hashCode(), two.hashCode()); in assertEqualsAndHashCode()
DTimeManagerTest.java653 private static void assertAlmostSameTime(UnixEpochTime one, UnixEpochTime two) { in assertAlmostSameTime() argument
654 UnixEpochTime oneAdjusted = one.at(two.getElapsedRealtimeMillis()); in assertAlmostSameTime()
657 assertTrue("one=" + one + ", two=" + two in assertAlmostSameTime()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DFormEditRecordTest.java176 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_textType_matchingProperties() local
185 assertEquals(one, two); in equalsHashCode_textType_matchingProperties()
186 assertEquals(one.hashCode(), two.hashCode()); in equalsHashCode_textType_matchingProperties()
192 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_clickType_matchingProperties() local
201 assertEquals(one, two); in equalsHashCode_clickType_matchingProperties()
202 assertEquals(one.hashCode(), two.hashCode()); in equalsHashCode_clickType_matchingProperties()
208 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_indicesType_matchingProperties() local
217 assertEquals(one, two); in equalsHashCode_indicesType_matchingProperties()
218 assertEquals(one.hashCode(), two.hashCode()); in equalsHashCode_indicesType_matchingProperties()
223 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_clickType_notMatchingProperties() local
[all …]
DFormWidgetInfoTest.java762 FormWidgetInfo one = new FormWidgetInfo.Builder( in testEqualsHashCode_clickType_matchingProperties() local
769 assertEquals(one, two); in testEqualsHashCode_clickType_matchingProperties()
770 assertEquals(one.hashCode(), two.hashCode()); in testEqualsHashCode_clickType_matchingProperties()
777 FormWidgetInfo one = new FormWidgetInfo.Builder( in testEqualsHashCode_clickType_notMatching() local
784 assertNotEquals(one, two); in testEqualsHashCode_clickType_notMatching()
785 assertNotEquals(one.hashCode(), two.hashCode()); in testEqualsHashCode_clickType_notMatching()
802 FormWidgetInfo one = new FormWidgetInfo.Builder( in testEqualsHashCode_choiceType_matchingProperties() local
811 assertEquals(one, two); in testEqualsHashCode_choiceType_matchingProperties()
812 assertEquals(one.hashCode(), two.hashCode()); in testEqualsHashCode_choiceType_matchingProperties()
829 FormWidgetInfo one = new FormWidgetInfo.Builder( in testEqualsHashCode_choiceType_notMatching() local
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfoIconTest.java159 private boolean comparePixelData(Drawable one, Drawable two) { in comparePixelData() argument
161 if (one.equals(two)) { in comparePixelData()
165 return comparePixelData(drawableToBitmap(one), drawableToBitmap(two)); in comparePixelData()
168 private boolean comparePixelData(Bitmap one, Bitmap two) { in comparePixelData() argument
169 if (one.getWidth() != two.getWidth()) { in comparePixelData()
173 if (one.getHeight() != two.getHeight()) { in comparePixelData()
177 for (int x = 0; x < one.getWidth(); x++) { in comparePixelData()
178 for (int y = 0; y < one.getHeight(); y++) { in comparePixelData()
179 if (one.getPixel(x, y) != two.getPixel(x, y)) { in comparePixelData()
/cts/hostsidetests/compilation/assets/
DREADME.txt14 manually constructed for AppUsedByOtherApp. The latter one should be a superset
15 of the former one.
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DBitStream.java66 public void appendBit(boolean one) { in appendBit() argument
67 if (one) { in appendBit()
/cts/tests/media/
DREADME.md26 To select codecs by name, *codec-prefix* can be passed to media codec tests to select one or more c…
41 …r expressions, *codec-filter* can be passed to media codec tests to select one or more codecs that…
50 To select codecs by type, *media-type-sel* can be passed to media codec tests to select one or more…
59 To select extractors by type, *ext-sel* can be passed to extractor tests to select one or more extr…
67 To select muxers by type, *mux-sel* can be passed to muxer tests to select one or more muxers.
/cts/tests/mediapc/common/
DREADME.md18 we have one required measurement, so we will create one constant,
58 reqs`; and they always contain one line: `super(id, reqs)`:
69 methods always contain one line: a function call to Requirement’s
72 we only have one required measurement so only need to make one method for it:
/cts/tests/mediapc/
DREADME.md29 …dia type, *media-type-prefix* can be passed to media codec tests to select one or more codecs that…
37 …r expressions, *codec-filter* can be passed to media codec tests to select one or more codecs that…
46 To select codecs by name, *codec-prefix* can be passed to media codec tests to select one or more c…
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchUiManagerTest.java143 public boolean equalBundles(Bundle one, Bundle two) { in equalBundles() argument
144 if (one.size() != two.size()) { in equalBundles()
148 Set<String> setOne = new HashSet<>(one.keySet()); in equalBundles()
154 if (!one.containsKey(key) || !two.containsKey(key)) { in equalBundles()
158 valueOne = one.get(key); in equalBundles()
/cts/build/
Dcompatibility_test_suite.mk52 $(eval $(call copy-one-file,$(LOCAL_PATH)/DynamicConfig.xml,$(dynamic_config_local)))
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/
DAndroid.bp40 // have the same manifest package name to be considered one app.
67 // have the same manifest package name to be considered one app.
/cts/tools/cts-tradefed/tests/
DAndroid.bp28 // We ship the Deqp Runner tests with the CTS one to validate them.
/cts/hostsidetests/usage/app/
DAndroid.bp33 // Build a second one similar to the first
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale35 one C version of Dhrystone such that results can be compared without
65 always be encouraged to use more than just one benchmark.
125 of the benchmark, this does have an impact - though a very minor one -
196 local integer operands) and by the change in Proc_4 (one operand
251 compilation units are merged into one file, the rule is that separate
255 while compiling one unit, has no information about the use of
264 program preparation time (although not as much as compilation in one
318 procedure merging and/or compilation in one unit can be done to
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.md22 if one exists, included in the signing block of the APK, as well as the
/cts/tests/tests/os/jni/
DAndroid.bp89 // can be run on armv8 cores) since one of the tested instruction, swp, is
/cts/tests/fragment/src/android/fragment/cts/
DFragmentLifecycleTest.java746 final Fragment one = new Fragment(); in targetFragmentNoCycles() local
751 one.setTargetFragment(two, 0); in targetFragmentNoCycles()
753 three.setTargetFragment(one, 0); in targetFragmentNoCycles()
763 final Fragment one = new Fragment(); in targetFragmentSetClear() local
766 one.setTargetFragment(two, 0); in targetFragmentSetClear()
767 one.setTargetFragment(null, 0); in targetFragmentSetClear()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1805 String one = "Hello Android, hello World!"; in testRegionMatches() local
1808 assertTrue(TextUtils.regionMatches(one, 0, two, 0, "Hello".length())); in testRegionMatches()
1811 assertFalse(TextUtils.regionMatches(one, 0, two, 0, "Hello A".length())); in testRegionMatches()
1814 assertTrue(TextUtils.regionMatches(one, "Hello Android, hello ".length(), in testRegionMatches()
1816 assertFalse(TextUtils.regionMatches(one, "Hello Android, hello ".length(), in testRegionMatches()
1820 TextUtils.regionMatches(one, Integer.MIN_VALUE, two, 0, "Hello".length()); in testRegionMatches()
1825 TextUtils.regionMatches(one, Integer.MAX_VALUE, two, 0, "Hello".length()); in testRegionMatches()
1831 TextUtils.regionMatches(one, 0, two, Integer.MIN_VALUE, "Hello".length()); in testRegionMatches()
1836 TextUtils.regionMatches(one, 0, two, Integer.MAX_VALUE, "Hello".length()); in testRegionMatches()
1842 TextUtils.regionMatches(one, 0, two, 0, Integer.MIN_VALUE); in testRegionMatches()
[all …]

12