Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java44 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
861 assertThat(getFileOwnerPackageFromDatabase(fileToRemain)).isNull(); in testClearPackageData()
864 assertThat(getFileOwnerPackageFromDatabase(fileToBeDeleted)).isNull(); in testClearPackageData()
867 assertThat(getFileOwnerPackageFromDatabase(nestedFileToBeDeleted)).isNull(); in testClearPackageData()
924 assertThat(getFileOwnerPackageFromDatabase(newFile)) in createAndCheckFileAsApp()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java41 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
584 assertEquals(THIS_PACKAGE_NAME, getFileOwnerPackageFromDatabase(videoFile)); in testLegacyAppCanOwnAFile_hasW()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java696 public static String getFileOwnerPackageFromDatabase(@NonNull File file) { in getFileOwnerPackageFromDatabase() method in TestUtils
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java62 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
494 assertThat(getFileOwnerPackageFromDatabase(imageFile)).isEqualTo(THIS_PACKAGE_NAME); in testContributeMediaFile()