/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 174 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/ |
D | TvInteractiveAppManagerService.java | 918 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/ |
D | TvInputManagerService.java | 1186 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 …]
|
D | TvInputHardwareManager.java | 338 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/ |
D | SystemCaptionsManagerService.java | 48 @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/ |
D | TextToSpeechManagerService.java | 57 @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/ |
D | CredentialManagerService.java | 141 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/ |
D | SpeechRecognitionManagerService.java | 77 @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/ |
D | AbstractMasterSystemService.java | 538 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/ |
D | TimeZoneDetectorService.java | 169 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/ |
D | AmbientContextManagerService.java | 210 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/ |
D | MusicRecognitionManagerService.java | 77 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/ |
D | SearchUiManagerService.java | 69 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/ |
D | WallpaperEffectsGenerationManagerService.java | 69 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/ |
D | SmartspaceManagerService.java | 71 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/ |
D | AppPredictionManagerService.java | 75 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/ |
D | RotationResolverManagerService.java | 128 @UserIdInt int resolvedUserId, in newServiceLocked() 130 return new RotationResolverManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 85 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/ |
D | TranslationManagerService.java | 82 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/ |
D | AccessibilityManagerService.java | 1059 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 …]
|
D | AccessibilityWindowManager.java | 162 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/ |
D | MediaSessionService.java | 887 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/ |
D | TimeDetectorService.java | 167 int resolvedUserId = mCallerIdentityInjector.resolveUserId(userId, "updateConfiguration"); in updateConfiguration() local 177 resolvedUserId, configuration, bypassUserPolicyChecks); in updateConfiguration()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 446 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/ |
D | WearableSensingManagerService.java | 160 protected WearableSensingManagerPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument 162 return new WearableSensingManagerPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
|