Home
last modified time | relevance | path

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

/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/
DTvInputManagerService.java1081 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
1086 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
1100 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
1105 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
1126 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
1131 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
1150 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
1155 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
1172 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() local
1177 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvContentRatingSystemList()
[all …]
DTvInputHardwareManager.java274 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked() argument
278 || connectionCallingUid != callingUid || connectionResolvedUserId != resolvedUserId; in checkUidChangedLocked()
381 TvInputInfo info, int callingUid, int resolvedUserId, in acquireHardware() argument
413 connection.resetLocked(hardware, callback, info, callingUid, resolvedUserId, in acquireHardware()
423 int resolvedUserId) { in releaseHardware() argument
431 || checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in releaseHardware()
466 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
488 int callingUid, int resolvedUserId) { in captureFrame() argument
658 TvInputInfo info, Integer callingUid, Integer resolvedUserId, in resetLocked() argument
672 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/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.java501 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() argument
542 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getServiceForUserLocked() local
544 S service = mServicesCache.get(resolvedUserId); in getServiceForUserLocked()
547 service = newServiceLocked(resolvedUserId, disabled); in getServiceForUserLocked()
549 onServiceEnabledLocked(service, resolvedUserId); in getServiceForUserLocked()
563 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in peekServiceForUserLocked() local
565 return mServicesCache.get(resolvedUserId); in peekServiceForUserLocked()
/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/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/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/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/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java680 final int resolvedUserId = mSecurityPolicy in addClient() local
686 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in addClient()
706 (resolvedUserId == mCurrentUserId) ? getClientStateLocked(userState) : 0, in addClient()
717 final int resolvedUserId = mSecurityPolicy in removeClient() local
720 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in removeClient()
733 + " and userId:" + resolvedUserId + "state: " + unregistered); in removeClient()
762 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent() local
767 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent() local
771 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
875 final int resolvedUserId; in getInstalledAccessibilityServiceList() local
[all …]
DAccessibilityWindowManager.java965 final int resolvedUserId = mSecurityPolicy in addAccessibilityInteractionConnection() local
967 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()
971 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
990 windowId, connection, packageName, resolvedUid, resolvedUserId); in addAccessibilityInteractionConnection()
992 getInteractionConnectionsForUserLocked(resolvedUserId).put(windowId, wrapper); in addAccessibilityInteractionConnection()
993 getWindowTokensForUserLocked(resolvedUserId).put(windowId, token); in addAccessibilityInteractionConnection()
/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/core/java/com/android/server/media/
DMediaSessionService.java597 int resolvedUserId) { in enforceMediaPermissions() argument
604 UserHandle.getUserHandleForUid(uid), resolvedUserId)) { in enforceMediaPermissions()
1196 int resolvedUserId = handleIncomingUser(pid, uid, userId, packageName); in createSession() local
1201 pid, uid, resolvedUserId, packageName, cb, tag, sessionInfo); in createSession()
1225 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
1228 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
1311 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
1319 componentName, resolvedUserId, pid, uid); in addSessionsListener()
1358 int resolvedUserId = handleIncomingUser(pid, uid, userId, null); in addSession2TokensListener() local
1366 new Session2TokensListenerRecord(listener, resolvedUserId)); in addSession2TokensListener()
[all …]
DMediaRouterService.java245 final int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in registerClientAsUser() local
253 registerClientLocked(client, uid, pid, packageName, resolvedUserId, trusted); in registerClientAsUser()
/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/content/
DContentService.java424 final int resolvedUserId = handleIncomingUser(uri, callingPid, callingUid, in notifyChange() local
426 final Pair<String, Integer> provider = Pair.create(uri.getAuthority(), resolvedUserId); in notifyChange()
429 .checkContentProviderAccess(uri.getAuthority(), resolvedUserId); in notifyChange()
446 final String packageName = getProviderPackageName(uri, resolvedUserId); in notifyChange()
455 observerWantsSelfNotifications, flags, resolvedUserId, collector); in notifyChange()
466 final int resolvedUserId = validatedProviders.keyAt(i).second; in notifyChange() local
484 invalidateCacheLocked(resolvedUserId, packageName, uri); in notifyChange()
/frameworks/base/apex/media/service/java/com/android/server/media/
DMediaCommunicationService.java340 int resolvedUserId = handleIncomingUser(pid, uid, userId, null); in getSession2Tokens() local
343 result = getSession2TokensLocked(resolvedUserId); in getSession2Tokens()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java631 final int resolvedUserId = forRestore in readXml() local
642 mIsUserChanged.put(resolvedUserId, Boolean.valueOf(isUserChanged)); in readXml()
644 readExtraAttributes(tag, parser, resolvedUserId); in readXml()
646 getPackageName(approved), resolvedUserId, getRequiredPermission()) in readXml()
648 if (mUm.getUserInfo(resolvedUserId) != null) { in readXml()
649 addApprovedList(approved, resolvedUserId, isPrimary, userSetComponent); in readXml()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java224 protected ContentCapturePerUserService newServiceLocked(@UserIdInt int resolvedUserId, in newServiceLocked() argument
226 return new ContentCapturePerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java1589 final int resolvedUserId = userId == USER_CURRENT in queryBlobsForUser() local
1594 amInternal.ensureNotSpecialUser(resolvedUserId); in queryBlobsForUser()
1596 return queryBlobsForUserInternal(resolvedUserId); in queryBlobsForUser()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java331 protected AutofillManagerServiceImpl newServiceLocked(@UserIdInt int resolvedUserId, in newServiceLocked() argument
334 resolvedUserId, mUi, mAutofillCompatState, disabled, mDisabledInfoCache); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3447 final int resolvedUserId = mUserController.handleIncomingUser(pid, uid, userId, false, in clearApplicationUserData() local
3458 resolvedUserId, packageName)) { in clearApplicationUserData()
3466 MATCH_UNINSTALLED_PACKAGES, resolvedUserId); in clearApplicationUserData()
3482 .hasInstantApplicationMetadata(packageName, resolvedUserId); in clearApplicationUserData()
3507 mAtmInternal.removeRecentTasksByPackageName(packageName, resolvedUserId); in clearApplicationUserData()
3524 intent.putExtra(Intent.EXTRA_USER_HANDLE, resolvedUserId); in clearApplicationUserData()
3529 false, false, resolvedUserId, false, null); in clearApplicationUserData()
3532 null, null, 0, null, null, null, null, false, false, resolvedUserId, in clearApplicationUserData()
3544 pm.clearApplicationUserData(packageName, localObserver, resolvedUserId); in clearApplicationUserData()
3552 mUgmInternal.removeUriPermissionsForPackage(packageName, resolvedUserId, in clearApplicationUserData()