Home
last modified time | relevance | path

Searched refs:carUserManagerHelper (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/development/
DDevelopmentSettingsUtil.java62 CarUserManagerHelper carUserManagerHelper) { in isDevelopmentSettingsEnabled() argument
65 boolean hasRestriction = carUserManagerHelper.hasUserRestriction( in isDevelopmentSettingsEnabled()
67 carUserManagerHelper.getCurrentProcessUserInfo()); in isDevelopmentSettingsEnabled()
68 boolean isAdminOrDemo = carUserManagerHelper.isCurrentProcessAdminUser() in isDevelopmentSettingsEnabled()
69 || carUserManagerHelper.isCurrentProcessDemoUser(); in isDevelopmentSettingsEnabled()
80 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in showDeveloperOptions() local
83 boolean isAdminOrDemo = carUserManagerHelper.isCurrentProcessAdminUser() in showDeveloperOptions()
84 || carUserManagerHelper.isCurrentProcessDemoUser(); in showDeveloperOptions()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java68 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSystemApp() local
73 carUserManagerHelper.getCurrentForegroundUserId()); in isSystemApp()
88 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSignedWithPlatformKey() local
93 carUserManagerHelper.getCurrentForegroundUserId()); in isSignedWithPlatformKey()
105 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in isSystemPrivilegedOrPlatformKeyInner() local
110 carUserManagerHelper.getCurrentForegroundUserId()); in isSystemPrivilegedOrPlatformKeyInner()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserUtils.java49 CarUserManagerHelper carUserManagerHelper, UserInfo userInfo) { in getUserDisplayName() argument
50 return carUserManagerHelper.isCurrentProcessUser(userInfo) ? context.getString( in getUserDisplayName()
58 public static boolean isAdminViewingNonAdmin(CarUserManagerHelper carUserManagerHelper, in isAdminViewingNonAdmin() argument
60 return carUserManagerHelper.isCurrentProcessAdminUser() && !userInfo.isAdmin(); in isAdminViewingNonAdmin()
DUsersPreferenceProvider.java54 public UsersPreferenceProvider(Context context, CarUserManagerHelper carUserManagerHelper, in UsersPreferenceProvider() argument
57 mCarUserManagerHelper = carUserManagerHelper; in UsersPreferenceProvider()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java80 CarUserManagerHelper carUserManagerHelper = mock(CarUserManagerHelper.class); in setUp() local
81 ShadowCarUserManagerHelper.setMockInstance(carUserManagerHelper); in setUp()
90 when(carUserManagerHelper.getCurrentProcessUserId()).thenReturn(TEST_USER_ID); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java61 CarUserManagerHelper carUserManagerHelper = new CarUserManagerHelper(context); in AccountAutoSyncPreferenceController() local
62 mUserHandle = carUserManagerHelper.getCurrentProcessUserInfo().getUserHandle(); in AccountAutoSyncPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java55 public StorageAsyncLoader(Context context, CarUserManagerHelper carUserManagerHelper, in StorageAsyncLoader() argument
58 mCarUserManagerHelper = carUserManagerHelper; in StorageAsyncLoader()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java90 @Nullable Context context, @Nullable CarUserManagerHelper carUserManagerHelper, in CarUserService() argument
96 mCarUserManagerHelper = carUserManagerHelper; in CarUserService()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java150 public CarLocationService(Context context, CarUserManagerHelper carUserManagerHelper) { in CarLocationService() argument
153 mCarUserManagerHelper = carUserManagerHelper; in CarLocationService()
DCarPowerManagementService.java121 CarUserManagerHelper carUserManagerHelper) { in CarPowerManagementService() argument
125 mCarUserManagerHelper = carUserManagerHelper; in CarPowerManagementService()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java190 CarUserManagerHelper carUserManagerHelper) { in CarPackageManagerService() argument
207 mContext, mHandler.getLooper(), carUserManagerHelper); in CarPackageManagerService()