/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageFragment.java | 206 final int currentUser = ActivityManager.getCurrentUser(); in updateDetails() local 207 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 211 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 216 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 220 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); in updateDetails() 225 mMiscUsagePref.setSize(details.miscSize.get(currentUser)); in updateDetails()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 162 final int currentUser = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); in onReceive() local 163 if (currentUser > UserHandle.USER_SYSTEM in onReceive() 164 && mCarUserManagerHelper.isPersistentUser(currentUser)) { in onReceive() 165 mCarUserManagerHelper.setLastActiveUser(currentUser); in onReceive()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 535 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() local 537 currentUser).getPackageManager(); in tryNdef() 570 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() local 572 currentUser).getPackageManager(); in tryNdef() 609 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryTech() local 611 currentUser).getPackageManager(); in tryTech()
|
D | RegisteredComponentCache.java | 149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in generateComponentsList() local 151 currentUser).getPackageManager(); in generateComponentsList()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | VrDisplayPreferenceController.java | 49 int currentUser = ActivityManager.getCurrentUser(); in updateState() local 52 currentUser); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | VrDisplayPreferenceController.java | 49 int currentUser = ActivityManager.getCurrentUser(); in updateState() local 52 currentUser); in updateState()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 331 private void notifySingleCallTestInternal(PhoneAccount phoneAccount, UserHandle currentUser) { in notifySingleCallTestInternal() argument 338 currentUser); in notifySingleCallTestInternal() 349 expectedUserHandle = currentUser; in notifySingleCallTestInternal() 592 NotificationBuilderFactory fakeBuilderFactory, UserHandle currentUser) { in makeMissedCallNotifier() argument 595 missedCallNotifier.setCurrentUserHandle(currentUser); in makeMissedCallNotifier()
|
D | TelecomServiceImplTest.java | 757 int currentUser = ActivityManager.getCurrentUser(); in testSetDefaultDialer() local 762 mDefaultDialerObserver.accept(currentUser); in testSetDefaultDialer() 764 }).when(mDefaultDialerCache).setDefaultDialer(eq(packageName), eq(currentUser)); in testSetDefaultDialer() 766 .getDefaultDialerApplication(eq(currentUser)); in testSetDefaultDialer() 770 verify(mDefaultDialerCache).setDefaultDialer(eq(packageName), eq(currentUser)); in testSetDefaultDialer()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 109 int currentUser = ActivityManager.getCurrentUser(); 110 logd("Current user: " + currentUser); 112 && currentUser > UserHandle.USER_SYSTEM) {
|
D | CarMediaService.java | 258 SessionChangedListener(int currentUser) { in SessionChangedListener() argument 259 mCurrentUser = currentUser; in SessionChangedListener()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 459 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getSecureTargetUser() local 467 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getSecureTargetUser() 474 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getSecureTargetUser() 481 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { in getSecureTargetUser() 491 return currentUser; in getSecureTargetUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 464 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getSecureTargetUser() local 472 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getSecureTargetUser() 479 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getSecureTargetUser() 486 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { in getSecureTargetUser() 496 return currentUser; in getSecureTargetUser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 332 final int currentUser = 20; in testStartBatteryDetailPage_typeUser_startByCurrentUser() local 333 ShadowActivityManager.setCurrentUser(currentUser); in testStartBatteryDetailPage_typeUser_startByCurrentUser() 337 verify(mActivity).startActivityAsUser(any(Intent.class), eq(new UserHandle(currentUser))); in testStartBatteryDetailPage_typeUser_startByCurrentUser()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 124 int currentUser = ActivityManager.getCurrentUser(); in onChange() local 125 loadDefaultsFromSettings(currentUser); in onChange()
|
D | RegisteredServicesCache.java | 132 int currentUser = ActivityManager.getCurrentUser(); in RegisteredServicesCache() 133 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredServicesCache()
|
D | RegisteredNfcFServicesCache.java | 138 int currentUser = ActivityManager.getCurrentUser(); in RegisteredNfcFServicesCache() 139 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredNfcFServicesCache()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 1683 UserInfo currentUser = ActivityManager.getService().getCurrentUser(); in getCurrentUserId() local 1684 return currentUser.id; in getCurrentUserId()
|