Home
last modified time | relevance | path

Searched refs:isUserVisible (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserInfoView.java89 boolean visible = isUserVisible(user.id); in getStatus()
99 private boolean isUserVisible(@UserIdInt int userId) { in isUserVisible() method in UserInfoView
102 boolean visible = context.getSystemService(UserManager.class).isUserVisible(); in isUserVisible()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncPreferenceController.java106 if (!sa.accountType.equals(mAccount.type) || !sa.isUserVisible()) { in getSummary()
DAccountSyncHelper.java162 if (!syncAdapter.isUserVisible()) { in isVisible()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncPreferenceController.java114 if (!sa.accountType.equals(mAccount.type) || !sa.isUserVisible()) { in updateSummary()
DAccountSyncSettings.java532 if (sa.isUserVisible()) { in updateAccountSwitches()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCBackgroundWorker.java202 && UserManager.get(context).isUserVisible()) { in handleMessage()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java166 doReturn(false).when(mCarUserService).isUserVisible(anyInt()); in setUp()
451 doReturn(visible).when(mCarUserService).isUserVisible(userId); in mockIsUserVisible()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java370 if (sa.isUserVisible()) { in updateAccountSwitches()
/packages/services/Car/service/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardService.java98 if (mCarUserService.isUserVisible(user.getIdentifier())) {
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java357 assertThat(mMockedUserManager.isUserVisible()).isTrue(); in testMockUmIsUserVisible()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java409 when(um.isUserVisible()).thenReturn(isVisible); in mockUmIsUserVisible()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java276 }).when(mCarUserService).isUserVisible(anyInt()); in setUp()
403 }).when(mCarUserService).isUserVisible(anyInt()); in setUpServiceWithProfileSupportEnabled()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java314 && carUserService.isUserVisible(userId)); in isUserInScope()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java920 if (!mCarUserService.isUserVisible(userId)) { in assignVisibleUserToOccupantZoneUnchecked()
1619 if (!mCarUserService.isUserVisible(config.userId)) { in handleUserChangesLocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java2918 boolean visible = mCarUserService.isUserVisible(mContextUserId); in testIsUserVisible_platformVersionAtLeastUDC()
2927 boolean visible = mCarUserService.isUserVisible(mContextUserId); in testIsUserVisible()
2936 boolean visible = mCarUserService.isUserVisible(mContextUserId); in testIsUserVisible_nope()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1275 public boolean isUserVisible(@UserIdInt int userId) { in isUserVisible() method in CarUserService
1943 if (isUserVisible(userId)) { in onUserStarting()