Searched refs:secondaryUserId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsProviderTest.java | 63 final int secondaryUserId = getSecondaryUserId(); in testSetAndGetGlobalViaFrontEndApiForNonSystemUser() local 64 if (secondaryUserId == UserHandle.USER_SYSTEM) { in testSetAndGetGlobalViaFrontEndApiForNonSystemUser() 69 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_GLOBAL, secondaryUserId); in testSetAndGetGlobalViaFrontEndApiForNonSystemUser() 79 final int secondaryUserId = getSecondaryUserId(); in testSetAndGetSecureViaFrontEndApiForNonSystemUser() local 80 if (secondaryUserId == UserHandle.USER_SYSTEM) { in testSetAndGetSecureViaFrontEndApiForNonSystemUser() 85 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SECURE, secondaryUserId); in testSetAndGetSecureViaFrontEndApiForNonSystemUser() 95 final int secondaryUserId = getSecondaryUserId(); in testSetAndGetSystemViaFrontEndApiForNonSystemUser() local 96 if (secondaryUserId == UserHandle.USER_SYSTEM) { in testSetAndGetSystemViaFrontEndApiForNonSystemUser() 101 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SYSTEM, secondaryUserId); in testSetAndGetSystemViaFrontEndApiForNonSystemUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 661 int secondaryUserId = 10; in checkRemovingSecondarySelectsPrimary() local 662 int userIdToChangePackageFor = multiUser ? secondaryUserId : TestSystemImpl.PRIMARY_USER_ID; in checkRemovingSecondarySelectsPrimary() 664 mTestSystemImpl.addUser(secondaryUserId); in checkRemovingSecondarySelectsPrimary() 665 setEnabledAndValidPackageInfosForUser(secondaryUserId, packages); in checkRemovingSecondarySelectsPrimary() 1171 int secondaryUserId = 5; in checkVisiblePackageUserOverNonVisible() local 1173 mTestSystemImpl.addUser(secondaryUserId); in checkVisiblePackageUserOverNonVisible() 1176 mTestSystemImpl.setPackageInfoForUser(secondaryUserId, createPackageInfo( in checkVisiblePackageUserOverNonVisible() 1224 int secondaryUserId = 412; in checkCantSwitchToNonVisiblePackage() local 1225 mTestSystemImpl.addUser(secondaryUserId); in checkCantSwitchToNonVisiblePackage() 1230 mTestSystemImpl.setPackageInfoForUser(secondaryUserId, createPackageInfo(installedPackage, in checkCantSwitchToNonVisiblePackage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractor.kt | 669 val secondaryUserId = repository.secondaryUserId in <lambda>() constant 670 if (secondaryUserId != UserHandle.USER_NULL) { in <lambda>() 673 UserHandle.of(secondaryUserId), in <lambda>() 675 repository.secondaryUserId = UserHandle.USER_NULL in <lambda>() 685 repository.secondaryUserId = userId in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/ |
D | UserRepository.kt | 98 var secondaryUserId: Int variable 180 override var secondaryUserId: Int = UserHandle.USER_NULL in refreshUsers() variable in com.android.systemui.user.data.repository.UserRepositoryImpl
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/data/repository/ |
D | FakeUserRepository.kt | 83 override var secondaryUserId: Int = UserHandle.USER_NULL variable in com.android.systemui.user.data.repository.FakeUserRepository
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardSecurityContainerControllerTest.kt | 962 val secondaryUserId = 10 in <lambda>() constant 966 /* userId = */ secondaryUserId, in <lambda>() 967 /* expiringUserId = */ secondaryUserId, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractorTest.kt | 684 assertThat(userRepository.secondaryUserId).isEqualTo(userInfos[1].id) in <lambda>()
|