/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationUtils.java | 19 import android.car.userlib.CarUserManagerHelper; 68 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSystemApp() 88 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSignedWithPlatformKey() 105 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSystemPrivilegedOrPlatformKeyInner()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | CarUserManagerHelperTest.java | 78 private CarUserManagerHelper.OnUsersUpdateListener mTestListener; 86 private CarUserManagerHelper mCarUserManagerHelper; 102 mCarUserManagerHelper = new CarUserManagerHelper(mContext, mTestableFrameworkWrapper); in setUpMocksAndVariables() 749 CarUserManagerHelper.OnUsersUpdateListener listener = in testMultipleRegistrationsOfSameListener() 750 Mockito.mock(CarUserManagerHelper.OnUsersUpdateListener.class); in testMultipleRegistrationsOfSameListener() 772 CarUserManagerHelper.OnUsersUpdateListener listener = in testMultipleUnregistrationsOfTheSameListener() 773 Mockito.mock(CarUserManagerHelper.OnUsersUpdateListener.class); in testMultipleUnregistrationsOfTheSameListener() 785 CarUserManagerHelper.OnUsersUpdateListener listener1 = in testUnregisterReceiverCalledAfterAllListenersUnregister() 786 Mockito.mock(CarUserManagerHelper.OnUsersUpdateListener.class); in testUnregisterReceiverCalledAfterAllListenersUnregister() 787 CarUserManagerHelper.OnUsersUpdateListener listener2 = in testUnregisterReceiverCalledAfterAllListenersUnregister() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserDetailsBasePreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 38 private final CarUserManagerHelper.OnUsersUpdateListener mOnUsersUpdateListener = () -> { 42 private final CarUserManagerHelper mCarUserManagerHelper; 48 mCarUserManagerHelper = new CarUserManagerHelper(getContext()); in UserDetailsBasePreferenceController() 86 protected CarUserManagerHelper getCarUserManagerHelper() { in getCarUserManagerHelper()
|
D | UsersBasePreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 39 private final CarUserManagerHelper.OnUsersUpdateListener mOnUsersUpdateListener = 43 private CarUserManagerHelper mCarUserManagerHelper; 49 mCarUserManagerHelper = new CarUserManagerHelper(context); in UsersBasePreferenceController() 91 protected CarUserManagerHelper getCarUserManagerHelper() { in getCarUserManagerHelper()
|
D | UserIconProvider.java | 19 import android.car.userlib.CarUserManagerHelper; 36 private final CarUserManagerHelper mCarUserManagerHelper; 38 public UserIconProvider(CarUserManagerHelper userManagerHelper) { in UserIconProvider() 82 public static Drawable scaleUserIcon(Bitmap bitmap, CarUserManagerHelper userManagerHelper, in scaleUserIcon()
|
D | UserDetailsBaseFragment.java | 19 import android.car.userlib.CarUserManagerHelper; 37 private CarUserManagerHelper mCarUserManagerHelper; 74 mCarUserManagerHelper = new CarUserManagerHelper(getContext()); in onAttach() 107 protected CarUserManagerHelper getCarUserManagerHelper() { in getCarUserManagerHelper()
|
D | AddNewUserTask.java | 19 import android.car.userlib.CarUserManagerHelper; 27 private final CarUserManagerHelper mCarUserManagerHelper; 30 public AddNewUserTask(CarUserManagerHelper helper, AddNewUserListener addNewUserListener) { in AddNewUserTask()
|
D | UserUtils.java | 19 import android.car.userlib.CarUserManagerHelper; 49 CarUserManagerHelper carUserManagerHelper, UserInfo userInfo) { in getUserDisplayName() 58 public static boolean isAdminViewingNonAdmin(CarUserManagerHelper carUserManagerHelper, in isAdminViewingNonAdmin()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationsUtilsTest.java | 25 import android.car.userlib.CarUserManagerHelper; 81 CarUserManagerHelper um = mock(CarUserManagerHelper.class); in isProfileOrDeviceOwner_profileOwner_returnsTrue() 95 mock(CarUserManagerHelper.class))).isTrue(); in isProfileOrDeviceOwner_deviceOwner_returnsTrue() 101 mock(DevicePolicyManager.class), mock(CarUserManagerHelper.class))).isFalse(); in isProfileOrDeviceOwner_returnsFalse()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UserDetailsBasePreferenceControllerTest.java | 24 import android.car.userlib.CarUserManagerHelper; 70 private CarUserManagerHelper mCarUserManagerHelper; 98 verify(mCarUserManagerHelper).registerOnUsersUpdateListener(any(CarUserManagerHelper in testOnCreate_registerListener() 107 ArgumentCaptor<CarUserManagerHelper.OnUsersUpdateListener> listenerArgumentCaptor = in testOnDestroy_unregisterListener() 108 ArgumentCaptor.forClass(CarUserManagerHelper.OnUsersUpdateListener.class); in testOnDestroy_unregisterListener()
|
D | UsersBasePreferenceControllerTest.java | 28 import android.car.userlib.CarUserManagerHelper; 81 private CarUserManagerHelper mCarUserManagerHelper; 108 any(CarUserManagerHelper.OnUsersUpdateListener.class)); in onCreate_registersOnUsersUpdateListener() 126 any(CarUserManagerHelper.OnUsersUpdateListener.class)); in onDestroy_unregistersOnUsersUpdateListener() 176 ArgumentCaptor<CarUserManagerHelper.OnUsersUpdateListener> listenerCaptor = in onUsersUpdated_updatesGroup() 177 ArgumentCaptor.forClass(CarUserManagerHelper.OnUsersUpdateListener.class); in onUsersUpdated_updatesGroup()
|
D | PermissionsPreferenceControllerTest.java | 23 import android.car.userlib.CarUserManagerHelper; 61 private CarUserManagerHelper mCarUserManagerHelper; 66 ShadowCarUserManagerHelper.setMockInstance(mock(CarUserManagerHelper.class)); in setUp() 73 mCarUserManagerHelper = new CarUserManagerHelper(context); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarUserManagerHelper.java | 19 import android.car.userlib.CarUserManagerHelper; 20 import android.car.userlib.CarUserManagerHelper.OnUsersUpdateListener; 34 @Implements(CarUserManagerHelper.class) 39 private static CarUserManagerHelper sMockInstance; 41 public static void setMockInstance(CarUserManagerHelper userManagerHelper) { in setMockInstance()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageUsageBasePreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 42 private CarUserManagerHelper mCarUserManagerHelper; 48 mCarUserManagerHelper = new CarUserManagerHelper(context); in StorageUsageBasePreferenceController() 76 CarUserManagerHelper getCarUserManagerHelper() { in getCarUserManagerHelper()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPreferenceController.java | 23 import android.car.userlib.CarUserManagerHelper; 49 private final CarUserManagerHelper mCarUserManagerHelper; 55 mCarUserManagerHelper = new CarUserManagerHelper(context); in BluetoothPreferenceController() 60 protected final CarUserManagerHelper getCarUserManagerHelper() { in getCarUserManagerHelper()
|
D | BluetoothEntryPreferenceController.java | 23 import android.car.userlib.CarUserManagerHelper; 37 private final CarUserManagerHelper mCarUserManagerHelper; 42 mCarUserManagerHelper = new CarUserManagerHelper(context); in BluetoothEntryPreferenceController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtil.java | 20 import android.car.userlib.CarUserManagerHelper; 62 CarUserManagerHelper carUserManagerHelper) { in isDevelopmentSettingsEnabled() 80 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in showDeveloperOptions()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | DeveloperOptionsEntryPreferenceControllerTest.java | 26 import android.car.userlib.CarUserManagerHelper; 55 private CarUserManagerHelper mShadowCarUserManagerHelper; 71 new CarUserManagerHelper(mContext).setUserRestriction(mUserInfo, in setUp() 98 new CarUserManagerHelper(mContext).setUserRestriction(mUserInfo, in testGetAvailabilityStatus_devOptionsEnabled_hasUserRestriction_isUnavailable()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountsEntryPreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 34 private final CarUserManagerHelper mCarUserManagerHelper; 39 mCarUserManagerHelper = new CarUserManagerHelper(context); in AccountsEntryPreferenceController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | SecurityEntryPreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 34 private final CarUserManagerHelper mCarUserManagerHelper; 39 mCarUserManagerHelper = new CarUserManagerHelper(context); in SecurityEntryPreferenceController()
|
D | CredentialsResetPreferenceController.java | 22 import android.car.userlib.CarUserManagerHelper; 33 private final CarUserManagerHelper mCarUserManagerHelper; 38 mCarUserManagerHelper = new CarUserManagerHelper(context); in CredentialsResetPreferenceController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | MasterClearOtherUsersPresentPreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 35 private final CarUserManagerHelper mCarUserManagerHelper; 40 mCarUserManagerHelper = new CarUserManagerHelper(context); in MasterClearOtherUsersPresentPreferenceController()
|
D | DeveloperOptionsEntryPreferenceController.java | 20 import android.car.userlib.CarUserManagerHelper; 32 private CarUserManagerHelper mCarUserManagerHelper; 37 mCarUserManagerHelper = new CarUserManagerHelper(context); in DeveloperOptionsEntryPreferenceController()
|
D | ResetNetworkEntryPreferenceController.java | 22 import android.car.userlib.CarUserManagerHelper; 33 private final CarUserManagerHelper mCarUserManagerHelper; 38 mCarUserManagerHelper = new CarUserManagerHelper(context); in ResetNetworkEntryPreferenceController()
|
D | MasterClearEntryPreferenceController.java | 22 import android.car.userlib.CarUserManagerHelper; 37 private final CarUserManagerHelper mCarUserManagerHelper; 42 mCarUserManagerHelper = new CarUserManagerHelper(context); in MasterClearEntryPreferenceController()
|