/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 101 Long expected = 10L; in testGetAsLong() local 115 Byte expected = 'a'; in testGetAsByte() local 129 Integer expected = 20; in testGetAsInteger() local 159 Short expected = 20; in testGetAsShort() local 192 Float expected = 1.0F; in testGetAsFloat() local 227 Object expected = "android"; in testGet() local 269 Double expected = 10.2; in testGetAsDouble() local 283 String expected = "cts"; in testPutString() local 297 Byte expected = 'a'; in testPutByte() local 311 Short expected = 20; in testPutShort() local [all …]
|
D | IntentTest.java | 121 final CharSequence expected = "CharSequencetest"; in testGetCharSequenceExtra() local 149 final ArrayList<Intent> expected = new ArrayList<Intent>(); in testGetParcelableArrayListExtra() local 176 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testGetIntegerArrayListExtra() local 190 final int[] expected = { 1, 2, 3 }; in testGetIntArrayExtra() local 208 final int expected = 0; in testGetIntExtra() local 217 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testPutIntegerArrayListExtra() local 230 final Bundle expected = new Bundle(); in testGetBundleExtra() local 239 final char[] expected = { 'a', 'b', 'c' }; in testGetCharArrayExtra() local 249 final double[] expected = { 1d, 2d }; in testGetDoubleArrayExtra() local 255 final ArrayList<String> expected = new ArrayList<String>(); in testPutStringArrayListExtra() local [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_SearchSnippetsTest.java | 102 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchEmailAddressCorrectSnippet() local 114 final ContentValues expected = new ContentValues(); in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet() local 125 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchPhoneNumberCorrectSnippet() local 137 final ContentValues expected = new ContentValues(); in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet() local 148 final ContentValues expected = new ContentValues(); in testSearchSnippets_MatchPostalAddressCorrectSnippet() local 160 final ContentValues expected = new ContentValues(); in testEnterpriseSearchSnippets_MatchPostalAddressCorrectSnippet() local 171 final ContentValues expected = new ContentValues(); in testSearchSnippets_LongMatchTruncation() local 183 final ContentValues expected = new ContentValues(); in testEnterpriseSearchSnippets_LongMatchTruncation() local 194 final ContentValues expected = new ContentValues(); in testSearchSnippets_MultipleMatchesCorrectSnippet() local 211 final ContentValues expected = new ContentValues(); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet() local [all …]
|
D | ContactsContract_PhoneLookup.java | 144 final ContentValues expected = new ContentValues(); in testPhoneLookup_found1() local 161 final ContentValues expected = new ContentValues(); in testPhoneLookup_found2() local 177 final ContentValues expected = new ContentValues(); in testPhoneLookup_sip_found() local 204 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_found1() local 221 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_found2() local 237 final ContentValues expected = new ContentValues(); in testPhoneLookupEnterprise_sip_found() local 247 ContentValues... expected) { in assertCursorStoredValuesWithContactsFilter()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageInfoTest.java | 66 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame() 90 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo() 107 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray() 121 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo() 135 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | StateComparisonException.java | 30 public StateComparisonException(Persistence.StateDump expected, in StateComparisonException() 63 public static void assertEndStatesEqual(Persistence.StateDump expected, in assertEndStatesEqual() 68 public static void assertInitialStateEqual(Persistence.StateDump expected, in assertInitialStateEqual() 73 private static void compareAndThrow(Persistence.StateDump expected, in compareAndThrow()
|
/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/tests/content/src/android/content/res/cts/ |
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()
|
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()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 141 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() 163 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals() 183 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() 208 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals() 230 public <T extends Comparable<? super T>> boolean expectGreater(String msg, T expected, in expectGreater() 244 public <T extends Comparable<? super T>> boolean expectGreaterOrEqual(String msg, T expected, in expectGreaterOrEqual() 258 public <T extends Comparable<? super T>> boolean expectLess(String msg, T expected, in expectLess() 272 public <T extends Comparable<? super T>> boolean expectLessOrEqual(String msg, T expected, in expectLessOrEqual() 287 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 310 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() [all …]
|
/cts/tests/tests/rcs/src/android/telephony/ims/cts/ |
D | RcsEventTest.java | 174 private boolean matches(RcsGroupThreadParticipantJoinedEvent expected, RcsEvent actual) { in matches() 187 private boolean matches(RcsGroupThreadNameChangedEvent expected, RcsEvent actual) { in matches() 198 private boolean matches(RcsGroupThreadParticipantLeftEvent expected, RcsEvent actual) { in matches() 211 private boolean matches(RcsGroupThreadIconChangedEvent expected, RcsEvent actual) { in matches() 223 RcsGroupThreadEvent expected, RcsGroupThreadEvent actual) { in matchesGroupThreadEvent() 231 private boolean matches(RcsParticipantAliasChangedEvent expected, RcsEvent actual) { in matches() 244 private boolean matchesRcsEventFields(RcsEvent expected, RcsEvent actual) { in matchesRcsEventFields()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ArcMotionTest.java | 37 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); in test90Quadrants() local 59 Path expected; in test345Triangles() local 117 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle() local 130 Path expected = arcWithPoint(0, 0, 100, 50, ex, ey); in testMinimumHorizontalAngle() local 170 Path expected = arcWithPoint(0, 0, 50, 100, ex, ey); in testMinimumVerticalAngle() local 210 Path expected = arcWithPoint(0, 0, 100, 0, ex, ey); in horizontalAndVerticalMotion() local
|
D | PatternPathMotionTest.java | 41 Path expected = new Path(); in testStraightPath() local 56 Path expected = new Path(); in testCurve() local
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 30 public static void verifyColor(int expected, int observed) { in verifyColor() 34 public static void verifyColor(int expected, int observed, int tolerance) { in verifyColor() 46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) { in verifyColor() 71 private static String verifyChannel(String channelName, int expected, int observed, in verifyChannel() 90 public static void verifyColor(@NonNull String msg, Color expected, Color observed, in verifyColor() 106 private static String verifyChannel(String channelName, Color expected, Color observed, in verifyChannel()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 30 public static void verifyColor(int expected, int observed) { in verifyColor() 34 public static void verifyColor(int expected, int observed, int tolerance) { in verifyColor() 46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) { in verifyColor() 71 private static String verifyChannel(String channelName, int expected, int observed, in verifyChannel() 90 public static void verifyColor(@NonNull String msg, Color expected, Color observed, in verifyColor() 106 private static String verifyChannel(String channelName, Color expected, Color observed, in verifyChannel()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySavingTestBase.java | 91 public void waitUntilAlarmForceAppStandby(boolean expected) throws Exception { in waitUntilAlarmForceAppStandby() 96 public void waitUntilJobForceAppStandby(boolean expected) throws Exception { in waitUntilJobForceAppStandby() 102 public void waitUntilForceBackgroundCheck(boolean expected) throws Exception { in waitUntilForceBackgroundCheck()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 413 private static void verifyValueEquals(Rational object, float expected) { in verifyValueEquals() 418 private static void verifyValueEquals(Rational object, double expected) { in verifyValueEquals() 423 private static void verifyValueEquals(Rational object, long expected) { in verifyValueEquals() 428 private static void verifyValueEquals(Rational object, int expected) { in verifyValueEquals() 433 private static void verifyValueEquals(Rational object, short expected) { in verifyValueEquals() 438 private static void verifyFinite(Rational object, boolean expected) { in verifyFinite() 442 private static void verifyInfinite(Rational object, boolean expected) { in verifyInfinite() 446 private static void verifyNaN(Rational object, boolean expected) { in verifyNaN() 450 private static void verifyZero(Rational object, boolean expected) { in verifyZero() 454 private static <T> void verifyAction(String action, T object, boolean expected, in verifyAction()
|
D | RangeTest.java | 134 private static <T extends Comparable<? super T>> void verifyUpper(Range<T> object, T expected) { in verifyUpper() 138 private static <T extends Comparable<? super T>> void verifyLower(Range<T> object, T expected) { in verifyLower() 142 private static <T, T2> void verifyAction(String action, T object, T2 expected, in verifyAction() 148 private static <T, T2> void verifyAction(String action, T object, T2 needle, boolean expected, in verifyAction()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | SecondaryProfileOwnerUserRestrictionsTest.java | 100 final HashSet<String> expected = new HashSet<>(); in testHasBothGlobalAndLocalRestrictions() local 128 final HashSet<String> expected = new HashSet<>(Arrays.asList(ALLOWED_BUT_LEAKY)); in testDefaultAndLeakyRestrictions() local
|
D | BaseUserRestrictionsTest.java | 107 protected void assertLayeredRestriction(String restriction, boolean expected) { in assertLayeredRestriction() 112 protected void assertOwnerRestriction(String restriction, boolean expected) { in assertOwnerRestriction() 118 protected void assertRestrictions(Set<String> expected) { in assertRestrictions()
|
/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/tools/vm-tests-tf/src/dot/junit/ |
D | DxAbstractMain.java | 111 static public void assertEquals(int expected, int actual) { in assertEquals() 117 static public void assertEquals(String message, int expected, int actual) { in assertEquals() 123 static public void assertEquals(long expected, long actual) { in assertEquals() 129 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() 134 static public void assertEquals(Object expected, Object actual) { in assertEquals()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 88 private void assertTransformationNotSame(Transformation expected, Transformation actual) { in assertTransformationNotSame() 94 private void assertTransformationEquals(Transformation expected, Transformation actual) { in assertTransformationEquals() 151 final Matrix expected = new Matrix(); in testGetMatrix() local
|
/cts/tests/sensor/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/graphics/src/android/graphics/cts/ |
D | InterpolatorTest.java | 53 final int expected = 100; in testReset1() local 277 private void verifyValue(int time, float expected, Result expectedResult, in verifyValue() 284 private void verifyValues(int time, float[] expected, Result expectedResult, in verifyValues() 291 private void verifyValue(float expected, Result expectedResult, Interpolator interpolator) { in verifyValue()
|