/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowUtils.java | 63 public static void setIsDemoUser(boolean isDemoUser) { in setIsDemoUser() argument 64 sIsDemoUser = isDemoUser; in setIsDemoUser() 68 public static boolean isDemoUser(Context context) { in isDemoUser() method in ShadowUtils
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserManager.java | 42 public boolean isDemoUser = false; field in ShadowUserManager 76 public boolean isDemoUser() { in isDemoUser() method in ShadowUserManager 77 return isDemoUser; in isDemoUser()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | MasterClearEntryPreferenceController.java | 56 return !(mCarUserManagerHelper.isCurrentProcessAdminUser() || isDemoUser()) in isUserRestricted() 60 private boolean isDemoUser() { in isDemoUser() method in MasterClearEntryPreferenceController
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserManagerCompatVNMr1.java | 92 public boolean isDemoUser() { in isDemoUser() method in UserManagerCompatVNMr1 93 return mUserManager.isDemoUser(); in isDemoUser()
|
D | UserManagerCompat.java | 57 public abstract boolean isDemoUser(); in isDemoUser() method in UserManagerCompat
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 151 || UserManagerCompat.getInstance(launcher).isDemoUser() in showForHomeIfNeeded() 176 || UserManagerCompat.getInstance(launcher).isDemoUser() in showForOverviewIfNeeded()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | BuildNumberPreferenceController.java | 106 if (!(mUm.isAdminUser() || mUm.isDemoUser())) { in handlePreferenceTreeClick() 120 if (mUm.isDemoUser()) { in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceController.java | 127 if (!(mUm.isAdminUser() || mUm.isDemoUser())) { in handlePreferenceTreeClick() 141 if (mUm.isDemoUser()) { in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/system/ |
D | FactoryResetPreferenceController.java | 41 return mUm.isAdminUser() || Utils.isDemoUser(mContext); in isAvailable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/system/ |
D | FactoryResetPreferenceController.java | 41 return mUm.isAdminUser() || Utils.isDemoUser(mContext); in isAvailable()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TopLevelNetworkEntryPreferenceController.java | 49 return Utils.isDemoUser(mContext) ? UNSUPPORTED_ON_DEVICE : AVAILABLE_UNSEARCHABLE; in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | TopLevelNetworkEntryPreferenceController.java | 49 return Utils.isDemoUser(mContext) ? UNSUPPORTED_ON_DEVICE : AVAILABLE_UNSEARCHABLE; in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | MasterClear.java | 248 if (Utils.isDemoUser(context)) { 550 if (disallow && !Utils.isDemoUser(context)) { in onCreateView()
|
D | Utils.java | 855 public static boolean isDemoUser(Context context) { in isDemoUser() method in Utils 856 return UserManager.isDeviceInDemoMode(context) && getUserManager(context).isDemoUser(); in isDemoUser()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MasterClear.java | 247 if (Utils.isDemoUser(context)) { 549 if (disallow && !Utils.isDemoUser(context)) { in onCreateView()
|
D | Utils.java | 850 public static boolean isDemoUser(Context context) { in isDemoUser() method in Utils 851 return UserManager.isDeviceInDemoMode(context) && getUserManager(context).isDemoUser(); in isDemoUser()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AllAppsTipView.java | 154 || UserManagerCompat.getInstance(launcher).isDemoUser() in showAllAppsTipIfNecessary()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 674 return mUserManager.isDemoUser(); in isCurrentProcessDemoUser()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 557 if (um.isDemoUser() && idp.demoModeLayoutId != 0) { in getDefaultLayoutParser()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | CarUserManagerHelperTest.java | 265 doReturn(true).when(mUserManager).isDemoUser(); in testCurrentDemoProcessCannotModifyAccounts()
|