Searched refs:getInstallerPackageName (Results 1 – 12 of 12) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/ |
D | AnalyticsUtilsTest.java | 78 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/ |
D | AppStoreUtil.java | 36 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/ |
D | AppStoreUtil.java | 36 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/ |
D | AnalyticsUtils.java | 79 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName() method in AnalyticsUtils 81 return context.getPackageManager().getInstallerPackageName(packageName); in getInstallerPackageName()
|
D | ProvisioningAnalyticsTracker.java | 368 AnalyticsUtils.getInstallerPackageName(context, dpcPackageName); in logDpcPackageInformation()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | PackageInstallerCompatVL.java | 159 || sessionInfo.getInstallerPackageName() == null in verify() 163 String pkg = sessionInfo.getInstallerPackageName(); in verify()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppInstallerInfoPreferenceController.java | 65 mInstallerPackage = AppStoreUtil.getInstallerPackageName(mContext, mPackageName); in setPackageName()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInstallerInfoPreferenceController.java | 65 mInstallerPackage = AppStoreUtil.getInstallerPackageName(mContext, mPackageName); in setPackageName()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcast.java | 75 packagesForInstaller.addToList(entry.getValue().getInstallerPackageName(), in getPackagesForInstaller()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInstallerInfoPreferenceControllerTest.java | 76 when(mPackageManager.getInstallerPackageName(anyString())).thenReturn(installerPackage); in setUp()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | PermissionControllerServiceImpl.java | 263 && !callerPackageName.equals(pm.getInstallerPackageName(pkgName))) { in onRevokeRuntimePermissions()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 728 String installerName = mPackageManager.getInstallerPackageName( in generateActivityWhitelistAsUser()
|