Searched refs:fileId1 (Results 1 – 2 of 2) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaGrantsTest.java | 101 Long fileId1 = insertFileInResolver(mIsolatedResolver, "test_file1"); in testAddMediaGrants() local 103 List<Uri> uris = List.of(buildValidPickerUri(fileId1), buildValidPickerUri(fileId2)); in testAddMediaGrants() 107 assertGrantExistsForPackage(fileId1, TEST_OWNER_PACKAGE_NAME, TEST_USER_ID); in testAddMediaGrants() 113 Long fileId1 = insertFileInResolver(mIsolatedResolver, "test_file1"); in testGetMediaGrantsForPackages() local 116 List<Uri> uris1 = List.of(buildValidPickerUri(fileId1), buildValidPickerUri(fileId2)); in testGetMediaGrantsForPackages() 128 List<Long> expectedFileIdsList = List.of(fileId1, fileId2); in testGetMediaGrantsForPackages() 154 Long fileId1 = insertFileInResolver(mIsolatedResolver, "test_file1"); in test_GetMediaGrantsForPackages_excludesIsTrashed() local 156 List<Uri> uris1 = List.of(buildValidPickerUri(fileId1), buildValidPickerUri(fileId2)); in test_GetMediaGrantsForPackages_excludesIsTrashed() 163 updateFileValues(fileId1, MediaStore.Files.FileColumns.IS_TRASHED, "1"); in test_GetMediaGrantsForPackages_excludesIsTrashed() 179 Long fileId1 = insertFileInResolver(mIsolatedResolver, "test_file1"); in test_GetMediaGrantsForPackages_excludesIsPending() local [all …]
|
D | MediaGrantsAppOpStateTest.java | 93 Long fileId1 = insertFileInResolver(sIsolatedContext.getContentResolver(), "test_file1"); in setUp() local 95 sUriList = List.of(FileCreationUtils.buildValidPickerUri(fileId1), in setUp()
|