Home
last modified time | relevance | path

Searched refs:resolvedUserId (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java174 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in print() local
180 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
185 userState = getOrCreateUserStateLocked(resolvedUserId, false); in print()
198 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfos() local
203 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
207 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfos()
223 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfo() local
228 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
232 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfo()
246 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getCustomPrinterIcon() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java646 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInteractiveAppServiceList() local
655 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInteractiveAppServiceList()
669 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerAppLinkInfo() local
674 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in registerAppLinkInfo()
685 componentName, tiasId, resolvedUserId); in registerAppLinkInfo()
688 updateServiceConnectionLocked(componentName, resolvedUserId); in registerAppLinkInfo()
693 updateServiceConnectionLocked(componentName, resolvedUserId); in registerAppLinkInfo()
705 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterAppLinkInfo() local
710 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in unregisterAppLinkInfo()
721 componentName, tiasId, resolvedUserId); in unregisterAppLinkInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1103 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
1108 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
1122 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
1127 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
1148 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
1153 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
1172 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
1177 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
1191 final int resolvedUserId = resolveCallingUserId(callingPid, callingUid, in getAvailableExtensionInterfaceNames() local
1197 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getAvailableExtensionInterfaceNames()
[all …]
DTvInputHardwareManager.java285 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked() argument
289 || connectionCallingUid != callingUid || connectionResolvedUserId != resolvedUserId; in checkUidChangedLocked()
394 TvInputInfo info, int callingUid, int resolvedUserId, in acquireHardware() argument
426 connection.resetLocked(hardware, callback, info, callingUid, resolvedUserId, in acquireHardware()
436 int resolvedUserId) { in releaseHardware() argument
444 || checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in releaseHardware()
479 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
501 int callingUid, int resolvedUserId) { in captureFrame() argument
685 TvInputInfo info, Integer callingUid, Integer resolvedUserId, in resetLocked() argument
699 mResolvedUserId = resolvedUserId; in resetLocked()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerService.java48 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked()
50 new SystemCaptionsManagerPerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/base/services/texttospeech/java/com/android/server/texttospeech/
DTextToSpeechManagerService.java57 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked()
58 return new TextToSpeechManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/selectiontoolbar/java/com/android/server/selectiontoolbar/
DSelectionToolbarManagerService.java52 protected SelectionToolbarManagerServiceImpl newServiceLocked(int resolvedUserId, in newServiceLocked() argument
54 return new SelectionToolbarManagerServiceImpl(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerService.java77 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked()
78 return new SpeechRecognitionManagerServiceImpl(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java538 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() argument
550 protected List<S> newServiceListLocked(@UserIdInt int resolvedUserId, boolean disabled, in newServiceListLocked() argument
602 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getServiceListForUserLocked() local
604 List<S> services = mServicesCacheList.get(resolvedUserId); in getServiceListForUserLocked()
608 services = newServiceListLocked(resolvedUserId, disabled, in getServiceListForUserLocked()
612 services.add(newServiceLocked(resolvedUserId, disabled)); in getServiceListForUserLocked()
616 onServiceEnabledLocked(services.get(i), resolvedUserId); in getServiceListForUserLocked() local
642 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in peekServiceListForUserLocked() local
644 return mServicesCacheList.get(resolvedUserId); in peekServiceListForUserLocked()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java69 protected SearchUiPerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
70 return new SearchUiPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerService.java77 protected MusicRecognitionManagerPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
79 return new MusicRecognitionManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerService.java69 protected SmartspacePerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
70 return new SmartspacePerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerService.java69 protected WallpaperEffectsGenerationPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
71 return new WallpaperEffectsGenerationPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java74 protected AppPredictionPerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
75 return new AppPredictionPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java128 @UserIdInt int resolvedUserId, in newServiceLocked()
130 return new RotationResolverManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java85 protected ContentSuggestionsPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
87 return new ContentSuggestionsPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java847 final int resolvedUserId = mSecurityPolicy in addClient() local
853 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in addClient()
873 (resolvedUserId == mCurrentUserId) ? getClientStateLocked(userState) : 0, in addClient()
884 final int resolvedUserId = mSecurityPolicy in removeClient() local
887 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in removeClient()
900 + " and userId:" + resolvedUserId + "state: " + unregistered); in removeClient()
914 int resolvedUserId; in sendAccessibilityEvent() local
930 resolvedUserId = mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked(userId); in sendAccessibilityEvent()
934 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent() local
938 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
[all …]
DAccessibilityWindowManager.java1010 final int resolvedUserId = mSecurityPolicy in addAccessibilityInteractionConnection() local
1012 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()
1016 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
1035 windowId, connection, packageName, resolvedUid, resolvedUserId); in addAccessibilityInteractionConnection()
1037 getInteractionConnectionsForUserLocked(resolvedUserId).put(windowId, wrapper); in addAccessibilityInteractionConnection()
1038 getWindowTokensForUserLocked(resolvedUserId).put(windowId, token); in addAccessibilityInteractionConnection()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java608 int resolvedUserId) { in enforceMediaPermissions() argument
613 packageName, UserHandle.getUserHandleForUid(uid), resolvedUserId)) { in enforceMediaPermissions()
1210 int resolvedUserId = handleIncomingUser(pid, uid, userId, packageName); in createSession() local
1215 pid, uid, resolvedUserId, packageName, cb, tag, sessionInfo); in createSession()
1239 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
1242 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
1329 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
1337 componentName, resolvedUserId, pid, uid); in addSessionsListener()
1380 int resolvedUserId = handleIncomingUser(pid, uid, userId, null); in addSession2TokensListener() local
1389 new Session2TokensListenerRecord(listener, resolvedUserId)); in addSession2TokensListener()
[all …]
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerService.java82 protected TranslationManagerServiceImpl newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
83 return new TranslationManagerServiceImpl(this, mLock, resolvedUserId, disabled); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java187 protected AmbientContextManagerPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
189 return new AmbientContextManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java443 final int resolvedUserId = handleIncomingUser(uri, callingPid, callingUid, in notifyChange() local
445 final Pair<String, Integer> provider = Pair.create(uri.getAuthority(), resolvedUserId); in notifyChange()
448 .checkContentProviderAccess(uri.getAuthority(), resolvedUserId); in notifyChange()
465 final String packageName = getProviderPackageName(uri, resolvedUserId); in notifyChange()
474 observerWantsSelfNotifications, flags, resolvedUserId, collector); in notifyChange()
485 final int resolvedUserId = validatedProviders.keyAt(i).second; in notifyChange() local
503 invalidateCacheLocked(resolvedUserId, packageName, uri); in notifyChange()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java650 final int resolvedUserId = forRestore in readXml() local
674 mIsUserChanged.put(resolvedUserId, Boolean.valueOf(isUserChanged)); in readXml()
685 mIsUserChanged.put(resolvedUserId, true); in readXml()
692 readExtraAttributes(tag, parser, resolvedUserId); in readXml()
694 getPackageName(approved), resolvedUserId, getRequiredPermission()) in readXml()
696 if (mUm.getUserInfo(resolvedUserId) != null) { in readXml()
697 addApprovedList(approved, resolvedUserId, isPrimary, userSetComponent); in readXml()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java225 protected ContentCapturePerUserService newServiceLocked(@UserIdInt int resolvedUserId, in newServiceLocked() argument
227 return new ContentCapturePerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java1620 final int resolvedUserId = userId == USER_CURRENT in queryBlobsForUser() local
1625 amInternal.ensureNotSpecialUser(resolvedUserId); in queryBlobsForUser()
1627 return queryBlobsForUserInternal(resolvedUserId); in queryBlobsForUser()

12