Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java122 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in print() local
128 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
133 userState = getOrCreateUserStateLocked(resolvedUserId, false); in print()
146 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfos() local
151 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
155 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfos()
171 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getPrintJobInfo() local
176 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
180 userState = getOrCreateUserStateLocked(resolvedUserId, false); in getPrintJobInfo()
194 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); in getCustomPrinterIcon() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java846 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() local
851 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputList()
865 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() local
870 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputInfo()
891 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in updateTvInputInfo() local
896 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in updateTvInputInfo()
915 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() local
920 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvInputState()
931 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() local
936 UserState userState = getOrCreateUserStateLocked(resolvedUserId); in getTvContentRatingSystemList()
[all …]
DTvInputHardwareManager.java262 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked() argument
266 || connectionCallingUid != callingUid || connectionResolvedUserId != resolvedUserId; in checkUidChangedLocked()
369 TvInputInfo info, int callingUid, int resolvedUserId) { in acquireHardware() argument
379 if (checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in acquireHardware()
388 connection.resetLocked(hardware, callback, info, callingUid, resolvedUserId); in acquireHardware()
398 int resolvedUserId) { in releaseHardware() argument
406 || checkUidChangedLocked(connection, callingUid, resolvedUserId)) { in releaseHardware()
437 int resolvedUserId) { in getAvailableTvStreamConfigList() argument
459 int callingUid, int resolvedUserId) { in captureFrame() argument
627 TvInputInfo info, Integer callingUid, Integer resolvedUserId) { in resetLocked() argument
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java292 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getServiceForUserLocked() local
294 AutofillManagerServiceImpl service = mServicesCache.get(resolvedUserId); in getServiceForUserLocked()
297 resolvedUserId, mUi, mDisabledUsers.get(resolvedUserId)); in getServiceForUserLocked()
310 final int resolvedUserId = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in peekServiceForUserLocked() local
312 return mServicesCache.get(resolvedUserId); in peekServiceForUserLocked()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java432 int resolvedUserId) { in enforceMediaPermissions() argument
438 resolvedUserId)) { in enforceMediaPermissions()
833 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in createSession() local
838 return createSessionInternal(pid, uid, resolvedUserId, packageName, cb, tag) in createSession()
852 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions() local
855 List<MediaSessionRecord> records = getActiveSessionsLocked(resolvedUserId); in getSessions()
874 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener() local
882 componentName, resolvedUserId, pid, uid); in addSessionsListener()
1336 int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in verifySessionsRequest() local
1340 enforceMediaPermissions(componentName, pid, uid, resolvedUserId); in verifySessionsRequest()
[all …]
DMediaRouterService.java130 final int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, in registerClientAsUser() local
138 registerClientLocked(client, pid, packageName, resolvedUserId, trusted); in registerClientAsUser()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java451 final int resolvedUserId = mSecurityPolicy in addClient() local
456 UserState userState = getUserStateLocked(resolvedUserId); in addClient()
474 (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0, in addClient()
507 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent() local
510 if (resolvedUserId == mCurrentUserId) { in sendAccessibilityEvent()
552 final int resolvedUserId = mSecurityPolicy in getInstalledAccessibilityServiceList() local
556 UserState userState = getUserStateLocked(resolvedUserId); in getInstalledAccessibilityServiceList()
574 final int resolvedUserId = mSecurityPolicy in getEnabledAccessibilityServiceList() local
578 final UserState userState = getUserStateLocked(resolvedUserId); in getEnabledAccessibilityServiceList()
605 final int resolvedUserId = mSecurityPolicy in interrupt() local
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4068 final int resolvedUserId = UserHandle.getUserId(aInfo.applicationInfo.uid); in startHomeActivityLocked() local
4071 final String myReason = reason + ":" + userId + ":" + resolvedUserId; in startHomeActivityLocked()