Home
last modified time | relevance | path

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

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java91 private UserReference mOtherUser; field in CrossUserPackageVisibilityTests
102 mOtherUser = sDeviceState.secondaryUser(); in setup()
105 mOtherUser = primaryUser; in setup()
125 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testIsPackageSuspended_cannotDetectStubPkg()
136 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetTargetSdkVersion_cannotDetectStubPkg()
150 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testCheckSignatures_cannotDetectStubPkg()
162 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetAllIntentFilters_cannotDetectStubPkg()
172 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetInstallerPackageName_cannotDetectStubPkg()
183 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetInstallSourceInfo_cannotDetectStubPkg()
194 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetApplicationEnabledSetting_cannotDetectStubPkg()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppDataIsolationTests.java99 private int mOtherUser = -1; field in AppDataIsolationTests
110 if (mOtherUser != -1) { in tearDown()
111 getDevice().removeUser(mOtherUser); in tearDown()
336 mOtherUser = getDevice().createUser("other_user"); in testAppUnableToAccessOtherUserAppDataDir()
341 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDir()
342 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDir()
345 makeOtherUserIdArgs(mOtherUser)); in testAppUnableToAccessOtherUserAppDataDir()
351 mOtherUser = getDevice().createUser("other_user"); in testAppUnableToAccessOtherUserAppDataDirApi29()
357 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDirApi29()
358 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDirApi29()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java232 private int mOtherUser; field in UsageStatsTest
280 if (mOtherUser != 0) { in cleanUp()
281 clearTestPackagesData(mOtherUser); in cleanUp()
282 stopUser(mOtherUser, true, true); in cleanUp()
283 removeUser(mOtherUser); in cleanUp()
284 mOtherUser = 0; in cleanUp()
2855 return mOtherUser = Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createUser()