Searched refs:userId (Results 276 - 300 of 392) sorted by relevance

<<111213141516

/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java165 int userId; // user for which this task was created field in class:TaskRecord
278 userId = UserHandle.getUserId(info.applicationInfo.uid);
279 mLastThumbnailFile = new File(TaskPersister.getUserImagesDir(userId), mFilename);
299 userId = UserHandle.getUserId(info.applicationInfo.uid);
300 mLastThumbnailFile = new File(TaskPersister.getUserImagesDir(userId), mFilename);
357 userId = _userId;
457 userId = UserHandle.getUserId(info.applicationInfo.uid);
459 USER_SETUP_COMPLETE, 0, userId) != 0;
993 String[] packages = mService.mLockTaskPackages.get(userId);
1157 out.attribute(null, ATTR_USERID, String.valueOf(userId));
[all...]
H A DActivityStack.java740 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
753 if (task.userId != userId) {
759 if (r == null || r.finishing || r.userId != userId ||
834 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
839 !mStackSupervisor.isCurrentProfileLocked(task.userId);
847 if (!r.finishing && r.userId == userId) {
867 final void switchUserLocked(int userId) { argument
4791 finishDisabledPackageActivitiesLocked(String packageName, Set<String> filterByClasses, boolean doit, boolean evenPersistent, int userId) argument
[all...]
H A DActivityRecord.java115 final int userId; // Which user is this running for? field in class:ActivityRecord
243 pw.print(" userId="); pw.println(userId);
609 userId = UserHandle.getUserId(aInfo.applicationInfo.uid);
702 realTheme, com.android.internal.R.styleable.Window, userId);
932 intent, getUriPermissionsLocked(), userId);
1171 userId, System.identityHashCode(this), shortComponentName,
1205 userId, System.identityHashCode(this), shortComponentName,
1367 final File iconFile = new File(TaskPersister.getUserImagesDir(userId), iconFilename);
1406 out.attribute(null, ATTR_USERID, String.valueOf(userId));
[all...]
H A DServiceRecord.java75 final int userId; // user that this service is running as field in class:ServiceRecord
329 userId = UserHandle.getUserId(appInfo.uid);
479 appInfo.packageName, 0, new UserHandle(userId));
528 outId, userId);
559 localForegroundId, userId);
575 final int localUserId = userId;
608 .append(" u").append(userId)
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerService.java417 final int userId = UserHandle.getUserId(pkgUid);
419 final int state = pm.getApplicationEnabledSetting(pkgName, userId);
424 + " in user " + userId);
447 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
449 Slog.d(TAG, "Removing jobs for user: " + userId);
451 cancelJobsForUser(userId);
516 public int scheduleAsPackage(JobInfo job, int uId, String packageName, int userId, argument
518 JobStatus jobStatus = JobStatus.createFromJobInfo(job, uId, packageName, userId, tag);
1238 final int userId = job.getUserId();
1239 final boolean userStarted = ArrayUtils.contains(mStartedUsers, userId);
1568 scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) argument
1673 executeRunCommand(String pkgName, int userId, int jobId, boolean force) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java261 int userId) {
266 userId);
275 result.addAll(queryPackageForServices(component.getPackageName(), userId));
277 result.addAll(queryPackageForServices(packages[i], userId));
260 loadComponentNamesFromSetting(String settingName, int userId) argument
H A DEventConditionProvider.java238 final int userId = EventInfo.resolveUserId(event.userId);
239 final CalendarTracker tracker = mTrackers.get(userId);
241 Slog.w(TAG, "No calendar tracker found for user " + userId);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java107 final int userId; field in class:PackageInstallerSession
222 Context context, PackageManagerService pm, Looper looper, int sessionId, int userId,
231 this.userId = userId;
519 statusReceiver, sessionId, mIsInstallerDeviceOwner, userId);
633 user = new UserHandle(userId);
733 final PackageInfo pkg = mPm.getPackageInfo(params.appPackageName, flags, userId);
760 final ApplicationInfo app = mPm.getApplicationInfo(mPackageName, 0, userId);
1153 pw.printPair("userId", userId);
221 PackageInstallerSession(PackageInstallerService.InternalCallback callback, Context context, PackageManagerService pm, Looper looper, int sessionId, int userId, String installerPackageName, int installerUid, SessionParams params, long createdMillis, File stageDir, String stageCid, boolean prepared, boolean sealed) argument
[all...]
H A DPackageManagerServiceUtils.java54 private static ArraySet<String> getPackageNamesForIntent(Intent intent, int userId) { argument
57 ris = AppGlobals.getPackageManager().queryIntentReceivers(intent, null, 0, userId)
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DVpnTest.java246 public MockVpn(@UserIdInt int userId) { argument
247 super(Looper.myLooper(), mContext, mNetService, userId);
304 final int userId = (int) invocation.getArguments()[1];
305 return UserHandle.getUid(userId, packages.get(appName));
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java1063 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { argument
1066 return mService.isAdminActive(admin, userId);
1078 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { argument
1081 return mService.isRemovingAdmin(admin, userId);
1104 public List<ComponentName> getActiveAdminsAsUser(int userId) { argument
1107 return mService.getActiveAdmins(userId);
1129 public boolean packageHasActiveAdmins(String packageName, int userId) { argument
1132 return mService.packageHasActiveAdmins(packageName, userId);
2014 * @param userHandle the userId of the profile to check the password for.
3517 public boolean setDeviceOwner(ComponentName who, int userId) { argument
3543 setDeviceOwner(ComponentName who, String ownerName, int userId) argument
4023 getProfileOwnerAsUser(final int userId) argument
4059 getProfileOwnerNameAsUser(int userId) argument
4669 getPermittedAccessibilityServices(int userId) argument
5200 getAccountTypesWithManagementDisabledAsUser(int userId) argument
6199 setOrganizationColorForUser(@olorInt int color, @UserIdInt int userId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java1336 public AlarmManager.AlarmClockInfo getNextAlarmClock(int userId) {
1337 userId = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
1338 Binder.getCallingUid(), userId, false /* allowAll */, false /* requireFull */,
1341 return getNextAlarmClockImpl(userId);
1708 AlarmManager.AlarmClockInfo getNextAlarmClockImpl(int userId) { argument
1710 return mNextAlarmClockForUser.get(userId);
1734 final int userId = UserHandle.getUserId(a.uid);
1738 formatNextAlarm(getContext(), a.alarmClock, userId) +
1739 " for user " + userId);
1743 if (nextForUser.get(userId)
1771 updateNextAlarmInfoForUserLocked(int userId, AlarmManager.AlarmClockInfo alarmClock) argument
1829 formatNextAlarm(final Context context, AlarmManager.AlarmClockInfo info, int userId) argument
[all...]
H A DInputMethodManagerService.java491 public void registerContentObserverLocked(@UserIdInt int userId) { argument
492 if (mRegistered && mUserId == userId) {
500 if (mUserId != userId) {
502 mUserId = userId;
505 Settings.Secure.DEFAULT_INPUT_METHOD), false, this, userId);
507 Settings.Secure.ENABLED_INPUT_METHODS), false, this, userId);
509 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE), false, this, userId);
511 Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD), false, this, userId);
513 Settings.Secure.ACCESSIBILITY_SOFT_KEYBOARD_MODE), false, this, userId);
623 final int userId
825 onUnlockUser(@serIdInt int userId) argument
841 onSwitchUser(@serIdInt int userId) argument
1986 notifyInputMethodSubtypeChanged(final int userId, @Nullable final InputMethodInfo inputMethodInfo, @Nullable final InputMethodSubtype subtype) argument
3679 InputMethodFileManager(HashMap<String, InputMethodInfo> methodMap, int userId) argument
[all...]
H A DDeviceIdleController.java1193 int userId, String reason) throws RemoteException {
1194 addPowerSaveTempWhitelistAppChecked(packageName, duration, userId, reason);
1198 int userId, String reason) throws RemoteException {
1200 addPowerSaveTempWhitelistAppChecked(packageName, duration, userId, reason);
1205 int userId, String reason) throws RemoteException {
1207 addPowerSaveTempWhitelistAppChecked(packageName, duration, userId, reason);
1571 int userId, String reason) throws RemoteException {
1576 userId = ActivityManagerNative.getDefault().handleIncomingUser(
1579 userId,
1586 packageName, duration, userId, tru
1192 addPowerSaveTempWhitelistApp(String packageName, long duration, int userId, String reason) argument
1197 addPowerSaveTempWhitelistAppForMms(String packageName, int userId, String reason) argument
1204 addPowerSaveTempWhitelistAppForSms(String packageName, int userId, String reason) argument
1570 addPowerSaveTempWhitelistAppChecked(String packageName, long duration, int userId, String reason) argument
1596 addPowerSaveTempWhitelistAppInternal(int callingUid, String packageName, long duration, int userId, boolean sync, String reason) argument
2505 int userId = UserHandle.USER_SYSTEM; field in class:DeviceIdleController.Shell
[all...]
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java251 boolean ordered, boolean sticky, IBinder token, int userId, int flags) {
259 mSendingUser = userId;
250 PendingResult(int resultCode, String resultData, Bundle resultExtras, int type, boolean ordered, boolean sticky, IBinder token, int userId, int flags) argument
/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java65 PrinterDiscoverySession(IPrintManager printManager, Context context, int userId) { argument
67 mUserId = userId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java136 private boolean isUserLocationRestricted(int userId) { argument
139 UserHandle.of(userId));
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderWatcher.java59 Callback callback, Handler handler, int userId) {
63 mUserId = userId;
58 RemoteDisplayProviderWatcher(Context context, Callback callback, Handler handler, int userId) argument
/frameworks/base/services/core/java/com/android/server/tv/
H A DPersistentDataStore.java86 public PersistentDataStore(Context context, int userId) { argument
88 File userDir = Environment.getUserSystemDirectory(userId);
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DITelecomService.aidl100 PhoneAccountHandle getSimCallManagerForUser(int userId);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DConfigurationMap.java87 * @param userId the id of the new foreground user
90 public List<WifiConfiguration> handleUserSwitch(int userId) { argument
96 mCurrentUserId = userId;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DConfigurationMapTest.java86 public List<UserInfo> answer(int userId) {
87 return USER_PROFILES.get(userId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java467 final int userId = pendingIntent.getCreatorUserHandle().getIdentifier();
468 if (mUserManager.getUserInfo(userId).isManagedProfile()
469 && mKeyguardManager.isDeviceLocked(userId)) {
470 onLockedWorkRemoteInput(userId, row, view);
502 if (true) Log.v(TAG, "userId " + mCurrentUserId + " is in the house");
520 UserInfo user = mUserManager.getUserInfo(recentTask.get(0).userId);
899 protected boolean isCurrentProfile(int userId) { argument
901 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null;
980 final int userId
1535 onLockedWorkRemoteInput(int userId, ExpandableNotificationRow row, View clicked) argument
2043 startWorkChallengeIfNecessary(int userId, IntentSender intendSender, String notificationKey) argument
2586 getPackageManagerForUser(Context context, int userId) argument
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java533 final int userId = mUserId;
539 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, scale, userId);
632 * @param userId the currently active user ID
634 public void setUserId(int userId) { argument
635 if (mUserId != userId) {
636 mUserId = userId;
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java522 final int userId = UserHandle.getUserId(uid);
527 } else if (!forAllUsers && asUsers.get(userId) == null
530 List<BatterySipper> list = mUserSippers.get(userId);
533 mUserSippers.put(userId, list);
667 final int userId = mUserSippers.keyAt(i);
669 bs.userId = userId;

Completed in 3590 milliseconds

<<111213141516