Searched refs:getInstallSourceInfo (Results 1 – 10 of 10) sorted by relevance
69 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 …]
116 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()
91 { 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() method279 return pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in getInstallSourceInfo()
67 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()
81 val info = userContext.packageManager.getInstallSourceInfo(TEST_APK_PACKAGE_NAME) in installOnUserAndCheckInfo()
127 assertThat(pm.getInstallSourceInfo(TEST_APK_PACKAGE_NAME).updateOwnerPackageName) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
60 packageManager.getInstallSourceInfo(packageName); in assertPackageInstallerAndInitiator()
181 () -> mPackageManager.getInstallSourceInfo(TARGET_STUB)); in testGetInstallSourceInfo_cannotDetectStubPkg()186 () -> mPackageManager.getInstallSourceInfo(TARGET_STUB)); in testGetInstallSourceInfo_cannotDetectStubPkg()
2794 .getInstallSourceInfo(HELLO_WORLD_PACKAGE_NAME); in testShellInitiatingPkgName()2803 .getInstallSourceInfo(HELLO_WORLD_PACKAGE_NAME); in testShellInitiatingPkgNameSetInstallerPkgName()
12964 …method @NonNull public android.content.pm.InstallSourceInfo getInstallSourceInfo(@NonNull String) …