Home
last modified time | relevance | path

Searched defs:userInfo (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DEditUserNameEntryPreferenceControllerTest.java86 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, /* flags= */ 0); in testOnButtonClick_isCurrentUser_launchesEditUsernameFragment() local
97 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, /* flags= */ 0); in testOnButtonClick_isNotCurrentUser_doesNothing() local
108 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, /* flags= */ 0); in testRefreshUi_elementHasTitle() local
118 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, /* flags= */ 0); in testRefreshUi_userNotSetup_setsSummary() local
128 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in testRefreshUi_userSetup_noSummary() local
137 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, in testRefreshUi_isAdmin_notCurrentUser() local
149 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, in testRefreshUi_isAdmin_currentUser() local
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java379 UserInfo userInfo = iterator.next(); in getAllPersistentUsers() local
397 UserInfo userInfo = iterator.next(); in getAllAdminUsers() local
415 UserInfo userInfo = iterator.next(); in getAllUsersExceptGuests() local
434 UserInfo userInfo = iterator.next(); in getAllUsersExceptSpecifiedUser() local
453 UserInfo userInfo = iterator.next(); in getAllUsersExceptSystemUserAndSpecifiedUser() local
526 public boolean isSystemUser(UserInfo userInfo) { in isSystemUser()
536 public boolean isLastActiveUser(UserInfo userInfo) { in isLastActiveUser()
546 public boolean isForegroundUser(UserInfo userInfo) { in isForegroundUser()
556 public boolean isCurrentProcessUser(UserInfo userInfo) { in isCurrentProcessUser()
600 public boolean canUserBeRemoved(UserInfo userInfo) { in canUserBeRemoved()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java72 protected boolean isCurrentProcessUser(UserInfo userInfo) { in isCurrentProcessUser()
132 protected boolean canUserBeRemoved(UserInfo userInfo) { in canUserBeRemoved()
162 protected boolean removeUser(UserInfo userInfo, String guestUserName) { in removeUser()
167 protected void setUserRestriction(UserInfo userInfo, String restriction, boolean enable) { in setUserRestriction()
175 protected boolean hasUserRestriction(String restriction, UserInfo userInfo) { in hasUserRestriction()
DShadowUserIconProvider.java30 protected Drawable getUserIcon(UserInfo userInfo, Context context) { in getUserIcon()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserUtils.java49 CarUserManagerHelper carUserManagerHelper, UserInfo userInfo) { in getUserDisplayName()
59 UserInfo userInfo) { in isAdminViewingNonAdmin()
DUsersPreferenceProvider.java46 void onUserClicked(UserInfo userInfo); in onUserClicked()
110 private Preference createUserPreference(UserInfo userInfo) { in createUserPreference()
144 private boolean isCurrentUser(UserInfo userInfo) { in isCurrentUser()
DUsersListPreferenceController.java34 protected void userClicked(UserInfo userInfo) { in userClicked()
DUserGridRecyclerView.java164 UserInfo userInfo = new UserInfo(); in createStartGuestUserRecord() local
174 UserInfo userInfo = new UserInfo(); in createAddUserRecord() local
312 private void handleUserSwitch(UserInfo userInfo) { in handleUserSwitch()
423 public UserRecord(UserInfo userInfo, boolean isStartGuestSession, boolean isAddUser, in UserRecord()
DUserDetailsBasePreferenceController.java52 public void setUserInfo(UserInfo userInfo) { in setUserInfo()
DUserIconProvider.java49 public Drawable getUserIcon(UserInfo userInfo, Context context) { in getUserIcon()
DEditUsernameFragment.java54 public static EditUsernameFragment newInstance(UserInfo userInfo) { in newInstance()
DUsersBasePreferenceController.java96 protected abstract void userClicked(UserInfo userInfo); in userClicked()
/packages/services/Telecomm/src/com/android/server/telecom/
DUserUtil.java35 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle); in isManagedProfile() local
40 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle); in isProfile() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsInitialize.java61 UserInfo userInfo = um.getUserInfo(UserHandle.myUserId()); in onReceive() local
69 UserInfo userInfo) { in managedProfileSetup()
112 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java61 UserInfo userInfo = um.getUserInfo(UserHandle.myUserId()); in onReceive() local
69 UserInfo userInfo) { in managedProfileSetup()
112 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DConnectTimeoutStateTest.java54 UserChoiceInfo userInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in testProcessForward() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DUserAppInfo.java30 public final UserInfo userInfo; field in UserAppInfo
/packages/apps/Settings/src/com/android/settings/applications/
DUserAppInfo.java30 public final UserInfo userInfo; field in UserAppInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialogTest.java59 final UserInfo userInfo = new UserInfo( in setUp() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationsUtilsTest.java78 UserInfo userInfo = new UserInfo(); in isProfileOrDeviceOwner_profileOwner_returnsTrue() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceController.java121 public UserInfo userInfo; field in AccountPreferenceController.ProfileData
179 UserInfo userInfo = profiles.get(i); in updateRawDataToIndex() local
274 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId()); in updateUi() local
294 private void updateProfileUi(final UserInfo userInfo) { in updateProfileUi()
380 private String getWorkGroupSummary(Context context, UserInfo userInfo) { in getWorkGroupSummary()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java121 public UserInfo userInfo; field in AccountPreferenceController.ProfileData
179 UserInfo userInfo = profiles.get(i); in updateRawDataToIndex() local
274 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId()); in updateUi() local
294 private void updateProfileUi(final UserInfo userInfo) { in updateProfileUi()
380 private String getWorkGroupSummary(Context context, UserInfo userInfo) { in getWorkGroupSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVisibilityPreferenceControllerTest.java107 UserInfo userInfo = new UserInfo(); in setUp() local
151 UserInfo userInfo = new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE); in testUpdateState_disabledByAdmin_disableSecure() local
173 UserInfo userInfo = new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE); in testUpdateState_disabledByAdmin_disableUnredacted() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCreateManagedProfileTask.java75 UserInfo userInfo = mUserManager.createProfileForUserEvenWhenDisallowed( in run() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserDialogs.java55 UserInfo userInfo = um.getUserInfo(removingUserId); in createRemoveDialog() local

123