Home
last modified time | relevance | path

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

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java134 when(mUserManager.getUserHandle()).thenReturn(TEST_USER_ID); in setUp()
161 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile()
228 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_afterEncryption()
246 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_withExistingProfile()
329 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_skipEncryption()
363 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc()
379 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption()
410 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption()
454 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr()
468 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr_skipEncryption()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDisallowAddUserTaskTest.java82 primaryUser.getUserHandle()); in testMaybeDisallowAddUsers_normalSystem()
96 primaryUser.getUserHandle())) in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser()
121 systemUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
123 meatUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java430 userHandle = call.getTargetPhoneAccount().getUserHandle(); in getSimCallManagerFromCall()
510 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser()
531 phoneAccountHandle.getUserHandle()); in resolveComponent()
735 && Objects.equals(userHandle, handle.getUserHandle())) { in clearAccounts()
821 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount()
1209 UserHandle userHandle = phoneAccount.getAccountHandle().getUserHandle(); in read()
1515 UserHandle userHandle = primaryUser.getUserHandle();
1798 accountHandle.getUserHandle());
1869 if (o.getUserHandle() != null && context != null) {
1872 userManager.getSerialNumberForUser(o.getUserHandle()), serializer);
DRingtoneFactory.java97 UserHandle profileUserHandle = profile.getUserHandle(); in getWorkProfileContextForUser()
105 return getContextForUserHandle(workprofile.getUserHandle()); in getWorkProfileContextForUser()
DCallIntentProcessor.java183 initiatingUser.getIdentifier()).getUserHandle(); in fixInitiatingUserIfNecessary()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java237 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
250 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
306 new AuthenticatorHelper(mContext, userInfo.getUserHandle(), this); in updateProfileUi()
343 userInfo.getUserHandle(), this); in updateProfileUi()
438 profileData.authenticatorHelper, profileData.userInfo.getUserHandle(), in updateAccountTypes()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java359 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent()
371 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent()
542 mParams.inferDeviceAdminPackageName(), mUserManager.getUserHandle()); in isPackageTestOnly()
695 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showManagedProfileErrorAndClose()
/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/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutInfoCompat.java80 public UserHandle getUserHandle() { in getUserHandle() method in ShortcutInfoCompat
81 return mShortcutInfo.getUserHandle(); in getUserHandle()
DShortcutKey.java25 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(), in fromInfo()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java278 .getUserHandle()); in getNumPackagesDeclaredPermission()
293 .getUserHandle()); in getNumPackagesAllowedByAppOps()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java356 final UserHandle userHandle = user.getUserHandle(); in updateMwi()
374 final UserHandle userHandle = user.getUserHandle(); in updateMwi()
DRestrictedSwitchPreference.java71 UserHandle user = UserHandle.of(um.getUserHandle()); in checkRestrictionAndSetDisabled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisallowAddUserTask.java63 UserHandle userHandle = userInfo.getUserHandle(); in run()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java68 final UserHandle userHandle = new UserHandle(userManager.getUserHandle()); in onCreate()
/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/apps/Settings/src/com/android/settings/
DUtils.java618 if (profile.getIdentifier() == userManager.getUserHandle()) { in getManagedProfile()
645 && profile.getUserHandle().getIdentifier() != myUserId) { in getManagedProfileWithDisabled()
646 return profile.getUserHandle(); in getManagedProfileWithDisabled()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinShortcutRequestActivityInfo.java56 request.getShortcutInfo().getUserHandle()); in PinShortcutRequestActivityInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java186 public int getUserHandle() { in getUserHandle() method in ContactsActor.MockUserManager
354 return mockUserManager.getUserHandle(); in ContactsActor()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java547 userManager.getUserHandle())) { in syncEntries()
551 final int myUserId = userManager.getUserHandle(); in syncEntries()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DManagedProfileTest.java76 int userId = user.getUserHandle().getIdentifier(); in removeAllManagedProfiles()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java90 label = pm.getUserBadgedLabel(label, mAccounts[i].getUserHandle()); in setModel()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutInfo.java161 user = shortcutInfo.getUserHandle(); in ShortcutInfo()

12