Searched refs:currentUser (Results 1 – 4 of 4) sorted by relevance
60 int currentUser = device.getCurrentUser(); in ensureSwitchedToUser() local62 if (currentUser == userId) { in ensureSwitchedToUser()69 mUserToSwitchTo = currentUser; in ensureSwitchedToUser()
171 int currentUser = device.getCurrentUser(); in tearDown() local173 if (currentUser != originalUserId) { in tearDown()
313 private ITestDevice mockDeviceUserState(int currentUser, Integer[] userIds) throws Exception { in mockDeviceUserState() argument321 return mockDeviceUserState(currentUser, userIds, flags, isRunning); in mockDeviceUserState()326 int currentUser, Integer[] userIds, Integer[] flags, Boolean[] isRunning) in mockDeviceUserState() argument330 when(device.getCurrentUser()).thenReturn(currentUser); in mockDeviceUserState()
1489 int currentUser = 0; in doesFileExist() local1493 currentUser = getCurrentUser(); in doesFileExist()1496 return doesFileExist(deviceFilePath, currentUser); in doesFileExist()