Home
last modified time | relevance | path

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

/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerHostSideTest.java71 private int mCurrentUser; field in AccountManagerHostSideTest
85 mCurrentUser = getDevice().getCurrentUser(); in setUp()
97 mCurrentUser, in setUp()
124 mCurrentUser, in tesAddAccount_logsMetrics() local
146 mCurrentUser, in tesAddAccountExplicitly_logsMetrics() local
166 mCurrentUser, in tesGetAuthToken_logsMetrics() local
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java90 private UserReference mCurrentUser; field in CrossUserPackageVisibilityTests
101 mCurrentUser = primaryUser; in setup()
104 mCurrentUser = UserReference.of(mContext.getUser()); in setup()
205 uninstallPackageForUser(CTS_SHIM_PACKAGE_NAME, mCurrentUser); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
214 installExistPackageForUser(CTS_SHIM_PACKAGE_NAME, mCurrentUser); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
273 uninstallPackageForUser(TARGET_STUB, mCurrentUser); in testCheckUidSignatures_cannotDetectStubPkgs()
274 uninstallPackageForUser(TARGET_STUB_SHARED_USER, mCurrentUser); in testCheckUidSignatures_cannotDetectStubPkgs()
291 uninstallPackageForUser(TARGET_STUB, mCurrentUser); in testHasUidSigningCertificate_cannotDetectStubPkgs()
292 uninstallPackageForUser(TARGET_STUB_SHARED_USER, mCurrentUser); in testHasUidSigningCertificate_cannotDetectStubPkgs()
313 uninstallPackageForUser(TARGET_STUB, mCurrentUser); in testGetNameForUid_cannotDetectStubPkgs()
[all …]
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java58 private int mCurrentUser; field in JvmtiAttachingHostTest
82 mCurrentUser = getDevice().getCurrentUser(); in setUp()
99 "run-as " + pkg + " --user " + mCurrentUser + " pwd"); in testJvmtiAttachEarly()
128 "run-as " + pkg + " --user " + mCurrentUser + " mkdir -p " + startup_dir); in testJvmtiAgentStartupAgents()
143 "run-as " + pkg + " --user " + mCurrentUser + " rm -rf " + startup_dir); in testJvmtiAgentStartupAgents()
202 "run-as " + pkg + " --user " + mCurrentUser + " pwd"); in getPwd()
298 "run-as " + pkg + " --user " + mCurrentUser + in installLibToDataData()
305 "run-as " + pkg + " --user " + mCurrentUser + " chmod a+x " + libInDataData); in installLibToDataData()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java68 private int mCurrentUser; field in JvmtiHostTest
87 mCurrentUser = getDevice().getCurrentUser(); in setUp()
88 if (mCurrentUser == GET_USER_FAILURE) { in setUp()
170 "run-as " + mPkg + " --user " + mCurrentUser + " pwd"); in prepare()
222 "run-as " + mPkg + " --user " + mCurrentUser + in installLibToDataData()
229 "run-as " + mPkg + " --user " + mCurrentUser + in installLibToDataData()
/cts/hostsidetests/car/src/android/car/cts/
DCarWatchdogHostTest.java176 private int mCurrentUser; field in CarWatchdogHostTest
195 mCurrentUser = getCurrentUserId(); in setUp()
285 String result = executeCommand("pm enable --user %d %s", mCurrentUser, WATCHDOG_TEST_PKG); in testVerifyPackagesDisabledOnResourceOveruseSettingsString()
555 String value = executeCommand("settings get --user %d secure %s", mCurrentUser, in readPackagesDisabledOnResourceOveruseSettings()