/frameworks/base/packages/SettingsLib/tests/robotests/testutils/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/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 82 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() 151 verify(userManager).getProfiles(testID) in <lambda>() 173 verify(userManager).getProfiles(newID) in <lambda>() 190 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() 215 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() 240 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() 261 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() 327 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>()
|
D | UserTrackerImplReceiveTest.kt | 81 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 152 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent() 185 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent() 206 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_noManagedProfile_sendIntent() 224 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in launchInSameProfile_chooserIntent() 262 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_selectorIntent() 568 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_LoggingTest() 595 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToParent_LoggingTest() 621 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/opt/net/voip/src/java/android/net/sip/ |
D | ISipService.aidl | 42 List<SipProfile> getProfiles(String opPackageName); in getProfiles() method
|
D | SipManager.java | 629 public @NonNull List<SipProfile> getProfiles() throws SipException { in getProfiles() method in SipManager 632 return mSipService.getProfiles(mContext.getOpPackageName()); in getProfiles()
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | GetEuiccProfileInfoListResult.java | 70 public List<EuiccProfileInfo> getProfiles() { in getProfiles() method in GetEuiccProfileInfoListResult
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 287 when(userManager.getProfiles(anyInt())).thenAnswer( in addUser() 290 return getProfiles(userId12); in addUser() 296 List<UserInfo> profiles = getProfiles(userId13); in addUser() 336 private List<UserInfo> getProfiles(int userId) { in getProfiles() method in MockSystemServices
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 150 val profiles = userManager.getProfiles(user) in setUserIdInternal() 220 val profiles = userManager.getProfiles(userId) in handleProfilesChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 92 mUserManagerService.getProfiles(UserHandle.USER_SYSTEM, /*excludeDying*/ false); in testGetProfiles() 98 users = mUserManagerService.getProfiles(secondaryUser.id, /*excludeDying*/ false); in testGetProfiles()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 370 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() 491 for (UserInfo userInfo : UserManager.get(context).getProfiles(userId)) { in checkIfPasswordQualityIsSet() 562 for (UserInfo userInfo : UserManager.get(context).getProfiles(userId)) { in checkForLockSetting() 693 for (UserInfo userInfo : um.getProfiles(UserHandle.myUserId())) { in isAdminInCurrentUserOrProfile()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 885 public List<LocalBluetoothProfile> getProfiles() { in getProfiles() method in CachedBluetoothDevice 1044 for (LocalBluetoothProfile profile : getProfiles()) { in getMaxConnectionState() 1084 for (LocalBluetoothProfile profile : getProfiles()) { in getConnectionSummary() 1239 for (LocalBluetoothProfile profile : getProfiles()) { in getCarConnectionSummary()
|
D | BluetoothUtils.java | 117 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 61 List<UserInfo> getProfiles(int userId, boolean enabledOnly); in getProfiles() method
|
D | UserManager.java | 4211 public List<UserInfo> getProfiles(@UserIdInt int userId) { in getProfiles() method in UserManager 4213 return mService.getProfiles(userId, false /* enabledOnly */); in getProfiles() 4276 return mService.getProfiles(userId, true /* enabledOnly */); in getEnabledProfiles() 4315 return getProfiles(true); in getEnabledProfiles() 4333 return getProfiles(false); in getAllProfiles() 4349 private @NonNull List<UserHandle> getProfiles(boolean enabledOnly) { in getProfiles() method in UserManager
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 169 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
|
D | BluetoothControllerImplTest.java | 232 when(device.getProfiles()).thenReturn(profiles); in testOnActiveDeviceChanged_updatesAudioActive()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 350 List<UserInfo> relatedUsers = mInjector.getUserManager().getProfiles(UserHandle.myUserId()); in getManagedProfile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 127 when(mUserManager.getProfiles(currentUserId)).thenReturn(Lists.newArrayList( in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 971 List<EuiccProfileInfo> list = result.getProfiles(); in updateEmbeddedSubscriptionsCache() 975 logd("blockingGetEuiccProfileInfoList: got " + result.getProfiles().size() in updateEmbeddedSubscriptionsCache() 982 + ". Null profile list=" + (result.getProfiles() == null)); in updateEmbeddedSubscriptionsCache()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 163 when(mUserManager.getProfiles(eq(profile.id))).thenReturn(mPrimaryUserProfiles); in setUp_baseServices()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 311 for (LocalBluetoothProfile profile : device.getProfiles()) { in updateAudioProfile()
|
D | SecurityControllerImpl.java | 216 for (final UserInfo userInfo : mUserManager.getProfiles(userId)) { in getWorkProfileUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerImpl.java | 492 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) { in updateCurrentProfilesCache()
|