Searched refs:isDeviceInDemoMode (Results 1 – 9 of 9) sorted by relevance
71 } else if (UserManager.isDeviceInDemoMode(context)) { in UserSwitchingDialog()
23502 if (!targetUserInfo.isDemo() && UserManager.isDeviceInDemoMode(mContext)) {
255 if (UserManager.isDeviceInDemoMode(getContext())) { in onChange()592 if (UserManager.isDeviceInDemoMode(getContext())) { in onBootPhase()
150 && !UserManager.isDeviceInDemoMode(mContext)) { in immersiveModeChangedLw()
2259 if (isDeviceInDemoMode(mContext)) { in isUserSwitcherEnabled()2280 public static boolean isDeviceInDemoMode(Context context) { in isDeviceInDemoMode() method in UserManager
175 if (newValue == null && UserManager.isDeviceInDemoMode(mContext)) { in onTuningChanged()
335 final boolean isDemo = UserManager.isDeviceInDemoMode(mContext); in updateVisibilities()
659 return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext)) in mustNotUnlockCurrentUser()
9395 if (UserManager.isDeviceInDemoMode(mContext)) { in getSystemUpdatePolicy()