Home
last modified time | relevance | path

Searched refs:setMimeGroup (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/
DComplexFilterTest.java45 setMimeGroup(GROUP_FIRST, MIME_IMAGE_PNG); in testMimeGroupsNotIntersect()
46 setMimeGroup(GROUP_SECOND, MIME_TEXT_ANY); in testMimeGroupsNotIntersect()
53 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testMimeGroupsIntersect()
54 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testMimeGroupsIntersect()
61 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testRemoveTypeFromIntersection()
62 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testRemoveTypeFromIntersection()
70 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_IMAGE_PNG); in testRemoveIntersectionFromBothGroups()
71 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG, MIME_TEXT_ANY); in testRemoveIntersectionFromBothGroups()
80 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testClearGroupWithoutIntersection()
81 setMimeGroup(GROUP_SECOND, MIME_IMAGE_PNG); in testClearGroupWithoutIntersection()
[all …]
DSingleAppTest.java48 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testGroupWithExactType()
57 setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testGroupWithWildcardType()
66 setMimeGroup(GROUP_FIRST, MIME_ANY); in testGroupWithAnyType()
74 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testAddSimilarTypes()
82 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testAddDifferentTypes()
90 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testRemoveExactType()
99 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testRemoveDifferentType()
127 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_TEXT_XML); in testResetWithoutIntersection()
128 setMimeGroup(GROUP_FIRST, MIME_IMAGE_JPEG, MIME_IMAGE_PNG); in testResetWithoutIntersection()
135 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN, MIME_TEXT_XML); in testResetWithIntersection()
[all …]
DMultipleAppsTest.java50 helperApp().setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentSet()
55 setMimeGroup(GROUP_FIRST, MIME_IMAGE_ANY); in testMimeGroupsIndependentSet()
63 setMimeGroup(GROUP_FIRST, MIME_IMAGE_ANY); in testMimeGroupsIndependentReset()
64 helperApp().setMimeGroup(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()
83 setMimeGroup(GROUP_FIRST, MIME_TEXT_ANY); in testMimeGroupsIndependentClear()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/commands/
DMimeGroupCommands.java35 void setMimeGroup(String mimeGroup, Set<String> mimeTypes); in setMimeGroup() method
45 setMimeGroup(mimeGroup, newMimeTypes); in addMimeTypeToGroup()
54 setMimeGroup(mimeGroup, newMimeTypes); in removeMimeTypeFromGroup()
57 default void setMimeGroup(String mimeGroup, String... mimeTypes) { in setMimeGroup() method
58 setMimeGroup(mimeGroup, new ArraySet<>(mimeTypes)); in setMimeGroup()
62 setMimeGroup(mimeGroup, Collections.emptySet()); in clearMimeGroup()
97 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in noOp()
DTestAppCommands.java34 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in setMimeGroup() method in TestAppCommands
35 mPM.setMimeGroup(mimeGroup, mimeTypes); in setMimeGroup()
DAppCommands.java35 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in setMimeGroup() method in AppCommands
/cts/hostsidetests/securitybulletin/test-apps/BUG-237291548/src/android/security/cts/BUG_237291548/
DDeviceTest.java46 mPm.setMimeGroup(MIME_GROUP, mimeTypes); in testExceedGroupLimit()
51 mPm.setMimeGroup(MIME_GROUP, mimeTypes); in testExceedGroupLimit()
58 mPm.setMimeGroup(MIME_GROUP, mimeTypes); in testExceedMimeLengthLimit()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DMimeGroupOperations.java55 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in setMimeGroup() method in MimeGroupOperations
56 mCommands.setMimeGroup(mimeGroup, mimeTypes); in setMimeGroup()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/update/
DSameGroupsTest.java36 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdate()
DChangedGroupsTest.java48 setMimeGroup(GROUP_FIRST, MIME_TEXT_PLAIN); in testUpdateRemoveNonEmptyGroup()
/cts/tests/tests/content/HelloWorldApp/src_mime_group/com/example/helloworld/
DMimeGroupReceiver.java47 context.getPackageManager().setMimeGroup(mimeGroup, new ArraySet<>(mimeTypes)); in onReceive()
/cts/hostsidetests/packagemanager/dynamicmime/app/src/android/dynamicmime/app/
DAppMimeGroupsReceiver.java63 context.getPackageManager().setMimeGroup(mimeGroup, new ArraySet<>(mimeTypes)); in handleRequest()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt1187 contextPrimaryUser.packageManager.setMimeGroup(MIME_GROUP, mimeTypes1) in testUpdateMimeGroup_changed()
1211 contextSecondaryUser.packageManager.setMimeGroup(MIME_GROUP, mimeTypes2) in testUpdateMimeGroup_changed()
1301 contextPrimaryUser.packageManager.setMimeGroup(MIME_GROUP, mimeTypes) in testUpdateMimeGroup_noChanged_noBroadcastReceived()
1311 contextSecondaryUser.packageManager.setMimeGroup(MIME_GROUP, mimeTypes) in testUpdateMimeGroup_noChanged_noBroadcastReceived()
DPackageManagerTest.java4042 mPackageManager.setMimeGroup(MIME_GROUP, mimeTypes); in setUpdateMimeGroupAndAssertBroadcasts()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13079 method public void setMimeGroup(@NonNull String, @NonNull java.util.Set<java.lang.String>);