Home
last modified time | relevance | path

Searched refs:MIME_TEXT_ANY (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/
DSingleAppTest.java25 import static android.dynamicmime.common.Constants.MIME_TEXT_ANY;
51 assertMatchedByMimeGroup(GROUP_FIRST, MIME_TEXT_ANY, MIME_ANY); in testGroupWithExactType()
57 setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testGroupWithWildcardType()
59 assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testGroupWithWildcardType()
69 assertMatchedByMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_ANY); in testGroupWithAnyType()
75 addMimeTypeToGroup(GROUP_FIRST, MIME_TEXT_ANY); in testAddSimilarTypes()
77 assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY, MIME_TEXT_PLAIN); in testAddSimilarTypes()
100 removeMimeTypeFromGroup(GROUP_FIRST, MIME_TEXT_ANY); in testRemoveDifferentType()
107 testKeepAndRemoveSimilarTypes(MIME_TEXT_PLAIN, MIME_TEXT_ANY); in testRemoveSameBaseType_keepSpecific()
112 testKeepAndRemoveSimilarTypes(MIME_TEXT_ANY, MIME_TEXT_PLAIN); in testRemoveSameBaseType_keepWildcard()
[all …]
DMultipleAppsTest.java20 import static android.dynamicmime.common.Constants.MIME_TEXT_ANY;
50 helperApp().setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentSet()
53 helperApp().assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentSet()
58 helperApp().assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentSet()
64 helperApp().setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentReset()
66 removeMimeTypeFromGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentReset()
70 helperApp().assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentReset()
75 setMimeGroup(GROUP_FIRST, MIME_IMAGE_ANY, MIME_TEXT_ANY); in testMimeGroupsIndependentClear()
76 helperApp().setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentClear()
81 helperApp().assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentClear()
[all …]
DComplexFilterTest.java24 import static android.dynamicmime.common.Constants.MIME_TEXT_ANY;
46 setMimeGroup(GROUP_SECOND, MIME_TEXT_ANY); in testMimeGroupsNotIntersect()
48 assertBothGroups(MIME_IMAGE_PNG, MIME_TEXT_ANY); in testMimeGroupsNotIntersect()
54 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testMimeGroupsIntersect()
56 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_PNG); in testMimeGroupsIntersect()
62 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testRemoveTypeFromIntersection()
65 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_PNG); in testRemoveTypeFromIntersection()
71 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testRemoveIntersectionFromBothGroups()
75 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY); in testRemoveIntersectionFromBothGroups()
90 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testClearGroupWithIntersection()
[all …]
/cts/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/
DConstants.java40 public static final String MIME_TEXT_ANY = "text/*"; field in Constants