Home
last modified time | relevance | path

Searched refs:isCloneProfile (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java184 } else if (isCloneProfile(myUserHandle)) { in onCreateDialog()
251 private boolean isCloneProfile(UserHandle userHandle) { in isCloneProfile() method in UninstallAlertDialogFragment
267 if (!userHandle.equals(UserHandle.SYSTEM) && isCloneProfile(userHandle)) { in hasClonedInstance()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DUserInfoTest.java44 assertThat(ui.isCloneProfile()).isEqualTo(false); in testSimple()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt233 } else if (customUserManager.isCloneProfile){ in generateUninstallDetails()
249 } else if (isCloneProfile(uninstalledUser!!)) { in generateUninstallDetails()
315 if (userHandle != UserHandle.SYSTEM && isCloneProfile(userHandle)) { in hasClonedInstance()
331 private fun isCloneProfile(userHandle: UserHandle): Boolean { in isCloneProfile() method in com.android.packageinstaller.v2.model.UninstallRepository
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppRepository.kt57 return userInfo != null && userInfo.isCloneProfile in rememberAppRepository()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt102 if (isCloneProfile) { in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java210 return userInfo.isCloneProfile() || userInfo.isManagedProfile(); in isCredentialSharableWithParent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java322 if (userManager.getUserInfo(userHandle.getIdentifier()).isCloneProfile()) { in getCloneUserId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DShellRecentTaskListProviderTest.kt253 whenever(isCloneProfile).thenReturn(userType == CLONED) in createRecentTask()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java393 public boolean isCloneProfile() { in isCloneProfile() method in UserInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java686 if (ui.isCloneProfile()) { in getBadgedIcon()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1130 if (userInfo == null || !userInfo.isCloneProfile()) { in resolveParentUserIdForCloneProfile()
1153 if (userInfo != null && userInfo.isCloneProfile()) { in checkContentProviderAccess()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java2051 return user.isManagedProfile() || user.isCloneProfile(); in isProfileUser()
DNotificationManagerService.java969 return userInfo.isManagedProfile() || userInfo.isCloneProfile(); in isProfileUser()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java875 if (userInfo.isCloneProfile()) {
1114 if (user.isCloneProfile()) { in resetIfBootedAndConnected()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java815 if (userInfo.isCloneProfile()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java203 && user.isCloneProfile())) in testCloneUser()
/frameworks/base/core/java/android/os/
DUserManager.java3448 public boolean isCloneProfile() { in isCloneProfile() method in UserManager
/frameworks/base/services/core/java/com/android/server/pm/
DComputerEngine.java4774 if (userInfo != null && userInfo.isCloneProfile() in resolveContentProvider()
/frameworks/base/core/api/
Dtest-current.txt1177 method public boolean isCloneProfile();
Dsystem-current.txt11262 method public boolean isCloneProfile();