/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentBackend.java | 98 List<UserHandle> userHandles = um.getEnabledProfiles(); in refresh() 184 List<UserHandle> userHandles = um.getEnabledProfiles(); in setForegroundMode() 195 List<UserHandle> userHandles = um.getEnabledProfiles(); in getDefaultPaymentApp() 229 List<UserHandle> userHandles = um.getEnabledProfiles(); in setDefaultPaymentApp()
|
D | AppStateNfcTagAppsBridge.java | 57 List<UserHandle> luh = um.getEnabledProfiles(); in AppStateNfcTagAppsBridge()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/ |
D | FakeUserManagerTest.kt | 36 val personal = userManager.getEnabledProfiles(state.primaryUserHandle.identifier).single() in <lambda>() 77 val enabledProfiles = userManager.getEnabledProfiles(personal.identifier) in <lambda>() 90 val enabledProfiles = userManager.getEnabledProfiles(clone.identifier) in <lambda>()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | UserHandleHelper.java | 60 public List<UserHandle> getEnabledProfiles(@UserIdInt int userId) { in getEnabledProfiles() method in UserHandleHelper 61 return getUserContextAwareUserManager(userId).getEnabledProfiles(); in getEnabledProfiles()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserHandleHelperUnitTest.java | 85 when(mUserManager.getEnabledProfiles()).thenReturn(users); in testGetEnabledProfiles() 87 assertThat(mUserHandleHelper.getEnabledProfiles( in testGetEnabledProfiles()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/data/repository/ |
D | UserRepositoryImplTest.kt | 210 on { getEnabledProfiles(any()) } doReturn listOf(info) in mockUserManager() 212 on { getEnabledProfiles(invalidUser) } doReturn listOf() in mockUserManager()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | PreferredServicesTest.java | 166 when(mUserManager.getEnabledProfiles()).thenReturn(getUserHandles()); in setUp() 191 verify(mUserManager).getEnabledProfiles(); in testConstructorWhenWalletRoleFeatureIsNotEnabled() 208 verify(mUserManager).getEnabledProfiles(); in testConstructorWhenWalletRoleFeatureIsEnabled() 553 when(mUserManager.getEnabledProfiles()).thenReturn(getUserHandles()); in testOnUserSwitchedWithNoChange()
|
D | RegisteredServicesCacheTest.java | 184 when(mUserManager.getEnabledProfiles()).thenReturn(enabledProfiles); in setUp() 435 when(mUserManager.getEnabledProfiles()).thenReturn(enabledProfiles); in testOnUserSwitched() 440 when(mUserManager.getEnabledProfiles()).thenReturn(enabledProfiles); in testOnUserSwitched() 454 when(mUserManager.getEnabledProfiles()).thenReturn(enabledProfiles); in testOnManagedProfileChanged() 459 when(mUserManager.getEnabledProfiles()).thenReturn(enabledProfiles); in testOnManagedProfileChanged()
|
D | RegisteredNfcFServicesCacheTest.java | 167 when(mUserManager.getEnabledProfiles()).thenReturn(userHandles); in setUp()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcPermissions.java | 72 List<UserHandle> luh = um.getEnabledProfiles(); in validateProfileId()
|
D | NfcService.java | 961 List<UserHandle> luh = um.getEnabledProfiles(); in initTagAppPrefList() 996 List<UserHandle> luh = um.getEnabledProfiles(); in storeTagAppPrefList() 1033 List<UserHandle> luh = um.getEnabledProfiles(); in renewTagAppPrefList() 1095 List<UserHandle> luh = um.getEnabledProfiles(); in updatePackageCache() 4568 List<UserHandle> luh = um.getEnabledProfiles(); in dumpTagAppPreference()
|
D | NfcDispatcher.java | 486 List<UserHandle> luh = um.getEnabledProfiles(); in getCurrentActiveUserHandles()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ResetAppsHelper.java | 125 for (UserHandle userHandle : mUm.getEnabledProfiles()) { in resetApps()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | UserCache.java | 85 List<UserHandle> profiles = mUserManager.getEnabledProfiles(); in update()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 156 List<UserInfo> userInfoProfiles = um.getEnabledProfiles(userHandle.getIdentifier()); in getWorkProfileContextForUser()
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/platform/ |
D | FakeUserManager.kt | 86 override fun getEnabledProfiles(userId: Int): List<UserInfo> { in <lambda>() method in com.android.intentresolver.platform.FakeUserManager
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/ |
D | UserRepository.kt | 259 @Suppress("DEPRECATION") userManager.getEnabledProfiles(member.identifier) in readProfileGroup()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | FixedActivityServiceTest.java | 538 when(mUserHandleHelper.getEnabledProfiles(101)) in onUserSwitchToUserWithEnabledProfile_noChangeInRunningActivities() 665 when(mUserHandleHelper.getEnabledProfiles(userId)).thenReturn(new ArrayList<UserHandle>()); in expectNoProfileUser()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 207 List<UserHandle> userHandles = um.getEnabledProfiles(); in loadDefaultsFromSettings()
|
D | RegisteredNfcFServicesCache.java | 764 mUserHandles = um.getEnabledProfiles(); in refreshUserProfilesLocked()
|
D | CardEmulationManager.java | 386 List<UserHandle> luh = um.getEnabledProfiles(); in verifyDefaults()
|
D | RegisteredServicesCache.java | 341 mUserHandles = um.getEnabledProfiles(); in refreshUserProfilesLocked()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | FixedActivityService.java | 582 List<UserHandle> profiles = mUserHandleHelper.getEnabledProfiles(currentUser); in isUserAllowedToLaunchActivity()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 409 doReturn(profileUsers).when(mUserHandleHelper).getEnabledProfiles(CURRENT_USER); in setUpServiceWithProfileSupportEnabled()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 1381 return !userManager.getEnabledProfiles().contains(user) in isUserDisabledOrWorkProfile()
|