Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelper.java84 int managedProfileUserId = UserHandle.USER_NULL; in markUserProvisioningStateInitiallyDone() local
93 managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateInitiallyDone()
119 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone()
138 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateFinalized() local
139 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized()
DFinalizationController.java153 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in setProfileOwnerCanAccessDeviceIds() local
154 final ComponentName admin = dpm.getProfileOwnerAsUser(managedProfileUserId); in setProfileOwnerCanAccessDeviceIds()
159 UserHandle.of(managedProfileUserId)); in setProfileOwnerCanAccessDeviceIds()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DWorkSoundPreferenceControllerTest.java256 final int managedProfileUserId = 10; in onResume_shouldSetUserIdToPreference() local
258 .thenReturn(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
268 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
270 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
272 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DDoubleTwistPreferenceController.java100 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference() local
101 if (managedProfileUserId != UserHandle.USER_NULL) { in setDoubleTwistPreference()
104 managedProfileUserId); in setDoubleTwistPreference() local
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java100 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference() local
101 if (managedProfileUserId != UserHandle.USER_NULL) { in setDoubleTwistPreference()
104 managedProfileUserId); in setDoubleTwistPreference() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java300 public void setFilters(int parentUserId, int managedProfileUserId) { in setFilters() argument
304 UserHandle.of(managedProfileUserId)); in setFilters()
312 mPackageManager.addCrossProfileIntentFilter(filter.filter, managedProfileUserId, in setFilters()
316 managedProfileUserId, filter.flags); in setFilters()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java149 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local
150 return managedProfileUserId != UserHandle.USER_NULL && in isAlwaysOnVpnSetInManagedProfile()
151 VpnUtils.isAlwaysOnVpnSet(mCm, managedProfileUserId); in isAlwaysOnVpnSetInManagedProfile()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java138 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local
139 return managedProfileUserId != UserHandle.USER_NULL && in isAlwaysOnVpnSetInManagedProfile()
140 VpnUtils.isAlwaysOnVpnSet(mCm, managedProfileUserId); in isAlwaysOnVpnSetInManagedProfile()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDeleteManagedProfileDialog.java58 int managedProfileUserId, @Nullable ComponentName mdmPackageName, in newInstance() argument
70 args.putInt(KEY_USER_PROFILE_CALLBACK_ID, managedProfileUserId); in newInstance()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelper.java123 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument
125 mContext, managedProfileUserId); in isPackageAllowedToAccessCalendar()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DMockCrossProfileCalendarHelper.java36 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument