Home
last modified time | relevance | path

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

1234567

/frameworks/base/nfc/java/android/nfc/cardemulation/
DCardEmulation.java223 return sService.isDefaultServiceForCategory(mContext.getUser().getIdentifier(), in isDefaultServiceForCategory()
233 return sService.isDefaultServiceForCategory(mContext.getUser().getIdentifier(), in isDefaultServiceForCategory()
255 return sService.isDefaultServiceForAid(mContext.getUser().getIdentifier(), in isDefaultServiceForAid()
265 return sService.isDefaultServiceForAid(mContext.getUser().getIdentifier(), in isDefaultServiceForAid()
374 mContext.getUser().getIdentifier(), service, enable); in setShouldDefaultToObserveModeForService()
402 return sService.registerPollingLoopFilterForService(mContext.getUser().getIdentifier(), in registerPollingLoopFilterForService()
413 mContext.getUser().getIdentifier(), service, in registerPollingLoopFilterForService()
437 return sService.removePollingLoopFilterForService(mContext.getUser().getIdentifier(), in removePollingLoopFilterForService()
448 mContext.getUser().getIdentifier(), service, in removePollingLoopFilterForService()
484 mContext.getUser().getIdentifier(), in registerPollingLoopPatternFilterForService()
[all …]
DNfcFCardEmulation.java113 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), service); in getSystemCodeForService()
122 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), in getSystemCodeForService()
160 return sService.registerSystemCodeForService(mContext.getUser().getIdentifier(), in registerSystemCodeForService()
170 return sService.registerSystemCodeForService(mContext.getUser().getIdentifier(), in registerSystemCodeForService()
191 return sService.removeSystemCodeForService(mContext.getUser().getIdentifier(), service); in unregisterSystemCodeForService()
200 return sService.removeSystemCodeForService(mContext.getUser().getIdentifier(), in unregisterSystemCodeForService()
227 return sService.getNfcid2ForService(mContext.getUser().getIdentifier(), service); in getNfcid2ForService()
236 return sService.getNfcid2ForService(mContext.getUser().getIdentifier(), service); in getNfcid2ForService()
270 return sService.setNfcid2ForService(mContext.getUser().getIdentifier(), in setNfcid2ForService()
280 return sService.setNfcid2ForService(mContext.getUser().getIdentifier(), in setNfcid2ForService()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java81 public UserHandle getUser() { in getUser() method in LauncherActivityInfo
82 return mInternal.getUser(); in getUser()
206 return mPm.getUserBadgedIcon(originalIcon, mInternal.getUser()); in getBadgedIcon()
DLauncherActivityInfoInternal.java65 public UserHandle getUser() { in getUser() method in LauncherActivityInfoInternal
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/media/
DInfoMediaManagerIntegTest.java68 mContext, mContext.getPackageName(), mContext.getUser(), null, null); in createInstance_withMR2FlagOn_returnsRouterInfoMediaManager()
93 mContext, mContext.getPackageName(), mContext.getUser(), null, null); in createInstance_withMR2FlagOff_returnsManagerInfoMediaManager()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java534 when(r0.getUser()).thenReturn(uh0); in testNotifyPostedLockedInLockdownMode()
538 when(r1.getUser()).thenReturn(uh1); in testNotifyPostedLockedInLockdownMode()
557 when(r0.getUser()).thenReturn(uh0); in testNotifyPostedLockedInLockdownMode()
561 when(r1.getUser()).thenReturn(uh1); in testNotifyPostedLockedInLockdownMode()
590 when(r0.getUser()).thenReturn(uh0); in testNotifyRemovedLockedInLockdownMode()
595 when(r1.getUser()).thenReturn(uh1); in testNotifyRemovedLockedInLockdownMode()
615 when(r0.getUser()).thenReturn(uh0); in testNotifyRemovedLockedInLockdownMode()
620 when(r1.getUser()).thenReturn(uh1); in testNotifyRemovedLockedInLockdownMode()
756 when(r.getUser()).thenReturn(UserHandle.of(0)); in testRedaction_whenPosted()
759 when(old.getUser()).thenReturn(UserHandle.of(0)); in testRedaction_whenPosted()
[all …]
DSnoozeHelperTest.java779 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
782 r2.getUser().getIdentifier(), r2.getSbn().getPackageName(),
785 r3.getUser().getIdentifier(), r3.getSbn().getPackageName(),
788 r4.getUser().getIdentifier(), r4.getSbn().getPackageName(),
805 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
808 r2.getUser().getIdentifier(), r2.getSbn().getPackageName(),
811 r3.getUser().getIdentifier(), r3.getSbn().getPackageName(),
814 r4.getUser().getIdentifier(), r4.getSbn().getPackageName(),
854 rb.getUser().getIdentifier(), rb.getSbn().getPackageName(),
857 r.getUser().getIdentifier(), r.getSbn().getPackageName(),
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminControllerTest.java97 mContext.getUser(), in createController()
105 mContext.getUser(), in createController()
/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DNoOpInfoMediaManagerTest.java49 mContext.getUser(), in setUp()
/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.java371 entry.getSbn().getUser(), in testEventDispatchedWhenChannelChanged()
378 entry.getSbn().getUser(), in testEventDispatchedWhenChannelChanged()
402 entry.getSbn().getUser(), channel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testScheduleBuildNotificationListWhenChannelChanged()
461 entry.getSbn().getUser(), channel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testBuildNotificationListWhenChannelChanged()
562 notif2.sbn.getUser().getIdentifier(), in testDismissNotificationSentToSystemServer()
711 notif.sbn.getUser().getIdentifier(), in testDismissNotificationCallsDismissInterceptors()
747 eq(notif.sbn.getUser().getIdentifier()), in testDismissInterceptorsCanceledWhenNotifIsUpdated()
777 eq(notif.sbn.getUser().getIdentifier()), in testEndingAllDismissInterceptorsSendsDismiss()
1316 notif1.sbn.getUser().getIdentifier(), in testDismissNotificationsSentToSystemServer()
1324 notif2.sbn.getUser().getIdentifier(), in testDismissNotificationsSentToSystemServer()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java318 when(tileUser0.getUser()).thenReturn(0); in tileFreedForCorrectUser()
319 when(tileUser1.getUser()).thenReturn(1); in tileFreedForCorrectUser()
354 when(tileUser0.getUser()).thenReturn(0); in tileFreedForCorrectUser_onStartListeningFromRequest()
355 when(tileUser1.getUser()).thenReturn(1); in tileFreedForCorrectUser_onStartListeningFromRequest()
/frameworks/base/services/core/java/com/android/server/notification/
DBubbleExtractor.java85 boolean userEnabledBubbles = mConfig.bubblesEnabled(record.getUser()); in process()
167 mShortcutHelper.getValidShortcutInfo(shortcutId, pkg, r.getUser()) != null; in canPresentAsBubble()
DBadgeExtractor.java47 boolean userWantsBadges = mConfig.badgingEnabled(record.getSbn().getUser()); in process()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java201 mContext.getUser(), in setUp()
295 mContext.getUser(), in start_withoutPackageName_verifyMediaControllerInit()
337 mSpyContext.getUser(), in stop_withoutPackageName_verifyMediaControllerDeinit()
593 mSpyContext.getUser(), in getAppSourceName_packageNameIsNull_returnsNull()
627 mSpyContext.getUser(), in getNotificationSmallIcon_packageNameIsNull_returnsNull()
674 mSpyContext.getUser(), in addDeviceToPlayMedia_callsLocalMediaManager()
701 mSpyContext.getUser(), in removeDeviceFromPlayMedia_callsLocalMediaManager()
981 mSpyContext.getUser(), in getNotificationLargeIcon_withoutPackageName_returnsNull()
1184 mSpyContext.getUser(), in setTemporaryAllowListExceptionIfNeeded_packageNameIsNull_NoAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputUriController.java64 sbn.getKey(), data, sbn.getUser(), sbn.getPackageName()); in grantInlineReplyUriPermission()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingData.java65 public Person getUser() { in getUser() method in MessagingData
/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/com/android/internal/statusbar/
DAppClipsServiceConnector.java92 mContext.getUser()); in connectToServiceAndProcessRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java131 int userId = tile.getUser(); in getTileWrapper()
155 mTiles.delete(tile.getUser(), tile.getComponent()); in freeService()
371 .append(customTile.getUser()) in availableTileComponents()

1234567