Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DUserManagerState.java236 UserProperties userProperties = in onProfileActionStatusChange()
238 if (userProperties.getShowInQuietMode() != UserProperties.SHOW_IN_QUIET_MODE_HIDDEN) { in onProfileActionStatusChange()
392 final UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isProfileAllowed() local
406 if (userProperties.getShowInSharingSurfaces() in isProfileAllowed()
411 || userProperties.getShowInQuietMode() in isProfileAllowed()
690 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isCrossProfileStrategyDelegatedToParent() local
691 if (userProperties.getCrossProfileContentSharingStrategy() in isCrossProfileStrategyDelegatedToParent()
692 == userProperties.CROSS_PROFILE_CONTENT_SHARING_DELEGATE_FROM_PARENT) { in isCrossProfileStrategyDelegatedToParent()
788 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isCrossProfileContentSharingStrategyDelegatedFromParent() local
789 if (java.util.Objects.equals(userProperties, null)) { in isCrossProfileContentSharingStrategyDelegatedFromParent()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java89 final UserProperties userProperties = userManager.getUserProperties(context.getUser()); in shouldUseParentsContacts() local
90 return userProperties.getUseParentsContacts(); in shouldUseParentsContacts()
102 final UserProperties userProperties = userManager.getUserProperties(userHandle); in shouldUseParentsContacts() local
103 return userProperties.getUseParentsContacts(); in shouldUseParentsContacts()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DCrossProfileUtils.java86 UserProperties userProperties = userManager.getUserProperties(queringUser); in getCrossProfileResolveInfoPostV() local
87 if (userProperties == null) { in getCrossProfileResolveInfoPostV()
92 if (userProperties.getCrossProfileContentSharingStrategy() in getCrossProfileResolveInfoPostV()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DUserManagerState.java664 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isCrossProfileStrategyDelegatedToParent() local
665 if (userProperties.getCrossProfileContentSharingStrategy() in isCrossProfileStrategyDelegatedToParent()
666 == userProperties.CROSS_PROFILE_CONTENT_SHARING_DELEGATE_FROM_PARENT) { in isCrossProfileStrategyDelegatedToParent()
816 UserProperties userProperties = in getShowInQuietMode() local
818 return userProperties.getShowInQuietMode(); in getShowInQuietMode()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialUtils.java101 final UserProperties userProperties = in isProfileThatAlwaysRequiresAuthToDisableQuietMode() local
103 return userProperties.isAuthAlwaysRequiredToDisableQuietMode() && userInfo.isProfile(); in isProfileThatAlwaysRequiresAuthToDisableQuietMode()
DConfirmDeviceCredentialActivity.java239 final UserProperties userProperties = in onCreate() local
379 && userProperties != null in onCreate()
380 && userProperties.isAuthAlwaysRequiredToDisableQuietMode() in onCreate()
387 mForceVerifyPath = userProperties.isCredentialShareableWithParent(); in onCreate()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DDefaultRingtonePreferenceTest.java81 UserProperties userProperties = new UserProperties.Builder().setMediaSharedWithParent(false) in setUp() local
84 userProperties); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialogTest.java78 final UserProperties userProperties = new UserProperties.Builder().build(); in setUp() local
79 when(mUserManager.getUserProperties(NORMAL_USER)).thenReturn(userProperties); in setUp()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserMonitor.kt489 val userProperties = userManager.getUserProperties(handle) in <lambda>() constant
491 userProperties.getShowInQuietMode() == in <lambda>()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java119 UserProperties userProperties = new UserProperties.Builder() in setUp() local
123 when(mUserManager.getUserProperties(userHandle)).thenReturn(userProperties); in setUp()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1271 UserProperties userProperties = userManager.getUserProperties(userHandle); in isNewTabNeeded() local
1272 if (userProperties.getShowInSettings() == UserProperties.SHOW_IN_SETTINGS_SEPARATE) { in isNewTabNeeded()
1275 && userProperties.getShowInQuietMode() in isNewTabNeeded()
1415 UserProperties userProperties = userManager.getUserProperties(userHandle); in shouldHideUser() local
1416 return userProperties.getShowInQuietMode() == UserProperties.SHOW_IN_QUIET_MODE_HIDDEN in shouldHideUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java256 UserProperties userProperties = mUserManager.getUserProperties( in setCanModifyQuietMode() local
258 return userProperties.getShowInQuietMode() in setCanModifyQuietMode()
DDirectoryFragment.java265 UserProperties userProperties = userManager.getUserProperties(userHandle);
266 if (userProperties.getShowInQuietMode()
275 if (userProperties.getShowInQuietMode()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1761 var userProperties = userManager.getUserProperties(userHandle); in shouldShowInSettingsInternal() local
1763 || userProperties.getShowInQuietMode() != UserProperties.SHOW_IN_QUIET_MODE_HIDDEN; in shouldShowInSettingsInternal()