Searched refs:MIME_TEXT_PLAIN (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/ |
D | ComplexFilterTest.java | 25 import static android.dynamicmime.common.Constants.MIME_TEXT_PLAIN; 53 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testMimeGroupsIntersect() 56 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_PNG); in testMimeGroupsIntersect() 61 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testRemoveTypeFromIntersection() 65 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_PNG); in testRemoveTypeFromIntersection() 70 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testRemoveIntersectionFromBothGroups() 75 assertBothGroups(MIME_TEXT_PLAIN, MIME_TEXT_ANY); in testRemoveIntersectionFromBothGroups() 80 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testClearGroupWithoutIntersection() 89 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testClearGroupWithIntersection() 100 assertGroupsAndType(MIME_IMAGE_PNG, MIME_TEXT_PLAIN); in testMimeGroupNotIntersectWithStaticType() [all …]
|
D | SingleAppTest.java | 26 import static android.dynamicmime.common.Constants.MIME_TEXT_PLAIN; 48 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testGroupWithExactType() 50 assertMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testGroupWithExactType() 60 assertMatchedByMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_ANY); in testGroupWithWildcardType() 69 assertMatchedByMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_TEXT_ANY, MIME_IMAGE_ANY); in testGroupWithAnyType() 74 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testAddSimilarTypes() 77 assertMimeGroup(GROUP_FIRST, MIME_TEXT_ANY, MIME_TEXT_PLAIN); in testAddSimilarTypes() 82 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testAddDifferentTypes() 85 assertMimeGroup(GROUP_FIRST, MIME_IMAGE_ANY, MIME_TEXT_PLAIN); in testAddDifferentTypes() 90 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testRemoveExactType() [all …]
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/update/ |
D | SameGroupsTest.java | 22 import static android.dynamicmime.common.Constants.MIME_TEXT_PLAIN; 36 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdate() 40 assertMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdate()
|
D | ChangedGroupsTest.java | 23 import static android.dynamicmime.common.Constants.MIME_TEXT_PLAIN; 48 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdateRemoveNonEmptyGroup() 50 assertMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdateRemoveNonEmptyGroup()
|
/cts/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/ |
D | Constants.java | 38 public static final String MIME_TEXT_PLAIN = "text/plain"; field in Constants
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/ |
D | PreferredActivitiesTest.java | 26 import static android.dynamicmime.common.Constants.MIME_TEXT_PLAIN; 362 return MIME_TEXT_PLAIN; in mimeType()
|