Home
last modified time | relevance | path

Searched refs:mUserId (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java49 private final int mUserId; field in PrinterDiscoverySession
65 mUserId = userId; in PrinterDiscoverySession()
69 mPrintManager.createPrinterDiscoverySession(mObserver, mUserId); in PrinterDiscoverySession()
83 mPrintManager.startPrinterDiscovery(mObserver, priorityList, mUserId); in startPrinterDisovery()
98 mPrintManager.stopPrinterDiscovery(mObserver, mUserId); in stopPrinterDiscovery()
111 mPrintManager.startPrinterStateTracking(printerId, mUserId); in startPrinterStateTracking()
123 mPrintManager.stopPrinterStateTracking(printerId, mUserId); in stopPrinterStateTracking()
135 mPrintManager.validatePrinters(printerIds, mUserId); in validatePrinters()
187 mPrintManager.destroyPrinterDiscoverySession(mObserver, mUserId); in destroyNoCheck()
DPrintManager.java157 private final int mUserId; field in PrintManager
186 mUserId = userId; in PrintManager()
222 return mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJobInfo()
243 mService.addPrintJobStateChangeListener(wrappedListener, mAppId, mUserId); in addPrintJobStateChangeListener()
270 mService.removePrintJobStateChangeListener(wrappedListener, mUserId); in removePrintJobStateChangeListener()
285 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJob()
303 List<PrintJobInfo> printJobInfos = mService.getPrintJobInfos(mAppId, mUserId); in getPrintJobs()
321 mService.cancelPrintJob(printJobId, mAppId, mUserId); in cancelPrintJob()
329 mService.restartPrintJob(printJobId, mAppId, mUserId); in restartPrintJob()
388 attributes, mContext.getPackageName(), mAppId, mUserId); in print()
[all …]
/frameworks/base/services/java/com/android/server/print/
DRemotePrintService.java68 private final int mUserId; field in RemotePrintService
106 mUserId = userId; in RemotePrintService()
186 Slog.i(LOG_TAG, "[user: " + mUserId + "] onAllPrintJobsHandled()"); in handleOnAllPrintJobsHandled()
213 Slog.i(LOG_TAG, "[user: " + mUserId + "] requestCancelPrintJob()"); in handleRequestCancelPrintJob()
241 Slog.i(LOG_TAG, "[user: " + mUserId + "] onPrintJobQueued()"); in handleOnPrintJobQueued()
268 Slog.i(LOG_TAG, "[user: " + mUserId + "] createPrinterDiscoverySession()"); in handleCreatePrinterDiscoverySession()
301 Slog.i(LOG_TAG, "[user: " + mUserId + "] destroyPrinterDiscoverySession()"); in handleDestroyPrinterDiscoverySession()
338 Slog.i(LOG_TAG, "[user: " + mUserId + "] startPrinterDiscovery()"); in handleStartPrinterDiscovery()
366 Slog.i(LOG_TAG, "[user: " + mUserId + "] stopPrinterDiscovery()"); in handleStopPrinterDiscovery()
393 Slog.i(LOG_TAG, "[user: " + mUserId + "] validatePrinters()"); in handleValidatePrinters()
[all …]
DUserState.java109 private final int mUserId; field in UserState
123 mUserId = userId; in UserState()
205 | PendingIntent.FLAG_CANCEL_CURRENT, null, new UserHandle(mUserId)) in print()
576 pw.append(prefix).append("user state ").append(String.valueOf(mUserId)).append(":"); in dump()
641 | PackageManager.GET_META_DATA, mUserId); in readInstalledPrintServicesLocked()
684 setting, mUserId); in readPrintServicesFromSettingLocked()
740 mContext.getContentResolver(), Settings.Secure.ENABLED_PRINT_SERVICES, mUserId); in enableSystemPrintServicesOnFirstBootLocked()
747 Settings.Secure.ENABLED_PRINT_SERVICES, enabledServices, mUserId); in enableSystemPrintServicesOnFirstBootLocked() local
752 Settings.Secure.ENABLED_ON_FIRST_BOOT_SYSTEM_PRINT_SERVICES, mUserId); in enableSystemPrintServicesOnFirstBootLocked()
760 enabledOnFirstBootServices, mUserId); in enableSystemPrintServicesOnFirstBootLocked() local
[all …]
/frameworks/base/services/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java51 private final int mUserId; field in RemoteDisplayProviderWatcher
63 mUserId = userId; in RemoteDisplayProviderWatcher()
69 pw.println(prefix + " mUserId=" + mUserId); in dump()
86 new UserHandle(mUserId), filter, null, mHandler); in start()
118 intent, 0, mUserId)) { in scanPackages()
126 mUserId); in scanPackages()
DRemoteDisplayProviderProxy.java48 private final int mUserId; field in RemoteDisplayProviderProxy
69 mUserId = userId; in RemoteDisplayProviderProxy()
75 pw.println(prefix + " mUserId=" + mUserId); in dump()
195 new UserHandle(mUserId)); in bind()
DMediaRouterService.java436 if (userRecord.mUserId == mCurrentUserId) { in initializeUserLocked()
446 if (userRecord.mUserId != mCurrentUserId in disposeUserIfNeededLocked()
451 mUserRecords.remove(userRecord.mUserId); in disposeUserIfNeededLocked()
549 public final int mUserId; field in MediaRouterService.UserRecord
556 mUserId = userId; in UserRecord()
589 return "User " + mUserId; in toString()
658 this, mUserRecord.mUserId); in UserHandler()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java86 final int mUserId; field in AccessibilityManager
199 mUserId = userId; in AccessibilityManager()
267 doRecycle = mService.sendAccessibilityEvent(event, mUserId); in sendAccessibilityEvent()
289 mService.interrupt(mUserId); in interrupt()
325 services = mService.getInstalledAccessibilityServiceList(mUserId); in getInstalledAccessibilityServiceList()
352 services = mService.getEnabledAccessibilityServiceList(feedbackTypeFlags, mUserId); in getEnabledAccessibilityServiceList()
470 return mService.addAccessibilityInteractionConnection(windowToken, connection, mUserId); in addAccessibilityInteractionConnection()
/frameworks/base/services/java/com/android/server/wm/
DTask.java27 final int mUserId; field in Task
33 mUserId = userId; in Task()
DTaskStack.java109 if (task.mUserId != currentUserId) { in addTask()
112 if (currentUserId != mTasks.get(stackNdx).mUserId) { in addTask()
288 if (task.mUserId == userId) { in switchUser()
DDisplayContent.java177 final int userId = task.mUserId; in addTask()
182 if (mTaskHistory.get(taskNdx).mUserId == userId) { in addTask()
189 if (mTaskHistory.get(taskNdx).mUserId == userId) { in addTask()
DWindowManagerService.java3495 newTask = createTask(groupId, oldTask.mStack.mStackId, oldTask.mUserId, atoken); in setAppGroupId()
/frameworks/base/services/java/com/android/server/dreams/
DDreamController.java88 pw.println(" mUserId=" + mCurrentDream.mUserId); in dump()
143 + ", isTest=" + oldDream.mIsTest + ", userId=" + oldDream.mUserId); in stopDream()
216 public final int mUserId; field in DreamController.DreamRecord
228 mUserId = userId; in DreamRecord()
/frameworks/base/services/java/com/android/server/search/
DSearchables.java78 private int mUserId; field in Searchables
86 mUserId = userId; in Searchables()
132 ai = mPm.getActivityInfo(activity, PackageManager.GET_META_DATA, mUserId); in getSearchableInfo()
238 mUserId); in buildSearchableList()
411 flags, mUserId); in queryIntentActivities()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java788 oldUserState.mUserId, 0).sendToTarget(); in switchUser()
953 userState.mUserId, mTempComponentNameSet); in readEnabledAccessibilityServicesLocked()
969 userState.mUserId, mTempComponentNameSet); in readTouchExplorationGrantedAccessibilityServicesLocked()
1154 service = new Service(userState.mUserId, componentName, installedService); in manageServicesLocked()
1178 Settings.Secure.ACCESSIBILITY_ENABLED, 0, userState.mUserId); in manageServicesLocked()
1189 clientState, userState.mUserId) .sendToTarget(); in scheduleUpdateClientsIfNeededLocked()
1263 state.mTouchExplorationGrantedServices, state.mUserId); in showEnableTouchExplorationDialog()
1265 UserState userState = getUserStateLocked(service.mUserId); in showEnableTouchExplorationDialog()
1269 service.mUserId); in showEnableTouchExplorationDialog()
1364 Settings.Secure.ACCESSIBILITY_ENABLED, 0, userState.mUserId) == 1; in readAccessibilityEnabledSettingLocked()
[all …]
/frameworks/base/services/java/com/android/server/
DAppWidgetServiceImpl.java187 final int mUserId; field in AppWidgetServiceImpl
210 mUserId = userId; in AppWidgetServiceImpl()
236 Slog.i(TAG, "u=" + mUserId + ": " + msg); in log()
552 mContext.sendBroadcastAsUser(intent, new UserHandle(mUserId)); in deleteAppWidgetLocked()
560 mContext.sendBroadcastAsUser(intent, new UserHandle(mUserId)); in deleteAppWidgetLocked()
726 PackageManager.GET_PERMISSIONS, mUserId); in bindRemoteViewsService()
749 if (userId != mUserId) { in bindRemoteViewsService()
750 Slog.w(TAG, "AppWidgetServiceImpl of user " + mUserId in bindRemoteViewsService()
1004 mContext.sendBroadcastAsUser(intent, new UserHandle(mUserId)); in updateAppWidgetOptions()
1116 id.host.callbacks.updateAppWidget(id.appWidgetId, views, mUserId); in updateAppWidgetInstanceLocked()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java65 private int mUserId; field in Am
342 mUserId = defUser; in makeIntent()
506 mUserId = parseUserArg(nextArgRequired()); in makeIntent()
579 if (mUserId == UserHandle.USER_ALL) { in runStartService()
584 ComponentName cn = mAm.startService(null, intent, intent.getType(), mUserId); in runStartService()
596 if (mUserId == UserHandle.USER_ALL) { in runStopService()
601 int result = mAm.stopService(null, intent, intent.getType(), mUserId); in runStopService()
614 if (mUserId == UserHandle.USER_ALL) { in runStart()
622 mimeType = mAm.getProviderMimeType(intent.getData(), mUserId); in runStart()
638 mUserId); in runStart()
[all …]
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java118 private final int mUserId; field in Vpn
127 mUserId = userId; in Vpn()
295 int appUid = pm.getPackageUid(mPackage, mUserId); in protect()
323 app = AppGlobals.getPackageManager().getApplicationInfo(mPackage, 0, mUserId); in establish()
336 UserInfo user = mgr.getUserInfo(mUserId); in establish()
342 null, 0, mUserId); in establish()
377 new UserHandle(mUserId))) { in establish()
397 addVpnUserLocked(mUserId); in establish()
399 if (mUserId == UserHandle.USER_OWNER) { in establish()
498 app = AppGlobals.getPackageManager().getApplicationInfo(mPackage, 0, mUserId); in addVpnUserLocked()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java119 int mUserId; field in RemoteViewsAdapter
164 checkInteractAcrossUsersPermission(context, adapter.mUserId); in bind()
166 new UserHandle(adapter.mUserId)); in bind()
184 checkInteractAcrossUsersPermission(context, adapter.mUserId); in unbind()
186 new UserHandle(adapter.mUserId)); in unbind()
836 mUserId = context.getUserId(); in RemoteViewsAdapter()
860 mAppWidgetId, mUserId); in RemoteViewsAdapter()
911 new Intent.FilterComparison(mIntent), mAppWidgetId, mUserId); in saveRemoteViewsCache()
1033 remoteViews.setUser(new UserHandle(mUserId)); in updateRemoteViews()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java361 final int mUserId; field in Content.Command
365 mUserId = userId; in Command()
376 providerName, mUserId, token); in execute()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardHostView.java113 private final int mUserId; field in KeyguardHostView
158 mUserId = mLockPatternUtils.getCurrentUser(); in KeyguardHostView()
174 new UserHandle(mUserId)); in KeyguardHostView()
1140 + mUserId + ", deleting"); in addWidget()
/frameworks/base/services/java/com/android/server/am/
DActiveServices.java148 final int mUserId; field in ActiveServices.ServiceMap
173 mUserId = userId; in ServiceMap()
236 mAm.backgroundServicesFinishedLocked(mUserId); in rescheduleDelayedStarts()