Home
last modified time | relevance | path

Searched refs:getUser (Results 1 – 25 of 135) sorted by relevance

123456

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminController.java96 packageManager, url, context.getUser(), mResolveActivityChecker); in canLaunchHelpPageInPreferredOrCurrentUser()
113 packageManager, url, context.getUser(), mResolveActivityChecker)) { in setupLearnMoreButtonToLaunchHelpPage()
114 mLauncher.setupLearnMoreButtonToLaunchHelpPage(context, url, context.getUser()); in setupLearnMoreButtonToLaunchHelpPage()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminControllerTest.java107 /* userContainingBrowser= */ mContext.getUser()); in setupLearnMoreButton_validUrl_browserInCurrentUser_launchesHelpPage()
163 mContext.getUser(), in createController()
171 mContext.getUser(), in createController()
/frameworks/base/core/java/android/app/
DLocaleManager.java104 mService.setApplicationLocales(appPackageName, mContext.getUser().getIdentifier(), in setApplicationLocales()
141 return mService.getApplicationLocales(appPackageName, mContext.getUser() in getApplicationLocales()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleTileKey.java56 mUserId = entry.getSbn().getUser() != null in PeopleTileKey()
57 ? entry.getSbn().getUser().getIdentifier() : INVALID_USER_ID; in PeopleTileKey()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java500 when(r0.getUser()).thenReturn(uh0); in testNotifyPostedLockedInLockdownMode()
504 when(r1.getUser()).thenReturn(uh1); in testNotifyPostedLockedInLockdownMode()
523 when(r0.getUser()).thenReturn(uh0); in testNotifyPostedLockedInLockdownMode()
527 when(r1.getUser()).thenReturn(uh1); in testNotifyPostedLockedInLockdownMode()
556 when(r0.getUser()).thenReturn(uh0); in testNotifyRemovedLockedInLockdownMode()
561 when(r1.getUser()).thenReturn(uh1); in testNotifyRemovedLockedInLockdownMode()
581 when(r0.getUser()).thenReturn(uh0); in testNotifyRemovedLockedInLockdownMode()
586 when(r1.getUser()).thenReturn(uh1); in testNotifyRemovedLockedInLockdownMode()
DSnoozeHelperTest.java661 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
664 r2.getUser().getIdentifier(), r2.getSbn().getPackageName(),
667 r3.getUser().getIdentifier(), r3.getSbn().getPackageName(),
670 r4.getUser().getIdentifier(), r4.getSbn().getPackageName(),
687 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
690 r2.getUser().getIdentifier(), r2.getSbn().getPackageName(),
693 r3.getUser().getIdentifier(), r3.getSbn().getPackageName(),
696 r4.getUser().getIdentifier(), r4.getSbn().getPackageName(),
736 rb.getUser().getIdentifier(), rb.getSbn().getPackageName(),
739 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
/frameworks/base/services/core/java/com/android/server/pm/
DInstallArgs.java103 params.getUser(), null /*instructionSets*/, params.mPackageAbiOverride, in InstallArgs()
150 UserHandle getUser() { in getUser() method in InstallArgs
DHandlerParams.java42 UserHandle getUser() { in getUser() method in HandlerParams
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java152 TEST_APP_PACKAGE_NAME, mContext.getUser()); in testGetLauncherExtrasNonNull()
157 TEST_APP_PACKAGE_NAME, mContext.getUser()); in testGetLauncherExtrasNonNull()
166 TEST_APP_PACKAGE_NAME, mContext.getUser()); in testGetLauncherExtrasNull()
173 "test.nonexistent.packagename", mContext.getUser()); in testGetLauncherExtrasInvalidPackage()
/frameworks/base/core/java/android/os/
DNewUserResponse.java54 public @Nullable UserHandle getUser() { in getUser() method in NewUserResponse
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java985 public String getUser() { return user; } in getUser() method in AbstractMessageParser.Photo
1004 info.add(getRssUrl(getUser())); in getInfo()
1005 info.add(getAlbumURL(getUser(), getAlbum())); in getInfo()
1007 info.add(getPhotoURL(getUser(), getAlbum(), getPhoto())); in getInfo()
1068 public String getUser() { return user; } in getUser() method in AbstractMessageParser.FlickrPhoto
1097 info.add(getUser() != null ? getUser() : ""); in getInfo()
1311 ((Photo)token).getUser(), ((Photo)token).getAlbum())); in toHtml()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java35 UserHandle getUser(@NonNull final T object); in getUser() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java367 entry.getSbn().getUser(), in testEventDispatchedWhenChannelChanged()
374 entry.getSbn().getUser(), in testEventDispatchedWhenChannelChanged()
398 entry.getSbn().getUser(), channel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testScheduleBuildNotificationListWhenChannelChanged()
457 entry.getSbn().getUser(), channel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testBuildNotificationListWhenChannelChanged()
558 notif2.sbn.getUser().getIdentifier(), in testDismissNotificationSentToSystemServer()
707 notif.sbn.getUser().getIdentifier(), in testDismissNotificationCallsDismissInterceptors()
743 eq(notif.sbn.getUser().getIdentifier()), in testDismissInterceptorsCanceledWhenNotifIsUpdated()
773 eq(notif.sbn.getUser().getIdentifier()), in testEndingAllDismissInterceptorsSendsDismiss()
1312 notif1.sbn.getUser().getIdentifier(), in testDismissNotificationsSentToSystemServer()
1320 notif2.sbn.getUser().getIdentifier(), in testDismissNotificationsSentToSystemServer()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DBubbleExtractor.java86 boolean userEnabledBubbles = mConfig.bubblesEnabled(record.getUser()); in process()
168 mShortcutHelper.getValidShortcutInfo(shortcutId, pkg, r.getUser()) != null; in canPresentAsBubble()
DBadgeExtractor.java47 boolean userWantsBadges = mConfig.badgingEnabled(record.getSbn().getUser()); in process()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputUriController.java64 sbn.getKey(), data, sbn.getUser(), sbn.getPackageName()); in grantInlineReplyUriPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java61 .isCurrentProfile(entry.getSbn().getUser().getIdentifier());
/frameworks/compile/libbcc/lib/
DRSInvariant.cpp113 llvm::Instruction *Inst = llvm::cast<llvm::Instruction>(Use.getUser()); in markInvariantUserLoads()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java72 public UserHandle getUser() { in getUser() method in LauncherActivityInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java71 mUser = injector.getUser(); in AppCopyHelper()
264 UserHandle getUser() { in getUser() method in AppCopyHelper.Injector
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileTest.java133 assertThat(dp.getUserName()).isEqualTo(mApn1.getUser()); in testCreateFromApnSetting()
152 assertThat(dp.getUserName()).isEqualTo(mApn3.getUser()); in testCreateFromApnSettingWithNetworkTypeBitmask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java320 UserHandle userHandle = sbn.getUser(); in initializeFeedbackInfo()
341 UserHandle userHandle = sbn.getUser(); in initializeNotificationInfo()
395 UserHandle userHandle = sbn.getUser(); in initializePartialConversationNotificationInfo()
437 UserHandle userHandle = sbn.getUser(); in initializeConversationNotificationInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTask.java164 b.getUser().getIdentifier()); in populate()
179 badgedIcon = pm.getUserBadgedIcon(appIcon, b.getUser()); in populate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java104 context, statusBarNotification.getUser().getIdentifier()); in provideAppName()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DShareTargetPredictor.java147 appTarget.getUser()) in sortTargets()
201 target.getUser().getIdentifier()); in getAppShareTargets()

123456