Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelper.java85 int managedProfileUserId = UserHandle.USER_NULL; in markUserProvisioningStateInitiallyDone() local
94 managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateInitiallyDone()
126 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone()
144 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateFinalized() local
145 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundWorkSettingsControllerTest.java172 final int managedProfileUserId = 10; in onResume_shouldSetUserIdToPreference() local
174 .thenReturn(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
183 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
185 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
187 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java105 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference() local
106 if (managedProfileUserId != UserHandle.USER_NULL) { in setDoubleTwistPreference()
109 managedProfileUserId); in setDoubleTwistPreference() local
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java141 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local
142 return managedProfileUserId != UserHandle.USER_NULL && in isAlwaysOnVpnSetInManagedProfile()
143 VpnUtils.isAlwaysOnVpnSet(mVm, managedProfileUserId); in isAlwaysOnVpnSetInManagedProfile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java142 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local
143 return managedProfileUserId != UserHandle.USER_NULL && (mVm.getAlwaysOnVpnPackageForUser( in isAlwaysOnVpnSetInManagedProfile()
144 managedProfileUserId) != null); in isAlwaysOnVpnSetInManagedProfile()
/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
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java729 final int managedProfileUserId = in updateTTSSetting() local
731 if (managedProfileUserId != UserHandle.USER_NULL) { in updateTTSSetting()
732 Secure.putIntForUser(getContentResolver(), key, value, managedProfileUserId); in updateTTSSetting() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DFinalizationInsideSuwControllerTest.java367 final int managedProfileUserId = MANAGED_PROFILE_USER_HANDLE.getIdentifier(); in testCorpOwnedManagedProfileDuringSuw() local
368 when(mockDpm.getProfileOwnerAsUser(managedProfileUserId)).thenReturn(TEST_MDM_ADMIN); in testCorpOwnedManagedProfileDuringSuw()