/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/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 153 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent() 186 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent() 207 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_noManagedProfile_sendIntent() 225 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in launchInSameProfile_chooserIntent() 263 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_selectorIntent() 569 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_LoggingTest() 596 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToParent_LoggingTest() 622 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 | 627 public @NonNull List<SipProfile> getProfiles() throws SipException { in getProfiles() method in SipManager 630 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 | 255 when(userManager.getProfiles(anyInt())).thenAnswer( in addUser() 258 return getProfiles(userId12); in addUser() 264 List<UserInfo> profiles = getProfiles(userId13); in addUser() 304 private List<UserInfo> getProfiles(int userId) { in getProfiles() method in MockSystemServices
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 91 mUserManagerService.getProfiles(UserHandle.USER_SYSTEM, /*excludeDying*/ false); in testGetProfiles() 97 users = mUserManagerService.getProfiles(secondaryUser.id, /*excludeDying*/ false); in testGetProfiles()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 720 public List<LocalBluetoothProfile> getProfiles() { in getProfiles() method in CachedBluetoothDevice 872 for (LocalBluetoothProfile profile : getProfiles()) { in getMaxConnectionState() 911 for (LocalBluetoothProfile profile : getProfiles()) { in getConnectionSummary() 1024 for (LocalBluetoothProfile profile : getProfiles()) { in getCarConnectionSummary()
|
D | BluetoothUtils.java | 100 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 344 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() 489 for (UserInfo userInfo : UserManager.get(context).getProfiles(userId)) { in checkForLockSetting() 620 for (UserInfo userInfo : um.getProfiles(UserHandle.myUserId())) { in isAdminInCurrentUserOrProfile()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 59 List<UserInfo> getProfiles(int userId, boolean enabledOnly); in getProfiles() method
|
D | UserManager.java | 3373 public List<UserInfo> getProfiles(@UserIdInt int userId) { in getProfiles() method in UserManager 3375 return mService.getProfiles(userId, false /* enabledOnly */); in getProfiles() 3427 return mService.getProfiles(userId, true /* enabledOnly */); in getEnabledProfiles() 3460 return getProfiles(true); in getEnabledProfiles() 3475 return getProfiles(false); in getAllProfiles() 3488 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 | 139 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
|
D | BluetoothControllerImplTest.java | 222 when(device.getProfiles()).thenReturn(profiles); in testOnActiveDeviceChanged_updatesAudioActive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 272 when(mUserManager.getProfiles(anyInt())).thenReturn(Collections.singletonList( in disclosure_orgOwnedDeviceWithManagedProfile_noOwnerName() 328 when(mUserManager.getProfiles(anyInt())).thenReturn(Collections.singletonList( in disclosure_orgOwnedDeviceWithManagedProfile_withOwnerName()
|
D | NotificationLockscreenUserManagerTest.java | 119 when(mUserManager.getProfiles(currentUserId)).thenReturn(Lists.newArrayList( in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 843 List<EuiccProfileInfo> list = result.getProfiles(); in updateEmbeddedSubscriptionsCache() 847 logd("blockingGetEuiccProfileInfoList: got " + result.getProfiles().size() in updateEmbeddedSubscriptionsCache() 854 + ". Null profile list=" + (result.getProfiles() == null)); in updateEmbeddedSubscriptionsCache()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 348 List<UserInfo> relatedUsers = mInjector.getUserManager().getProfiles(UserHandle.myUserId()); in getManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 166 when(mUserManager.getProfiles(eq(profile.id))).thenReturn(mPrimaryUserProfiles); in setUp_baseServices()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 280 for (LocalBluetoothProfile profile : device.getProfiles()) { in updateAudioProfile()
|
D | SecurityControllerImpl.java | 196 for (final UserInfo userInfo : mUserManager.getProfiles(userId)) { in getWorkProfileUserId()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1379 for (UserInfo profile : mUserManager.getProfiles(userId)) { in unlockUser() 1439 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in getDecryptedPasswordsForAllTiedProfiles() 1481 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in synchronizeUnifiedWorkChallengeForProfiles() 1576 for (UserInfo profile : mUserManager.getProfiles(userId)) { in getProfilesWithSameLockScreen() 1925 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in resetKeyStore()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1173 List<UserInfo> profiles = mInjector.getUserManager().getProfiles( 1803 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(oldUserId, false); 1822 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(newUserId, false); 2068 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(getCurrentUserId(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerImpl.java | 526 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) { in updateCurrentProfilesCache()
|