/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceControllerTest.java | 106 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/ |
D | ShadowCarUserManagerHelper.java | 57 protected UserInfo getCurrentProcessUserInfo() { in getCurrentProcessUserInfo() method in ShadowCarUserManagerHelper 58 return sMockInstance.getCurrentProcessUserInfo(); in getCurrentProcessUserInfo()
|
/packages/apps/Car/Settings/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtil.java | 67 carUserManagerHelper.getCurrentProcessUserInfo()); in isDevelopmentSettingsEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UsersPreferenceProvider.java | 87 UserInfo currUserInfo = mCarUserManagerHelper.getCurrentProcessUserInfo(); in createUserList()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountAutoSyncPreferenceController.java | 62 mUserHandle = carUserManagerHelper.getCurrentProcessUserInfo().getUserHandle(); in AccountAutoSyncPreferenceController()
|
D | AddAccountActivity.java | 123 mUserHandle = mCarUserManagerHelper.getCurrentProcessUserInfo().getUserHandle(); in onCreate()
|
D | ChooseAccountPreferenceController.java | 68 mUserHandle = new CarUserManagerHelper(context).getCurrentProcessUserInfo().getUserHandle(); in ChooseAccountPreferenceController()
|
D | AccountListPreferenceController.java | 68 mUserInfo = mCarUserManagerHelper.getCurrentProcessUserInfo(); in AccountListPreferenceController()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UsersListPreferenceControllerTest.java | 73 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_CURRENT_USER); in setUp()
|
D | UsersPreferenceProviderTest.java | 81 doReturn(TEST_CURRENT_USER).when(mCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
|
D | UsersListFragmentTest.java | 162 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(testUser); in createUsersListFragment()
|
D | UsersBasePreferenceControllerTest.java | 92 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(TEST_CURRENT_USER); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | DeveloperOptionsEntryPreferenceControllerTest.java | 70 when(mShadowCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(mUserInfo); in setUp()
|
D | BuildNumberPreferenceControllerTest.java | 77 when(mCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(new UserInfo()); in setUp()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceController.java | 78 boolean isNotAdmin = !mCarUserManagerHelper.getCurrentProcessUserInfo().isAdmin(); in getAvailabilityStatus()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSettingsFragmentTest.java | 62 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
|
D | AccountAutoSyncPreferenceControllerTest.java | 71 when(mMockCarUserManagerHelper.getCurrentProcessUserInfo()) in setUp()
|
D | AccountListPreferenceControllerTest.java | 78 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
|
D | ChooseAccountPreferenceControllerTest.java | 84 mMockCarUserManagerHelper).getCurrentProcessUserInfo(); in setUp()
|
/packages/services/Car/tests/robotests/src/com/android/car/users/ |
D | CarUserManagerHelperRoboTest.java | 94 assertThat(mHelper.getCurrentProcessUserInfo().id).isEqualTo(currentProcessUserId); in testGetCurrentProcessUserInfo()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 332 public UserInfo getCurrentProcessUserInfo() { in getCurrentProcessUserInfo() method in CarUserManagerHelper
|