Home
last modified time | relevance | path

Searched refs:PackageUtil (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallStages.kt44 private val appSnippet: PackageUtil.AppSnippet? = null,
62 data class InstallInstalling(private val appSnippet: PackageUtil.AppSnippet) :
73 private val appSnippet: PackageUtil.AppSnippet,
95 private val appSnippet: PackageUtil.AppSnippet,
DInstallRepository.kt55 import com.android.packageinstaller.v2.model.PackageUtil.canPackageQuery in <lambda>()
56 import com.android.packageinstaller.v2.model.PackageUtil.generateStubPackageInfo in <lambda>()
57 import com.android.packageinstaller.v2.model.PackageUtil.getAppSnippet in <lambda>()
58 import com.android.packageinstaller.v2.model.PackageUtil.getPackageInfo in <lambda>()
59 import com.android.packageinstaller.v2.model.PackageUtil.getPackageNameForUid in <lambda>()
60 import com.android.packageinstaller.v2.model.PackageUtil.isCallerSessionOwner in <lambda>()
61 import com.android.packageinstaller.v2.model.PackageUtil.isInstallPermissionGrantedOrRequested in <lambda>()
62 import com.android.packageinstaller.v2.model.PackageUtil.isPermissionGranted in <lambda>()
63 import com.android.packageinstaller.v2.model.PackageUtil.localLogv in <lambda>()
105 private lateinit var appSnippet: PackageUtil.AppSnippet in <lambda>()
DUninstallRepository.kt50 import com.android.packageinstaller.v2.model.PackageUtil.getMaxTargetSdkVersionForUid
51 import com.android.packageinstaller.v2.model.PackageUtil.getPackageNameForUid
52 import com.android.packageinstaller.v2.model.PackageUtil.isPermissionGranted
53 import com.android.packageinstaller.v2.model.PackageUtil.isProfileOfOrSame
DPackageUtil.kt36 object PackageUtil { object
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java43 private PackageUtil.AppSnippet mAppSnippet;
68 intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
71 PackageUtil.AppSnippet.class); in onCreate()
DInstallStart.java20 import static com.android.packageinstaller.PackageUtil.getMaxTargetSdkVersionForUid;
126 boolean isSystemDownloadsProvider = PackageUtil.getSystemDownloadsProviderInfo( in onCreate()
375 return PackageUtil.SimpleErrorDialog.newInstance( in createDialog()
379 return PackageUtil.SimpleErrorDialog.newInstance( in createDialog()
DPackageInstallerActivity.java125 private PackageUtil.AppSnippet mAppSnippet;
233 return PackageUtil.SimpleErrorDialog.newInstance(R.string.Parse_error_dlg_text); in createDialog()
282 ApplicationInfo systemDownloadProviderInfo = PackageUtil.getSystemDownloadsProviderInfo( in getPackageNameForUid()
629 mAppSnippet = new PackageUtil.AppSnippet(label, in processPackageUri()
635 mPkgInfo = PackageUtil.getPackageInfo(this, sourceFile, in processPackageUri()
646 mAppSnippet = PackageUtil.getAppSnippet(this, mPkgInfo.applicationInfo, sourceFile); in processPackageUri()
666 mAppSnippet = new PackageUtil.AppSnippet(info.getAppLabel(), in processSessionInfo()
705 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall()
DInstallInstalling.java81 .getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
99 PackageUtil.AppSnippet as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate()
DInstallFailed.java111 PackageUtil.AppSnippet as = intent.getParcelableExtra( in onCreate()
112 PackageInstallerActivity.EXTRA_APP_SNIPPET, PackageUtil.AppSnippet.class); in onCreate()
DUninstallerActivity.java23 import static com.android.packageinstaller.PackageUtil.getMaxTargetSdkVersionForUid;
340 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
354 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
383 broadcastIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
DPackageUtil.java62 public class PackageUtil { class
282 return new PackageUtil.AppSnippet(label, icon, pContext); in getAppSnippet()
DUninstallUninstalling.java68 mAppInfo = getIntent().getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
DUninstallFinish.java67 PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onReceive()
DInstallStaging.java147 PackageUtil.safeClose(afd); in onResume()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java32 import com.android.packageinstaller.PackageUtil;
49 PackageUtil.initSnippetForInstalledApp(getContext(), in onCreateView()
DUninstallAppProgress.java41 import com.android.packageinstaller.PackageUtil;
242 mAppInfo = intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/
DUninstallLaunch.kt31 import com.android.packageinstaller.v2.model.PackageUtil.localLogv in <lambda>()
DInstallLaunch.kt46 import com.android.packageinstaller.v2.model.PackageUtil.localLogv in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java49 import com.android.packageinstaller.PackageUtil;
262 PackageInfo pkgInfo = PackageUtil.getPackageInfo(this, tempFile, in installPackage()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDualDisplayAreaGroupPolicyTest.java37 import static com.android.compatibility.common.util.PackageUtil.supportsRotation;