Home
last modified time | relevance | path

Searched refs:mWorkProfile (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListViewModel.java44 private final UserHandle mWorkProfile; field in DefaultAppListViewModel
55 mWorkProfile = UserUtils.getWorkProfile(application); in DefaultAppListViewModel()
56 mWorkLiveData = mWorkProfile != null ? Transformations.map(new RoleListLiveData(true, in DefaultAppListViewModel()
57 mWorkProfile, application), sortFunction) : null; in DefaultAppListViewModel()
76 return mWorkProfile != null; in hasWorkProfile()
81 return mWorkProfile; in getWorkProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java79 private UserHandle mWorkProfile; field in InteractAcrossProfilesDetails
95 mWorkProfile = InteractAcrossProfilesSettings.getWorkProfile(mUserManager); in onCreate()
96 mPersonalProfile = mUserManager.getProfileParent(mWorkProfile); in onCreate()
97 mInstalledInWork = isPackageInstalled(mPackageName, mWorkProfile.getIdentifier()); in onCreate()
119 addAppTitleAndIcons(mPersonalProfile, mWorkProfile); in onCreate()
166 mContext, mWorkProfile).component) in logEvent()
345 mContext.startActivityAsUser(mInstallAppIntent, mWorkProfile); in handleInstallBannerClick()
388 mContext, mWorkProfile)); in refreshUiForNonConfigurableApps()