Home
last modified time | relevance | path

Searched refs:getInstallSourceInfo (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DUpdateOwnershipEnforcementMultiUserTest.kt69 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithoutRequestingUpdateOwnership_hasNoUpdateOwner()
73 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithoutRequestingUpdateOwnership_hasNoUpdateOwner()
87 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_updateOwnerIsTheSame_ownerRetained()
93 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_updateOwnerIsTheSame_ownerRetained()
107 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_updateOwnerIsNotTheSame_hasNoUpdateOwner()
113 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_updateOwnerIsNotTheSame_hasNoUpdateOwner()
125 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_noUpdateOwnerIsSet_hasNoUpdateOwner()
131 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installWithRequestingUpdateOwnership_noUpdateOwnerIsSet_hasNoUpdateOwner()
149 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installExistingPackage_updateOwnerIsNotTheSame_hasNoUpdateOwner()
181 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installExistingPackage_updateOwnerIsTheSame_ownerRetained()
[all …]
DUpdateOwnershipEnforcementTest.kt116 val sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in setRequestUpdateOwnership_whenInitialInstall_hasUpdateOwner()
138 val sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in setRequestUpdateOwnership_whenUpdate_hasNoUpdateOwner()
151 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in uninstallUpdateOwner_hasNoUpdateOwner()
156 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in uninstallUpdateOwner_hasNoUpdateOwner()
167 val sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaShellCommand_enableUpdateOwnership()
261 val sourceInfo = pm.getInstallSourceInfo(TEST_ARCHIVE_APK_PACKAGE_NAME) in updateArchivedAppViaSessionByNonOwner_showConfirmDialog()
349 val sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in updateOwnershipEnforcement_updateByNonOwner_hasNoUpdateOwner()
367 val sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in setRequestUpdateOwnership_notRequestWhenUpdate_ownerRetained()
441 var sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in relinquishUpdateOwnership_notFromUpdateOwner_throwSecurityException()
449 sourceInfo = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in relinquishUpdateOwnership_notFromUpdateOwner_throwSecurityException()
DIntentTest.kt91 { originatingPackageName = getInstallSourceInfo().originatingPackageName }, in confirmInstallation()
125 assertEquals(context.opPackageName, getInstallSourceInfo().installingPackageName) in installWithCallingInstallerPackageName()
144 getInstallSourceInfo().initiatingPackageName, in installWithAnotherInstallerPackageName()
145 getInstallSourceInfo().installingPackageName in installWithAnotherInstallerPackageName()
164 getInstallSourceInfo().initiatingPackageName, in installWithLongInstallerPackageName()
165 getInstallSourceInfo().installingPackageName in installWithLongInstallerPackageName()
278 private fun getInstallSourceInfo(): InstallSourceInfo { in getInstallSourceInfo() method
279 return pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in getInstallSourceInfo()
DInstallSourceInfoTest.kt67 val info = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaIntent()
78 val info = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaAdb()
92 val info = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaAdbValidInstallerName()
105 val info = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaAdbInvalidInstallerName()
137 val info = pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installViaSession()
DInstallSourceInfoMultiUserTest.kt81 val info = userContext.packageManager.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installOnUserAndCheckInfo()
DPreapprovalInstallTest.kt127 assertThat(pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME).updateOwnerPackageName) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerPackageTest.java60 packageManager.getInstallSourceInfo(packageName); in assertPackageInstallerAndInitiator()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java181 () -> mPackageManager.getInstallSourceInfo(TARGET_STUB)); in testGetInstallSourceInfo_cannotDetectStubPkg()
186 () -> mPackageManager.getInstallSourceInfo(TARGET_STUB)); in testGetInstallSourceInfo_cannotDetectStubPkg()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java2794 .getInstallSourceInfo(HELLO_WORLD_PACKAGE_NAME); in testShellInitiatingPkgName()
2803 .getInstallSourceInfo(HELLO_WORLD_PACKAGE_NAME); in testShellInitiatingPkgNameSetInstallerPkgName()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt12964 …method @NonNull public android.content.pm.InstallSourceInfo getInstallSourceInfo(@NonNull String) …