Home
last modified time | relevance | path

Searched refs:mUserId (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java63 private int mUserId; field in ManagedProfileTest
79 mUserId = createManagedProfile(); in setUp()
82 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
83 startUser(mUserId); in setUp()
90 removeUser(mUserId); in tearDown()
103 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".ManagedProfileSetupTest", mUserId)); in testManagedProfileSetup()
113 assertTrue(listUsers().contains(mUserId)); in testWipeData()
115 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".WipeDataTest", mUserId)); in testWipeData()
118 assertFalse(listUsers().contains(mUserId)); in testWipeData()
146 MANAGED_PROFILE_PKG, ".WifiTest", "testAddWifiNetwork", mUserId)); in testProfileWifiCleanup()
[all …]
DDeviceAndProfileOwnerTest.java60 protected int mUserId; field in DeviceAndProfileOwnerTest
84 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionGrant()
92 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionPolicy()
100 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionMixedPolicies()
108 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionPrompts()
116 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionAppUpdate()
119 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionAppUpdate()
123 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionAppUpdate()
126 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionAppUpdate()
130 installAppAsUser(PERMISSIONS_APP_APK, mUserId); in testPermissionAppUpdate()
[all …]
DMixedProfileOwnerTest.java40 mUserId = createManagedProfile(); in setUp()
42 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in setUp()
43 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
44 startUser(mUserId); in setUp()
51 removeUser(mUserId); in tearDown()
DMixedDeviceOwnerTest.java39 mUserId = USER_OWNER; in setUp()