Searched refs:customUserManager (Results 1 – 4 of 4) sorted by relevance
152 UserManager customUserManager = getContext() in onCreateDialog() local155 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() local255 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in isCloneProfile()
79 UserManager customUserManager = getContext() in onCreateGuidance() local82 String userName = customUserManager.getUserName(); in onCreateGuidance()84 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateGuidance()85 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateGuidance()
221 val customUserManager = context.createContextAsUser(uninstalledUser!!, 0) in generateUninstallDetails() constant223 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() constant334 return customUserManager!!.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE) in isCloneProfile()
86 UserManager customUserManager = UninstallUninstalling.this in onCreate() local89 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in onCreate()