Home
last modified time | relevance | path

Searched refs:getInstallerPackageName (Results 1 – 12 of 12) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DAnalyticsUtilsTest.java78 when(mockPackageManager.getInstallerPackageName(INVALID_PACKAGE_NAME)) in testGetInstallerPackageName_invalidPackage()
81 assertNull(AnalyticsUtils.getInstallerPackageName(mockContext, INVALID_PACKAGE_NAME)); in testGetInstallerPackageName_invalidPackage()
86 when(mockPackageManager.getInstallerPackageName(VALID_PACKAGE_NAME)) in testGetInstallerPackageName_validPackage()
90 AnalyticsUtils.getInstallerPackageName(mockContext, VALID_PACKAGE_NAME)); in testGetInstallerPackageName_validPackage()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java36 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName() method in AppStoreUtil
40 context.getPackageManager().getInstallerPackageName(packageName); in getInstallerPackageName()
62 String installerPackageName = getInstallerPackageName(context, packageName); in getAppStoreLink()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStoreUtil.java36 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName() method in AppStoreUtil
40 context.getPackageManager().getInstallerPackageName(packageName); in getInstallerPackageName()
62 String installerPackageName = getInstallerPackageName(context, packageName); in getAppStoreLink()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DAnalyticsUtils.java79 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName() method in AnalyticsUtils
81 return context.getPackageManager().getInstallerPackageName(packageName); in getInstallerPackageName()
DProvisioningAnalyticsTracker.java368 AnalyticsUtils.getInstallerPackageName(context, dpcPackageName); in logDpcPackageInformation()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompatVL.java159 || sessionInfo.getInstallerPackageName() == null in verify()
163 String pkg = sessionInfo.getInstallerPackageName(); in verify()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInstallerInfoPreferenceController.java65 mInstallerPackage = AppStoreUtil.getInstallerPackageName(mContext, mPackageName); in setPackageName()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceController.java65 mInstallerPackage = AppStoreUtil.getInstallerPackageName(mContext, mPackageName); in setPackageName()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcast.java75 packagesForInstaller.addToList(entry.getValue().getInstallerPackageName(), in getPackagesForInstaller()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceControllerTest.java76 when(mPackageManager.getInstallerPackageName(anyString())).thenReturn(installerPackage); in setUp()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java263 && !callerPackageName.equals(pm.getInstallerPackageName(pkgName))) { in onRevokeRuntimePermissions()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java728 String installerName = mPackageManager.getInstallerPackageName( in generateActivityWhitelistAsUser()