Home
last modified time | relevance | path

Searched refs:resolvedUserId (Results 1 – 25 of 30) 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.java918 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvAdServiceList() local
927 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvAdServiceList()
941 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in sendAppLinkCommand() local
946 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in sendAppLinkCommand()
956 serviceState = new AdServiceState(componentName, serviceId, resolvedUserId); in sendAppLinkCommand()
959 updateAdServiceConnectionLocked(componentName, resolvedUserId); in sendAppLinkCommand()
964 updateAdServiceConnectionLocked(componentName, resolvedUserId); in sendAppLinkCommand()
979 final int resolvedUserId = resolveCallingUserId(callingPid, callingUid, in createSession() local
991 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in createSession()
1002 adState.mComponentName.getPackageName(), 0, resolvedUserId).uid; in createSession()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1186 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
1191 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
1205 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
1210 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
1231 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
1236 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
1255 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
1260 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
1274 final int resolvedUserId = resolveCallingUserId(callingPid, callingUid, in getAvailableExtensionInterfaceNames() local
1280 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getAvailableExtensionInterfaceNames()
[all …]
DTvInputHardwareManager.java338 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked() argument
342 || connectionCallingUid != callingUid || connectionResolvedUserId != resolvedUserId; in checkUidChangedLocked()
471 TvInputInfo info, int callingUid, int resolvedUserId, in acquireHardware() argument
503 connection.resetLocked(hardware, callback, info, callingUid, resolvedUserId, in acquireHardware()
513 int resolvedUserId) { in releaseHardware() argument
521 || checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in releaseHardware()
560 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
603 int callingUid, int resolvedUserId) { in captureFrame() argument
790 TvInputInfo info, Integer callingUid, Integer resolvedUserId, in resetLocked() argument
804 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/credentials/java/com/android/server/credentials/
DCredentialManagerService.java141 int resolvedUserId) { in constructSystemServiceListLocked() argument
146 resolvedUserId, in constructSystemServiceListLocked()
152 new CredentialManagerServiceImpl(this, mLock, resolvedUserId, in constructSystemServiceListLocked()
165 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked()
183 int resolvedUserId, boolean disabled, String[] serviceNames) { in newServiceListLocked() argument
184 getOrConstructSystemServiceListLock(resolvedUserId); in newServiceListLocked()
195 new CredentialManagerServiceImpl(this, mLock, resolvedUserId, serviceName)); in newServiceListLocked()
246 int resolvedUserId) { in getOrConstructSystemServiceListLock() argument
247 List<CredentialManagerServiceImpl> services = mSystemServicesCacheList.get(resolvedUserId); in getOrConstructSystemServiceListLock()
249 services = constructSystemServiceListLocked(resolvedUserId); in getOrConstructSystemServiceListLock()
[all …]
/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()
719 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in updateCachedServiceListMultiModeLocked() local
[all …]
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorService.java169 int resolvedUserId = in getCapabilitiesAndConfig() local
176 resolvedUserId, bypassUserPolicyChecks); in getCapabilitiesAndConfig()
191 int resolvedUserId = mCallerIdentityInjector.resolveUserId(userId, "updateConfiguration"); in updateConfiguration() local
201 resolvedUserId, configuration, bypassUserPolicyChecks); in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java210 protected AmbientContextManagerPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
217 protected List<AmbientContextManagerPerUserService> newServiceListLocked(int resolvedUserId, in newServiceListLocked() argument
235 resolvedUserId, in newServiceListLocked()
242 resolvedUserId, in newServiceListLocked()
257 this, mLock, resolvedUserId, in newServiceListLocked()
261 this, mLock, resolvedUserId, in newServiceListLocked()
/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/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/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerService.java71 protected SmartspacePerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
72 return new SmartspacePerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java75 protected AppPredictionPerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
76 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/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/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1059 final int resolvedUserId = mSecurityPolicy in addClient() local
1062 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in addClient()
1106 (resolvedUserId == mCurrentUserId) ? getClientStateLocked(userState) : 0, in addClient()
1117 final int resolvedUserId = mSecurityPolicy in removeClient() local
1120 AccessibilityUserState userState = getUserStateLocked(resolvedUserId); in removeClient()
1133 + " and userId:" + resolvedUserId + "state: " + unregistered); in removeClient()
1148 int resolvedUserId; in sendAccessibilityEvent() local
1164 resolvedUserId = mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked(userId); in sendAccessibilityEvent()
1168 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent() local
1172 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
[all …]
DAccessibilityWindowManager.java162 final int resolvedUserId = in setAccessibilityWindowAttributes() local
164 if (getWindowTokenForUserAndWindowIdLocked(resolvedUserId, windowId) == null) { in setAccessibilityWindowAttributes()
1386 final int resolvedUserId = mSecurityPolicy in addAccessibilityInteractionConnection() local
1388 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()
1392 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
1411 windowId, connection, packageName, resolvedUid, resolvedUserId); in addAccessibilityInteractionConnection()
1413 getInteractionConnectionsForUserLocked(resolvedUserId).put(windowId, wrapper); in addAccessibilityInteractionConnection()
1414 getWindowTokensForUserLocked(resolvedUserId).put(windowId, token); in addAccessibilityInteractionConnection()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java887 int resolvedUserId) { in enforceMediaPermissions() argument
892 packageName, UserHandle.getUserHandleForUid(uid), resolvedUserId)) { in enforceMediaPermissions()
1498 int resolvedUserId = handleIncomingUser(pid, uid, userId, packageName); in createSession() local
1503 pid, uid, resolvedUserId, packageName, cb, tag, sessionInfo); in createSession()
1527 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
1530 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
1617 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
1625 componentName, resolvedUserId, pid, uid); in addSessionsListener()
1668 int resolvedUserId = handleIncomingUser(pid, uid, userId, null); in addSession2TokensListener() local
1677 new Session2TokensListenerRecord(listener, resolvedUserId)); in addSession2TokensListener()
[all …]
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java167 int resolvedUserId = mCallerIdentityInjector.resolveUserId(userId, "updateConfiguration"); in updateConfiguration() local
177 resolvedUserId, configuration, bypassUserPolicyChecks); in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java446 final int resolvedUserId = handleIncomingUser(uri, callingPid, callingUid, in notifyChange() local
448 final Pair<String, Integer> provider = Pair.create(uri.getAuthority(), resolvedUserId); in notifyChange()
451 .checkContentProviderAccess(uri.getAuthority(), resolvedUserId); in notifyChange()
468 final String packageName = getProviderPackageName(uri, resolvedUserId); in notifyChange()
477 observerWantsSelfNotifications, flags, resolvedUserId, collector); in notifyChange()
489 final int resolvedUserId = validatedProviders.keyAt(i).second; in notifyChange() local
504 invalidateCacheLocked(resolvedUserId, packageName, uri); in notifyChange()
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingManagerService.java160 protected WearableSensingManagerPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
162 return new WearableSensingManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()

12