Searched refs:setInstallerPackageName (Results 1 – 13 of 13) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ModifyInstallerPackageTest.java | 101 mPM.setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE); in setInstallPackage() 106 mPM.setInstallerPackageName(OTHER_PACKAGE, null); in setInstallPackage() 118 mPM.setInstallerPackageName("thisdoesnotexistihope!", MY_PACKAGE); in setInstallPackageBadTarget() 132 mPM.setInstallerPackageName(OTHER_PACKAGE, "thisdoesnotexistihope!"); in setInstallPackageBadInstaller() 152 mPM.setInstallerPackageName(OTHER_PACKAGE, OTHER_PACKAGE); in setInstallPackageWrongCertificate()
|
D | ModifyInstallerCrossPackageTest.kt | 88 assertThrows { packageManager.setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE) } in attemptTakeOver()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | ModifyInstallerCrossPackageTest.kt | 72 packageManager.setInstallerPackageName(context.packageName, context.packageName) in takeInstaller() 77 packageManager.setInstallerPackageName(context.packageName, null) in clearInstaller()
|
D | UtilsProvider.java | 94 context.getPackageManager().setInstallerPackageName( in call()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/ |
D | PermissionWhitelistTest.kt | 59 packageManager.setInstallerPackageName(TARGET_PKG, packageName) in setTargetInstallerPackage() 72 it.setInstallerPackageName(TARGET_PKG, packageName) in setTargetInstallerPackage()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/ |
D | PermissionRequestTest.kt | 65 packageManager.setInstallerPackageName(packageName, packageName) in setSelfAsInstallerAndWhitelistPermission()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2024_0044.java | 59 params.setInstallerPackageName(vulnPackageName); in testPocCVE_2024_0044()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | CrossUserPackageVisibilityTests.java | 471 () -> mPackageManager.setInstallerPackageName( in testSetInstallerPackageName_cannotDetectStubPkg() 477 () -> mPackageManager.setInstallerPackageName( in testSetInstallerPackageName_cannotDetectStubPkg()
|
D | AppEnumerationTests.java | 1106 () -> setInstallerPackageName(QUERIES_NOTHING, TARGET_NO_API, QUERIES_NOTHING)); in queriesNothing_setInstallerPackageName_targetIsNoApi_throwsException() 1113 () -> setInstallerPackageName(QUERIES_NOTHING, QUERIES_NOTHING, TARGET_NO_API)); in queriesNothing_setInstallerPackageName_installerIsNoApi_throwsException() 1664 private void setInstallerPackageName(String sourcePackageName, String targetPackageName, in setInstallerPackageName() method in AppEnumerationTests
|
/cts/tests/framework/base/locale/src/android/localemanager/cts/ |
D | LocaleManagerTests.java | 251 (pm) -> pm.setInstallerPackageName(targetPackageName, INSTALLER_PACKAGE)); in setInstallerForPackage()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 971 getPackageManager().setInstallerPackageName(targetPackageName, installerPackageName); in sendSetInstallerPackageName()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 2110 params1.setInstallerPackageName(mContext.getPackageName()); in testInvalidInstallSessionParamsPackageNames() 2118 params2.setInstallerPackageName(maliciousPayload); in testInvalidInstallSessionParamsPackageNames()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 12858 method public void setInstallerPackageName(@Nullable String); 13078 method public abstract void setInstallerPackageName(@NonNull String, @Nullable String);
|