/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/ |
D | NoCrossProfileEmptyStateProviderTest.kt | 101 val profileHelper = createProfileHelper(launchedAs = workUser) in sameProfilePermitted() constant 105 profileHelper, in sameProfilePermitted() 119 val profileHelper = createProfileHelper(launchedAs = personalUser) in testPersonalToWork() constant 123 profileHelper, in testPersonalToWork() 139 val profileHelper = createProfileHelper(launchedAs = workUser) in testWorkToPersonal() constant 143 profileHelper, in testWorkToPersonal() 159 val profileHelper = createProfileHelper(launchedAs = workUser) in testWorkToPrivate() constant 163 profileHelper, in testWorkToPrivate() 180 val profileHelper = createProfileHelper(launchedAs = privateUser) in testPrivateToPersonal() constant 184 profileHelper, in testPrivateToPersonal()
|
/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/accounts/ |
D | AccountGroupPreferenceController.java | 59 ProfileHelper profileHelper = getProfileHelper(); in getDefaultAvailabilityStatus() local 60 boolean isCurrentUser = profileHelper.isCurrentProcessUser(getUserInfo()); in getDefaultAvailabilityStatus() 66 if (!isCurrentUser || profileHelper.isDemoOrGuest() in getDefaultAvailabilityStatus()
|
D | AccountDetailsPreferenceController.java | 148 ProfileHelper profileHelper = getProfileHelper(); in getSecondaryActionAvailabilityStatus() local 149 if (profileHelper.canCurrentProcessModifyAccounts()) { in getSecondaryActionAvailabilityStatus() 152 if (profileHelper.isDemoOrGuest() in getSecondaryActionAvailabilityStatus()
|
D | AccountListPreferenceController.java | 111 ProfileHelper profileHelper = getProfileHelper(); in getDefaultAvailabilityStatus() local 112 boolean canModifyAccounts = profileHelper.canCurrentProcessModifyAccounts(); in getDefaultAvailabilityStatus() 118 if (profileHelper.isDemoOrGuest() in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ChooseNewAdminPreferenceController.java | 92 ProfileHelper profileHelper = ProfileHelper.getInstance(context); in removeOldAdmin() local 93 int removeUserResult = profileHelper.removeProfile(context, mAdminInfo); in removeOldAdmin() 98 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 | 61 public RemoveProfileHandler(Context context, ProfileHelper profileHelper, in RemoveProfileHandler() argument 64 mProfileHelper = profileHelper; in RemoveProfileHandler()
|
D | ProfileDetailsActionButtonsPreferenceController.java | 89 CarUxRestrictions uxRestrictions, ProfileHelper profileHelper, UserManager userManager, in ProfileDetailsActionButtonsPreferenceController() argument 92 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 | 1931 ProfileDatabaseHelper profileHelper) { in needsToUpdateLocaleData() argument 1943 profileHelper.needsToUpdateLocaleData(locales)) { in needsToUpdateLocaleData() 1991 ProfileDatabaseHelper profileHelper) { in updateLocaleOffline() argument 1994 if (!needsToUpdateLocaleData(prefs, currentLocales, contactsHelper, profileHelper)) { in updateLocaleOffline() 1999 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/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/ |
D | NoAppsAvailableEmptyStateProvider.java | 46 ProfileHelper profileHelper, in NoAppsAvailableEmptyStateProvider() argument 50 mProfileHelper = profileHelper; in NoAppsAvailableEmptyStateProvider()
|
D | WorkProfilePausedEmptyStateProvider.java | 50 ProfileHelper profileHelper, in WorkProfilePausedEmptyStateProvider() argument 55 mProfileHelper = profileHelper; in WorkProfilePausedEmptyStateProvider()
|
D | NoCrossProfileEmptyStateProvider.java | 49 ProfileHelper profileHelper, in NoCrossProfileEmptyStateProvider() argument 53 mProfileHelper = profileHelper; in NoCrossProfileEmptyStateProvider()
|
/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()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageAsyncLoader.java | 63 PackageManager packageManager, ProfileHelper profileHelper) { in StorageAsyncLoader() argument 67 mProfileHelper = profileHelper; in StorageAsyncLoader()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserActivity.java | 695 ProfileHelper profileHelper, ProfileAvailability profileAvailability) { in maybeDisableRecentsScreenshot() argument 696 for (Profile profile : profileHelper.getProfiles()) { in maybeDisableRecentsScreenshot() 1134 ProfileHelper profileHelper, in createEmptyStateProvider() argument 1141 profileHelper, in createEmptyStateProvider() 1412 ProfileHelper profileHelper, in createMultiProfilePagerAdapter() argument 1418 Profile launchedAs = profileHelper.getLaunchedAsProfile(); in createMultiProfilePagerAdapter() 1424 for (Profile profile : profileHelper.getProfiles()) { in createMultiProfilePagerAdapter() 1444 createEmptyStateProvider(profileHelper, profileAvailability); in createMultiProfilePagerAdapter() 1447 () -> !(profileHelper.getWorkProfilePresent() in createMultiProfilePagerAdapter() 1449 requireNonNull(profileHelper.getWorkProfile()))); in createMultiProfilePagerAdapter() [all …]
|