/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormatTest.java | 32 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseNative_requiredOnly() local 45 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testParseNative_withSize() local 58 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseVariant_requiredOnly() local 71 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" maxsize=\"1048576\" />"; in testParseVariant_withMaxSize() local 84 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\"" in testParseVariant_withTransformation() local 108 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\"" in testParseVariant_allFields() local 147 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testCreateNative_requiredOnly() local 161 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testCreateNative_withSize() local 175 String expected = "<variant encoding=\"JPEG\" pixel=\"32*32\" />"; in testCreateVariant_requiredOnly() local 191 String expected = "<variant encoding=\"JPEG\" pixel=\"32*32\" " in testCreateVariant_withTransformations() local [all …]
|
D | BipImageDescriptorTest.java | 36 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_encodingConstants() local 51 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_encodingObject() local 67 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_proprietaryEncoding() local 82 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantStretch() local 98 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantCrop() local 114 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantFill() local 130 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantCropThenFill() local 147 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_noSize() local 161 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_useMaxSize() local 176 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_allButSize() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageUtilsTest.java | 56 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo() local 67 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo() local 78 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo() local 89 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_defaultId_notMounted_returnsNull() local 101 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo() local 115 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo() local
|
/packages/modules/NetworkStack/tests/unit/src/android/net/util/ |
D | ConnectivityPacketSummaryTest.java | 62 final String expected = in testParseICMPv6DADProbe() local 84 final String expected = in testParseICMPv6RS() local 117 final String expected = in testParseICMPv6RA() local 140 final String expected = in testParseICMPv6NS() local 165 final String expected = in testInvalidICMPv6NDLength() local 186 final String expected = in testParseICMPv6NA() local 206 final String expected = in testParseARPRequest() local 227 final String expected = in testParseARPReply() local
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | SuggestionCursorUtil.java | 44 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestion() 49 SuggestionCursor expected, int positionExpected, in assertSameSuggestion() 58 public static void assertSameSuggestions(SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() 63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() 74 public static void assertSameSuggestionsNoOrder(SuggestionCursor expected, in assertSameSuggestionsNoOrder() 80 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestionsNoOrder() 89 public static void assertContainsSuggestion(Suggestion expected, SuggestionCursor observed) { in assertContainsSuggestion()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFile() local 64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFileNoExtension() local 72 final File expected = new File(getContext().getFilesDir(), "meow"); in testGenerateSaveFileHint() local 82 final File expected = new File(getContext().getFilesDir(), "real.mp4"); in testGenerateSaveFileDisposition() local
|
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
D | CameraUnitTest.java | 31 int[] expected; in testPrepareMatrix() local 58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/ |
D | MoreDatabaseUtilTest.java | 37 String expected = "create index testtable_testfield_index on testtable(testfield)"; in testBuildIndex() local 48 String expected = "drop index if exists testtable_testfield_index"; in testDropIndex() local
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | EditorUiUtilsTest.java | 87 final String expected = getContext() in testGetProfileAccountInfo_NonLocalAccount() local 101 final String expected = getContext().getString(R.string.local_profile_title); in testGetProfileAccountInfo_DeviceLocalAccount() local 112 final String expected = getContext().getString(R.string.account_type_format, DISPLAY_LABEL); in testGetAccountInfo_AccountType_NonGoogle() local 123 final String expected = getContext().getString(R.string.google_account_type_format, in testGetAccountInfo_AccountType_Google() local 136 final String expected = getContext().getString(R.string.account_phone); in testGetAccountInfo_AccountType_DeviceAccount() local
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/ |
D | CameraTest.java | 79 int[] expected; in testPrepareMatrix() local 106 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CarrierXmlParserTest.java | 45 String expected = in verifyParserFormat_shouldSameAsXml() local 77 Vector<String> expected = new Vector<>(); in verifyUssdParser_shouldMatchText() local
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | IntentAsserts.java | 39 public static void assertHasAction(Intent intent, String expected) { in assertHasAction() 43 public static void assertTargetsComponent(Intent intent, Class<?> expected) { in assertTargetsComponent() 76 public static void assertHasData(Intent intent, Uri expected) { in assertHasData()
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
D | TvOptionsRowAdapterTest.java | 132 private void waitUntilAudioTracksHaveSize(int expected) { in waitUntilAudioTracksHaveSize() 136 private void waitUntilVideoTracksHaveSize(int expected) { in waitUntilVideoTracksHaveSize() 140 private void waitUntilTracksHaveSize(int trackType, int expected) { in waitUntilTracksHaveSize()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecTests.java | 56 private static void assertArrayEquals(final String message, final Object[] expected, in assertArrayEquals() 76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) { in assertInsertAdditionalMoreKeys() 304 final String[] moreKeys, final String[] expected, final boolean expectedValue) { in assertGetBooleanValue() 343 final int defaultValue, final String[] moreKeys, final String[] expected, in assertGetIntValue()
|
D | MoreKeySpecSplitTests.java | 53 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) { in assertArrayEquals() 79 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local 83 private void assertError(final String message, final String value, final String ... expected) { in assertError()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 273 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_Buckets() local 284 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() local 295 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113651872() local 306 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519() local 317 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519_longer() local 328 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_115340326() local 339 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_116845885() local 704 private static void assertEndsWith(String expected, String actual) { in assertEndsWith()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/util/ |
D | SharedLogTest.java | 56 final String[] expected = { in testBasicOperation() local 77 private static void verifyLogLines(String[] expected, SharedLog log) { in verifyLogLines()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningControllerBaseTest.java | 62 protected void taskSucceeded(Class expected) throws Exception { in taskSucceeded() 68 protected AbstractProvisioningTask verifyTaskRun(Class expected) throws Exception { in verifyTaskRun()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 106 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/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 40 final String lowerCase, final String expected) { in assert_toTitleCaseOfKeyLabel() 123 final int expected) { in assert_toTitleCaseOfKeyCode() 156 final String expected) { in assert_capitalizeFirstCodePoint() 176 final String text, final String expected) { in assert_capitalizeFirstAndDowncaseRest()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/ |
D | SqliteTokenFinderTest.java | 46 final List<Pair<Integer, String>> expected = Arrays.asList(tokens); in checkTokens() local 52 List<Pair<Integer, String>> expected = new ArrayList<>(); in checkTokensRegular() local
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
D | geometry_utils_test.cpp | 25 const char* actualExpression, float expected, float actual) { in ExpectAngleDiffEq() 36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ argument
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | TestTable.java | 42 public void assertHasRow(int keyId, CharSequence expected) { in assertHasRow() 78 void assertVisible(boolean expected) { in assertVisible()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 163 List<CarUxRestrictionsConfiguration> expected = in testLoadConfig_UseXml() local 174 CarUxRestrictionsConfiguration expected = createEmptyConfig(); in testLoadConfig_UseProdConfig() local 249 CarUxRestrictionsConfiguration expected = createEmptyConfig(); in testLoadConfig_PromoteStagedFileWhenParked() local 264 CarUxRestrictionsConfiguration expected = createEmptyConfig(); in testLoadConfig_NoPromoteStagedFileWhenMoving() local 305 CarUxRestrictions expected = new CarUxRestrictions.Builder( in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | CustomizationVerifier.java | 81 ColorStateList expected = ColorStateList.valueOf(targetColor); in assertProgressBarColorCorrect() local 86 private Matcher<Bitmap> bitmapEqualTo(Bitmap expected) { in bitmapEqualTo()
|