/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 85 Long expected = 10L; in testGetAsLong() local 98 Byte expected = 'a'; in testGetAsByte() local 111 Integer expected = 20; in testGetAsInteger() local 139 Short expected = 20; in testGetAsShort() local 170 Float expected = 1.0F; in testGetAsFloat() local 202 Object expected = "android"; in testGet() local 241 Double expected = 10.2; in testGetAsDouble() local 254 String expected = "cts"; in testPutString() local 267 Byte expected = 'a'; in testPutByte() local 280 Short expected = 20; in testPutShort() local [all …]
|
D | IntentTest.java | 118 final CharSequence expected = "CharSequencetest"; in testGetCharSequenceExtra() local 144 final ArrayList<Intent> expected = new ArrayList<Intent>(); in testGetParcelableArrayListExtra() local 171 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testGetIntegerArrayListExtra() local 185 final int[] expected = { 1, 2, 3 }; in testGetIntArrayExtra() local 203 final int expected = 0; in testGetIntExtra() local 212 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testPutIntegerArrayListExtra() local 225 final Bundle expected = new Bundle(); in testGetBundleExtra() local 234 final char[] expected = { 'a', 'b', 'c' }; in testGetCharArrayExtra() local 244 final double[] expected = { 1d, 2d }; in testGetDoubleArrayExtra() local 250 final ArrayList<String> expected = new ArrayList<String>(); in testPutStringArrayListExtra() local [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageInfoTest.java | 64 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame() 88 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo() 105 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray() 119 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo() 133 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ArrayTest.java | 35 final Object expected) { in checkEntry() 40 private void checkStringArray(final int resid, final String[] expected) { in checkStringArray() 48 private void checkTextArray(final int resid, final String[] expected) { in checkTextArray() 56 private void checkIntArray(final int resid, final int[] expected) { in checkIntArray()
|
D | PrimitiveTest.java | 35 private void tryEnum(final int resid, final int expected) { in tryEnum() 52 private void tryFlag(final int resid, final int expected) { in tryFlag() 70 private void tryBoolean(final int resid, final boolean expected) { in tryBoolean() 88 private void tryString(final int resid, final String expected) { in tryString() 107 private static void checkString(final int resid, final String actual, final String expected) { in checkString()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageTest.java | 66 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties() local 95 Message expected = Message.obtain(message); in testObtain2() local 105 Message expected = Message.obtain(mHandler); in testObtain3() local 110 Message expected = Message.obtain(mHandler, mRunnable); in testObtain4() local 116 Message expected = Message.obtain(mHandler, WHAT); in testObtain5() local 122 Message expected = Message.obtain(mHandler, WHAT, OBJ); in testObtain6() local 129 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); in testObtain7() local 137 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain8() local 150 Bundle expected = new Bundle(); in testPeekData() local
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 143 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() 165 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals() 185 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() 210 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals() 232 public <T extends Comparable<? super T>> boolean expectGreater(String msg, T expected, in expectGreater() 246 public <T extends Comparable<? super T>> boolean expectGreaterOrEqual(String msg, T expected, in expectGreaterOrEqual() 260 public <T extends Comparable<? super T>> boolean expectLess(String msg, T expected, in expectLess() 274 public <T extends Comparable<? super T>> boolean expectLessOrEqual(String msg, T expected, in expectLessOrEqual() 289 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 312 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_SearchSnippetsTest.java | 93 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchEmailAddressCorrectSnippet() local 104 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchPhoneNumberCorrectSnippet() local 115 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchPostalAddressCorrectSnippet() local 126 final ContentValues expected = new ContentValues(); in testSearchSnippets_LongMatchTruncation() local 137 final ContentValues expected = new ContentValues(); in testSearchSnippets_MultipleMatchesCorrectSnippet() local 159 final ContentValues expected = new ContentValues(); in testSearchSnippets_DeferredSnippetingSingleWordQuerySnippetDeferred() local 176 final ContentValues expected = new ContentValues(); in testSearchSnippets_DeferredSnippetingMultiWordQuerySnippetNotDeferred() local 194 ContentValues... expected) { in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_PhoneLookup.java | 145 final ContentValues expected = new ContentValues(); in testPhoneLookup_found1() local 162 final ContentValues expected = new ContentValues(); in testPhoneLookup_found2() local 178 final ContentValues expected = new ContentValues(); in testPhoneLookup_sip_found() local 205 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_found1() local 222 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_found2() local 238 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_sip_found() local 248 ContentValues... expected) { in assertCursorStoredValuesWithContactsFilter()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 62 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewSelectedAccessibilityEvent() local 103 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewClickedAccessibilityEvent() local 139 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewLongClickedAccessibilityEvent() local 175 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewFocusedAccessibilityEvent() local 243 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewTextChangedAccessibilityEvent() local 281 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeWindowStateChangedAccessibilityEvent() local 349 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeNotificationStateChangedAccessibilityEvent() local
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | PatternPathMotionTest.java | 31 Path expected = new Path(); in testStraightPath() local 45 Path expected = new Path(); in testCurve() local
|
D | ArcMotionTest.java | 30 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); in test90Quadrants() local 51 Path expected; in test345Triangles() local 108 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle() local 120 Path expected = arcWithPoint(0, 0, 100, 0, ex, ey); in testMinimumHorizontalAngle() local 137 Path expected = arcWithPoint(0, 0, 0, 100, ex, ey); in testMinimumVerticalAngle() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | SecondaryProfileOwnerUserRestrictionsTest.java | 86 final HashSet<String> expected = new HashSet<>(); in testHasBothGlobalAndLocalRestrictions() local 110 final HashSet<String> expected = new HashSet<>( in testDefaultRestrictionsOnly() local
|
D | BaseUserRestrictionsTest.java | 92 protected void assertLayeredRestriction(String restriction, boolean expected) { in assertLayeredRestriction() 97 protected void assertOwnerRestriction(String restriction, boolean expected) { in assertOwnerRestriction() 103 protected void assertRestrictions(Set<String> expected) { in assertRestrictions()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 372 private static void assertValueEquals(Rational object, float expected) { in assertValueEquals() 377 private static void assertValueEquals(Rational object, double expected) { in assertValueEquals() 382 private static void assertValueEquals(Rational object, long expected) { in assertValueEquals() 387 private static void assertValueEquals(Rational object, int expected) { in assertValueEquals() 392 private static void assertValueEquals(Rational object, short expected) { in assertValueEquals() 397 private static void assertFinite(Rational object, boolean expected) { in assertFinite() 401 private static void assertInfinite(Rational object, boolean expected) { in assertInfinite() 405 private static void assertNaN(Rational object, boolean expected) { in assertNaN() 409 private static void assertZero(Rational object, boolean expected) { in assertZero() 413 private static <T> void assertAction(String action, T object, boolean expected, in assertAction()
|
D | RangeTest.java | 141 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { in assertUpper() 145 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, T expected) { in assertLower() 149 private static <T, T2> void assertAction(String action, T object, T2 expected, in assertAction() 155 private static <T, T2> void assertAction(String action, T object, T2 needle, boolean expected, in assertAction()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SELinuxTest.java | 47 String expected = "u:r:untrusted_app:s0"; in testCTSIsUntrustedApp() local 56 String expected = "u:object_r:app_data_file:s0"; in testCTSAppDataContext() local
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 72 private void assertTransformationNotSame(Transformation expected, Transformation actual) { in assertTransformationNotSame() 78 private void assertTransformationEquals(Transformation expected, Transformation actual) { in assertTransformationEquals() 130 final Matrix expected = new Matrix(); in testGetMatrix() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ChronometerTest.java | 54 int expected = 100000; in testAccessBase() local 81 String expected = "header-%S-trail"; in testAccessFormat() local 113 CharSequence expected = chronometer.getText(); in testStartAndStop() local
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
D | DxAbstractMain.java | 111 static public void assertEquals(int expected, int actual) { in assertEquals() 115 static public void assertEquals(String message, int expected, int actual) { in assertEquals() 119 static public void assertEquals(long expected, long actual) { in assertEquals() 123 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() 127 static public void assertEquals(Object expected, Object actual) { in assertEquals()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InterpolatorTest.java | 40 final int expected = 100; in testReset1() local 259 private void assertValue(int time, float expected, Result expectedResult, in assertValue() 266 private void assertValues(int time, float[] expected, Result expectedResult, in assertValues() 273 private void assertValue(float expected, Result expectedResult, Interpolator interpolator) { in assertValue() 279 private void assertFloatArray(float[] expected, float[] actual) { in assertFloatArray()
|
/cts/tests/openglperf2/test/ |
D | MatrixTest.cpp | 51 float expected[] = { in TEST() local 129 float expected[] = { in TEST() local 157 float expected[] = { in TEST() local 178 float expected[] = { in TEST() local 191 float expected[] = { in TEST() local 204 float expected[] = { in TEST() local 220 float expected[] = { in TEST() local 239 float expected[] = {40, 120, 200, 280}; in TEST() local
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | MagnitudeVerificationTest.java | 52 …private void runStats(float expected, float threshold, float[][] values, boolean pass, float magni… in runStats() 69 private static MagnitudeVerification getVerification(float expected, float threshold, in getVerification()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketAddress_NamespaceTest.java | 31 Namespace[] expected = Namespace.values(); in testValues() local
|
D | NetworkInfo_DetailedStateTest.java | 39 DetailedState[] expected = DetailedState.values(); in testValues() local
|