Home
last modified time | relevance | path

Searched refs:customUserManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java152 UserManager customUserManager = getContext() in onCreateDialog() local
155 String userName = customUserManager.getUserName(); in onCreateDialog()
157 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateDialog()
158 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
163 } else if (customUserManager.isUserOfType(USER_TYPE_PROFILE_CLONE) in onCreateDialog()
164 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
170 && customUserManager.isPrivateProfile() in onCreateDialog()
171 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
252 UserManager customUserManager = getContext() in isCloneProfile() local
255 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in isCloneProfile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java79 UserManager customUserManager = getContext() in onCreateGuidance() local
82 String userName = customUserManager.getUserName(); in onCreateGuidance()
84 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateGuidance()
85 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateGuidance()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt221 val customUserManager = context.createContextAsUser(uninstalledUser!!, 0) in generateUninstallDetails() constant
223 val userName = customUserManager!!.userName in generateUninstallDetails()
229 if (customUserManager.isManagedProfile) { in generateUninstallDetails()
233 } else if (customUserManager.isCloneProfile){ in generateUninstallDetails()
240 && customUserManager.isPrivateProfile in generateUninstallDetails()
332 val customUserManager = context.createContextAsUser(userHandle, 0) in isCloneProfile() constant
334 return customUserManager!!.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE) in isCloneProfile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java86 UserManager customUserManager = UninstallUninstalling.this in onCreate() local
89 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in onCreate()