Home
last modified time | relevance | path

Searched refs:isDemo (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java321 final boolean isDemo = UserManager.isDeviceInDemoMode(mContext); in updateVisibilities()
323 mEditContainer.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); in updateVisibilities()
324 mSettingsButton.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); in updateVisibilities()
DQSSecurityFooter.java143 && currentUser.isDemo(); in handleRefreshState()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java74 when(userInfo.isDemo()).thenReturn(isDemoUser); in configureTest()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java101 if (mOldUser.isDemo()) { in inflateContent()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java237 public boolean isDemo() { in isDemo() method in UserInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java139 when(mockUserInfo.isDemo()).thenReturn(true); in testManagedDemoMode()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1250 return userInfo != null && userInfo.isDemo(); in isDemoUser()
2834 final boolean isDemo = (flags & UserInfo.FLAG_DEMO) != 0; in createUserInternalUncheckedNoTracing()
2852 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUncheckedNoTracing()
3006 : (userInfo.isDemo() ? TRON_DEMO_CREATED : TRON_USER_CREATED), 1); in dispatchUserAddedIntent()
4266 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUserEvenWhenDisallowed()
/frameworks/base/core/java/android/os/
DUserManager.java2039 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUser()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java742 && userInfo.isDemo(); in isLockScreenDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java398 } else if (info.isGuest() || info.isDemo()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10218 final boolean isDemo = isCurrentUserDemo(); in enableSystemApp()
10230 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
10238 if (isDemo) { in enableSystemApp()
12871 return mUserManager.getUserInfo(userId).isDemo(); in isCurrentUserDemo()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java7437 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
/frameworks/base/config/
Dboot-image-profile.txt4613 HSPLandroid/content/pm/UserInfo;->isDemo()Z
Dhiddenapi-greylist-max-o.txt16304 Landroid/content/pm/UserInfo;->isDemo()Z