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.java53 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
1148 while (i < 20 && getFileOwnerPackageFromDatabase(fileToRemain) != null) { in testClearPackageData()
1153 assertThat(getFileOwnerPackageFromDatabase(fileToRemain)).isNull(); in testClearPackageData()
1210 assertThat(getFileOwnerPackageFromDatabase(newFile)) in createAndCheckFileAsApp()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java45 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
611 assertEquals(THIS_PACKAGE_NAME, getFileOwnerPackageFromDatabase(videoFile)); in testLegacyAppCanOwnAFile_hasW()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java67 import static android.scopedstorage.cts.lib.TestUtils.getFileOwnerPackageFromDatabase;
515 assertThat(getFileOwnerPackageFromDatabase(imageFile)).isEqualTo(THIS_PACKAGE_NAME); in testContributeMediaFile()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java869 public static String getFileOwnerPackageFromDatabase(@NonNull File file) { in getFileOwnerPackageFromDatabase() method in TestUtils