/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserTracker.java | 28 private int mCurrentUserId; field in CurrentUserTracker 35 return mCurrentUserId; in getCurrentUserId() 41 int oldUserId = mCurrentUserId; in onReceive() 42 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive() 43 if (oldUserId != mCurrentUserId) { in onReceive() 44 onUserSwitched(mCurrentUserId); in onReceive() 50 mCurrentUserId = ActivityManager.getCurrentUser(); in startTracking()
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardStateMonitor.java | 47 private int mCurrentUserId; field in KeyguardStateMonitor 53 mCurrentUserId = ActivityManager.getCurrentUser(); in KeyguardStateMonitor() 84 mCurrentUserId = userId; in setCurrentUser() 88 return mCurrentUserId; in getCurrentUser() 102 pw.println(prefix + "mCurrentUserId=" + mCurrentUserId); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 67 private int mCurrentUserId; field in SecurityControllerImpl 112 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner() 117 for (int profileId : mUserManager.getProfileIdsWithDisabled(mCurrentUserId)) { in getProfileOwnerName() 162 UserHandle currentUser = new UserHandle(mCurrentUserId); in isVpnRestricted() 163 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted() 187 mCurrentUserId = newUserId; in onUserSwitched() 193 mVpnUserId = mCurrentUserId; in onUserSwitched()
|
D | NetworkControllerImpl.java | 119 private int mCurrentUserId; field in NetworkControllerImpl 363 mCurrentUserId = newUserId; in onUserSwitched() 602 mConnectivityManager.getDefaultNetworkCapabilitiesForUser(mCurrentUserId)) { in updateConnectivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 57 private int mCurrentUserId; field in LockscreenWallpaper 67 mCurrentUserId = ActivityManager.getCurrentUser(); in LockscreenWallpaper() 88 LoaderResult result = loadBitmap(mCurrentUserId, mSelectedUser); in getBitmap() 133 if (user != mCurrentUserId) { in setCurrentUser() 135 mCurrentUserId = user; in setCurrentUser() 166 final int currentUser = mCurrentUserId; in run()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConfigurationMap.java | 31 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in ConfigurationMap 42 mUserManager.getProfiles(mCurrentUserId))) { in put() 95 final List<UserInfo> previousUserProfiles = mUserManager.getProfiles(mCurrentUserId); in handleUserSwitch() 96 mCurrentUserId = userId; in handleUserSwitch() 97 final List<UserInfo> currentUserProfiles = mUserManager.getProfiles(mCurrentUserId); in handleUserSwitch()
|
D | WifiConfigManager.java | 282 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in WifiConfigManager 692 mUserManager.getProfiles(mCurrentUserId))) { in selectNetwork() 764 mUserManager.getProfiles(mCurrentUserId))) { in saveNetwork() 915 mUserManager.getProfiles(mCurrentUserId))) { in addOrUpdateNetwork() 2270 mUserManager.getProfiles(mCurrentUserId))) { in linkConfiguration() 2787 mCurrentUserId = userId; 2803 mConfiguredNetworks.handleUserSwitch(mCurrentUserId); 2817 return mCurrentUserId; 2821 if (userId == mCurrentUserId) { 2825 return parent != null && parent.id == mCurrentUserId;
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationBlacklist.java | 53 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in LocationBlacklist 121 mCurrentUserId = userId; in switchUser() 130 mCurrentUserId); in getStringArrayLocked()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 83 private int mCurrentUserId; field in StatusBarManagerService 239 mCurrentUserId = newUserId; 419 disableForUser(what, token, pkg, mCurrentUserId); in disable() 439 disable2ForUser(what, token, pkg, mCurrentUserId); in disable2() 465 final int net1 = gatherDisableActionsLocked(mCurrentUserId, 1); in disableLocked() 466 final int net2 = gatherDisableActionsLocked(mCurrentUserId, 2); in disableLocked() 613 mCurrentUserId, in setSystemUiVisibility() 687 switches[0] = gatherDisableActionsLocked(mCurrentUserId, 1); in registerStatusBar() 693 switches[6] = gatherDisableActionsLocked(mCurrentUserId, 2); in registerStatusBar() 930 pw.println(" mCurrentUserId=" + mCurrentUserId); in dump()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 74 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in ConfigurationMapTest 97 USER_PROFILES.get(mCurrentUserId)) in switchUser() 104 mCurrentUserId = newUserId; in switchUser() 118 USER_PROFILES.get(mCurrentUserId))) { in verifyGetters()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 74 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in ServiceWatcher 193 mCurrentUserId); in bindBestPackageLocked() 250 final int userId = bestIsMultiuser ? UserHandle.USER_SYSTEM : mCurrentUserId; in bindBestPackageLocked() 393 mCurrentUserId = userId; in switchUser() 400 if (userId == mCurrentUserId) { in unlockUser()
|
D | TextServicesManagerService.java | 1043 private int mCurrentUserId; field in TextServicesManagerService.TextServicesSettings 1070 Slog.d(TAG, "--- Swtich the current user from " + mCurrentUserId + " to " in switchCurrentUser() 1073 if (mCurrentUserId != userId || mCopyOnWrite != copyOnWrite) { in switchCurrentUser() 1078 mCurrentUserId = userId; in switchCurrentUser() 1087 Settings.Secure.putStringForUser(mResolver, key, str, mCurrentUserId); in putString() 1097 result = Settings.Secure.getStringForUser(mResolver, key, mCurrentUserId); in getString() 1106 Settings.Secure.putIntForUser(mResolver, key, value, mCurrentUserId); in putInt() 1115 return Settings.Secure.getIntForUser(mResolver, key, defaultValue, mCurrentUserId); in getInt() 1134 if (userId == mCurrentUserId) return true; in isCurrentProfile() 1144 return mCurrentUserId; in getCurrentUserId() [all …]
|
D | LocationManagerService.java | 214 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in LocationManagerService 287 updateUserProfiles(mCurrentUserId); in systemRunning() 322 updateUserProfiles(mCurrentUserId); in systemRunning() 385 PackageManager.GET_META_DATA, mCurrentUserId); in ensureFallbackFusedProviderPresentLocked() 614 if (mCurrentUserId == userId) { in switchUser() 625 mCurrentUserId = userId; in switchUser() 1025 return Settings.Secure.isLocationProviderEnabledForUser(resolver, provider, mCurrentUserId); in isAllowedByCurrentUserSettingsLocked() 2273 " (current user: " + mCurrentUserId + ", app: " + in handleLocationChangedLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | IntentTile.java | 46 private int mCurrentUserId; field in IntentTile 85 mCurrentUserId = newUserId; in handleUserSwitch() 114 mContext.sendBroadcastAsUser(intent, new UserHandle(mCurrentUserId)); in sendIntent()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodUtils.java | 898 private int mCurrentUserId; field in InputMethodUtils.InputMethodSettings 971 Slog.d(TAG, "--- Switch the current user from " + mCurrentUserId + " to " + userId); in switchCurrentUser() 973 if (mCurrentUserId != userId || mCopyOnWrite != copyOnWrite) { in switchCurrentUser() 978 mCurrentUserId = userId; in switchCurrentUser() 987 Settings.Secure.putStringForUser(mResolver, key, str, mCurrentUserId); in putString() 997 result = Settings.Secure.getStringForUser(mResolver, key, mCurrentUserId); in getString() 1006 Settings.Secure.putIntForUser(mResolver, key, value, mCurrentUserId); in putInt() 1015 return Settings.Secure.getIntForUser(mResolver, key, defaultValue, mCurrentUserId); in getInt() 1034 if (userId == mCurrentUserId) return true; in isCurrentProfile() 1181 + ", " + mCurrentUserId); in getEnabledInputMethodsStr() [all …]
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 491 int mCurrentUserId; field in WallpaperManagerService 622 && mWallpaper.userId == mCurrentUserId) { in onServiceDisconnected() 699 if (mCurrentUserId != getChangingUserId()) { in onPackageUpdateFinished() 702 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageUpdateFinished() 722 if (mCurrentUserId != getChangingUserId()) { in onPackageModified() 725 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageModified() 739 if (mCurrentUserId != getChangingUserId()) { in onPackageUpdateStarted() 742 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageUpdateStarted() 756 if (mCurrentUserId != getChangingUserId()) { in onHandleForceStop() 759 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onHandleForceStop() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 218 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in AccessibilityManagerService 226 return getUserStateLocked(mCurrentUserId); in getCurrentUserStateLocked() 263 if (getChangingUserId() != mCurrentUserId) { in registerBroadcastReceivers() 286 if (userId != mCurrentUserId) { in registerBroadcastReceivers() 323 if (userId != mCurrentUserId) { in registerBroadcastReceivers() 420 + " and userId:" + mCurrentUserId); in addClient() 422 return (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0; in addClient() 436 if (resolvedUserId != mCurrentUserId) { in sendAccessibilityEvent() 523 if (resolvedUserId != mCurrentUserId) { in interrupt() 571 + " with windowId: " + windowId + " and userId:" + mCurrentUserId in addAccessibilityInteractionConnection() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 100 private int mCurrentUserId = -1; field in MediaSessionService 232 if (mCurrentUserId != userId) { in updateUser() 233 final int oldUserId = mCurrentUserId; in updateUser() 234 mCurrentUserId = userId; // do this first in updateUser() 770 UserRecord ur = mUserRecords.get(mCurrentUserId); in dispatchMediaKeyEvent() 775 .getDefaultMediaButtonSession(mCurrentUserId, useNotPlayingSessions); in dispatchMediaKeyEvent() 795 .getDefaultVolumeSession(mCurrentUserId); in dispatchAdjustVolume() 953 UserRecord user = mUserRecords.get(mCurrentUserId); in dispatchMediaKeyEventLocked() 975 new UserHandle(mCurrentUserId)); in dispatchMediaKeyEventLocked()
|
D | MediaRouterService.java | 90 private int mCurrentUserId = -1; field in MediaRouterService 272 pw.println(" mCurrentUserId=" + mCurrentUserId); in dump() 287 if (mCurrentUserId != userId) { in switchUser() 288 final int oldUserId = mCurrentUserId; in switchUser() 289 mCurrentUserId = userId; // do this first in switchUser() 436 if (userRecord.mUserId == mCurrentUserId) { in initializeUserLocked() 446 if (userRecord.mUserId != mCurrentUserId in disposeUserIfNeededLocked()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 122 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in TvInputManagerService 138 getOrCreateUserStateLocked(mCurrentUserId); in TvInputManagerService() 153 buildTvInputListLocked(mCurrentUserId, null); in onBootPhase() 154 buildTvContentRatingSystemListLocked(mCurrentUserId); in onBootPhase() 164 if (mCurrentUserId != userHandle) { in onUnlockUser() 167 buildTvInputListLocked(mCurrentUserId, null); in onUnlockUser() 168 buildTvContentRatingSystemListLocked(mCurrentUserId); in onUnlockUser() 176 if (mCurrentUserId == getChangingUserId()) { in registerBroadcastReceivers() 177 buildTvInputListLocked(mCurrentUserId, packages); in registerBroadcastReceivers() 178 buildTvContentRatingSystemListLocked(mCurrentUserId); in registerBroadcastReceivers() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 118 private int mCurrentUserId = UserHandle.USER_SYSTEM; field in UserController 203 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId) { in stopRunningUsersLocked() 666 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId in stopGuestOrEphemeralUserIfBackground() 688 mCurrentUserId, false /* enabledOnly */); in startProfilesLocked() 692 && user.id != mCurrentUserId && !user.isQuietModeEnabled()) { in startProfilesLocked() 764 final int oldUserId = mCurrentUserId; in startUser() 805 mCurrentUserId = userId; in startUser() 814 final Integer currentUserIdInt = mCurrentUserId; in startUser() 1314 final List<UserInfo> profiles = getUserManager().getProfiles(mCurrentUserId, in updateCurrentProfileIdsLocked() 1404 int userId = mTargetUserId != UserHandle.USER_NULL ? mTargetUserId : mCurrentUserId; in getCurrentUserLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BaseStatusBar.java | 180 protected int mCurrentUserId = 0; field in 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)) { in updateCurrentProfilesCache() 791 mCurrentUserId = ActivityManager.getCurrentUser(); in start() 792 setHeadsUpUser(mCurrentUserId); in start() 878 final int thisUserId = mCurrentUserId; in isNotificationForCurrentProfiles() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ImmersiveModeConfirmation.java | 73 private int mCurrentUserId; field in ImmersiveModeConfirmation 95 mCurrentUserId = currentUserId; in loadSetting() 96 if (DEBUG) Slog.d(TAG, String.format("loadSetting() mCurrentUserId=%d", mCurrentUserId)); in loadSetting()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 101 private int mCurrentUserId = UserHandle.USER_CURRENT; field in FingerprintService 953 if (userId != mCurrentUserId) { in updateActiveGroup() 970 mCurrentUserId = userId; in updateActiveGroup()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 224 private int mCurrentUserId = 0; field in AppTransition 457 com.android.internal.R.styleable.WindowAnimation, mCurrentUserId); in getCachedAnimations() 472 com.android.internal.R.styleable.WindowAnimation, mCurrentUserId); in getCachedAnimations() 1911 mCurrentUserId = newUserId; in setCurrentUser()
|