Home
last modified time | relevance | path

Searched refs:secondaryUserId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java63 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/
DWebViewUpdateServiceTest.java634 int secondaryUserId = 10; in checkRemovingPrimarySelectsSecondary() local
635 int userIdToChangePackageFor = multiUser ? secondaryUserId : TestSystemImpl.PRIMARY_USER_ID; in checkRemovingPrimarySelectsSecondary()
637 mTestSystemImpl.addUser(secondaryUserId); in checkRemovingPrimarySelectsSecondary()
638 setEnabledAndValidPackageInfosForUser(secondaryUserId, packages); in checkRemovingPrimarySelectsSecondary()
1135 int secondaryUserId = 5; in checkVisiblePackageUserOverNonVisible() local
1137 mTestSystemImpl.addUser(secondaryUserId); in checkVisiblePackageUserOverNonVisible()
1140 mTestSystemImpl.setPackageInfoForUser(secondaryUserId, createPackageInfo( in checkVisiblePackageUserOverNonVisible()
1186 int secondaryUserId = 412; in checkCantSwitchToNonVisiblePackage() local
1187 mTestSystemImpl.addUser(secondaryUserId); in checkCantSwitchToNonVisiblePackage()
1192 mTestSystemImpl.setPackageInfoForUser(secondaryUserId, createPackageInfo(installedPackage, in checkCantSwitchToNonVisiblePackage()
[all …]