Home
last modified time | relevance | path

Searched defs:actual (Results 1 – 25 of 71) sorted by relevance

123

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java44 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFile() local
47 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFile() local
65 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileNoExtension() local
68 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileNoExtension() local
76 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHint() local
78 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileHint() local
83 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileDisposition() local
86 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileDisposition() local
DThreadingTest.java82 final String actual = d.first.getContents(); in testFilenameRace() local
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSearchUtilTest.java30 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testFindMatchingLine() local
54 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContains() local
65 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContainsNotFound() local
82 final String actual = "....hello.kitty"; in testFindNextTokenStart() local
/packages/apps/TV/tests/unit/src/com/android/tv/util/images/
DScaledBitmapInfoTest.java36 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() local
42 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() local
53 ScaledBitmapInfo actual = in testBug20488453() local
70 ScaledBitmapInfo actual) { in assertScaledBitmapSize()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/
DMoreDatabaseUtilTest.java38 String actual = MoreDatabaseUtils.buildCreateIndexSql("testtable", "testfield") in testBuildIndex() local
49 String actual = MoreDatabaseUtils.buildDropIndexSql("testtable", "testfield").toLowerCase(); in testDropIndex() local
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DScheduledRecordingTest.java74 ScheduledRecording actual = in testBuildProgram() local
81 ScheduledRecording actual = in testBuildTime() local
90 ScheduledRecording actual = ScheduledRecording.buildFrom(expected).build(); in testBuildFrom() local
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelNumberSubject.java37 public static ChannelNumberSubject assertThat(@Nullable ChannelNumber actual) { in assertThat()
41 private final ChannelNumber actual; field in ChannelNumberSubject
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java57 final Object[] actual) { in assertArrayEquals()
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); in assertInsertAdditionalMoreKeys() local
305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetBooleanValue() local
345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetIntValue() local
DMoreKeySpecSplitTests.java53 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) { in assertArrayEquals()
78 final String[] actual = MoreKeySpec.splitKeySpecs(resolvedActual); in assertTextArray() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java197 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in performClick_permissionControllerExists_startsPermissionController() local
207 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in performClick_permissionControllerExists_intentHasPackageName() local
217 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in performClick_permissionControllerExists_intentHasRole() local
226 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in performClick_permissionControllerDoesntExist_doesNotStartPermissionController() local
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java106 public static void equals(final int expected, final int actual) { in equals()
112 public static void equals(final long expected, final long actual) { in equals()
118 public static void equals(final Object expected, final Object actual) { in equals()
125 public static void oneOf(final int actual, final int ...expected) { in oneOf()
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp25 const char* actualExpression, float expected, float actual) { in ExpectAngleDiffEq()
36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ argument
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java167 List<CarUxRestrictionsConfiguration> actual = mService.loadConfig(); in testLoadConfig_UseXml() local
177 CarUxRestrictionsConfiguration actual = mService.loadConfig().get(0); in testLoadConfig_UseProdConfig() local
196 CarUxRestrictionsConfiguration actual = mService.loadConfig().get(0); in testLoadConfig_SupportsLegacyV1() local
255 CarUxRestrictionsConfiguration actual = mService.loadConfig().get(0); in testLoadConfig_PromoteStagedFileWhenParked() local
270 CarUxRestrictionsConfiguration actual = mService.loadConfig().get(0); in testLoadConfig_NoPromoteStagedFileWhenMoving() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
DColorMatcherTest.java46 int actual = mColorMatcher.findClosestColor(source); in assertCorrect() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DFips186_2PrfTest.java63 assertArrayEquals(TestUtils.hexStringToByteArray(EXPECTED_RESULT), actual); in testFips186_2Prf() local
/packages/apps/Camera2/tests/src/com/android/camera/unittest/
DCameraUnitTest.java58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
DCameraTest.java106 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DPermissionsPreferenceControllerTest.java76 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in testHandlePreferenceClicked_navigateToNextActivity() local
/packages/services/Telephony/tests/src/com/android/services/telephony/
DConferenceParticipantConnectionTest.java78 private void assertUrisEqual(Uri expected, Uri actual) { in assertUrisEqual()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java121 CalendarAppWidgetModel actual = CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_1Event() local
170 … CalendarAppWidgetModel actual = CalendarAppWidgetService.CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_AllDayEventLater() local
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DEvaluatorTestCase.java111 void assertEqualScores(double expected, double actual) { in assertEqualScores()
115 void assertEqualScores(String message, double expected, double actual) { in assertEqualScores()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DPreferredEngineEntryPreferenceControllerTest.java90 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in performButtonClick_navigateToNextActivity() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat() local
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java59 void assertEqualIntents(Intent actual, Intent expected) { in assertEqualIntents()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java57 private void assertEqualIntents(Intent actual, Intent expected) { in assertEqualIntents()

123