Searched refs:getMainUser (Results 1 – 6 of 6) sorted by relevance
24 return getMainUser(); in getUserId()
43 mUserId = isHeadlessSystemUserMode() ? getCurrentUser() : getMainUser(); in setUp()
223 mDeviceOwnerUserId = mPrimaryUserId = getMainUser(); in setUp()807 protected int getMainUser() throws DeviceNotAvailableException { in getMainUser() method in BaseDevicePolicyTest
203 mainUser = sUserManager.getMainUser(); in main()
1027 final UserHandle mainUser = mUserManager.getMainUser(); in testGetMainUser_returnsMainUser()
11242 …CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getMainUser();