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.java97 if (mOldUser.isDemo()) { in inflateContent()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java188 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.java1204 return userInfo != null && userInfo.isDemo(); in isDemoUser()
2689 final boolean isDemo = (flags & UserInfo.FLAG_DEMO) != 0; in createUserInternalUnchecked()
2707 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked()
2816 : (isDemo ? TRON_DEMO_CREATED : TRON_USER_CREATED), 1); in createUserInternalUnchecked()
3974 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUserEvenWhenDisallowed()
/frameworks/base/core/java/android/os/
DUserManager.java2023 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.java391 } else if (info.isGuest() || info.isDemo()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10209 final boolean isDemo = isCurrentUserDemo(); in enableSystemApp()
10221 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
10229 if (isDemo) { in enableSystemApp()
12862 return mUserManager.getUserInfo(userId).isDemo(); in isCurrentUserDemo()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java7382 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
/frameworks/base/config/
Dboot-image-profile.txt4613 HSPLandroid/content/pm/UserInfo;->isDemo()Z
Dhiddenapi-greylist-max-o.txt17424 Landroid/content/pm/UserInfo;->isDemo()Z