/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningControllerTest.java | 156 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() 394 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc() 410 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption() 441 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption() 485 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr() 499 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr_skipEncryption() 541 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testDeviceOwner() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | PermissionsPreferenceControllerTest.java | 97 TEST_USER.getUserHandle(), TEST_RESTRICTION, true); in testRefreshUi_setToFalse() 108 TEST_USER.getUserHandle(), TEST_RESTRICTION, false); in testRefreshUi_setToTrue() 118 TEST_USER.getUserHandle(), TEST_RESTRICTION, true); in testOnPreferenceChange_changeToFalse() 121 .hasUserRestriction(TEST_RESTRICTION, TEST_USER.getUserHandle())).isFalse(); in testOnPreferenceChange_changeToFalse() 129 TEST_USER.getUserHandle(), TEST_RESTRICTION, false); in testOnPreferenceChange_changeToTrue() 132 .hasUserRestriction(TEST_RESTRICTION, TEST_USER.getUserHandle())).isTrue(); in testOnPreferenceChange_changeToTrue()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountDetailsFragment.java | 103 .setUserHandle(mUserInfo.getUserHandle()); in onAttach() 110 .setUserHandle(mUserInfo.getUserHandle()); in onAttach() 139 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in onStart() 166 mUserInfo.getUserHandle()); in accountExists() 172 ConfirmRemoveAccountDialogFragment.show(this, mAccount, mUserInfo.getUserHandle()); in onRemoveAccountClicked()
|
D | AccountListPreferenceController.java | 78 mUserInfo.getUserHandle(), /* listener= */ this); in AccountListPreferenceController() 125 if (userHandle.equals(mUserInfo.getUserHandle())) { in onAccountsUpdate() 150 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in forceUpdateAccountsCategory() 200 .getAccountsByTypeAsUser(accountType, mUserInfo.getUserHandle()); in getAccountPreferences()
|
D | AccountDetailsWithSyncStatusPreferenceController.java | 93 int userId = getUserHandle().getIdentifier(); in isSyncFailing() 98 getContext(), getAccount(), getUserHandle()); in isSyncFailing()
|
D | AccountDetailsPreferenceController.java | 60 public UserHandle getUserHandle() { in getUserHandle() method in AccountDetailsPreferenceController
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | InstallSessionHelper.java | 83 public static UserHandle getUserHandle(SessionInfo info) { in getUserHandle() method in InstallSessionHelper 107 activePackages.put(new PackageUserKey(info.getAppPackageName(), getUserHandle(info)), in getActiveSessions() 116 if (Utilities.ATLEAST_Q && !user.equals(getUserHandle(info))) { in getActiveSessionInfo() 146 pkg, getUserHandle(sessionInfo), ApplicationInfo.FLAG_SYSTEM) != null; in verify() 214 sessionInfo.getAppPackageName(), getUserHandle(sessionInfo), 0) == null) { in tryQueuePromiseAppIcon()
|
D | InstallSessionTracker.java | 18 import static com.android.launcher3.pm.InstallSessionHelper.getUserHandle; 98 new PackageUserKey(session.getAppPackageName(), getUserHandle(session)); in pushSessionDisplayToLauncher()
|
D | PackageInstallInfo.java | 41 this.user = InstallSessionHelper.getUserHandle(info); in PackageInstallInfo()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTaskTest.java | 86 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/apps/Launcher3/src/com/android/launcher3/icons/ |
D | IconCache.java | 218 bitmapInfo = cacheLocked(ShortcutKey.fromInfo(si).componentName, si.getUserHandle(), in getShortcutIcon() 225 bitmapInfo = getDefaultIcon(si.getUserHandle()); in getShortcutIcon() 228 if (isDefaultIcon(bitmapInfo, si.getUserHandle()) && fallbackIconCheck.test(info)) { in getShortcutIcon() 248 appInfo.user = shortcutInfo.getUserHandle(); in getShortcutInfoBadge() 266 return cacheLocked(ShortcutKey.fromInfo(info).componentName, info.getUserHandle(), in getDeepShortcutTitleAndIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SessionCommitReceiver.java | 19 import static com.android.launcher3.pm.InstallSessionHelper.getUserHandle; 95 .getActivityList(packageName, getUserHandle(sessionInfo)).isEmpty()) { in queuePromiseAppIconAddition() 98 sessionInfo.getAppIcon(), getUserHandle(sessionInfo)); in queuePromiseAppIconAddition()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserLifecycleEventTest.java | 36 assertThat(event.getUserHandle().getIdentifier()).isEqualTo(to); in testFullConstructor() 49 assertThat(event.getUserHandle().getIdentifier()).isEqualTo(to); in testAlternativeConstructor()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | AccountPreferenceController.java | 235 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/ |
D | UserUtils.java | 44 return getUserManager(context).getUserHandle(); in getCurrentUserHandle() 55 final int myUser = um.getUserHandle(); in getCorpUserInfo()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 237 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick() 252 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick() 315 new AuthenticatorHelper(mContext, userInfo.getUserHandle(), this); in updateProfileUi() 357 userInfo.getUserHandle(), this); in updateProfileUi() 453 profileData.authenticatorHelper, profileData.userInfo.getUserHandle(), in updateAccountTypes()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 494 userHandle = call.getTargetPhoneAccount().getUserHandle(); in getSimCallManagerFromCall() 609 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser() 630 phoneAccountHandle.getUserHandle()); in resolveComponent() 873 && Objects.equals(userHandle, handle.getUserHandle())) { in clearAccounts() 965 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount() 1356 UserHandle userHandle = phoneAccount.getAccountHandle().getUserHandle(); in read() 1662 UserHandle userHandle = primaryUser.getUserHandle(); 1945 accountHandle.getUserHandle()); 2016 if (o.getUserHandle() != null && context != null) { 2019 userManager.getSerialNumberForUser(o.getUserHandle()), serializer);
|
D | RingtoneFactory.java | 118 UserHandle profileUserHandle = profile.getUserHandle(); in getWorkProfileContextForUser() 126 return getContextForUserHandle(workprofile.getUserHandle()); in getWorkProfileContextForUser()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | PermissionsPreferenceController.java | 97 getUserInfo().getUserHandle()); in PermissionsPreferenceController() 124 getUserInfo().getUserHandle())); in updateState()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 315 mUserManager.setUserRestriction(restriction, enable, userInfo.getUserHandle()); in setDefaultNonAdminRestrictions() 327 mUserManager.setUserRestriction(restriction, enable, userInfo.getUserHandle()); in setOptionalNonAdminRestrictions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateAppOpsBridge.java | 285 .getUserHandle()); in getNumPackagesDeclaredPermission() 300 .getUserHandle()); in getNumPackagesAllowedByAppOps()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 305 .getUserHandle()); in getNumPackagesDeclaredPermission() 320 .getUserHandle()); in getNumPackagesAllowedByAppOps()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerTest.java | 154 .that(event.getUserHandle().getIdentifier()).isEqualTo(newUserId); in testLifecycleListener() 193 .that(event.getUserHandle().getIdentifier()).isEqualTo(newUserId); in testLifecycleListener()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 547 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent() 559 mUi.startProvisioning(mUserManager.getUserHandle(), mParams); in continueProvisioningAfterUserConsent() 859 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showManagedProfileErrorAndClose()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | ProfileSettingsPreferenceFragment.java | 50 final UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position); in onViewCreated()
|