/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/ |
D | ShadowUserManager.java | 45 protected List<UserInfo> getProfiles() { in getProfiles() method in ShadowUserManager 62 protected List<UserInfo> getProfiles(@UserIdInt int userHandle) { in getProfiles() method in ShadowUserManager 63 return getProfiles(); in getProfiles()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 139 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent() 172 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent() 193 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_noManagedProfile_sendIntent() 215 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_chooserIntent() 257 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_selectorIntent() 547 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_LoggingTest() 574 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToParent_LoggingTest() 598 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in setupShouldSkipDisclosureTest()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 186 when(mUserManager.getProfiles(mUserId)).thenReturn(Arrays.asList(userInfo, profileInfo)); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 214 when(mUserManager.getProfiles(mUserId)).thenReturn(Arrays.asList(userInfo, profileInfo)); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 237 when(mUserManager.getProfiles(mUserId)).thenReturn(Arrays.asList(userInfo, profileInfo)); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 273 when(mUserManager.getProfiles(mUserId)).thenReturn(Arrays.asList(userInfo, profileInfo)); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 82 mUserManagerService.getProfiles(UserHandle.USER_SYSTEM, /*excludeDying*/ false); in testGetProfiles() 88 users = mUserManagerService.getProfiles(secondaryUser.id, /*excludeDying*/ false); in testGetProfiles()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 226 when(userManager.getProfiles(anyInt())).thenAnswer( in addUser() 229 return getProfiles(userId12); in addUser() 235 List<UserInfo> profiles = getProfiles(userId13); in addUser() 272 private List<UserInfo> getProfiles(int userId) { in getProfiles() method in MockSystemServices
|
/frameworks/base/core/java/android/service/euicc/ |
D | GetEuiccProfileInfoListResult.java | 70 public List<EuiccProfileInfo> getProfiles() { in getProfiles() method in GetEuiccProfileInfoListResult
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConfigurationMap.java | 48 mUserManager.getProfiles(mCurrentUserId))) { in put()
|
D | WifiConfigManager.java | 844 uid, mUserManager.getProfiles(mCurrentUserId)); in doesUidBelongToCurrentUser() 2966 config.creatorUid, mUserManager.getProfiles(userId))) { in clearInternalUserData() 3173 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore() 3191 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 659 public List<LocalBluetoothProfile> getProfiles() { in getProfiles() method in CachedBluetoothDevice 818 for (LocalBluetoothProfile profile : getProfiles()) { in getMaxConnectionState() 853 for (LocalBluetoothProfile profile : getProfiles()) { in getConnectionSummary() 961 for (LocalBluetoothProfile profile : getProfiles()) { in getCarConnectionSummary()
|
D | BluetoothUtils.java | 96 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 57 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() method
|
D | UserManager.java | 2481 public List<UserInfo> getProfiles(@UserIdInt int userHandle) { in getProfiles() method in UserManager 2483 return mService.getProfiles(userHandle, false /* enabledOnly */); in getProfiles() 2517 return mService.getProfiles(userHandle, true /* enabledOnly */); in getEnabledProfiles()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 344 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() 506 for (UserInfo userInfo : UserManager.get(context).getProfiles(userId)) { in checkForLockSetting() 637 for (UserInfo userInfo : um.getProfiles(UserHandle.myUserId())) { in isAdminInCurrentUserOrProfile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 137 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 88 when(mUserManager.getProfiles(mCurrentUserId)).thenReturn(Lists.newArrayList( in setUp()
|
/frameworks/base/telephony/java/android/telephony/ |
D | LocationAccessPolicy.java | 316 UserManager.class).getProfiles(currentUser); in isCurrentProfile()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 405 List<UserInfo> userProfiles = mUserManager.getProfiles(currentUser); in isCurrentProfile()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 244 List<UserInfo> relatedUsers = mInjector.getUserManager().getProfiles(UserHandle.myUserId()); in getManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 153 when(mUserManager.getProfiles(eq(profile.id))).thenReturn(mPrimaryUserProfiles); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 87 when(mUserManager.getProfiles(anyInt())) in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 761 List<EuiccProfileInfo> list = result.getProfiles(); in updateEmbeddedSubscriptionsCache() 765 logd("blockingGetEuiccProfileInfoList: got " + result.getProfiles().size() in updateEmbeddedSubscriptionsCache() 772 + ". Null profile list=" + (result.getProfiles() == null)); in updateEmbeddedSubscriptionsCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 200 for (final UserInfo userInfo : mUserManager.getProfiles(userId)) { in getWorkProfileUserId()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1229 for (UserInfo profile : mUserManager.getProfiles(userId)) { in unlockUser() 1264 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in getDecryptedPasswordsForAllTiedProfiles() 1306 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in synchronizeUnifiedWorkChallengeForProfiles() 1400 for (UserInfo profile : mUserManager.getProfiles(userId)) { in getProfilesWithSameLockScreen() 1701 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in resetKeyStore()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 958 List<UserInfo> profiles = mInjector.getUserManager().getProfiles( 1533 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(oldUserId, false); 1549 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(newUserId, false); 1756 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(getCurrentUserId(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerImpl.java | 462 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) { in updateCurrentProfilesCache()
|