Home
last modified time | relevance | path

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

123

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java157 when(mUserManager.getUserHandle()).thenReturn(TEST_USER_ID); in setUp()
186 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile()
253 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_afterEncryption()
346 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_skipEncryption()
380 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc()
396 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption()
427 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption()
471 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr()
485 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr_skipEncryption()
527 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testDeviceOwner()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsFragment.java104 .setUserHandle(mUserInfo.getUserHandle()); in onAttach()
111 .setUserHandle(mUserInfo.getUserHandle()); in onAttach()
136 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in onStart()
163 mUserInfo.getUserHandle()); in accountExists()
169 ConfirmRemoveAccountDialogFragment.show(this, mAccount, mUserInfo.getUserHandle()); in onRemoveAccountClicked()
DAccountListPreferenceController.java68 mUserInfo.getUserHandle(), /* listener= */ this); in AccountListPreferenceController()
112 if (userHandle.equals(mUserInfo.getUserHandle())) { in onAccountsUpdate()
136 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in forceUpdateAccountsCategory()
183 .getAccountsByTypeAsUser(accountType, mUserInfo.getUserHandle()); in getAccountPreferences()
DAccountDetailsWithSyncStatusPreferenceController.java93 int userId = getUserHandle().getIdentifier(); in isSyncFailing()
98 getContext(), getAccount(), getUserHandle()); in isSyncFailing()
DAccountDetailsPreferenceController.java60 public UserHandle getUserHandle() { in getUserHandle() method in AccountDetailsPreferenceController
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDisallowAddUserTaskTest.java86 primaryUser.getUserHandle()); in testMaybeDisallowAddUsers_normalSystem()
101 primaryUser.getUserHandle())) in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser()
127 systemUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
129 meatUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceController.java235 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
248 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
305 new AuthenticatorHelper(mContext, userInfo.getUserHandle(), this); in updateProfileUi()
342 userInfo.getUserHandle(), this); in updateProfileUi()
435 profileData.authenticatorHelper, profileData.userInfo.getUserHandle(), in updateAccountTypes()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java235 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
248 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick()
305 new AuthenticatorHelper(mContext, userInfo.getUserHandle(), this); in updateProfileUi()
342 userInfo.getUserHandle(), this); in updateProfileUi()
435 profileData.authenticatorHelper, profileData.userInfo.getUserHandle(), in updateAccountTypes()
/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/
DPhoneAccountRegistrar.java473 userHandle = call.getTargetPhoneAccount().getUserHandle(); in getSimCallManagerFromCall()
580 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser()
601 phoneAccountHandle.getUserHandle()); in resolveComponent()
844 && Objects.equals(userHandle, handle.getUserHandle())) { in clearAccounts()
936 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount()
1324 UserHandle userHandle = phoneAccount.getAccountHandle().getUserHandle(); in read()
1630 UserHandle userHandle = primaryUser.getUserHandle();
1913 accountHandle.getUserHandle());
1984 if (o.getUserHandle() != null && context != null) {
1987 userManager.getSerialNumberForUser(o.getUserHandle()), serializer);
DRingtoneFactory.java120 UserHandle profileUserHandle = profile.getUserHandle(); in getWorkProfileContextForUser()
128 return getContextForUserHandle(workprofile.getUserHandle()); in getWorkProfileContextForUser()
DConnectionServiceRepository.java47 service.getUserHandle()));
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java285 .getUserHandle()); in getNumPackagesDeclaredPermission()
300 .getUserHandle()); in getNumPackagesAllowedByAppOps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateAppOpsBridge.java285 .getUserHandle()); in getNumPackagesDeclaredPermission()
300 .getUserHandle()); in getNumPackagesAllowedByAppOps()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java376 final UserHandle userHandle = user.getUserHandle(); in updateMwi()
394 final UserHandle userHandle = user.getUserHandle(); in updateMwi()
555 UserHandle userHandle = user.getUserHandle(); in updateCfi()
DRestrictedSwitchPreference.java71 UserHandle user = UserHandle.of(um.getUserHandle()); in checkRestrictionAndSetDisabled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java482 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent()
494 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent()
793 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showManagedProfileErrorAndClose()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutKey.java33 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(), in fromInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DProfileSettingsPreferenceFragment.java50 final UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/print/
DProfileSettingsPreferenceFragment.java50 final UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position); in onViewCreated()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java68 final UserHandle userHandle = new UserHandle(userManager.getUserHandle()); in onCreate()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java47 when(mUserManager.getUserHandle()).thenReturn(TEST_PRIMARY_USER_ID); in setUp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisallowAddUserTask.java71 UserHandle userHandle = userInfo.getUserHandle(); in run()
/packages/apps/Settings/src/com/android/settings/
DUtils.java393 if (profile.getIdentifier() == userManager.getUserHandle()) { in getManagedProfile()
420 && profile.getUserHandle().getIdentifier() != myUserId) { in getManagedProfileWithDisabled()
421 return profile.getUserHandle(); in getManagedProfileWithDisabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java398 if (profile.getIdentifier() == userManager.getUserHandle()) { in getManagedProfile()
425 && profile.getUserHandle().getIdentifier() != myUserId) { in getManagedProfileWithDisabled()
426 return profile.getUserHandle(); in getManagedProfileWithDisabled()

123