Searched refs:mCurrentUserId (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | LauncherAppsSingleUserTest.java | 32 private int mCurrentUserId; field in LauncherAppsSingleUserTest 40 mCurrentUserId = getDevice().getCurrentUser(); in setUp() 41 mSerialNumber = Integer.toString(getUserSerialNumber(mCurrentUserId)); in setUp() 43 installTestApps(mCurrentUserId); in setUp() 59 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testInstallAppMainUser() 62 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); in testInstallAppMainUser() 69 startCallbackService(mCurrentUserId); in testLauncherCallbackPackageAddedMainUser() 70 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageAddedMainUser() 75 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); in testLauncherCallbackPackageAddedMainUser() 82 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageRemovedMainUser() [all …]
|
D | LimitAppIconHidingTest.java | 35 private int mCurrentUserId; field in LimitAppIconHidingTest 43 mCurrentUserId = getDevice().getCurrentUser(); in setUp() 44 mSerialNumber = Integer.toString(getUserSerialNumber(mCurrentUserId)); in setUp() 46 installTestApps(mCurrentUserId); in setUp() 60 super.installTestApps(mCurrentUserId); in installTestApps() 61 installAppAsUser(LAUNCHER_TESTS_NO_LAUNCHABLE_ACTIVITY_APK, mCurrentUserId); in installTestApps() 62 installAppAsUser(LAUNCHER_TESTS_NO_COMPONENT_APK, mCurrentUserId); in installTestApps() 63 installAppAsUser(LAUNCHER_TESTS_NO_PERMISSION_APK, mCurrentUserId); in installTestApps() 80 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); in testNoLaunchableActivityAppHasAppDetailsActivityInjected() 89 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); in testNoSystemAppHasSyntheticAppDetailsActivityInjected() [all …]
|
D | PasswordComplexityTest.java | 16 private int mCurrentUserId; field in PasswordComplexityTest 31 mCurrentUserId = getDevice().getCurrentUser(); in setUp() 32 installAppAsUser(APP, mCurrentUserId); in setUp() 51 () -> runDeviceTestsAsUser(PKG, CLS, mCurrentUserId), in testGetPasswordComplexity()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 110 private int mCurrentUserId; field in RoleManagerTest 136 mCurrentUserId = Process.myUserHandle().getIdentifier(); in installApp() 357 runShellCommand("pm clear --user " + mCurrentUserId + " " + packageName); in clearPackageData() 361 runShellCommand("pm install -r --user " + mCurrentUserId + " " + apkPath); in installPackage() 365 runShellCommand("pm uninstall --user " + mCurrentUserId + " " + packageName); in uninstallPackage()
|