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.java43 private int mSecondaryUserId = -1; field in MultiUserRollbackTest
74 runPhaseForUsers("testBasic", mSecondaryUserId); in testBasicForSecondaryUser()
82 runPhaseForUsers("testStagedRollback_Phase1", mSecondaryUserId); in testStagedRollback()
86 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
87 awaitUserUnlocked(mSecondaryUserId); in testStagedRollback()
88 runPhaseForUsers("testStagedRollback_Phase2", mSecondaryUserId); in testStagedRollback()
91 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
92 awaitUserUnlocked(mSecondaryUserId); in testStagedRollback()
93 runPhaseForUsers("testStagedRollback_Phase3", mSecondaryUserId); in testStagedRollback()
96 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java63 private int mSecondaryUserId = Integer.MIN_VALUE; field in BaseSettingsProviderTest
330 if (mSecondaryUserId == Integer.MIN_VALUE) { in getSecondaryUserId()
338 mSecondaryUserId = user.id; in getSecondaryUserId()
339 return mSecondaryUserId; in getSecondaryUserId()
343 if (mSecondaryUserId == Integer.MIN_VALUE) { in getSecondaryUserId()
344 mSecondaryUserId = UserHandle.USER_SYSTEM; in getSecondaryUserId()
346 return mSecondaryUserId; in getSecondaryUserId()