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.java865 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
870 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
884 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
889 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
910 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
915 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
934 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
939 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
956 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() local
961 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()
438 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
460 int callingUid, int resolvedUserId) { in captureFrame() argument
628 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.java485 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() argument
526 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getServiceForUserLocked() local
528 S service = mServicesCache.get(resolvedUserId); in getServiceForUserLocked()
531 service = newServiceLocked(resolvedUserId, disabled); in getServiceForUserLocked()
533 onServiceEnabledLocked(service, resolvedUserId); in getServiceForUserLocked()
547 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in peekServiceForUserLocked() local
549 return mServicesCache.get(resolvedUserId); in peekServiceForUserLocked()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java502 int resolvedUserId) { in enforceMediaPermissions() argument
508 resolvedUserId)) { in enforceMediaPermissions()
1113 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in createSession() local
1118 return createSessionInternal(pid, uid, resolvedUserId, packageName, cb, tag, in createSession()
1158 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
1161 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
1181 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in getSession2Tokens() local
1186 result = getSession2TokensLocked(resolvedUserId); in getSession2Tokens()
1202 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
1210 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/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java75 protected ContentSuggestionsPerUserService newServiceLocked(int resolvedUserId, in newServiceLocked() argument
77 return new ContentSuggestionsPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java71 protected AppPredictionPerUserService newServiceLocked(int resolvedUserId, boolean disabled) { in newServiceLocked() argument
72 return new AppPredictionPerUserService(this, mLock, resolvedUserId); in newServiceLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java537 final int resolvedUserId = mSecurityPolicy in addClient() local
543 UserState userState = getUserStateLocked(resolvedUserId); in addClient()
563 (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0, in addClient()
587 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent() local
592 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId)); in sendAccessibilityEvent() local
595 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
647 final int resolvedUserId = mSecurityPolicy in getInstalledAccessibilityServiceList() local
649 return getUserStateLocked(resolvedUserId).mInstalledServices; in getInstalledAccessibilityServiceList()
660 final int resolvedUserId = mSecurityPolicy in getEnabledAccessibilityServiceList() local
664 final UserState userState = getUserStateLocked(resolvedUserId); in getEnabledAccessibilityServiceList()
[all …]
DAccessibilityServiceConnection.java234 final int resolvedUserId = mSecurityPolicy in isCalledForCurrentUserLocked() local
236 return resolvedUserId == mSystemSupport.getCurrentUserIdLocked(); in isCalledForCurrentUserLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java401 final int resolvedUserId = forRestore in readXml() local
405 readExtraAttributes(tag, parser, resolvedUserId); in readXml()
407 getPackageName(approved), resolvedUserId, getRequiredPermission())) { in readXml()
408 if (mUm.getUserInfo(resolvedUserId) != null) { in readXml()
409 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.java4029 final int resolvedUserId = mUserController.handleIncomingUser(pid, uid, userId, false, in clearApplicationUserData() local
4041 resolvedUserId, packageName)) { in clearApplicationUserData()
4049 MATCH_UNINSTALLED_PACKAGES, resolvedUserId); in clearApplicationUserData()
4065 .hasInstantApplicationMetadata(packageName, resolvedUserId); in clearApplicationUserData()
4089 mAtmInternal.removeRecentTasksByPackageName(packageName, resolvedUserId); in clearApplicationUserData()
4106 intent.putExtra(Intent.EXTRA_USER_HANDLE, resolvedUserId); in clearApplicationUserData()
4111 false, resolvedUserId, false); in clearApplicationUserData()
4114 null, 0, null, null, null, null, false, false, resolvedUserId, in clearApplicationUserData()
4126 pm.clearApplicationUserData(packageName, localObserver, resolvedUserId); in clearApplicationUserData()
4134 mUgmInternal.removeUriPermissionsForPackage(packageName, resolvedUserId, in clearApplicationUserData()