Home
last modified time | relevance | path

Searched refs:mCurrentUser (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java70 private int mCurrentUser; field in TunerServiceImpl
78 mCurrentUser = user.getUserHandle().getIdentifier(); in TunerServiceImpl()
84 mCurrentUser = ActivityManager.getCurrentUser(); in TunerServiceImpl()
88 mCurrentUser = newUserId; in TunerServiceImpl()
113 TextUtils.join(",", iconBlacklist), mCurrentUser); in upgradeTuner()
129 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
134 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser); in setValue()
139 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser); in getValue()
144 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
151 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser); in setValue()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DColorDisplayService.java88 private int mCurrentUser = UserHandle.USER_NULL; field in ColorDisplayService
113 if (mCurrentUser != UserHandle.USER_NULL && mUserSetupObserver == null) { in onBootPhase()
123 if (mCurrentUser == UserHandle.USER_NULL) { in onStartUser()
139 if (mCurrentUser == userHandle) { in onStopUser()
147 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
156 mCurrentUser = userHandle; in onUserChanged()
158 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
159 if (!isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged()
163 if (isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged()
174 false /* notifyForDescendents */, mUserSetupObserver, mCurrentUser); in onUserChanged() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardMonitorImpl.java37 private int mCurrentUser; field in KeyguardMonitorImpl
55 mCurrentUser = newUserId; in KeyguardMonitorImpl()
66 mCurrentUser = ActivityManager.getCurrentUser(); in addCallback()
121 mCanSkipBouncer = mKeyguardUpdateMonitor.getUserCanSkipBouncer(mCurrentUser); in updateCanSkipBouncerState()
DAccessPointControllerImpl.java59 private int mCurrentUser; field in AccessPointControllerImpl
65 mCurrentUser = ActivityManager.getCurrentUser(); in AccessPointControllerImpl()
76 new UserHandle(mCurrentUser)); in canConfigWifi()
80 mCurrentUser = newUserId; in onUserSwitched()
DBluetoothControllerImpl.java52 private final int mCurrentUser; field in BluetoothControllerImpl
75 mCurrentUser = ActivityManager.getCurrentUser(); in BluetoothControllerImpl()
81 UserHandle.of(mCurrentUser)) in canConfigBluetooth()
83 UserHandle.of(mCurrentUser)); in canConfigBluetooth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java39 private int mCurrentUser; field in ManagedProfileControllerImpl
84 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
89 mCurrentUser = user; in reloadManagedProfiles()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java97 private int mCurrentUser; field in WifiPermissionsUtilTest
174 mCurrentUser = UserHandle.USER_CURRENT_OR_SELF; in testCanReadPeersMacAddressCurrentUserAndAllPermissions()
287 mCurrentUser = UserHandle.USER_CURRENT_OR_SELF; in testLegacyForegroundAppWithOtherPermissionsDenied()
682 when(mMockUserManager.getProfiles(mCurrentUser))
700 mCurrentUser = UserHandle.USER_SYSTEM;
712 when(mMockPermissionsWrapper.getCurrentUser()).thenReturn(mCurrentUser);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java71 private int mCurrentUser; field in QSTileHost
180 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged()
194 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged()
218 mCurrentUser = currentUser; in onTuningChanged()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java313 UsbDeviceManager.UNLOCKED_CONFIG_PREF, mUsbHandler.mCurrentUser), in setScreenUnlockedFunctions()
321 UsbDeviceManager.UNLOCKED_CONFIG_PREF, mUsbHandler.mCurrentUser), "")) in unlockScreen()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java139 private int mCurrentUser = UserHandle.USER_SYSTEM; field in TrustManagerService
445 if (mCurrentUser == id) { in refreshDeviceLockedForUser()
929 dumpUser(fout, user, user.id == mCurrentUser);
1101 refreshDeviceLockedForUser(mCurrentUser);
1109 mCurrentUser = msg.arg1;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1498 private int mCurrentUser;
1502 mCurrentUser = ActivityManager.getCurrentUser();
1507 return UserHandle.getUserId(entry.info.uid) == mCurrentUser;
1525 private int mCurrentUser;
1529 mCurrentUser = ActivityManager.getCurrentUser();
1534 return UserHandle.getUserId(entry.info.uid) != mCurrentUser;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java499 protected int mCurrentUser; field in UsbDeviceManager.UsbHandler
519 mCurrentUser = ActivityManager.getCurrentUser(); in UsbHandler()
535 String.format(Locale.ENGLISH, UNLOCKED_CONFIG_PREF, mCurrentUser), in UsbHandler()
915 mCurrentUser), in handleMessage()
976 if (mCurrentUser != msg.arg1) { in handleMessage()
980 mCurrentUser = msg.arg1; in handleMessage()
986 UNLOCKED_CONFIG_PREF, mCurrentUser), "")); in handleMessage()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java295 protected int mCurrentUser; field in NotificationListenerService
1104 mCurrentUser = currentUser; in registerAsSystemService()
1120 noMan.unregisterListener(mWrapper, mCurrentUser); in unregisterAsSystemService()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java332 int mCurrentUser; field in ActivityStackSupervisor
718 mCurrentUser, mFocusedStack == null ? -1 : mFocusedStack.getStackId(), in setFocusStackUnchecked()
769 return mService.startHomeActivityLocked(mCurrentUser, myReason); in resumeHomeStackTask()
2151 if (userId != mCurrentUser) { in updateUserStackLocked()
2649 return getHomeActivityForUser(mCurrentUser); in getHomeActivity()
3837 mUserStackInFront.put(mCurrentUser, focusStackId); in switchUserLocked()
3839 mCurrentUser = userId; in switchUserLocked()
3870 if (userId == mCurrentUser) return true; in isCurrentProfileLocked()
3998 pw.print(mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in dump()
4022 mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in writeToProto()
[all …]
DActivityStack.java342 int mCurrentUser; field in ActivityStack
460 mCurrentUser = mService.mUserController.getCurrentUserId(); in ActivityStack()
1229 if (mCurrentUser == userId) { in switchUserLocked()
1232 mCurrentUser = userId; in switchUserLocked()
DActivityStarter.java2632 pw.println(mSupervisor.mCurrentUser); in dump()