Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppDataIsolationTests.java101 private int mOtherUser = -1; field in AppDataIsolationTests
112 if (mOtherUser != -1) { in tearDown()
113 getDevice().removeUser(mOtherUser); in tearDown()
353 mOtherUser = getDevice().createUser("other_user"); in testAppUnableToAccessOtherUserAppDataDir()
358 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDir()
359 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDir()
362 makeOtherUserIdArgs(mOtherUser)); in testAppUnableToAccessOtherUserAppDataDir()
368 mOtherUser = getDevice().createUser("other_user"); in testAppUnableToAccessOtherUserAppDataDirApi29()
374 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDirApi29()
375 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDirApi29()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java153 private int mOtherUser; field in UsageStatsTest
189 if (mOtherUser != 0) { in cleanUp()
190 stopUser(mOtherUser, true, true); in cleanUp()
191 removeUser(mOtherUser); in cleanUp()
192 mOtherUser = 0; in cleanUp()
1834 return mOtherUser = Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createUser()