/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 79 private int mCurrentUser; field in TunerServiceImpl 92 mCurrentUser = user.getUserHandle().getIdentifier(); in TunerServiceImpl() 98 mCurrentUser = ActivityManager.getCurrentUser(); in TunerServiceImpl() 102 mCurrentUser = newUserId; in TunerServiceImpl() 127 TextUtils.join(",", iconBlacklist), mCurrentUser); in upgradeTuner() 136 final int user = mCurrentUser; in upgradeTuner() 145 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue() 150 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser); in setValue() 155 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser); in getValue() 160 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserObservable.java | 31 private final MutableLiveData<Integer> mCurrentUser = new MutableLiveData<Integer>() { field in CurrentUserObservable 49 mCurrentUser.setValue(newUserId); in CurrentUserObservable() 58 if (mCurrentUser.getValue() == null) { in getCurrentUser() 59 mCurrentUser.setValue(mTracker.getCurrentUserId()); in getCurrentUser() 61 return mCurrentUser; in getCurrentUser()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 164 private int mCurrentUser = UserHandle.USER_NULL; field in ColorDisplayService 192 if (mCurrentUser != UserHandle.USER_NULL && mUserSetupObserver == null) { in onBootPhase() 202 if (mCurrentUser == UserHandle.USER_NULL) { in onStartUser() 222 if (mCurrentUser == userHandle) { in onStopUser() 232 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged() 241 mCurrentUser = userHandle; in onUserChanged() 243 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged() 244 if (!isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged() 248 if (isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged() 259 false /* notifyForDescendants */, mUserSetupObserver, mCurrentUser); in onUserChanged() local [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardDisableHandler.java | 43 private int mCurrentUser = UserHandle.USER_SYSTEM; field in KeyguardDisableHandler 55 mCurrentUser = user; in setCurrentUser() 67 if (mCurrentUser == userId || userId == UserHandle.USER_ALL) { in updateKeyguardEnabledLocked() 68 mInjector.enableKeyguard(shouldKeyguardBeEnabled(mCurrentUser)); in updateKeyguardEnabledLocked() 97 final boolean dpmRequiresPassword = mInjector.dpmRequiresPassword(mCurrentUser); in shouldKeyguardBeEnabled() 98 final boolean keyguardSecure = mInjector.isKeyguardSecure(mCurrentUser); in shouldKeyguardBeEnabled()
|
D | RootActivityContainer.java | 181 int mCurrentUser; field in RootActivityContainer 325 return getDefaultDisplayHomeActivityForUser(mCurrentUser); in getDefaultDisplayHomeActivity() 345 startHomeOnDisplay(mCurrentUser, reason, display.mDisplayId); in startHomeOnEmptyDisplays() 532 return startHomeOnDisplay(mCurrentUser, myReason, displayId); in resumeHomeActivity() 561 if (!StorageManager.isUserKeyUnlocked(mCurrentUser)) { in shouldPlaceSecondaryHomeOnDisplay() 842 mUserStackInFront.put(mCurrentUser, focusStackId); in switchUser() 845 mCurrentUser = userId; in switchUser() 883 if (userId != mCurrentUser) { in updateUserStack() 1275 info.userId = stack.mCurrentUser; in getStackInfo() 1365 startHomeOnDisplay(mCurrentUser, "displayAdded", displayContent.getDisplayId()); in startSystemDecorations() [all …]
|
D | ActivityDisplay.java | 281 EventLogTags.writeAmFocusedStack(mRootActivityContainer.mCurrentUser, mDisplayId, in positionChildAt() 1346 return getHomeActivityForUser(mRootActivityContainer.mCurrentUser); in getHomeActivity()
|
D | ActivityStackSupervisor.java | 2103 if (userId == mRootActivityContainer.mCurrentUser) return true; in isCurrentProfileLocked() 2188 pw.print(mRecentTasks.isRecentsComponentHomeActivity(mRootActivityContainer.mCurrentUser)); in dump()
|
D | ActivityStack.java | 389 int mCurrentUser; field in ActivityStack 514 mCurrentUser = mService.mAmInternal.getCurrentUserId(); in ActivityStack() 1470 if (mCurrentUser == userId) { in switchUserLocked() 1473 mCurrentUser = userId; in switchUserLocked()
|
D | ActivityStarter.java | 2917 pw.println(mRootActivityContainer.mCurrentUser); in dump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockManagerTest.java | 69 private MutableLiveData<Integer> mCurrentUser; field in ClockManagerTest 88 mCurrentUser = new MutableLiveData<>(); in setUp() 89 mCurrentUser.setValue(MAIN_USER_ID); in setUp() 90 when(mMockCurrentUserObserable.getCurrentUser()).thenReturn(mCurrentUser); in setUp() 224 mCurrentUser.setValue(SECONDARY_USER_ID); in onUserChanged_defaultClock() 235 mCurrentUser.setValue(SECONDARY_USER_ID); in onUserChanged_customClock() 247 mCurrentUser.setValue(SECONDARY_USER_ID); in onUserChanged_docked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AccessPointControllerImpl.java | 52 private int mCurrentUser; field in AccessPointControllerImpl 58 mCurrentUser = ActivityManager.getCurrentUser(); in AccessPointControllerImpl() 69 new UserHandle(mCurrentUser)); in canConfigWifi() 73 mCurrentUser = newUserId; in onUserSwitched()
|
D | BluetoothControllerImpl.java | 61 private final int mCurrentUser; field in BluetoothControllerImpl 87 mCurrentUser = ActivityManager.getCurrentUser(); in BluetoothControllerImpl() 93 UserHandle.of(mCurrentUser)) in canConfigBluetooth() 95 UserHandle.of(mCurrentUser)); in canConfigBluetooth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ManagedProfileControllerImpl.java | 45 private int mCurrentUser; field in ManagedProfileControllerImpl 93 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles() 98 mCurrentUser = user; in reloadManagedProfiles()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 184 private int mCurrentUser = UserHandle.USER_SYSTEM; field in TrustManagerService 255 mCurrentUser); in updateContentObserver() 259 mCurrentUser); in updateContentObserver() 278 mCurrentUser) != 0; in onChange() 285 mCurrentUser) != 0; in onChange() 299 if (userId != mCurrentUser) { in maybeLockScreen() 331 userId = mCurrentUser; in handleScheduleTrustTimeout() 415 && userId == mCurrentUser; in updateTrust() 419 + " && " + Boolean.toString(userId == mCurrentUser)); in updateTrust() 673 if (mCurrentUser == id) { in refreshDeviceLockedForUser() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 88 private int mCurrentUser; field in QSTileHost 225 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged() 239 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged() 263 mCurrentUser = currentUser; in onTuningChanged()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 113 private int mCurrentUser; field in WifiPermissionsUtilTest 190 mCurrentUser = UserHandle.USER_CURRENT_OR_SELF; in testCanReadPeersMacAddressCurrentUserAndAllPermissions() 303 mCurrentUser = UserHandle.USER_CURRENT_OR_SELF; in testLegacyForegroundAppWithOtherPermissionsDenied() 1169 when(mMockUserManager.getProfiles(mCurrentUser)) 1188 mCurrentUser = UserHandle.USER_SYSTEM; 1202 when(mMockPermissionsWrapper.getCurrentUser()).thenReturn(mCurrentUser);
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbHandlerTest.java | 307 UsbDeviceManager.UNLOCKED_CONFIG_PREF, mUsbHandler.mCurrentUser), in setScreenUnlockedFunctions() 315 UsbDeviceManager.UNLOCKED_CONFIG_PREF, mUsbHandler.mCurrentUser), "")) in unlockScreen()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 482 protected int mCurrentUser; field in UsbDeviceManager.UsbHandler 500 mCurrentUser = ActivityManager.getCurrentUser(); in UsbHandler() 509 String.format(Locale.ENGLISH, UNLOCKED_CONFIG_PREF, mCurrentUser), in UsbHandler() 905 mCurrentUser), in handleMessage() 969 if (mCurrentUser != msg.arg1) { in handleMessage() 973 mCurrentUser = msg.arg1; in handleMessage() 979 UNLOCKED_CONFIG_PREF, mCurrentUser), "")); in handleMessage()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1686 private int mCurrentUser; 1690 mCurrentUser = ActivityManager.getCurrentUser(); 1695 return UserHandle.getUserId(entry.info.uid) == mCurrentUser; 1713 private int mCurrentUser; 1717 mCurrentUser = ActivityManager.getCurrentUser(); 1722 return UserHandle.getUserId(entry.info.uid) != mCurrentUser;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootActivityContainerTests.java | 581 final int currentUser = mRootActivityContainer.mCurrentUser; in testStartSecondaryHomeOnDisplayWithUserKeyLocked() 582 mRootActivityContainer.mCurrentUser = -1; in testStartSecondaryHomeOnDisplayWithUserKeyLocked() 591 mRootActivityContainer.mCurrentUser = currentUser; in testStartSecondaryHomeOnDisplayWithUserKeyLocked()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 303 protected int mCurrentUser; field in NotificationListenerService 1143 mCurrentUser = currentUser; in registerAsSystemService() 1159 noMan.unregisterListener(mWrapper, mCurrentUser); in unregisterAsSystemService()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 68208 Landroid/service/notification/NotificationListenerService;->mCurrentUser:I
|