Home
last modified time | relevance | path

Searched refs:adoptShellPermissions (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/
DSecureFrpInstallTest.java58 private static void adoptShellPermissions() { in adoptShellPermissions() method in SecureFrpInstallTest
74 adoptShellPermissions(); in setSecureFrp()
102 adoptShellPermissions(); in setup()
129 adoptShellPermissions(); in testPackageInstallApiAsShell()
/cts/tests/camera/src/android/hardware/camera2/cts/
DPropertyTest.java69 private static void adoptShellPermissions() { in adoptShellPermissions() method in PropertyTest
90 adoptShellPermissions(); in setupClass()
100 adoptShellPermissions(); in teardownClass()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java45 import static android.appenumeration.cts.Utils.adoptShellPermissions;
243 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in sessionCallback_queriesNothing_cannotSeeSession()
261 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in sessionCallback_queriesNothingHasPermission_canSeeSession()
279 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in sessionCallback_queriesPackage_canSeeSession()
297 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in sessionCallback_queriesNothingTargetsQ_canSeeSession()
314 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in sessionCallback_sessionOwner_canSeeSession()
367 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in getAllPkgInstallerSessions_queriesNothing_cannotSeeSessions()
383 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in getAllPkgInstallerSessions_queriesNothingHasPermission_canSeeSessions()
398 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in getAllPkgInstallerSessions_queriesPackage_canSeeSessions()
414 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in getAllPkgInstallerSessions_queriesNothingTargetsQ_canSeeSessions()
[all …]
DPackageInstallerEnumerationTests.java26 import static android.appenumeration.cts.Utils.adoptShellPermissions;
54 adoptShellPermissions(Manifest.permission.INSTALL_PACKAGES); in setUp()
DUtils.java243 static void adoptShellPermissions(@Nullable String... permissions) { in adoptShellPermissions() method in Utils
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionCleanupTest.java82 adoptShellPermissions(); in tearDown()
91 adoptShellPermissions(); in testSessionsDeletedOnInstallerUninstalled()
122 private static void adoptShellPermissions() { in adoptShellPermissions() method in InstallSessionCleanupTest
DPackageManagerQueryPropertyTest.java65 private static void adoptShellPermissions() { in adoptShellPermissions() method in PackageManagerQueryPropertyTest
91 adoptShellPermissions(); in setup()
102 adoptShellPermissions(); in teardown()
322 adoptShellPermissions(); in testPackageRemoval()
335 adoptShellPermissions(); in testPackageRemoval()
349 adoptShellPermissions(); in testPackageRemoval()
DPackageManagerGetPropertyTest.java68 private static void adoptShellPermissions() { in adoptShellPermissions() method in PackageManagerGetPropertyTest
94 adoptShellPermissions(); in setup()
104 adoptShellPermissions(); in teardown()
346 adoptShellPermissions(); in testPackageRemoval()
367 adoptShellPermissions(); in testPackageRemoval()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java66 private void adoptShellPermissions() { in adoptShellPermissions() method in AtomicInstallTest
76 adoptShellPermissions(); in setup()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java50 public void adoptShellPermissions() { in adoptShellPermissions() method in ApexShimValidationTest
DStagedInstallTest.java181 public void adoptShellPermissions() { in adoptShellPermissions() method in StagedInstallTest