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.java46 private final UserHandle mWorkProfile; field in DefaultAppListViewModel
61 mWorkProfile = UserUtils.getWorkProfile(application); in DefaultAppListViewModel()
62 mWorkLiveData = mWorkProfile != null ? Transformations.map(new RoleListLiveData(true, in DefaultAppListViewModel()
63 mWorkProfile, application), sortFunction) : null; in DefaultAppListViewModel()
92 return mWorkProfile != null; in hasWorkProfile()
97 return mWorkProfile; in getWorkProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java100 private UserHandle mWorkProfile; field in InteractAcrossProfilesDetails
115 mWorkProfile = InteractAcrossProfilesSettings.getWorkProfile(mUserManager); in onCreate()
116 mPersonalProfile = mUserManager.getProfileParent(mWorkProfile); in onCreate()
117 mInstalledInWork = isPackageInstalled(mPackageName, mWorkProfile.getIdentifier()); in onCreate()
158 addAppTitleAndIcons(mPersonalProfile, mWorkProfile); in onCreateView()
207 mContext, mWorkProfile).component) in logEvent()
398 && isInstallableInProfile(mInstallAppIntent, mWorkProfile)) { in handleInstallBannerClick()
400 mContext.startActivityAsUser(mInstallAppIntent, mWorkProfile); in handleInstallBannerClick()
446 mContext, mWorkProfile)); in refreshUiForNonConfigurableApps()
476 && isInstallableInProfile(mInstallAppIntent, mWorkProfile)) { in refreshUiForNonConfigurableApps()