Home
last modified time | relevance | path

Searched defs:TEST_APP_PID (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java113 private static final int TEST_APP_PID = -1; field in PermissionUtilsTest
170 assertThat(checkPermissionSelf(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithStoragePerms() local
176 checkPermissionInstallPackages(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnTestAppWithStoragePerms() local
179 checkPermissionAccessMtp(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithStoragePerms() local
182 checkPermissionWriteStorage(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnTestAppWithStoragePerms() local
185 checkPermissionReadStorage(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithStoragePerms() local
206 assertThat(checkPermissionSelf(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithMediaPerms() local
211 getContext(), TEST_APP_PID, testAppUid, packageName, null)).isFalse(); in testDefaultPermissionsOnTestAppWithMediaPerms() local
213 getContext(), TEST_APP_PID, testAppUid, packageName, null)).isFalse(); in testDefaultPermissionsOnTestAppWithMediaPerms() local
215 getContext(), TEST_APP_PID, testAppUid, packageName, null)).isFalse(); in testDefaultPermissionsOnTestAppWithMediaPerms() local
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java120 private static final int TEST_APP_PID = -1; field in PermissionActivityTest
149 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_favorite_false() local
155 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_unfavorite_false() local
170 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noRESAndMES_true() local
190 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMAAndMES_true_33() local
214 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMIAndMES_true_33() local
238 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMVAndMES_true_33() local
263 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialogForSubtitle_noRMARMVAndMES_true_33() local
286 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noMANAGE_MEDIA_true() local
310 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noMANAGE_MEDIA_true_33() local
[all …]