Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRunOnSystemUserTargetPreparer.java60 int currentUser = device.getCurrentUser(); in ensureSwitchedToUser() local
62 if (currentUser == userId) { in ensureSwitchedToUser()
69 mUserToSwitchTo = currentUser; in ensureSwitchedToUser()
DRunOnSecondaryUserTargetPreparer.java171 int currentUser = device.getCurrentUser(); in tearDown() local
173 if (currentUser != originalUserId) { in tearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DUserCheckerTest.java313 private ITestDevice mockDeviceUserState(int currentUser, Integer[] userIds) throws Exception { in mockDeviceUserState() argument
321 return mockDeviceUserState(currentUser, userIds, flags, isRunning); in mockDeviceUserState()
326 int currentUser, Integer[] userIds, Integer[] flags, Boolean[] isRunning) in mockDeviceUserState() argument
330 when(device.getCurrentUser()).thenReturn(currentUser); in mockDeviceUserState()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1489 int currentUser = 0; in doesFileExist() local
1493 currentUser = getCurrentUser(); in doesFileExist()
1496 return doesFileExist(deviceFilePath, currentUser); in doesFileExist()