Home
last modified time | relevance | path

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

/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/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DUserManagerState.java285 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in setUserIdsInternal() local
291 && userProperties.getShowInSharingSurfaces() in setUserIdsInternal()
292 == userProperties.SHOW_IN_SHARING_SURFACES_SEPARATE) { in setUserIdsInternal()
524 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isCrossProfileStrategyDelegatedToParent() local
525 if (userProperties.getCrossProfileContentSharingStrategy() in isCrossProfileStrategyDelegatedToParent()
526 == userProperties.CROSS_PROFILE_CONTENT_SHARING_DELEGATE_FROM_PARENT) { in isCrossProfileStrategyDelegatedToParent()
692 UserProperties userProperties = in getShowInQuietMode() local
694 return userProperties.getShowInQuietMode(); in getShowInQuietMode()
/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/apps/DocumentsUI/src/com/android/documentsui/
DUserManagerState.java239 UserProperties userProperties = mUserManager.getUserProperties( in onProfileActionStatusChange()
241 if (userProperties.getShowInQuietMode() != UserProperties.SHOW_IN_QUIET_MODE_HIDDEN) { in onProfileActionStatusChange()
359 final UserProperties userProperties = in isProfileAllowed() local
361 if (userProperties.getShowInSharingSurfaces() in isProfileAllowed()
364 || userProperties.getShowInQuietMode() in isProfileAllowed()
629 UserProperties userProperties = mUserManager.getUserProperties(userHandle); in isCrossProfileContentSharingStrategyDelegatedFromParent() local
630 if (java.util.Objects.equals(userProperties, null)) { in isCrossProfileContentSharingStrategyDelegatedFromParent()
635 return userProperties.getCrossProfileContentSharingStrategy() in isCrossProfileContentSharingStrategyDelegatedFromParent()
/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.java204 final UserProperties userProperties = in onCreate() local
333 && userProperties != null in onCreate()
334 && userProperties.isAuthAlwaysRequiredToDisableQuietMode() in onCreate()
341 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/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java116 UserProperties userProperties = new UserProperties.Builder() in setUp() local
120 when(mUserManager.getUserProperties(userHandle)).thenReturn(userProperties); in setUp()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1253 UserProperties userProperties = userManager.getUserProperties(userHandle); in isNewTabNeeded() local
1254 if (userProperties.getShowInSettings() == UserProperties.SHOW_IN_SETTINGS_SEPARATE) { in isNewTabNeeded()
1257 && userProperties.getShowInQuietMode() in isNewTabNeeded()
1398 UserProperties userProperties = userManager.getUserProperties(userHandle); in shouldHideUser() local
1399 return userProperties.getShowInQuietMode() == UserProperties.SHOW_IN_QUIET_MODE_HIDDEN in shouldHideUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java250 UserProperties userProperties = mUserManager.getUserProperties( in setCanModifyQuietMode() local
252 return userProperties.getShowInQuietMode() in setCanModifyQuietMode()
DDirectoryFragment.java261 UserProperties userProperties = userManager.getUserProperties(userHandle);
262 if (userProperties.getShowInQuietMode()
271 if (userProperties.getShowInQuietMode()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1632 var userProperties = userManager.getUserProperties(userHandle); in shouldShowInSettingsInternal() local
1634 || userProperties.getShowInQuietMode() != UserProperties.SHOW_IN_QUIET_MODE_HIDDEN; in shouldShowInSettingsInternal()