Searched refs:adminInfo (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | ChooseNewAdminFragment.java | 54 public static ChooseNewAdminFragment newInstance(UserInfo adminInfo) { in newInstance() argument 57 bundle.putParcelable(Intent.EXTRA_USER, adminInfo); in newInstance() 86 UserInfo adminInfo = requireNonNull(getArguments()).getParcelable( in onAttach() local 89 adminInfo); in onAttach()
|
D | ChooseNewAdminPreferenceController.java | 53 public void setAdminInfo(UserInfo adminInfo) { in setAdminInfo() argument 54 mAdminInfo = adminInfo; in setAdminInfo()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | CarUserManagerHelperTest.java | 501 UserInfo adminInfo = new UserInfo(/* id= */10, "admin", UserInfo.FLAG_ADMIN); in testRemoveLastActiveUser() local 502 mockGetUsers(adminInfo); in testRemoveLastActiveUser() 504 assertThat(mCarUserManagerHelper.removeUser(adminInfo, GUEST_USER_NAME)) in testRemoveLastActiveUser() 513 UserInfo adminInfo = new UserInfo(/* id= */10, "admin", UserInfo.FLAG_ADMIN); in testRemoveLastAdminUser() local 515 mockGetUsers(adminInfo, nonAdminInfo); in testRemoveLastAdminUser() 521 mCarUserManagerHelper.removeUser(adminInfo, GUEST_USER_NAME); in testRemoveLastAdminUser() 524 verify(mUserManager).removeUser(adminInfo.id); in testRemoveLastAdminUser() 532 UserInfo adminInfo = new UserInfo(/* id= */10, "admin", UserInfo.FLAG_ADMIN); in testRemoveLastAdminUserFailsToCreateNewUser() local 534 mockGetUsers(adminInfo, nonAdminInfo); in testRemoveLastAdminUserFailsToCreateNewUser() 544 mCarUserManagerHelper.removeUser(adminInfo, GUEST_USER_NAME); in testRemoveLastAdminUserFailsToCreateNewUser() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListItem.java | 100 private static int getUserIdFromDeviceAdminInfo(DeviceAdminInfo adminInfo) { in getUserIdFromDeviceAdminInfo() argument 101 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid); in getUserIdFromDeviceAdminInfo()
|
D | DeviceAdminAdd.java | 704 private boolean isManagedProfile(DeviceAdminInfo adminInfo) { in isManagedProfile() argument 707 UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid)); in isManagedProfile()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListItem.java | 100 private static int getUserIdFromDeviceAdminInfo(DeviceAdminInfo adminInfo) { in getUserIdFromDeviceAdminInfo() argument 101 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid); in getUserIdFromDeviceAdminInfo()
|
D | DeviceAdminAdd.java | 748 private boolean isManagedProfile(DeviceAdminInfo adminInfo) { in isManagedProfile() argument 751 UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid)); in isManagedProfile()
|