Home
last modified time | relevance | path

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

/cts/hostsidetests/harmfulappwarning/src/android/harmfulappwarning/cts/
DHarmfulAppWarningTest.java74 private int mTestRunningUserId; field in HarmfulAppWarningTest
88 mTestRunningUserId = getDevice().getCurrentUser(); in setUp()
90 mTestRunningUserId = getRunTestsAsUser(getTestInformation()); in setUp()
97 testName, mTestRunningUserId, /* testTimeoutMs= */ null); in runDeviceTest() local
102 String.format(GET_HARMFUL_APP_WARNING_COMMAND, mTestRunningUserId)); in verifyHarmfulAppWarningSet()
108 String.format(GET_HARMFUL_APP_WARNING_COMMAND, mTestRunningUserId)); in verifyHarmfulAppWarningUnset()
117 String.format(LIST_PACKAGES_COMMAND, mTestRunningUserId)); in verifySampleAppUninstalled()
123 String.format(LIST_PACKAGES_COMMAND, mTestRunningUserId)); in verifySampleAppInstalled()
143 String.format(SET_HARMFUL_APP_WARNING_COMMAND, mTestRunningUserId)); in testLaunchAnyway()
156 String.format(SET_HARMFUL_APP_WARNING_COMMAND, mTestRunningUserId)); in testUninstall()
[all …]
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java98 private int mTestRunningUserId; field in CarHostJUnit4TestCase
116 mTestRunningUserId = getCurrentUserId(); in saveUserState()
119 mTestRunningUserId = Integer.parseInt( in saveUserState()
319 return mTestRunningUserId; in getTestRunningUserId()