Searched defs:TEST_APP_PID (Results 1 – 2 of 2) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 94 private static final int TEST_APP_PID = -1; field in PermissionUtilsTest 150 assertThat(checkPermissionSelf(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithStoragePerms() local 151 assertThat(checkPermissionShell(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithStoragePerms() local 156 checkPermissionInstallPackages(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnTestAppWithStoragePerms() local 159 checkPermissionAccessMtp(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithStoragePerms() local 162 checkPermissionWriteStorage(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithStoragePerms() local 177 assertThat(checkPermissionSelf(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithoutPerms() local 178 assertThat(checkPermissionShell(getContext(), TEST_APP_PID, testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithoutPerms() local 180 checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithoutPerms() local 185 getContext(), TEST_APP_PID, testAppUid, packageName, null)) in testDefaultPermissionsOnTestAppWithoutPerms() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 104 private static final int TEST_APP_PID = -1; field in PermissionActivityTest 124 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_favorite_false() local 130 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_unfavorite_false() local 144 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noRESAndMES_true() local 162 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noMANAGE_MEDIA_true() local 180 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_hasPermissionWithRES_false() local 198 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_hasPermissionWithMES_false() local 217 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_writeNoACCESS_MEDIA_LOCATION_true() local 239 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_writeHasACCESS_MEDIA_LOCATION_false() local
|