Home
last modified time | relevance | path

Searched refs:getProfiles (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConfigurationMap.java42 mUserManager.getProfiles(mCurrentUserId))) { in put()
95 final List<UserInfo> previousUserProfiles = mUserManager.getProfiles(mCurrentUserId); in handleUserSwitch()
97 final List<UserInfo> currentUserProfiles = mUserManager.getProfiles(mCurrentUserId); in handleUserSwitch()
DWifiConfigManager.java716 mUserManager.getProfiles(mCurrentUserId))) { in selectNetwork()
782 mUserManager.getProfiles(mCurrentUserId))) { in saveNetwork()
933 mUserManager.getProfiles(mCurrentUserId))) { in addOrUpdateNetwork()
2303 mUserManager.getProfiles(mCurrentUserId))) { in linkConfiguration()
DWifiServiceImpl.java1125 List<UserInfo> profiles = mUserManager.getProfiles(currentUser); in isCurrentProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java146 for (UserInfo userInfo : um.getProfiles(userId)) { in checkIfKeyguardFeaturesDisabled()
315 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId()
415 for (UserInfo userInfo : um.getProfiles(userId)) { in checkIfPasswordQualityIsSet()
474 final List<UserInfo> profiles = um.getProfiles(userId); in checkIfMaximumTimeToLockIsSet()
644 for (UserInfo userInfo : um.getProfiles(UserHandle.myUserId())) { in isCurrentUserOrProfile()
656 for (UserInfo userInfo : um.getProfiles(UserHandle.myUserId())) { in isAdminInCurrentUserOrProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java353 for (LocalBluetoothProfile profile :getProfiles()) { in clearProfileConnectionState()
583 public List<LocalBluetoothProfile> getProfiles() { in getProfiles() method in CachedBluetoothDevice
825 for (LocalBluetoothProfile profile : getProfiles()) { in getMaxConnectionState()
842 for (LocalBluetoothProfile profile : getProfiles()) { in getConnectionSummary()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java344 when(userManager.getProfiles(anyInt())).thenAnswer( in addUser()
349 return getProfiles(userId); in addUser()
358 List<UserInfo> profiles = getProfiles(userId); in addUser()
378 private List<UserInfo> getProfiles(int userId) { in getProfiles() method in DpmMockContext
/frameworks/base/core/java/android/os/
DIUserManager.aidl48 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() method
DUserManager.java1663 public List<UserInfo> getProfiles(@UserIdInt int userHandle) { in getProfiles() method in UserManager
1665 return mService.getProfiles(userHandle, false /* enabledOnly */); in getProfiles()
1698 return mService.getProfiles(userHandle, true /* enabledOnly */); in getEnabledProfiles()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java178 List<UserInfo> relatedUsers = userManager.getProfiles(UserHandle.myUserId()); in getManagedProfile()
DResolverActivity.java612 List<UserInfo> profiles = userManager.getProfiles(getUserId()); in hasManagedProfile()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java726 List<UserInfo> profiles = getUserManager().getProfiles( in startProfilesLocked()
1187 List<UserInfo> profiles = getUserManager().getProfiles(oldUserId, false); in sendUserSwitchBroadcastsLocked()
1202 List<UserInfo> profiles = getUserManager().getProfiles(newUserId, false); in sendUserSwitchBroadcastsLocked()
1380 final List<UserInfo> profiles = getUserManager().getProfiles(mCurrentUserId, in updateCurrentProfileIdsLocked()
1513 final List<UserInfo> profiles = getUserManager().getProfiles(userId, in getProfileIds()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java84 when(mUserManager.getProfiles(anyInt())) in setUp()
DWifiConfigManagerTest.java158 when(mUserManager.getProfiles(UserHandle.USER_SYSTEM)) in setUp()
162 when(mUserManager.getProfiles(userId)).thenReturn(USER_PROFILES.get(userId)); in setUp()
204 when(mUserManager.getProfiles(newUserId)) in switchUser()
DWifiStateMachineTest.java382 when(mUserManager.getProfiles(UserHandle.USER_SYSTEM)).thenReturn(Arrays.asList( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java91 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCurrentQuietProfilesCache()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java407 List<UserInfo> profiles = mUserManager.getProfiles(userId); in onUnlockUser()
835 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in unlockUser()
887 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in onUserLockChanged()
1200 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in resetKeyStore()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java216 related = mUm.getProfiles(userId, true); in getRelatedProfiles()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java913 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCache()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java188 for (UserInfo user : mUm.getProfiles(UserHandle.myUserId())) { in doResumeIfNeededLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java554 public List<UserInfo> getProfiles(int userId, boolean enabledOnly) { in getProfiles() method in UserManagerService
1464 final int managedProfilesCount = getProfiles(userId, true).size() - 1; in canAddMoreManagedProfiles()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3217 for (UserInfo userInfo : mUserManager.getProfiles(userHandle)) { in getActiveAdminsForLockscreenPoliciesLocked()
4004 for (UserInfo userInfo : mUserManager.getProfiles(userHandle)) { in resetPassword()
4284 for (UserInfo userInfo : mUserManager.getProfiles(userHandle)) { in getMaximumTimeToLockForUserAndProfiles()
4478 for (UserInfo userInfo : mUserManager.getProfiles(userId)) { in removeCaApprovalsIfNeeded()
7991 for (UserInfo ui : mUserManager.getProfiles(callingUserId)) { in getManagedUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java692 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) { in updateCurrentProfilesCache()