Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaGrantsTest.java63 private static final String TEST_OWNER_PACKAGE_NAME = "com.android.test.package"; field in MediaGrantsTest
105 mGrants.addMediaGrantsForPackage(TEST_OWNER_PACKAGE_NAME, uris, TEST_USER_ID); in testAddMediaGrants()
107 assertGrantExistsForPackage(fileId1, TEST_OWNER_PACKAGE_NAME, TEST_USER_ID); in testAddMediaGrants()
108 assertGrantExistsForPackage(fileId2, TEST_OWNER_PACKAGE_NAME, TEST_USER_ID); in testAddMediaGrants()
119 mGrants.addMediaGrantsForPackage(TEST_OWNER_PACKAGE_NAME, uris1, TEST_USER_ID); in testGetMediaGrantsForPackages()
126 new String[]{TEST_OWNER_PACKAGE_NAME}, TEST_USER_ID, mimeTypes, volumes)); in testGetMediaGrantsForPackages()
158 mGrants.addMediaGrantsForPackage(TEST_OWNER_PACKAGE_NAME, uris1, TEST_USER_ID); in test_GetMediaGrantsForPackages_excludesIsTrashed()
166 new String[]{TEST_OWNER_PACKAGE_NAME}, TEST_USER_ID, mimeTypes, volumes)); in test_GetMediaGrantsForPackages_excludesIsTrashed()
183 mGrants.addMediaGrantsForPackage(TEST_OWNER_PACKAGE_NAME, uris1, TEST_USER_ID); in test_GetMediaGrantsForPackages_excludesIsPending()
191 new String[]{TEST_OWNER_PACKAGE_NAME}, TEST_USER_ID, mimeTypes, volumes)); in test_GetMediaGrantsForPackages_excludesIsPending()
[all …]