/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationsUtilsTest.java | 84 ProfileHelper profileHelper = mock(ProfileHelper.class); in isProfileOrDeviceOwner_profileOwner_returnsTrue() local 85 ShadowUserHelper.setInstance(profileHelper); in isProfileOrDeviceOwner_profileOwner_returnsTrue() 86 when(profileHelper.getAllProfiles()).thenReturn(Collections.singletonList(userInfo)); in isProfileOrDeviceOwner_profileOwner_returnsTrue() 90 assertThat(ApplicationsUtils.isProfileOrDeviceOwner(PACKAGE_NAME, dpm, profileHelper)) in isProfileOrDeviceOwner_profileOwner_returnsTrue()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ChooseNewAdminPreferenceController.java | 91 ProfileHelper profileHelper = ProfileHelper.getInstance(context); in removeOldAdmin() local 92 int removeUserResult = profileHelper.removeProfile(context, mAdminInfo); in removeOldAdmin() 97 profileHelper.getErrorMessageForProfileResult(removeUserResult)), in removeOldAdmin()
|
D | ProfileDetailsHeaderPreferenceController.java | 56 void setProfileHelper(ProfileHelper profileHelper) { in setProfileHelper() argument 57 mProfileHelper = profileHelper; in setProfileHelper()
|
D | ProfileDetailsDeletePreferenceController.java | 53 CarUxRestrictions uxRestrictions, ProfileHelper profileHelper, in ProfileDetailsDeletePreferenceController() argument 56 mProfileHelper = profileHelper; in ProfileDetailsDeletePreferenceController()
|
D | RemoveProfileHandler.java | 48 public RemoveProfileHandler(Context context, ProfileHelper profileHelper, in RemoveProfileHandler() argument 51 mProfileHelper = profileHelper; in RemoveProfileHandler()
|
D | ProfileDetailsActionButtonsPreferenceController.java | 85 CarUxRestrictions uxRestrictions, ProfileHelper profileHelper, UserManager userManager, in ProfileDetailsActionButtonsPreferenceController() argument 88 mProfileHelper = profileHelper; in ProfileDetailsActionButtonsPreferenceController()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsUpgradeReceiver.java | 82 ProfileDatabaseHelper profileHelper = ProfileDatabaseHelper.getInstance(context); in onReceive() local 90 profileHelper.getWritableDatabase(); in onReceive() 93 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper); in onReceive()
|
D | ContactsProvider2.java | 1787 ProfileDatabaseHelper profileHelper) { in needsToUpdateLocaleData() argument 1799 profileHelper.needsToUpdateLocaleData(locales)) { in needsToUpdateLocaleData() 1847 ProfileDatabaseHelper profileHelper) { in updateLocaleOffline() argument 1850 if (!needsToUpdateLocaleData(prefs, currentLocales, contactsHelper, profileHelper)) { in updateLocaleOffline() 1855 profileHelper.setLocale(currentLocales); in updateLocaleOffline()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | FactoryResetOtherProfilesPresentPreferenceController.java | 48 ProfileHelper profileHelper = ProfileHelper.getInstance(getContext()); in updateState() local 49 preference.setVisible(!profileHelper.getAllSwitchableProfiles().isEmpty()); in updateState()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowUserHelper.java | 39 public static void setInstance(ProfileHelper profileHelper) { in setInstance() argument 40 sInstance = profileHelper; in setInstance()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationsUtils.java | 70 ProfileHelper profileHelper) { in isProfileOrDeviceOwner() argument 74 List<UserInfo> userInfos = profileHelper.getAllProfiles(); in isProfileOrDeviceOwner()
|