/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
GuestResumeSessionReceiver.java | 67 UserInfo currentUser; 69 currentUser = ActivityManagerNative.getDefault().getCurrentUser(); 73 if (!currentUser.isGuest()) { 97 UserInfo currentUser; 99 currentUser = ActivityManagerNative.getDefault().getCurrentUser(); 104 if (currentUser.id != userId) { 106 + " is not current user (" + currentUser.id + ")"); 109 if (!currentUser.isGuest()) { 115 boolean marked = userManager.markGuestForDeletion(currentUser.id); 120 UserInfo newGuest = userManager.createGuest(context, currentUser.name) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
WipeDataTest.java | 48 UserHandle currentUser = Process.myUserHandle(); 49 assertTrue(mUserManager.getUserProfiles().contains(currentUser)); 58 if (!mUserManager.getUserProfiles().contains(currentUser)) { 65 assertFalse(mUserManager.getUserProfiles().contains(currentUser));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
Recents.java | 255 int currentUser = sSystemServicesProxy.getCurrentUser(); 256 if (sSystemServicesProxy.isSystemUser(currentUser)) { 262 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); 272 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); 293 int currentUser = sSystemServicesProxy.getCurrentUser(); 294 if (sSystemServicesProxy.isSystemUser(currentUser)) { 299 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); 307 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); 330 int currentUser = sSystemServicesProxy.getCurrentUser(); 331 if (sSystemServicesProxy.isSystemUser(currentUser)) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
MultiUserSwitch.java | 149 String currentUser = null; 152 currentUser = mUserSwitcherController.getCurrentUserName(mContext); 157 if (!TextUtils.isEmpty(currentUser)) { 160 currentUser);
|
QSTileHost.java | 322 int currentUser = ActivityManager.getCurrentUser(); 323 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; 334 || ((CustomTile) tile).getUser() == currentUser)) { 337 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { 338 tile.userSwitch(currentUser); 354 mCurrentUser = currentUser;
|
LockscreenWallpaper.java | 172 final int currentUser = mCurrentUserId; 177 return loadBitmap(currentUser, selectedUser);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
StorageFragment.java | 200 final int currentUser = ActivityManager.getCurrentUser(); 201 final long dcimSize = totalValues(details.mediaSize.get(currentUser), 205 final long musicSize = totalValues(details.mediaSize.get(currentUser), 210 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), 214 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); 219 mMiscUsagePref.setSize(details.miscSize.get(currentUser));
|
/external/autotest/frontend/client/src/autotest/afe/ |
JobOwnerFilter.java | 75 String currentUser = staticData.getCurrentUserLogin(); 76 userList.selectByName(currentUser);
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
KeyguardServiceDelegate.java | 64 currentUser = UserHandle.USER_NULL; 76 public int currentUser; 165 if (mKeyguardState.currentUser != UserHandle.USER_NULL) { 167 mKeyguardService.setCurrentUser(mKeyguardState.currentUser); 353 mKeyguardState.currentUser = newUserId; 443 pw.println(prefix + "currentUser=" + mKeyguardState.currentUser);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 103 final int currentUser = ActivityManager.getCurrentUser(); 106 if (DBG) Rlog.d(LOG_TAG, "myUser=" + myUser + "currentUser=" + currentUser); 108 if (myUser != currentUser) { 112 /* flags =*/ 0, new UserHandle(currentUser));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
KeyguardViewMediator.java | 486 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 487 if (mLockPatternUtils.isSecure(currentUser)) { 489 currentUser); 601 int currentUser = ActivityManager.getCurrentUser(); 602 boolean trust = mTrustManager.isTrustUsuallyManaged(currentUser); 603 boolean fingerprint = mUpdateMonitor.isUnlockWithFingerprintPossible(currentUser); 607 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser); 611 } else if (fingerprint && mUpdateMonitor.hasFingerprintUnlockTimedOut(currentUser)) { 737 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 739 mLockPatternUtils.getPowerButtonInstantlyLocks(currentUser) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
MissedCallNotifierImplTest.java | 248 private void notifySingleCallTestInternal(PhoneAccount phoneAccount, UserHandle currentUser) { 255 currentUser); 266 expectedUserHandle = currentUser; 376 NotificationBuilderFactory fakeBuilderFactory, UserHandle currentUser) { 379 missedCallNotifier.setCurrentUserHandle(currentUser);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
UserInfoController.java | 95 final int currentUser = ActivityManagerNative.getDefault().getCurrentUser().id; 98 if (changedUser == currentUser) {
|
SecurityControllerImpl.java | 168 UserHandle currentUser = new UserHandle(mCurrentUserId); 170 || mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, currentUser);
|
UserSwitcherController.java | 322 int currentUser = ActivityManager.getCurrentUser(); 323 if (currentUser != UserHandle.USER_SYSTEM) { 467 int currentUser = ActivityManager.getCurrentUser(); 468 UserInfo userInfo = mUserManager.getUserInfo(currentUser); 470 showExitGuestDialog(currentUser); [all...] |
/frameworks/base/services/core/java/com/android/server/lights/ |
LightsService.java | 184 int currentUser = ActivityManager.getCurrentUser(); 188 currentUser);
|
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); 151 currentUser).getPackageManager();
|
NfcDispatcher.java | 490 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); 492 currentUser).getPackageManager(); 543 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); 545 currentUser).getPackageManager();
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
PreferredServices.java | 123 int currentUser = ActivityManager.getCurrentUser(); 124 loadDefaultsFromSettings(currentUser);
|
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 664 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); 672 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { 680 if (extrasUser != null && !extrasUser.equals(currentUser)) { 688 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { 698 return currentUser; 714 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); 719 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { 724 if (extrasUser != null && !extrasUser.equals(currentUser)) { 729 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { 737 return currentUser; [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ScheduleConditionProvider.java | 279 final int currentUser = ActivityManager.getCurrentUser(); 283 currentUser);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
GlobalActions.java | 602 UserInfo currentUser = getCurrentUser(); 603 return currentUser == null || currentUser.isPrimary(); 610 UserInfo currentUser = getCurrentUser(); 613 boolean isCurrentUser = currentUser == null 614 ? user.id == 0 : (currentUser.id == user.id); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
StorageMeasurement.java | 201 public StatsObserver(boolean isPrivate, MeasurementDetails details, int currentUser, 205 mCurrentUser = currentUser;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
UserRestrictionsUtils.java | 411 int currentUser = ActivityManager.getCurrentUser(); 412 if (currentUser != userId && userId != UserHandle.USER_SYSTEM) {
|
/frameworks/base/core/java/android/service/notification/ |
NotificationRankerService.java | 107 int currentUser) {
|