/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 57 private final int mUserId; field in IPrintManagerParametersTest 75 mUserId = UserHandle.myUserId(); in IPrintManagerParametersTest() 275 mAppId, mUserId).getId()); 276 assertEquals(null, mIPrintManager.getPrintJobInfo(mBadPrintJobId, mAppId, mUserId)); 277 assertEquals(null, mIPrintManager.getPrintJobInfo(null, mAppId, mUserId)); 282 mIPrintManager.getPrintJobInfo(mGoodPrintJob.getId(), BAD_APP_ID, mUserId); 296 List<PrintJobInfo> infos = mIPrintManager.getPrintJobInfos(mAppId, mUserId); 310 mIPrintManager.getPrintJobInfos(BAD_APP_ID, mUserId); 333 mAppId, mUserId); 341 mAppId, mUserId); [all …]
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 50 private int mUserId = UserHandle.USER_SYSTEM; field in Dpm 115 mUserId = UserHandle.USER_CURRENT; in parseArgs() 117 mUserId = parseInt(arg); in parseArgs() 119 if (mUserId == UserHandle.USER_CURRENT) { in parseArgs() 122 mUserId = activityManager.getCurrentUser().id; in parseArgs() 138 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin() 145 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetDeviceOwner() 148 if (!mDevicePolicyManager.setDeviceOwner(mComponent, mName, mUserId)) { in runSetDeviceOwner() 159 DevicePolicyManager.STATE_USER_SETUP_FINALIZED, mUserId); in runSetDeviceOwner() 167 mDevicePolicyManager.forceRemoveActiveAdmin(mComponent, mUserId); in runRemoveActiveAdmin() [all …]
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 76 private final int mUserId; field in TrustAgentWrapper 143 mTrustManagerService.mArchive.logGrantTrust(mUserId, mName, 146 mTrustManagerService.updateTrust(mUserId, flags); 150 mTrustManagerService.mArchive.logTrustTimeout(mUserId, mName); 158 mTrustManagerService.mArchive.logRevokeTrust(mUserId, mName); 160 mTrustManagerService.updateTrust(mUserId, 0); 164 mTrustManagerService.resetAgent(mName, mUserId); 175 mTrustManagerService.updateTrust(mUserId, 0); 188 mTrustManagerService.mArchive.logManagingTrust(mUserId, mName, mManagingTrust); 189 mTrustManagerService.updateTrust(mUserId, 0); [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NightDisplayController.java | 77 private final int mUserId; field in NightDisplayController 89 mUserId = userId; in NightDisplayController() 109 Secure.NIGHT_DISPLAY_ACTIVATED, 0, mUserId) == 1; in isActivated() 120 Secure.NIGHT_DISPLAY_ACTIVATED, activated ? 1 : 0, mUserId); in setActivated() 130 Secure.NIGHT_DISPLAY_AUTO_MODE, -1, mUserId); in getAutoMode() 165 Secure.NIGHT_DISPLAY_AUTO_MODE, autoMode, mUserId); in setAutoMode() 174 Secure.NIGHT_DISPLAY_CUSTOM_START_TIME, -1, mUserId); in getCustomStartTime() 199 Secure.NIGHT_DISPLAY_CUSTOM_START_TIME, startTime.toMillis(), mUserId); in setCustomStartTime() 208 Secure.NIGHT_DISPLAY_CUSTOM_END_TIME, -1, mUserId); in getCustomEndTime() 233 Secure.NIGHT_DISPLAY_CUSTOM_END_TIME, endTime.toMillis(), mUserId); in setCustomEndTime() [all …]
|
D | UnlaunchableAppActivity.java | 56 private int mUserId; field in UnlaunchableAppActivity 68 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate() 71 if (mUserId == UserHandle.USER_NULL) { in onCreate() 72 Log.wtf(TAG, "Invalid user id: " + mUserId + ". Stopping."); in onCreate() 114 if (UserManager.get(this).trySetQuietModeDisabled(mUserId, mTarget) in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SecureSetting.java | 35 private int mUserId; field in SecureSetting 44 mUserId = ActivityManager.getCurrentUser(); in SecureSetting() 48 return Secure.getIntForUser(mContext.getContentResolver(), mSettingName, DEFAULT, mUserId); in getValue() 52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId); in setValue() local 62 Secure.getUriFor(mSettingName), false, this, mUserId); in setListening() local 77 mUserId = userId; in setUserId()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStartInterceptor.java | 64 private int mUserId; field in ActivityStartInterceptor 91 mUserId = userId; in setStates() 122 if (!mUserManager.isQuietModeEnabled(UserHandle.of(mUserId))) { in interceptQuietProfileIfNeeded() 126 INTENT_SENDER_ACTIVITY, mCallingPackage, mCallingUid, mUserId, null, null, 0, in interceptQuietProfileIfNeeded() 130 mIntent = UnlaunchableAppActivity.createInQuietModeDialogIntent(mUserId, in interceptQuietProfileIfNeeded() 136 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptQuietProfileIfNeeded() 154 mAInfo.packageName, mUserId); in interceptSuspendPackageIfNeed() 159 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptSuspendPackageIfNeed() 163 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, mUserId); in interceptSuspendPackageIfNeed() 171 mResolvedType, mAInfo, mCallingPackage, mUserId); in interceptWorkProfileChallengeIfNeeded() [all …]
|
D | PreBootBroadcaster.java | 52 private final int mUserId; field in PreBootBroadcaster 64 mUserId = userId; in PreBootBroadcaster() 82 if (!mService.isUserRunning(mUserId, 0)) { in sendNext() 83 Slog.i(TAG, "User " + mUserId + " is no longer running; skipping remaining receivers"); in sendNext() 103 Slog.i(TAG, "Pre-boot of " + componentName.toShortString() + " for user " + mUserId); in sendNext() 104 EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName()); in sendNext() 109 Process.SYSTEM_UID, mUserId); in sendNext() 161 notifManager.notifyAsUser(TAG, 0, notif, UserHandle.of(mUserId)); 165 notifManager.cancelAsUser(TAG, 0, UserHandle.of(mUserId));
|
D | UserSwitchingDialog.java | 50 private final int mUserId; field in UserSwitchingDialog 60 mUserId = newUser.id; in UserSwitchingDialog() 115 mService.mUserController.startUserInForeground(mUserId, this); in startUser()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputManager.java | 341 private final int mUserId; field in TvInputManager 867 mUserId = userId; in TvInputManager() 880 session = new Session(token, channel, mService, mUserId, seq, in TvInputManager() 1145 mService.registerCallback(managerCallback, mUserId); in TvInputManager() 1146 List<TvInputInfo> infos = mService.getTvInputList(mUserId); in TvInputManager() 1150 mStateMap.put(inputId, mService.getTvInputState(inputId, mUserId)); in TvInputManager() 1166 return mService.getTvInputList(mUserId); in getTvInputList() 1182 return mService.getTvInputInfo(inputId, mUserId); in getTvInputInfo() 1208 mService.updateTvInputInfo(inputInfo, mUserId); in updateTvInputInfo() 1280 return mService.isParentalControlsEnabled(mUserId); in isParentalControlsEnabled() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrinterDiscoverySession.java | 51 private final int mUserId; field in PrinterDiscoverySession 67 mUserId = userId; in PrinterDiscoverySession() 71 mPrintManager.createPrinterDiscoverySession(mObserver, mUserId); in PrinterDiscoverySession() 85 mPrintManager.startPrinterDiscovery(mObserver, priorityList, mUserId); in startPrinterDiscovery() 100 mPrintManager.stopPrinterDiscovery(mObserver, mUserId); in stopPrinterDiscovery() 113 mPrintManager.startPrinterStateTracking(printerId, mUserId); in startPrinterStateTracking() 125 mPrintManager.stopPrinterStateTracking(printerId, mUserId); in stopPrinterStateTracking() 137 mPrintManager.validatePrinters(printerIds, mUserId); in validatePrinters() 189 mPrintManager.destroyPrinterDiscoverySession(mObserver, mUserId); in destroyNoCheck()
|
D | PrintManager.java | 199 private final int mUserId; field in PrintManager 254 mUserId = userId; in PrintManager() 310 return mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJobInfo() 334 mService.addPrintJobStateChangeListener(wrappedListener, mAppId, mUserId); in addPrintJobStateChangeListener() 365 mService.removePrintJobStateChangeListener(wrappedListener, mUserId); in removePrintJobStateChangeListener() 385 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJob() 411 return mService.getCustomPrinterIcon(printerId, mUserId); in getCustomPrinterIcon() 429 List<PrintJobInfo> printJobInfos = mService.getPrintJobInfos(mAppId, mUserId); in getPrintJobs() 450 mService.cancelPrintJob(printJobId, mAppId, mUserId); in cancelPrintJob() 462 mService.restartPrintJob(printJobId, mAppId, mUserId); in restartPrintJob() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 108 private final int mUserId; field in ShortcutUser 130 mUserId = userId; in ShortcutUser() 134 return mUserId; in getUserId() 159 mService.cleanupBitmapsForPackage(mUserId, packageName); in removePackage() 195 ret = new ShortcutPackage(this, mUserId, packageName); in getPackageShortcuts() 207 ret = new ShortcutLauncher(this, mUserId, packageName, launcherUserId); in getLauncherShortcuts() 266 mKnownLocales = mService.injectGetLocaleTagsForUser(mUserId); in getKnownLocales() 267 mService.scheduleSaveUser(mUserId); in getKnownLocales() 277 final String currentLocales = mService.injectGetLocaleTagsForUser(mUserId); in detectLocaleChange() 283 + " for user " + mUserId); in detectLocaleChange() [all …]
|
D | IntentFilterVerificationState.java | 40 private int mUserId; field in IntentFilterVerificationState 47 mUserId = userId; in IntentFilterVerificationState() 85 return mUserId; in getUserId()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderWatcher.java | 51 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()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintService.java | 73 private final int mUserId; field in RemotePrintService 120 mUserId = userId; in RemotePrintService() 192 Slog.i(LOG_TAG, "[user: " + mUserId + "] onAllPrintJobsHandled()"); in handleOnAllPrintJobsHandled() 219 Slog.i(LOG_TAG, "[user: " + mUserId + "] requestCancelPrintJob()"); in handleRequestCancelPrintJob() 247 Slog.i(LOG_TAG, "[user: " + mUserId + "] onPrintJobQueued()"); in handleOnPrintJobQueued() 274 Slog.i(LOG_TAG, "[user: " + mUserId + "] createPrinterDiscoverySession()"); in handleCreatePrinterDiscoverySession() 307 Slog.i(LOG_TAG, "[user: " + mUserId + "] destroyPrinterDiscoverySession()"); in handleDestroyPrinterDiscoverySession() 344 Slog.i(LOG_TAG, "[user: " + mUserId + "] startPrinterDiscovery()"); in handleStartPrinterDiscovery() 372 Slog.i(LOG_TAG, "[user: " + mUserId + "] stopPrinterDiscovery()"); in handleStopPrinterDiscovery() 403 Slog.i(LOG_TAG, "[user: " + mUserId + "] validatePrinters()"); in handleValidatePrinters() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 72 private int mUserId; field in GestureLauncherService 134 mUserId = ActivityManager.getCurrentUser(); in onBootPhase() 143 false, mSettingObserver, mUserId); in registerContentObservers() local 146 false, mSettingObserver, mUserId); in registerContentObservers() local 151 if (isCameraLaunchSettingEnabled(mContext, mUserId)) { in updateCameraRegistered() 159 boolean enabled = isCameraDoubleTapPowerSettingEnabled(mContext, mUserId); in updateCameraDoubleTapPowerEnabled() 314 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); 325 if (userId == mUserId) {
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 102 final int mUserId; field in AccessibilityManager 222 mUserId = userId; in AccessibilityManager() 321 userId = mUserId; in sendAccessibilityEvent() 358 userId = mUserId; in interrupt() 402 userId = mUserId; in getInstalledAccessibilityServiceList() 444 userId = mUserId; in getEnabledAccessibilityServiceList() 592 userId = mUserId; in addAccessibilityInteractionConnection() 640 final int stateFlags = service.addClient(mClient, mUserId); in tryConnectToServiceLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | UserUtil.java | 35 private final int mUserId; field in UserUtil.RemoveUserDialog 48 mUserId = userId; in RemoveUserDialog() 58 mUserSwitcherController.removeUserId(mUserId); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImpl.java | 63 private int mUserId; field in ZenModeControllerImpl 95 new UserHandle(mUserId)); in isVolumeRestricted() 135 final AlarmManager.AlarmClockInfo info = mAlarmManager.getNextAlarmClock(mUserId); in getNextAlarm() 141 mUserId = userId; in setUserId() 147 mContext.registerReceiverAsUser(mReceiver, new UserHandle(mUserId), filter, null, null); in setUserId() 264 return Secure.getIntForUser(mResolver, Secure.USER_SETUP_COMPLETE, 0, mUserId) != 0; in isUserSetup() 278 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); in register() local
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | ManagedApplicationService.java | 42 private final int mUserId; field in ManagedApplicationService 70 mUserId = userId; in ManagedApplicationService() 115 return mUserId; in getUserId() 254 new UserHandle(mUserId))) { in connect() 264 return Objects.equals(mComponent, component) && mUserId == userId; in matches()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 64 private final int mUserId; field in AutoclickController 72 mUserId = userId; in AutoclickController() 82 mClickDelayObserver = new ClickDelayObserver(mUserId, handler); in onMotionEvent() 175 private final int mUserId; field in AutoclickController.ClickDelayObserver 179 mUserId = userId; in ClickDelayObserver() 208 mUserId); in start() 233 AccessibilityManager.AUTOCLICK_DELAY_DEFAULT, mUserId); in onChange()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteProviderWatcher.java | 52 private final int mUserId; field in TvRemoteProviderWatcher 61 mUserId = UserHandle.myUserId(); in TvRemoteProviderWatcher() 80 new UserHandle(mUserId), filter, null, mHandler); in start() 113 intent, 0, mUserId)) { in scanPackages() 121 mUserId, serviceInfo.applicationInfo.uid); in scanPackages()
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 206 private final int mUserId; field in ContentObserver.NotificationRunnable 211 mUserId = userId; in NotificationRunnable() 216 ContentObserver.this.onChange(mSelfChange, mUri, mUserId); in run()
|
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
D | AppWidget.java | 139 final int mUserId; field in AppWidget.SetBindAppWidgetPermissionCommand 145 mUserId = userId; in SetBindAppWidgetPermissionCommand() 153 appWidgetService.setBindAppWidgetPermission(mPackageName, mUserId, mGranted); in run()
|