/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/ |
D | UserUtils.java | 44 Context userContext = getUserContext(context, user); in isProfile() 60 Context userContext = getUserContext(context, user); in isManagedProfile() 76 Context userContext = getUserContext(context, user); in isCloneProfile() 93 Context userContext = getUserContext(context, user); in isPrivateProfile() 107 public static Context getUserContext(@NonNull Context context, @NonNull UserHandle user) { in getUserContext() method in UserUtils
|
D | RoleManagerCompat.java | 57 Context userContext = UserUtils.getUserContext(context, user); in isRoleFallbackEnabledAsUser() 72 Context userContext = UserUtils.getUserContext(context, user); in setRoleFallbackEnabledAsUser()
|
D | PackageUtils.java | 48 Context userContext = UserUtils.getUserContext(context, user); in getPackageInfoAsUser() 86 Context userContext = UserUtils.getUserContext(context, user); in getApplicationInfoAsUser()
|
D | NotificationUtils.java | 74 Context userContext = UserUtils.getUserContext(context, user); in setNotificationGrantStateForPackageAsUser() 85 Context userContext = UserUtils.getUserContext(context, user); in getNotificationListenersForPackageAsUser()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | FirstGrantTimeManager.java | 102 Integer uid = mPackageInfoHelper.getPackageUid(packageName, user, getUserContext(user)); in getFirstGrantTime() 128 mPackageInfoHelper.getPackageUid(packageName, user, getUserContext(user)); in setFirstGrantTime() 216 packageNames, user, getUserContext(user)); in updateFirstGrantTimesFromPermissionState() 249 packageNames, user, getUserContext(user))); in updateFirstGrantTimesFromPermissionState() 294 removedPackageUid, userHandle, getUserContext(userHandle)); in onPackageRemoved() 408 user, getUserContext(user)); in initAndValidateUserStateIfNeedLocked() 643 mPackageInfoHelper.getSharedUserNameFromUid(uid, getUserContext(user)); in extractUserGrantTimeStateUseSharedNames() 716 mPackageInfoHelper.getPackageUid(packageName, user, getUserContext(user)); in populateFromUserGrantTimeState() 732 private Context getUserContext(UserHandle userHandle) { in getUserContext() method in FirstGrantTimeManager
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockService.java | 65 private static Context getUserContext(@NonNull Context context, @NonNull UserHandle user) { in getUserContext() method in DeviceLockService 80 getUserContext(getContext(), userHandle).getSystemService(UserManager.class); in isUserSupported() 101 final Context userContext = getUserContext(getContext(), userHandle); in onUserUnlocked()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 57 Context userContext = getUserContext(); in AppPreference() 103 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo() 118 private Context getUserContext() throws PackageManager.NameNotFoundException { in getUserContext() method in AppPreference
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | HibernatedPackagesLiveData.kt | 25 import com.android.permissioncontroller.permission.utils.Utils.getUserContext 46 val userContext = getUserContext(PermissionControllerApplication.get(), user) in loadDataAndPostValue()
|
D | BroadcastReceiverLiveData.kt | 28 import com.android.permissioncontroller.permission.utils.Utils.getUserContext in <lambda>() 75 getUserContext(app, user) in <lambda>()
|
D | ServiceLiveData.kt | 36 import com.android.permissioncontroller.permission.utils.Utils.getUserContext in <lambda>() 165 getUserContext(app, user) in <lambda>()
|
D | SelectedAutofillServiceLiveData.kt | 41 Utils.getUserContext(app, user) in loadDataAndPostValue()
|
D | SelectedWallpaperServiceLiveData.kt | 42 Utils.getUserContext(app, user) in loadDataAndPostValue()
|
D | EnabledDeviceAdminsLiveData.kt | 41 Utils.getUserContext(app, user) in <lambda>()
|
D | SelectedVoiceInteractionServiceLiveData.kt | 45 Utils.getUserContext(app, user).contentResolver, in loadDataAndPostValue()
|
D | EnabledInputMethodsLiveData.kt | 42 Utils.getUserContext(app, user) in <lambda>()
|
D | EnabledNotificationListenersLiveData.kt | 45 Utils.getUserContext(app, user).contentResolver, in <lambda>()
|
D | DisabledPrintServicesLiveData.kt | 42 Settings.Secure.getString(Utils.getUserContext(app, user).contentResolver, SETTING) in <lambda>()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v35/ |
D | RetailDemoRoleBehavior.java | 46 Context userContext = UserUtils.getUserContext(context, user); in isPackageQualifiedAsUser() 60 Context userContext = UserUtils.getUserContext(context, user); in isAvailableAsUser()
|
D | WalletRoleBehavior.java | 73 Context userContext = UserUtils.getUserContext(context, user); in getDefaultHoldersAsUser() 141 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingApduServicesAsUser()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | NoMockAutoDeleteServiceTest.java | 52 HealthConnectUserContext context = testRule.getUserContext(); in setup() 74 AutoDeleteService.startAutoDelete(testRule.getUserContext()); in startAutoDelete_changeLogsGenerated()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/behavior/v35/ |
D | WalletRoleUiBehavior.java | 63 Context userContext = UserUtils.getUserContext(context, user); in preparePreferenceAsUser() 74 Context userContext = UserUtils.getUserContext(context, user); in prepareApplicationPreferenceAsUser() 146 Context userContext = UserUtils.getUserContext(context, user); in getNonPaymentServiceBannerAndLabelIfExists()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightPackageInfo.kt | 112 val userContext = Utils.getUserContext(app, UserHandle.getUserHandleForUid(uid)) in <lambda>() 127 val userContext = Utils.getUserContext(app, UserHandle.getUserHandleForUid(uid)) in <lambda>()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/ |
D | HomeRoleBehavior.java | 83 Context userContext = UserUtils.getUserContext(context, user); in getFallbackHolderAsUser() 118 Context userContext = UserUtils.getUserContext(context, user); in isSettingsApplicationAsUser()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectManagerService.java | 177 getUserContext(mContext, user.getUserHandle()).getSystemService(UserManager.class); in isUserSupported() 242 private static Context getUserContext(@NonNull Context context, @NonNull UserHandle user) { in getUserContext() method in HealthConnectManagerService
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/ |
D | PackageUtils.java | 67 return getApplicationInfo(packageName, UserUtils.getUserContext(context, user)); in getApplicationInfoAsUser()
|