Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java52 Context userContext = getUserContext(); in AppPreference()
79 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo()
94 private Context getUserContext() throws PackageManager.NameNotFoundException { in getUserContext() method in AppPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DAppPreference.java52 Context userContext = getUserContext(); in AppPreference()
79 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo()
94 private Context getUserContext() throws PackageManager.NameNotFoundException { in getUserContext() method in AppPreference
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRole.java536 PackageManager userPackageManager = UserUtils.getUserContext(context, user) in isPackageMinimallyQualifiedAsUser()
668 Utils.getDeviceProtectedSharedPreferences(UserUtils.getUserContext(context, user)).edit() in onHolderAddedAsUser()
708 Utils.getDeviceProtectedSharedPreferences(UserUtils.getUserContext(context, user)).edit() in onNoneHolderSelectedAsUser()
DRequiredActivity.java48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
DRequiredContentProvider.java48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
DRequiredService.java48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
DRequiredBroadcastReceiver.java48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
DBrowserRoleBehavior.java92 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUserInternal()
DHomeRoleBehavior.java112 PackageManager userPackageManager = UserUtils.getUserContext(context, user) in preparePreferenceAsUser()
DAssistantRoleBehavior.java98 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUser()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DPackageUtils.java90 return getApplicationInfo(packageName, UserUtils.getUserContext(context, user)); in getApplicationInfoAsUser()
DUserUtils.java88 public static Context getUserContext(@NonNull Context context, @NonNull UserHandle user) { in getUserContext() method in UserUtils