Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DAppStoreUtils.kt26 val installerPackageName = getInstallerPackageName(packageName) in getAppStoreLink() constant
27 return getAppStoreLink(installerPackageName, packageName) in getAppStoreLink()
31 var installerPackageName: String? = null in getInstallerPackageName() variable
37 installerPackageName = source.installingPackageName in getInstallerPackageName()
47 installerPackageName = originatingPackageName in getInstallerPackageName()
55 return installerPackageName in getInstallerPackageName()
58 private fun getAppStoreLink(installerPackageName: String?, packageName: String): Intent? { in getAppStoreLink()
60 if (installerPackageName != null) { in getAppStoreLink()
63 intent.setPackage(installerPackageName) in getAppStoreLink()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DIntentsUtil.java42 String installerPackageName; in getInstallerPackageName() local
47 installerPackageName = source.getInstallingPackageName(); in getInstallerPackageName()
57 installerPackageName = originatingPackageName; in getInstallerPackageName()
62 installerPackageName = null; in getInstallerPackageName()
64 return installerPackageName; in getInstallerPackageName()
71 @NonNull String installerPackageName, in createAppStoreIntent() argument
73 Intent intent = new Intent(Intent.ACTION_SHOW_APP_INFO).setPackage(installerPackageName); in createAppStoreIntent()
87 String installerPackageName = getInstallerPackageName(context, packageName); in createAppStoreIntent() local
88 return createAppStoreIntent(context, installerPackageName, packageName); in createAppStoreIntent()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java55 String installerPackageName; in getInstallerPackageNameAndInstallSourceInfo() local
60 installerPackageName = source.getInstallingPackageName(); in getInstallerPackageNameAndInstallSourceInfo()
71 installerPackageName = originatingPackageName; in getInstallerPackageNameAndInstallSourceInfo()
76 installerPackageName = null; in getInstallerPackageNameAndInstallSourceInfo()
78 return new Pair<>(installerPackageName, source); in getInstallerPackageNameAndInstallSourceInfo()
93 public static Intent getAppStoreLink(Context context, String installerPackageName, in getAppStoreLink() argument
96 .setPackage(installerPackageName); in getAppStoreLink()
108 String installerPackageName = getInstallerPackageName(context, packageName); in getAppStoreLink() local
109 return getAppStoreLink(context, installerPackageName, packageName); in getAppStoreLink()
DRunningServiceDetails.java123 report.installerPackageName = mInstaller.getPackageName(); in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcast.java108 private void sendBroadcastToInstaller(Context context, String installerPackageName, in sendBroadcastToInstaller() argument
141 printList(installerPackageName, "Collection item", collectionItems); in sendBroadcastToInstaller()
142 printList(installerPackageName, "Workspace item", workspaceItems); in sendBroadcastToInstaller()
143 printList(installerPackageName, "Hotseat item", hotseatItems); in sendBroadcastToInstaller()
144 printList(installerPackageName, "Widget item", widgetItems); in sendBroadcastToInstaller()
155 .setPackage(installerPackageName) in sendBroadcastToInstaller()
DFirstScreenBroadcastHelper.kt180 val installer = entry.value.installerPackageName in <lambda>()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java158 String installerPackageName = null; in getInstallerPackageName() local
160 installerPackageName = installSourceInfo.getInitiatingPackageName(); in getInstallerPackageName()
161 if (installerPackageName == null || installerPackageName.equals("com.android.shell")) { in getInstallerPackageName()
162 installerPackageName = installSourceInfo.getInstallingPackageName(); in getInstallerPackageName()
166 return installerPackageName == null ? "" : installerPackageName; in getInstallerPackageName()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt74 installerPackageName = expectedInstallerPackage in Broadcast Models are created with Pending Items from first screen()
79 installerPackageName = expectedInstallerPackage in Broadcast Models are created with Pending Items from first screen()
197 installerPackageName = expectedInstallerPackage in Broadcast Models are created with Pending Items in Collections from the first screen()
202 installerPackageName = expectedInstallerPackage in Broadcast Models are created with Pending Items in Collections from the first screen()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionRationaleTest.kt136 assertStoreLinkClickSuccessful(installerPackageName = TEST_INSTALLER_PACKAGE_NAME) in <lambda>()
318 installerPackageName: String, in <lambda>()
338 installerPackageName, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt1706 installerPackageName: String?, in <lambda>()
1709 val intent: Intent = Intent(Intent.ACTION_SHOW_APP_INFO).setPackage(installerPackageName) in <lambda>()