Home
last modified time | relevance | path

Searched refs:getUserHandle (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DDisallowAddUserTaskTest.java77 primaryUser.getUserHandle()); in testMaybeDisallowAddUsers_normalSystem()
85 primaryUser.getUserHandle())) in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser()
92 anyBoolean(), eq(primaryUser.getUserHandle())); in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser()
104 systemUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
106 meatUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java44 return getUserManager(context).getUserHandle(); in getCurrentUserHandle()
55 final int myUser = um.getUserHandle(); in getCorpUserInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java86 UserHandle profileUserHandle = profile.getUserHandle(); in getWorkProfileContextForUser()
94 return getContextForUserHandle(workprofile.getUserHandle()); in getWorkProfileContextForUser()
DPhoneAccountRegistrar.java372 userHandle = call.getTargetPhoneAccount().getUserHandle(); in getSimCallManagerFromCall()
451 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser()
472 phoneAccountHandle.getUserHandle()); in resolveComponent()
626 && Objects.equals(userHandle, handle.getUserHandle())) { in clearAccounts()
1005 UserHandle userHandle = phoneAccount.getAccountHandle().getUserHandle(); in read()
1303 UserHandle userHandle = primaryUser.getUserHandle();
1571 accountHandle.getUserHandle());
1636 if (o.getUserHandle() != null && context != null) {
1639 userManager.getSerialNumberForUser(o.getUserHandle()), serializer);
DCallIntentProcessor.java177 initiatingUser.getIdentifier()).getUserHandle(); in fixInitiatingUserIfNecessary()
DCreateConnectionProcessor.java198 phoneAccount.getUserHandle()); in attemptNextPhoneAccount()
DCallLogManager.java373 return addCall(c, c.accountHandle == null ? null : c.accountHandle.getUserHandle()); in addCall()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java331 final UserHandle userHandle = user.getUserHandle(); in updateMwi()
457 UserHandle userHandle = user.getUserHandle(); in updateCfi()
499 UserHandle userHandle = user.getUserHandle(); in showDataDisconnectedRoaming()
548 UserHandle userHandle = user.getUserHandle(); in showNetworkSelection()
DRestrictedSwitchPreference.java71 UserHandle user = UserHandle.of(um.getUserHandle()); in checkRestrictionAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java172 final UserHandle managedProfile = mProfiles.valueAt(1).userInfo.getUserHandle(); in onPrepareOptionsMenu()
224 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
243 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
318 userInfo.getUserHandle(), this); in updateProfileUi()
401 profileData.authenticatorHelper, profileData.userInfo.getUserHandle()); in updateAccountTypes()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java244 mManagedProfileOrUserInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in startManagedProfileOrUserProvisioning()
332 mManagedProfileOrUserInfo.getUserHandle()); in setUpUserOrProfile()
566 mManagedProfileOrUserInfo.getUserHandle()); in setDefaultUserRestrictions()
DPreBootListener.java96 userInfo.getUserHandle()); in onReceive()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisallowAddUserTask.java47 UserHandle userHandle = userInfo.getUserHandle(); in maybeDisallowAddUsers()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java62 final UserHandle userHandle = new UserHandle(userManager.getUserHandle()); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningController.java371 mUi.startDeviceOwnerProvisioning(mUserManager.getUserHandle(), mParams); in maybeCreateUserAndStartDeviceOwnerProvisioning()
459 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showProvisioningError()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java268 .getUserHandle()); in getNumPackagesDeclaredPermission()
283 .getUserHandle()); in getNumPackagesAllowedByAppOps()
/packages/apps/Settings/src/com/android/settings/utils/
DProfileSettingsPreferenceFragment.java50 UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position); in onViewCreated()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java49 when(mUserManager.getUserHandle()).thenReturn(TEST_PRIMARY_USER_ID); in setUp()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DWorkModeCondition.java49 mUserHandle = userInfo.getUserHandle(); in updateUserHandle()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java90 label = pm.getUserBadgedLabel(label, mAccounts[i].getUserHandle()); in setModel()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java509 userManager.getUserHandle())) { in syncEntries()
513 final int myUserId = userManager.getUserHandle(); in syncEntries()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java188 public int getUserHandle() { in getUserHandle() method in ContactsActor.MockUserManager
349 return mockUserManager.getUserHandle(); in ContactsActor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java267 when(mockUm.getUserHandle()).thenReturn(CURRENT_USER_ID); in getMockContext()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java267 expectedUserHandle = phoneAccount.getAccountHandle().getUserHandle(); in notifySingleCallTestInternal()
/packages/apps/Settings/src/com/android/settings/
DApnSettings.java232 final UserHandle user = UserHandle.of(mUserManager.getUserHandle()); in getRestrictionEnforcedAdmin()

12