Searched refs:mSecondaryUserId (Results 1 – 1 of 1) sorted by relevance
34 private int mSecondaryUserId = -1; field in SecondaryUserUtils45 if (mSecondaryUserId != -1) { in createAndStartSecondaryUser()50 mSecondaryUserId = mTest.getDevice().createUser(name); in createAndStartSecondaryUser()52 mTest.getDevice().startUser(mSecondaryUserId, /*waitFlag=*/ true); in createAndStartSecondaryUser()53 return mSecondaryUserId; in createAndStartSecondaryUser()57 if (mSecondaryUserId == -1) { in removeSecondaryUserIfNecessary()61 final int userBeingRemoved = mSecondaryUserId; in removeSecondaryUserIfNecessary()63 mSecondaryUserId = -1; in removeSecondaryUserIfNecessary()74 mTest.getDevice().switchUser(mSecondaryUserId); in switchToSecondaryUser()76 if (mTest.getDevice().getCurrentUser() == mSecondaryUserId) { in switchToSecondaryUser()[all …]