Home
last modified time | relevance | path

Searched refs:PackageUtils (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DPackageUtils.java26 final class PackageUtils { class
27 private static final String TAG = PackageUtils.class.getSimpleName();
41 private PackageUtils() { in PackageUtils() method in PackageUtils
DBugReportInfoActivity.java18 import static com.android.car.bugreport.PackageUtils.getPackageVersion;
DBugReportService.java24 import static com.android.car.bugreport.PackageUtils.getPackageVersion;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPackageUtils.java23 public class PackageUtils { class
24 private PackageUtils() { in PackageUtils() method in PackageUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DEncryptionUnawareConfirmationMixin.java27 import com.android.permissioncontroller.role.utils.PackageUtils;
43 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in getConfirmationMessage()
DEmergencyRoleBehavior.java28 import com.android.permissioncontroller.role.utils.PackageUtils;
58 PackageInfo packageInfo = PackageUtils.getPackageInfo(packageName, 0, context); in getFallbackHolder()
DAppOp.java25 import com.android.permissioncontroller.role.utils.PackageUtils;
106 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in checkTargetSdkVersion()
DAppOpPermissions.java28 import com.android.permissioncontroller.role.utils.PackageUtils;
48 PackageInfo packageInfo = PackageUtils.getPackageInfo(packageName, in grant()
DDialerRoleBehavior.java31 import com.android.permissioncontroller.role.utils.PackageUtils;
90 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
DSmsRoleBehavior.java31 import com.android.permissioncontroller.role.utils.PackageUtils;
105 if (SdkLevel.isAtLeastS() && PackageUtils.isSystemPackage(packageName, context)) { in grant()
DPermissions.java41 import com.android.permissioncontroller.role.utils.PackageUtils;
573 return PackageUtils.getPackageInfo(packageName, extraFlags in getPackageInfo()
586 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in isRuntimePermissionsSupported()
787 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in getAppOpMode()
815 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in setAppOpMode()
DBrowserRoleBehavior.java34 import com.android.permissioncontroller.role.utils.PackageUtils;
138 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
DRole.java45 import com.android.permissioncontroller.role.utils.PackageUtils;
465 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in isDefaultHolderQualified()
727 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in isPackageMinimallyQualifiedAsUser()
876 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in killApp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleActivity.java40 import com.android.permissioncontroller.role.utils.PackageUtils;
136 if (PackageUtils.getApplicationInfo(mPackageName, this) == null) { in onCreate()
287 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in getApplicationUid()
DRoleLiveData.java33 import com.android.permissioncontroller.role.utils.PackageUtils;
90 ApplicationInfo qualifyingApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
DRoleListLiveData.java34 import com.android.permissioncontroller.role.utils.PackageUtils;
115 ApplicationInfo holderApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
DRequestRoleFragment.java58 import com.android.permissioncontroller.role.utils.PackageUtils;
135 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(mPackageName, context); in onCreateDialog()
210 if (PackageUtils.getApplicationInfo(mPackageName, context) == null) { in onStart()
398 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, in getApplicationUid()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/
DPackageUtils.java31 public final class PackageUtils { class
33 private PackageUtils() {} in PackageUtils() method in PackageUtils
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaUtils.java24 import com.android.dialer.common.PackageUtils;
150 supportSprintWifiCall = PackageUtils.isPackageEnabled(WIFI_CALL_PACKAGE_NAME, context); in isSupportingSprintWifiCall()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsPackageMonitor.java31 import com.android.providers.contacts.util.PackageUtils;
144 if (PackageUtils.isPackageInstalled(context, packageName)) { in cleanupVoicemail()
DVoicemailContentProvider.java46 import com.android.providers.contacts.util.PackageUtils;
549 final boolean installed = PackageUtils.isPackageInstalled(getContext(), pkg); in removeStalePackages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleControllerServiceImpl.java34 import com.android.permissioncontroller.role.utils.PackageUtils;
342 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, this); in removeRoleHolderInternal()
431 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, this); in onIsApplicationVisibleForRole()
/packages/apps/Dialer/java/com/android/dialer/common/
DPackageUtils.java25 public class PackageUtils { class