Home
last modified time | relevance | path

Searched refs:myUserHandle (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Nfc/src/com/android/nfc/
DBeamShareActivity.java198 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId()); in parseShareIntentAndFinish() local
215 shareData = new BeamShareData(null, uriArray, myUserHandle, 0); in parseShareIntentAndFinish()
218 shareData = new BeamShareData(null, null, myUserHandle, 0); in parseShareIntentAndFinish()
221 shareData = new BeamShareData(mNdefMessage, null, myUserHandle, 0); in parseShareIntentAndFinish()
226 shareData = new BeamShareData(null, null, myUserHandle, 0); in parseShareIntentAndFinish()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatV16.java29 profiles.add(UserHandleCompat.myUserHandle()); in getUserProfiles()
34 return UserHandleCompat.myUserHandle(); in getUserForSerialNumber()
DUserHandleCompat.java36 public static UserHandleCompat myUserHandle() { in myUserHandle() method in UserHandleCompat
38 return new UserHandleCompat(android.os.Process.myUserHandle()); in myUserHandle()
DAppWidgetManagerCompatV16.java69 return UserHandleCompat.myUserHandle(); in getUser()
112 UserHandleCompat user = UserHandleCompat.myUserHandle(); in getAllProvidersMap()
DPackageInstallerCompatVL.java55 UserHandleCompat user = UserHandleCompat.myUserHandle(); in updateAndGetActiveSessionCache()
127 addSessionInfoToCahce(session, UserHandleCompat.myUserHandle());
DAppWidgetManagerCompatVL.java86 return UserHandleCompat.myUserHandle(); in getUser()
114 if (info.isCustomWidget || info.getProfile().equals(android.os.Process.myUserHandle())) { in getBadgeBitmap()
DUserManagerCompatV17.java66 UserHandleCompat myUser = UserHandleCompat.myUserHandle(); in enableAndResetCache()
DLauncherActivityInfoCompatV16.java51 return UserHandleCompat.myUserHandle(); in getUser()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java218 UserHandleCompat myUserHandle = UserHandleCompat.myUserHandle(); in flushInstallQueue() local
219 if (!LauncherModel.isValidPackage(context, packageName, myUserHandle)) { in flushInstallQueue()
274 user = UserHandleCompat.myUserHandle(); in PendingInstallShortcutInfo()
427 || !original.user.equals(UserHandleCompat.myUserHandle())) { in convertToLauncherActivityIfPossible()
DLauncherBackupHelper.java176 mUserSerial = userManager.getSerialNumberForUser(UserHandleCompat.myUserHandle()); in LauncherBackupHelper()
561 final UserHandleCompat myUserHandle = UserHandleCompat.myUserHandle(); in backupIcons() local
595 Bitmap icon = mIconCache.getIcon(intent, myUserHandle); in backupIcons()
596 if (icon != null && !mIconCache.isDefaultIcon(icon, myUserHandle)) { in backupIcons()
927 UserHandleCompat myUserHandle = UserHandleCompat.myUserHandle(); in unpackFavorite() local
929 UserManagerCompat.getInstance(mContext).getSerialNumberForUser(myUserHandle); in unpackFavorite()
1188 .getSerialNumberForUser(UserHandleCompat.myUserHandle()); in getUserSelectionArg()
DInfoDropTarget.java57 user = UserHandleCompat.myUserHandle(); in startDetailsActivityForInfo()
DLauncherAppWidgetInfo.java104 user = UserHandleCompat.myUserHandle(); in LauncherAppWidgetInfo()
DFolderInfo.java65 user = UserHandleCompat.myUserHandle(); in FolderInfo()
DItemInfo.java125 user = UserHandleCompat.myUserHandle(); in ItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsAndShortcutNameComparator.java31 mMainHandle = UserHandleCompat.myUserHandle(); in WidgetsAndShortcutNameComparator()
83 return new ComponentKey(cn, UserHandleCompat.myUserHandle()); in getComponentKey()
DAbstractUserComparator.java36 mMyUser = UserHandleCompat.myUserHandle(); in AbstractUserComparator()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java411 UserHandleCompat.myUserHandle())); in updateAdapterItems()
413 UserHandleCompat.myUserHandle())); in updateAdapterItems()
415 UserHandleCompat.myUserHandle())); in updateAdapterItems()
417 UserHandleCompat.myUserHandle())); in updateAdapterItems()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java87 } else if (!dialogInfo.user.equals(android.os.Process.myUserHandle())) { in onCreateDialog()
192 mDialogInfo.user = android.os.Process.myUserHandle(); in onCreate()
DUninstallAppProgress.java276 mUser = android.os.Process.myUserHandle(); in onCreate()
281 throw new SecurityException("User " + android.os.Process.myUserHandle() + " can't " in onCreate()
/packages/apps/Stk/src/com/android/stk/
DBootCompletedReceiver.java48 if (!android.os.Process.myUserHandle().isSystem()) { in onReceive()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java72 if (Utilities.ATLEAST_LOLLIPOP && !UserHandleCompat.myUserHandle().equals(user)) { in get()
338 UserHandleCompat myUser = UserHandleCompat.myUserHandle(); in markExistingUsersForNoFolderCreation()
DComponentKey.java58 user = UserHandleCompat.myUserHandle(); in ComponentKey()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java331 mUtils.maybeCopyAccount(this, mParams.accountToMigrate, Process.myUserHandle(), in setUpUserOrProfile()
465 Process.myUserHandle().getIdentifier()); in createProfile()
/packages/apps/Launcher2/src/com/android/launcher2/
DInfoDropTarget.java89 user = android.os.Process.myUserHandle(); in acceptDrop()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java361 mPhoneAccountA0.getAccountHandle(), Process.myUserHandle()); in setupConnectionServices()
418 connectionServiceFixture, Process.myUserHandle(), VideoProfile.STATE_AUDIO_ONLY); in startOutgoingPhoneCallWithNoPhoneAccount()
686 Process.myUserHandle(), videoState); in startAndMakeActiveOutgoingCall()

123