/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 28 private int mCurrentUserId; field in class:CurrentUserTracker 35 return mCurrentUserId; 41 int oldUserId = mCurrentUserId; 42 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); 43 if (oldUserId != mCurrentUserId) { 44 onUserSwitched(mCurrentUserId); 50 mCurrentUserId = ActivityManager.getCurrentUser();
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
H A D | KeyguardStateMonitor.java | 47 private int mCurrentUserId; field in class:KeyguardStateMonitor 53 mCurrentUserId = ActivityManager.getCurrentUser(); 84 mCurrentUserId = userId; 88 return mCurrentUserId; 102 pw.println(prefix + "mCurrentUserId=" + mCurrentUserId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerImpl.java | 67 private int mCurrentUserId; field in class:SecurityControllerImpl 112 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; 117 for (int profileId : mUserManager.getProfileIdsWithDisabled(mCurrentUserId)) { 162 UserHandle currentUser = new UserHandle(mCurrentUserId); 163 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() 187 mCurrentUserId = newUserId; 193 mVpnUserId = mCurrentUserId;
|
H A D | NetworkControllerImpl.java | 119 private int mCurrentUserId; field in class:NetworkControllerImpl 363 mCurrentUserId = newUserId; 602 mConnectivityManager.getDefaultNetworkCapabilitiesForUser(mCurrentUserId)) {
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | LocationBlacklist.java | 53 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:LocationBlacklist 121 mCurrentUserId = userId; 130 mCurrentUserId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockscreenWallpaper.java | 57 private int mCurrentUserId; field in class:LockscreenWallpaper 67 mCurrentUserId = ActivityManager.getCurrentUser(); 88 LoaderResult result = loadBitmap(mCurrentUserId, mSelectedUser); 133 if (user != mCurrentUserId) { 135 mCurrentUserId = user; 166 final int currentUser = mCurrentUserId;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ConfigurationMap.java | 31 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:ConfigurationMap 42 mUserManager.getProfiles(mCurrentUserId))) { 95 final List<UserInfo> previousUserProfiles = mUserManager.getProfiles(mCurrentUserId); 96 mCurrentUserId = userId; 97 final List<UserInfo> currentUserProfiles = mUserManager.getProfiles(mCurrentUserId);
|
H A D | WifiConfigManager.java | 282 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:WifiConfigManager 692 mUserManager.getProfiles(mCurrentUserId))) { 764 mUserManager.getProfiles(mCurrentUserId))) { 915 mUserManager.getProfiles(mCurrentUserId))) { 2270 mUserManager.getProfiles(mCurrentUserId))) { 2787 mCurrentUserId = userId; 2803 mConfiguredNetworks.handleUserSwitch(mCurrentUserId); 2817 return mCurrentUserId; 2821 if (userId == mCurrentUserId) { 2825 return parent != null && parent.id == mCurrentUserId; [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ConfigurationMapTest.java | 74 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:ConfigurationMapTest 97 USER_PROFILES.get(mCurrentUserId)) 104 mCurrentUserId = newUserId; 118 USER_PROFILES.get(mCurrentUserId))) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | IntentTile.java | 46 private int mCurrentUserId; field in class:IntentTile 85 mCurrentUserId = newUserId; 114 mContext.sendBroadcastAsUser(intent, new UserHandle(mCurrentUserId));
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ServiceWatcher.java | 74 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:ServiceWatcher 193 mCurrentUserId); 250 final int userId = bestIsMultiuser ? UserHandle.USER_SYSTEM : mCurrentUserId; 393 mCurrentUserId = userId; 400 if (userId == mCurrentUserId) {
|
H A D | TextServicesManagerService.java | 1043 private int mCurrentUserId; field in class:TextServicesManagerService.TextServicesSettings 1070 Slog.d(TAG, "--- Swtich the current user from " + mCurrentUserId + " to " 1073 if (mCurrentUserId != userId || mCopyOnWrite != copyOnWrite) { 1078 mCurrentUserId = userId; 1087 Settings.Secure.putStringForUser(mResolver, key, str, mCurrentUserId); 1097 result = Settings.Secure.getStringForUser(mResolver, key, mCurrentUserId); 1106 Settings.Secure.putIntForUser(mResolver, key, value, mCurrentUserId); 1115 return Settings.Secure.getIntForUser(mResolver, key, defaultValue, mCurrentUserId); 1134 if (userId == mCurrentUserId) return true; 1144 return mCurrentUserId; [all...] |
H A D | LocationManagerService.java | 214 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:LocationManagerService 287 updateUserProfiles(mCurrentUserId); 322 updateUserProfiles(mCurrentUserId); 385 PackageManager.GET_META_DATA, mCurrentUserId); 614 if (mCurrentUserId == userId) { 625 mCurrentUserId = userId; 1025 return Settings.Secure.isLocationProviderEnabledForUser(resolver, provider, mCurrentUserId); 2273 " (current user: " + mCurrentUserId + ", app: " +
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 83 private int mCurrentUserId; field in class:StatusBarManagerService 239 mCurrentUserId = newUserId; 419 disableForUser(what, token, pkg, mCurrentUserId); 439 disable2ForUser(what, token, pkg, mCurrentUserId); 465 final int net1 = gatherDisableActionsLocked(mCurrentUserId, 1); 466 final int net2 = gatherDisableActionsLocked(mCurrentUserId, 2); 613 mCurrentUserId, 687 switches[0] = gatherDisableActionsLocked(mCurrentUserId, 1); 693 switches[6] = gatherDisableActionsLocked(mCurrentUserId, 2); 930 pw.println(" mCurrentUserId [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 100 private int mCurrentUserId = -1; field in class:MediaSessionService 232 if (mCurrentUserId != userId) { 233 final int oldUserId = mCurrentUserId; 234 mCurrentUserId = userId; // do this first 770 UserRecord ur = mUserRecords.get(mCurrentUserId); 775 .getDefaultMediaButtonSession(mCurrentUserId, useNotPlayingSessions); 795 .getDefaultVolumeSession(mCurrentUserId); 953 UserRecord user = mUserRecords.get(mCurrentUserId); 975 new UserHandle(mCurrentUserId));
|
H A D | MediaRouterService.java | 90 private int mCurrentUserId = -1; field in class:MediaRouterService 272 pw.println(" mCurrentUserId=" + mCurrentUserId); 287 if (mCurrentUserId != userId) { 288 final int oldUserId = mCurrentUserId; 289 mCurrentUserId = userId; // do this first 436 if (userRecord.mUserId == mCurrentUserId) { 446 if (userRecord.mUserId != mCurrentUserId
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 898 private int mCurrentUserId; field in class:InputMethodUtils.InputMethodSettings 971 Slog.d(TAG, "--- Switch the current user from " + mCurrentUserId + " to " + userId); 973 if (mCurrentUserId != userId || mCopyOnWrite != copyOnWrite) { 978 mCurrentUserId = userId; 987 Settings.Secure.putStringForUser(mResolver, key, str, mCurrentUserId); 997 result = Settings.Secure.getStringForUser(mResolver, key, mCurrentUserId); 1006 Settings.Secure.putIntForUser(mResolver, key, value, mCurrentUserId); 1015 return Settings.Secure.getIntForUser(mResolver, key, defaultValue, mCurrentUserId); 1034 if (userId == mCurrentUserId) return true; 1181 + ", " + mCurrentUserId); [all...] |
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 491 int mCurrentUserId; field in class:WallpaperManagerService 622 && mWallpaper.userId == mCurrentUserId) { 699 if (mCurrentUserId != getChangingUserId()) { 702 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); 722 if (mCurrentUserId != getChangingUserId()) { 725 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); 739 if (mCurrentUserId != getChangingUserId()) { 742 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); 756 if (mCurrentUserId != getChangingUserId()) { 759 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 218 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:AccessibilityManagerService 226 return getUserStateLocked(mCurrentUserId); 263 if (getChangingUserId() != mCurrentUserId) { 286 if (userId != mCurrentUserId) { 323 if (userId != mCurrentUserId) { 420 + " and userId:" + mCurrentUserId); 422 return (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0; 436 if (resolvedUserId != mCurrentUserId) { 523 if (resolvedUserId != mCurrentUserId) { 571 + " with windowId: " + windowId + " and userId:" + mCurrentUserId [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 118 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:UserController 203 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId) { 666 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId 688 mCurrentUserId, false /* enabledOnly */); 692 && user.id != mCurrentUserId && !user.isQuietModeEnabled()) { 764 final int oldUserId = mCurrentUserId; 805 mCurrentUserId = userId; 807 mTargetUserId = UserHandle.USER_NULL; // reset, mCurrentUserId has caught up 814 final Integer currentUserIdInt = mCurrentUserId; 1171 // Note that we may be accessing mCurrentUserId outsid [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | ImmersiveModeConfirmation.java | 73 private int mCurrentUserId; field in class:ImmersiveModeConfirmation 95 mCurrentUserId = currentUserId; 96 if (DEBUG) Slog.d(TAG, String.format("loadSetting() mCurrentUserId=%d", mCurrentUserId));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 180 protected int mCurrentUserId = 0; field in class:BaseStatusBar 341 mContext, pendingIntent.getIntent(), mCurrentUserId); 500 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 502 if (true) Log.v(TAG, "userId " + mCurrentUserId + " is in the house"); 506 userSwitched(mCurrentUserId); 515 mCurrentUserId).getList(); 675 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) { 791 mCurrentUserId = ActivityManager.getCurrentUser(); 792 setHeadsUpUser(mCurrentUserId); 878 final int thisUserId = mCurrentUserId; [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 122 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in class:TvInputManagerService 138 getOrCreateUserStateLocked(mCurrentUserId); 153 buildTvInputListLocked(mCurrentUserId, null); 154 buildTvContentRatingSystemListLocked(mCurrentUserId); 164 if (mCurrentUserId != userHandle) { 167 buildTvInputListLocked(mCurrentUserId, null); 168 buildTvContentRatingSystemListLocked(mCurrentUserId); 176 if (mCurrentUserId == getChangingUserId()) { 177 buildTvInputListLocked(mCurrentUserId, packages); 178 buildTvContentRatingSystemListLocked(mCurrentUserId); [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintService.java | 101 private int mCurrentUserId = UserHandle.USER_CURRENT; field in class:FingerprintService 953 if (userId != mCurrentUserId) { 970 mCurrentUserId = userId;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 224 private int mCurrentUserId = 0; field in class:AppTransition 457 com.android.internal.R.styleable.WindowAnimation, mCurrentUserId); 472 com.android.internal.R.styleable.WindowAnimation, mCurrentUserId); 1911 mCurrentUserId = newUserId;
|