Home
last modified time | relevance | path

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

/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java37 private int mSecondaryUserId = -1; field in MultiUserRollbackTest
54 installPackageAsUser("RollbackTest.apk", true, mSecondaryUserId); in setup()
59 runPhaseForUsers("testBasic", mSecondaryUserId); in testBasicForSecondaryUser()
64 runPhaseForUsers("testMultipleUsersInstallV1", mOriginalUserId, mSecondaryUserId); in testMultipleUsers()
66 runPhaseForUsers("testMultipleUsersUpdateUserData", mOriginalUserId, mSecondaryUserId); in testMultipleUsers()
70 mSecondaryUserId); in testMultipleUsers()
86 if (mSecondaryUserId != -1) { in removeSecondaryUserIfNecessary()
87 getDevice().removeUser(mSecondaryUserId); in removeSecondaryUserIfNecessary()
88 mSecondaryUserId = -1; in removeSecondaryUserIfNecessary()
93 if (mSecondaryUserId == -1) { in createAndSwitchToSecondaryUserIfNecessary()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java61 private int mSecondaryUserId = Integer.MIN_VALUE; field in BaseSettingsProviderTest
314 if (mSecondaryUserId == Integer.MIN_VALUE) { in getSecondaryUserId()
322 mSecondaryUserId = user.id; in getSecondaryUserId()
323 return mSecondaryUserId; in getSecondaryUserId()
327 if (mSecondaryUserId == Integer.MIN_VALUE) { in getSecondaryUserId()
328 mSecondaryUserId = UserHandle.USER_SYSTEM; in getSecondaryUserId()
330 return mSecondaryUserId; in getSecondaryUserId()