Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java172 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in print() local
178 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
183 userState = getOrCreateUserStateLocked(resolvedUserId, false); in print()
196 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfos() local
201 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
205 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfos()
221 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfo() local
226 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
230 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfo()
244 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getCustomPrinterIcon() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java852 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
857 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
871 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
876 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
897 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
902 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
921 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
926 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
943 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() local
948 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvContentRatingSystemList()
[all …]
DTvInputHardwareManager.java259 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked() argument
263 || connectionCallingUid != callingUid || connectionResolvedUserId != resolvedUserId; in checkUidChangedLocked()
366 TvInputInfo info, int callingUid, int resolvedUserId) { in acquireHardware() argument
376 if (checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in acquireHardware()
385 connection.resetLocked(hardware, callback, info, callingUid, resolvedUserId); in acquireHardware()
395 int resolvedUserId) { in releaseHardware() argument
403 || checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in releaseHardware()
434 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
456 int callingUid, int resolvedUserId) { in captureFrame() argument
624 TvInputInfo info, Integer callingUid, Integer resolvedUserId) { in resetLocked() argument
[all …]
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerService.java47 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked()
49 new SystemCaptionsManagerPerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java454 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() argument
495 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getServiceForUserLocked() local
497 S service = mServicesCache.get(resolvedUserId); in getServiceForUserLocked()
500 service = newServiceLocked(resolvedUserId, disabled); in getServiceForUserLocked()
502 onServiceEnabledLocked(service, resolvedUserId); in getServiceForUserLocked()
516 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in peekServiceForUserLocked() local
518 return mServicesCache.get(resolvedUserId); in peekServiceForUserLocked()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java500 int resolvedUserId) { in enforceMediaPermissions() argument
506 resolvedUserId)) { in enforceMediaPermissions()
1009 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in createSession() local
1014 return createSessionInternal(pid, uid, resolvedUserId, packageName, cb, tag, in createSession()
1054 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
1057 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
1077 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in getSession2Tokens() local
1082 result = getSession2TokensLocked(resolvedUserId); in getSession2Tokens()
1098 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
1106 componentName, resolvedUserId, pid, uid); in addSessionsListener()
[all …]
DMediaRouterService.java234 final int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in registerClientAsUser() local
242 registerClientLocked(client, uid, pid, packageName, resolvedUserId, trusted); in registerClientAsUser()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java69 protected AppPredictionPerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
70 return new AppPredictionPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java76 protected ContentSuggestionsPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
78 return new ContentSuggestionsPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java218 final int resolvedUserId = mSecurityPolicy in isCalledForCurrentUserLocked() local
220 return resolvedUserId == mSystemSupport.getCurrentUserIdLocked(); in isCalledForCurrentUserLocked()
DAccessibilityManagerService.java536 final int resolvedUserId = mSecurityPolicy in addClient() local
542 UserState userState = getUserStateLocked(resolvedUserId); in addClient()
562 (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0, in addClient()
586 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent() local
591 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId)); in sendAccessibilityEvent() local
594 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
646 final int resolvedUserId = mSecurityPolicy in getInstalledAccessibilityServiceList() local
648 return getUserStateLocked(resolvedUserId).mInstalledServices; in getInstalledAccessibilityServiceList()
659 final int resolvedUserId = mSecurityPolicy in getEnabledAccessibilityServiceList() local
663 final UserState userState = getUserStateLocked(resolvedUserId); in getEnabledAccessibilityServiceList()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java394 final int resolvedUserId = forRestore in readXml() local
398 readExtraAttributes(tag, parser, resolvedUserId); in readXml()
400 getPackageName(approved), resolvedUserId, getRequiredPermission())) { in readXml()
401 if (mUm.getUserInfo(resolvedUserId) != null) { in readXml()
402 addApprovedList(approved, resolvedUserId, isPrimary); in readXml()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java171 protected ContentCapturePerUserService newServiceLocked(@UserIdInt int resolvedUserId, in newServiceLocked() argument
173 return new ContentCapturePerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java1356 final int resolvedUserId = InputMethodSystemProperty.PER_PROFILE_IME_ENABLED in resolveUserId() local
1358 return new int[]{resolvedUserId}; in resolveUserId()
DInputMethodManagerService.java1048 final int resolvedUserId = PER_PROFILE_IME_ENABLED in onReceive() local
1050 if (resolvedUserId != mSettings.getCurrentUserId()) { in onReceive()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java297 protected AutofillManagerServiceImpl newServiceLocked(@UserIdInt int resolvedUserId, in newServiceLocked() argument
300 mWtfHistory, resolvedUserId, mUi, mAutofillCompatState, disabled); in newServiceLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4000 final int resolvedUserId = mUserController.handleIncomingUser(pid, uid, userId, false, in clearApplicationUserData() local
4012 resolvedUserId, packageName)) { in clearApplicationUserData()
4020 MATCH_UNINSTALLED_PACKAGES, resolvedUserId); in clearApplicationUserData()
4036 .hasInstantApplicationMetadata(packageName, resolvedUserId); in clearApplicationUserData()
4060 mAtmInternal.removeRecentTasksByPackageName(packageName, resolvedUserId); in clearApplicationUserData()
4077 intent.putExtra(Intent.EXTRA_USER_HANDLE, resolvedUserId); in clearApplicationUserData()
4082 false, resolvedUserId, false); in clearApplicationUserData()
4085 null, 0, null, null, null, null, false, false, resolvedUserId, in clearApplicationUserData()
4097 pm.clearApplicationUserData(packageName, localObserver, resolvedUserId); in clearApplicationUserData()
4105 mUgmInternal.removeUriPermissionsForPackage(packageName, resolvedUserId, in clearApplicationUserData()