Home
last modified time | relevance | path

Searched refs:getCurrentProcessUserInfo (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceControllerTest.java106 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_ADMIN_USER); in setUp()
130 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_NON_ADMIN_USER); in getAvailabilityStatus_notAdmin_disabledForUser()
139 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_ADMIN_USER); in getAvailabilityStatus_hasRestriction_disabledForUser()
150 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_ADMIN_USER); in getAvailabilityStatus_hasMobileNetwork_isAdmin_noRestriction_available()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java57 protected UserInfo getCurrentProcessUserInfo() { in getCurrentProcessUserInfo() method in ShadowCarUserManagerHelper
58 return sMockInstance.getCurrentProcessUserInfo(); in getCurrentProcessUserInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/development/
DDevelopmentSettingsUtil.java67 carUserManagerHelper.getCurrentProcessUserInfo()); in isDevelopmentSettingsEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersPreferenceProvider.java87 UserInfo currUserInfo = mCarUserManagerHelper.getCurrentProcessUserInfo(); in createUserList()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java62 mUserHandle = carUserManagerHelper.getCurrentProcessUserInfo().getUserHandle(); in AccountAutoSyncPreferenceController()
DAddAccountActivity.java123 mUserHandle = mCarUserManagerHelper.getCurrentProcessUserInfo().getUserHandle(); in onCreate()
DChooseAccountPreferenceController.java68 mUserHandle = new CarUserManagerHelper(context).getCurrentProcessUserInfo().getUserHandle(); in ChooseAccountPreferenceController()
DAccountListPreferenceController.java68 mUserInfo = mCarUserManagerHelper.getCurrentProcessUserInfo(); in AccountListPreferenceController()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersListPreferenceControllerTest.java73 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_CURRENT_USER); in setUp()
DUsersPreferenceProviderTest.java81 doReturn(TEST_CURRENT_USER).when(mCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
DUsersListFragmentTest.java162 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(testUser); in createUsersListFragment()
DUsersBasePreferenceControllerTest.java92 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_CURRENT_USER); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DDeveloperOptionsEntryPreferenceControllerTest.java70 when(mShadowCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(mUserInfo); in setUp()
DBuildNumberPreferenceControllerTest.java77 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(new UserInfo()); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceController.java78 boolean isNotAdmin = !mCarUserManagerHelper.getCurrentProcessUserInfo().isAdmin(); in getAvailabilityStatus()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSettingsFragmentTest.java62 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
DAccountAutoSyncPreferenceControllerTest.java71 when(mMockCarUserManagerHelper.getCurrentProcessUserInfo()) in setUp()
DAccountListPreferenceControllerTest.java78 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
DChooseAccountPreferenceControllerTest.java84 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
/packages/services/Car/tests/robotests/src/com/android/car/users/
DCarUserManagerHelperRoboTest.java94 assertThat(mHelper.getCurrentProcessUserInfo().id).isEqualTo(currentProcessUserId); in testGetCurrentProcessUserInfo()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java332 public UserInfo getCurrentProcessUserInfo() { in getCurrentProcessUserInfo() method in CarUserManagerHelper