Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java101 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 …]
DIntentTest.java121 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/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_SearchSnippetsTest.java102 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 …]
DContactsContract_PhoneLookup.java144 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/
DPackageInfoTest.java82 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame()
107 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo()
124 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray()
138 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo()
152 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
169 private void checkAttributionInfo(Attribution[] expected, Attribution[] actual) { in checkAttributionInfo()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java66 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/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java141 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/framework/base/windowmanager/src/android/server/wm/intent/
DStateComparisonException.java30 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/content/src/android/content/res/cts/
DPrimitiveTest.java35 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()
DArrayTest.java35 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/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java51 public void checkCurrentState(int expected) { in checkCurrentState()
65 public void checkSilentModeStatus(boolean expected) { in checkSilentModeStatus()
70 public void checkSilentModeFull(SilentModeInfo expected) { in checkSilentModeFull()
124 public void checkCurrentPowerComponents(PowerPolicyDef expected) throws Exception { in checkCurrentPowerComponents()
131 public void checkCurrentPolicyGroupId(String expected) { in checkCurrentPolicyGroupId()
139 public void checkPowerPolicyGroups(PowerPolicyGroups expected) { in checkPowerPolicyGroups()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DPermissionUtils.java65 String permission, int expected, String packageName, String activityName) in launchActivityAndCheckPermission()
73 String permission, int expected, String packageName, String activityName) in launchActivityAndRequestPermission()
81 receiver, UiDevice device, String permission, int expected, in launchActivityAndRequestPermission()
118 public static void checkPermission(String permission, int expected, String packageName) { in checkPermission()
120 .checkPermission(permission, packageName), expected); in checkPermission() local
126 public static void checkPermissionAndAppOps(String permission, int expected, String packageName) in checkPermissionAndAppOps()
128 assertEquals(checkPermissionAndAppOps(permission, packageName), expected); in checkPermissionAndAppOps() local
/cts/tests/tests/transition/src/android/transition/cts/
DArcMotionTest.java37 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
DPatternPathMotionTest.java41 Path expected = new Path(); in testStraightPath() local
56 Path expected = new Path(); in testCurve() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DColorUtils.java30 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/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DRedactionTestHelper.java81 @NonNull HashMap<String, String> actual, @NonNull HashMap<String, String> expected) { in assertExifMetadataMatch() argument
91 @NonNull HashMap<String, String> actual, @NonNull HashMap<String, String> expected) { in assertExifMetadataMismatch() argument
97 private static void assertMetadataEntryMatch(String tag, String actual, String expected) { in assertMetadataEntryMatch()
105 private static void assertMetadataEntryMismatch(String tag, String actual, String expected) { in assertMetadataEntryMismatch()
/cts/tests/tests/util/src/android/util/cts/
DRationalTest.java413 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()
DRangeTest.java134 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/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySavingTestBase.java97 public void waitUntilAlarmForceAppStandby(boolean expected) throws Exception { in waitUntilAlarmForceAppStandby()
102 public void waitUntilJobForceAppStandby(boolean expected) throws Exception { in waitUntilJobForceAppStandby()
118 public void waitUntilForceBackgroundCheck(boolean expected) throws Exception { in waitUntilForceBackgroundCheck()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchMigratorTest.java77 GenericDocument expected = in testOnUpgrade() local
139 GenericDocument expected = in testOnDowngrade() local
/cts/tools/vm-tests-tf/src/dot/junit/
DDxAbstractMain.java111 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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DSecondaryProfileOwnerUserRestrictionsTest.java100 final HashSet<String> expected = new HashSet<>(); in testHasBothGlobalAndLocalRestrictions() local
128 final HashSet<String> expected = new HashSet<>(Arrays.asList(ALLOWED_BUT_LEAKY)); in testDefaultAndLeakyRestrictions() local
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java88 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/tests/graphics/src/android/graphics/cts/
DInterpolatorTest.java53 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()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMagnitudeVerificationTest.java52 …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()

12345678910>>...14