Home
last modified time | relevance | path

Searched refs:mCurrentUserId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java28 private int mCurrentUserId; field in CurrentUserTracker
33 mCurrentUserId = ActivityManager.getCurrentUser(); in CurrentUserTracker()
38 return mCurrentUserId; in getCurrentUserId()
44 int oldUserId = mCurrentUserId; in onReceive()
45 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive()
46 if (oldUserId != mCurrentUserId) { in onReceive()
47 onUserSwitched(mCurrentUserId); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCurrentUserTracker.java27 private int mCurrentUserId; field in CurrentUserTracker
32 mCurrentUserId = ActivityManager.getCurrentUser(); in CurrentUserTracker()
36 return mCurrentUserId; in getCurrentUserId()
42 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java456 private int mCurrentUserId; field in InputMethodUtils.InputMethodSettings
483 Slog.d(TAG, "--- Swtich the current user from " + mCurrentUserId + " to " + userId); in setCurrentUserId()
486 mCurrentUserId = userId; in setCurrentUserId()
649 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId); in putEnabledInputMethodsStr()
658 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, mCurrentUserId); in getEnabledInputMethodsStr()
661 + ", " + mCurrentUserId); in getEnabledInputMethodsStr()
717 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, str, mCurrentUserId); in putSubtypeHistoryStr()
837 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, mCurrentUserId)); in getSubtypeHistoryStr()
840 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, mCurrentUserId); in getSubtypeHistoryStr()
846 + mCurrentUserId); in putSelectedInputMethod()
[all …]
/frameworks/base/services/java/com/android/server/location/
DLocationBlacklist.java53 private int mCurrentUserId = UserHandle.USER_OWNER; field in LocationBlacklist
121 mCurrentUserId = userId; in switchUser()
130 mCurrentUserId); in getStringArrayLocked()
/frameworks/base/services/java/com/android/server/
DWallpaperManagerService.java165 int mCurrentUserId; field in WallpaperManagerService
253 && mWallpaper.userId == mCurrentUserId) { in onServiceDisconnected()
298 if (mCurrentUserId != getChangingUserId()) { in onPackageUpdateFinished()
301 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageUpdateFinished()
321 if (mCurrentUserId != getChangingUserId()) { in onPackageModified()
324 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageModified()
338 if (mCurrentUserId != getChangingUserId()) { in onPackageUpdateStarted()
341 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onPackageUpdateStarted()
355 if (mCurrentUserId != getChangingUserId()) { in onHandleForceStop()
358 WallpaperData wallpaper = mWallpaperMap.get(mCurrentUserId); in onHandleForceStop()
[all …]
DTextServicesManagerService.java915 private int mCurrentUserId; field in TextServicesManagerService.TextServicesSettings
918 mCurrentUserId = userId; in TextServicesSettings()
923 Slog.d(TAG, "--- Swtich the current user from " + mCurrentUserId + " to " in setCurrentUserId()
927 mCurrentUserId = userId; in setCurrentUserId()
931 return mCurrentUserId; in getCurrentUserId()
936 Settings.Secure.SELECTED_SPELL_CHECKER, sciId, mCurrentUserId); in putSelectedSpellChecker()
942 mCurrentUserId); in putSelectedSpellCheckerSubtype()
947 Settings.Secure.SPELL_CHECKER_ENABLED, enabled ? 1 : 0, mCurrentUserId); in setSpellCheckerEnabled()
952 Settings.Secure.SELECTED_SPELL_CHECKER, mCurrentUserId); in getSelectedSpellChecker()
957 Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE, mCurrentUserId); in getSelectedSpellCheckerSubtype()
[all …]
DStatusBarManagerService.java78 int mCurrentUserId; field in StatusBarManagerService
156 disableInternal(mCurrentUserId, what, token, pkg); in disable()
175 final int net = gatherDisableActionsLocked(mCurrentUserId); in disableLocked()
324 mCurrentUserId, in setSystemUiVisibility()
399 mCurrentUserId = newUserId; in setCurrentUser()
437 switches[0] = gatherDisableActionsLocked(mCurrentUserId); in registerStatusBar()
DLocationManagerService.java191 private int mCurrentUserId = UserHandle.USER_OWNER; field in LocationManagerService
274 PackageManager.GET_META_DATA, mCurrentUserId); in ensureFallbackFusedProviderPresentLocked()
443 updateProviderListenersLocked(p.getName(), false, mCurrentUserId); in switchUser() local
445 mCurrentUserId = userId; in switchUser()
735 return Settings.Secure.isLocationProviderEnabledForUser(resolver, provider, mCurrentUserId); in isAllowedByCurrentUserSettingsLocked()
748 if (UserHandle.getUserId(uid) != mCurrentUserId && !isUidALocationProvider(uid)) { in isAllowedByUserSettingsLocked()
1021 updateProviderListenersLocked(name, false, mCurrentUserId); in updateProvidersLocked()
1024 updateProviderListenersLocked(name, true, mCurrentUserId); in updateProvidersLocked()
1086 if (UserHandle.getUserId(record.mReceiver.mUid) == mCurrentUserId) { in applyRequirementsLocked()
1107 if (UserHandle.getUserId(record.mReceiver.mUid) == mCurrentUserId) { in applyRequirementsLocked()
[all …]
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java196 private int mCurrentUserId = UserHandle.USER_OWNER; field in AccessibilityManagerService
202 return getUserStateLocked(mCurrentUserId); in getCurrentUserStateLocked()
239 if (getChangingUserId() != mCurrentUserId) { in registerBroadcastReceivers()
261 if (userId != mCurrentUserId) { in registerBroadcastReceivers()
296 if (userId != mCurrentUserId) { in registerBroadcastReceivers()
376 + " and userId:" + mCurrentUserId); in addClient()
378 return (resolvedUserId == mCurrentUserId) ? userState.getClientState() : 0; in addClient()
388 if (resolvedUserId != mCurrentUserId) { in sendAccessibilityEvent()
465 if (resolvedUserId != mCurrentUserId) { in interrupt()
509 + " with windowId: " + windowId + " and userId:" + mCurrentUserId); in addAccessibilityInteractionConnection()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java126 protected int mCurrentUserId = 0; field in BaseStatusBar
272 mCurrentUserId = ActivityManager.getCurrentUser(); in start()
281 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); in start()
282 if (true) Slog.v(TAG, "userId " + mCurrentUserId + " is in the house"); in start()
283 userSwitched(mCurrentUserId); in start()
295 final int thisUserId = mCurrentUserId; in notificationIsForCurrentUser()
/frameworks/base/services/java/com/android/server/wm/
DWindowState.java1037 Slog.w(TAG, "current user violation " + mService.mCurrentUserId + " trying to display "
1173 && UserHandle.getUserId(win.mOwnerUid) != mService.mCurrentUserId;
DWindowStateAnimator.java1376 Slog.w(TAG, "current user violation " + mService.mCurrentUserId + " trying to display " in performShowLocked()
DWindowManagerService.java305 int mCurrentUserId; field in WindowManagerService
4983 mCurrentUserId = newUserId; in setCurrentUser()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java873 private int mCurrentUserId = 0; field in ActivityManagerService
967 >= Process.FIRST_APPLICATION_UID && proc.userId != mCurrentUserId
8189 intent.putExtra(Intent.EXTRA_USER_HANDLE, mCurrentUserId); in systemReady()
8192 false, false, MY_PID, Process.SYSTEM_UID, mCurrentUserId); in systemReady()
8195 intent.putExtra(Intent.EXTRA_USER_HANDLE, mCurrentUserId); in systemReady()
8210 sendUserSwitchBroadcastsLocked(-1, mCurrentUserId); in systemReady()
8408 if (app.userId == mCurrentUserId) { in startAppProblemLocked()
11308 userId = mCurrentUserId; in handleIncomingUser()
14480 final int oldUserId = mCurrentUserId; in switchUser()
14504 mCurrentUserId = userId; in switchUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java289 mCurrentUserId);
2360 mCurrentUserId); in resetUserSetupObserver() local