Home
last modified time | relevance | path

Searched refs:isValidUser (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java147 assertThat(mMgr.isValidUser(USER_SYSTEM)).isFalse(); in testIsValidUserId_headlessSystemUser()
154 assertThat(mMgr.isValidUser(SYSTEM)).isFalse(); in testIsValidUser_headlessSystemUser()
162 assertThat(mMgr.isValidUser(USER_SYSTEM)).isTrue(); in testIsValidUserId_nonHeadlessSystemUser()
170 assertThat(mMgr.isValidUser(SYSTEM)).isTrue(); in testIsValidUser_nonHeadlessSystemUser()
177 expectThat(mMgr.isValidUser(1)).isTrue(); in testIsValidUserId_found()
178 expectThat(mMgr.isValidUser(2)).isTrue(); in testIsValidUserId_found()
179 expectThat(mMgr.isValidUser(3)).isTrue(); in testIsValidUserId_found()
186 expectThat(mMgr.isValidUser(UserHandle.of(1))).isTrue(); in testIsValidUser_found()
187 expectThat(mMgr.isValidUser(UserHandle.of(2))).isTrue(); in testIsValidUser_found()
188 expectThat(mMgr.isValidUser(UserHandle.of(3))).isTrue(); in testIsValidUser_found()
[all …]
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java1277 public boolean isValidUser(@UserIdInt int userId) { in isValidUser() method in CarUserManager
1278 return isValidUser(UserHandle.of(userId)); in isValidUser()
1297 public boolean isValidUser(@NonNull UserHandle userHandle) { in isValidUser() method in CarUserManager
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt599 android.car.user CarUserManager boolean isValidUser(int userId)
Dcar_hidden_apis_release_33.1.txt590 android.car.user CarUserManager boolean isValidUser(int userId)
Dcar_hidden_apis.txt691 android.car.user CarUserManager boolean isValidUser(int userId)
Dcar_hidden_apis_release_33.3.txt669 android.car.user CarUserManager boolean isValidUser(int userId)
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt482 method TIRAMISU_0 @hiddenOnly boolean isValidUser(int userId);
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2458 …ANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isValidUser(@NonNull androi…
/packages/services/Car/car-lib/api/
Dsystem-current.txt2458 …ANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isValidUser(@NonNull androi…
Dtest-current.txt2552 …ANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isValidUser(@NonNull androi…
Dsystem-lint-baseline.txt4322 UnflaggedApi: android.car.user.CarUserManager#isValidUser(android.os.UserHandle):
4323 …New API must be flagged with @FlaggedApi: method android.car.user.CarUserManager.isValidUser(andro…