Home
last modified time | relevance | path

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

12345678910>>...16

/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java103 Long expected = 10L; in testGetAsLong() local
117 Byte expected = 'a'; in testGetAsByte() local
131 Integer expected = 20; in testGetAsInteger() local
161 Short expected = 20; in testGetAsShort() local
194 Float expected = 1.0F; in testGetAsFloat() local
229 Object expected = "android"; in testGet() local
271 Double expected = 10.2; in testGetAsDouble() local
285 String expected = "cts"; in testPutString() local
299 Byte expected = 'a'; in testPutByte() local
313 Short expected = 20; in testPutShort() local
[all …]
DIntentTest.java177 final CharSequence expected = "CharSequencetest"; in testGetCharSequenceExtra() local
207 final ArrayList<Intent> expected = new ArrayList<Intent>(); in testGetParcelableArrayListExtra() local
269 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testGetIntegerArrayListExtra() local
285 final int[] expected = { 1, 2, 3 }; in testGetIntArrayExtra() local
306 final int expected = 0; in testGetIntExtra() local
316 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testPutIntegerArrayListExtra() local
331 final Bundle expected = new Bundle(); in testGetBundleExtra() local
341 final char[] expected = { 'a', 'b', 'c' }; in testGetCharArrayExtra() local
352 final double[] expected = { 1d, 2d }; in testGetDoubleArrayExtra() local
359 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/database/src/android/database/cts/
DDatabaseUtilsTest.java79 String expected = "name=''"; in testHighSurrogateStartInvalid() local
87 String expected = "name=''"; in testDoubleHighSurrogateStart() local
95 String expected = "name=''''"; in testHighSurrogatePairInvalid() local
103 String expected = "name='\uD83D\uDC00'"; in testValidSurrogate() local
111 String expected = "name=''"; in testReversedSurrogate() local
119 String expected = "name='\uD83D\uDC00\uD8FF\uDC01'"; in testValidDoubleSurrogate() local
127 String expected = "name='Joh\uD83D\uDC00nn\uD8FF\uDC01y'"; in testValidDoubleSurrogateWithStringMixed() local
135 String expected = "name='Johnn\uD8FF\uDC01y'"; in testInvalidDoubleSurrogateWithStringMixed() local
143 String expected = "name='\uD83D\uDC00'"; in testHighLowLowSurrogate() local
151 String expected = "name='Johnny\uD83D\uDC00'"; in testHighLowLowSurrogateWithString_AtEnd() local
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java115 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame()
144 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo()
161 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray()
175 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo()
189 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
206 private void checkAttributionInfo(Attribution[] expected, Attribution[] actual) { in checkAttributionInfo()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java95 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties() local
126 Message expected = Message.obtain(message); in testObtain2() local
137 Message expected = Message.obtain(mHandler); in testObtain3() local
143 Message expected = Message.obtain(mHandler, mRunnable); in testObtain4() local
150 Message expected = Message.obtain(mHandler, WHAT); in testObtain5() local
157 Message expected = Message.obtain(mHandler, WHAT, OBJ); in testObtain6() local
165 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); in testObtain7() local
174 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain8() local
189 Bundle expected = new Bundle(); in testPeekData() local
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java154 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals()
169 public <T> boolean expectEquals(String msg, T expected, T actual, boolean mpc) { in expectEquals()
195 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals()
215 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals()
240 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals()
263 public <T> boolean expectContainsAll(String msg, Collection<T> values, Collection<T> expected) { in expectContainsAll()
294 public <T extends Comparable<? super T>> boolean expectGreater(String msg, T expected, in expectGreater()
308 public <T extends Comparable<? super T>> boolean expectGreaterOrEqual(String msg, T expected, in expectGreaterOrEqual()
322 public <T extends Comparable<? super T>> boolean expectLess(String msg, T expected, in expectLess()
336 public <T extends Comparable<? super T>> boolean expectLessOrEqual(String msg, T expected, in expectLessOrEqual()
[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.java50 private void tryEnum(final int resid, final int expected) { in tryEnum()
68 private void tryFlag(final int resid, final int expected) { in tryFlag()
87 private void tryBoolean(final int resid, final boolean expected) { in tryBoolean()
106 private void tryString(final int resid, final String expected) { in tryString()
126 private static void checkString(final int resid, final String actual, final String expected) { in checkString()
DArrayTest.java49 final Object expected) { in checkEntry()
54 private void checkStringArray(final int resid, final String[] expected) { in checkStringArray()
62 private void checkTextArray(final int resid, final String[] expected) { in checkTextArray()
70 private void checkIntArray(final int resid, final int[] expected) { in checkIntArray()
/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/hostsidetests/car/app/src/android/car/cts/app/watchdog/
DIoOveruseConfigurationSubject.java76 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn()
84 IoOveruseConfiguration expected) { in isEquals()
105 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals()
112 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals()
/cts/tests/tests/car/src/android/car/cts/utils/watchdog/
DIoOveruseConfigurationSubject.java76 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn()
84 IoOveruseConfiguration expected) { in isEquals()
105 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals()
112 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java54 public void checkCurrentState(int expected) { in checkCurrentState()
69 public void checkSilentModeStatus(boolean expected) { in checkSilentModeStatus()
74 public void checkSilentModeFull(SilentModeInfo expected) { in checkSilentModeFull()
123 public void checkCurrentPowerComponents(PowerPolicyDef expected) throws Exception { in checkCurrentPowerComponents()
141 public void checkCurrentPolicyGroupId(String expected, boolean useProtoDump) { in checkCurrentPolicyGroupId()
154 public void checkPowerPolicyGroups(PowerPolicyGroups expected) { in checkPowerPolicyGroups()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DPermissionUtils.java76 String permission, int expected, String packageName, String activityName) in launchActivityAndCheckPermission()
84 int expected) throws Exception { in assertBroadcastReceived()
93 String permission, int expected, String packageName, String activityName) in launchActivityAndRequestPermission()
101 receiver, UiDevice device, String permission, int expected, in launchActivityAndRequestPermission()
141 public static void checkPermission(String permission, int expected, String packageName) { in checkPermission()
142 checkPermission(getContext(), permission, expected, packageName); in checkPermission() local
145 public static void checkPermission(Context context, String permission, int expected, in checkPermission()
155 int expected) { in assertPermission()
165 public static void checkPermissionAndAppOps(String permission, int expected, String packageName) in checkPermissionAndAppOps()
167 checkPermissionAndAppOps(getContext(), permission, expected, packageName); in checkPermissionAndAppOps() local
[all …]
/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/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()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySavingTestBase.java101 public void waitUntilAlarmForceAppStandby(boolean expected) throws Exception { in waitUntilAlarmForceAppStandby()
106 public void waitUntilJobForceAppStandby(boolean expected) throws Exception { in waitUntilJobForceAppStandby()
122 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/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DPollTest.java79 NeneException expected = expectThrows(NeneException.class, () -> in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException() local
93 NeneException expected = expectThrows(NeneException.class, () -> in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException() local
135 NeneException expected = expectThrows(NeneException.class, () -> in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_throwsException() local
149 NeneException expected = expectThrows(NeneException.class, () -> in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_customError_throwsException() local
191 NeneException expected = expectThrows(NeneException.class, () -> in await_toBeNull_errorOnFailure_doesNotBecomeNull_throwsException() local
205 NeneException expected = expectThrows(NeneException.class, () -> in await_toBeNull_errorOnFailure_doesNotBecomeNull_customError_throwsException() local
247 NeneException expected = expectThrows(NeneException.class, () -> in await_toNotBeNull_errorOnFailure_doesNotBecomeNotNull_throwsException() local
261 NeneException expected = expectThrows(NeneException.class, () -> in await_toNotBeNull_errorOnFailure_doesNotBecomeNotNull_customError_throwsException() local
303 NeneException expected = expectThrows(NeneException.class, () -> in await_toMeet_errorOnFailure_doesNotMeet_throwsException() local
317 NeneException expected = expectThrows(NeneException.class, () -> in await_toMeet_errorOnFailure_doesNotMeet_customError_throwsException() local
/cts/tests/signature/lib/common/src/android/signature/cts/
DExpectedFailuresFilter.java35 private final Set<String> expected; field in ExpectedFailuresFilter
45 public ExpectedFailuresFilter(ResultObserver delegate, Collection<String> expected) { in ExpectedFailuresFilter()
/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/tests/tests/assist/src/android/assist/cts/classification/unittests/
DHelper.java32 FieldClassification actual, FieldClassification expected) { in assertFieldClassificationEquals()
40 FieldClassificationResponse actual, FieldClassificationResponse expected) { in assertFieldClassificationResponseEquals()

12345678910>>...16