Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java194 int incorrectId = 1; in testSetUserRestrictionWithIncorrectID() local
195 while (mUserManagerService.userExists(incorrectId)) { in testSetUserRestrictionWithIncorrectID()
196 incorrectId++; in testSetUserRestrictionWithIncorrectID()
198 assertThat(mUserManagerService.hasUserRestriction(DISALLOW_USER_SWITCH, incorrectId)) in testSetUserRestrictionWithIncorrectID()
200 mUserManagerService.setUserRestriction(DISALLOW_USER_SWITCH, true, incorrectId); in testSetUserRestrictionWithIncorrectID()
201 assertThat(mUserManagerService.hasUserRestriction(DISALLOW_USER_SWITCH, incorrectId)) in testSetUserRestrictionWithIncorrectID()