Searched refs:managedProfileUserId (Results 1 – 9 of 9) sorted by relevance
85 int managedProfileUserId = UserHandle.USER_NULL; in markUserProvisioningStateInitiallyDone() local94 managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateInitiallyDone()126 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone()144 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateFinalized() local145 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized()
172 final int managedProfileUserId = 10; in onResume_shouldSetUserIdToPreference() local174 .thenReturn(managedProfileUserId); in onResume_shouldSetUserIdToPreference()183 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()185 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()187 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
105 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference() local106 if (managedProfileUserId != UserHandle.USER_NULL) { in setDoubleTwistPreference()109 managedProfileUserId); in setDoubleTwistPreference() local
141 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local142 return managedProfileUserId != UserHandle.USER_NULL && in isAlwaysOnVpnSetInManagedProfile()143 VpnUtils.isAlwaysOnVpnSet(mVm, managedProfileUserId); in isAlwaysOnVpnSetInManagedProfile()
142 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local143 return managedProfileUserId != UserHandle.USER_NULL && (mVm.getAlwaysOnVpnPackageForUser( in isAlwaysOnVpnSetInManagedProfile()144 managedProfileUserId) != null); in isAlwaysOnVpnSetInManagedProfile()
123 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument125 mContext, managedProfileUserId); in isPackageAllowedToAccessCalendar()
36 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument
729 final int managedProfileUserId = in updateTTSSetting() local731 if (managedProfileUserId != UserHandle.USER_NULL) { in updateTTSSetting()732 Secure.putIntForUser(getContentResolver(), key, value, managedProfileUserId); in updateTTSSetting() local
367 final int managedProfileUserId = MANAGED_PROFILE_USER_HANDLE.getIdentifier(); in testCorpOwnedManagedProfileDuringSuw() local368 when(mockDpm.getProfileOwnerAsUser(managedProfileUserId)).thenReturn(TEST_MDM_ADMIN); in testCorpOwnedManagedProfileDuringSuw()