Home
last modified time | relevance | path

Searched refs:currentUser (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java200 final int currentUser = ActivityManager.getCurrentUser(); in updateDetails() local
201 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
205 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
210 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
214 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); in updateDetails()
219 mMiscUsagePref.setSize(details.miscSize.get(currentUser)); in updateDetails()
/packages/apps/Settings/src/com/android/settings/
DUtils.java664 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getSecureTargetUser() local
672 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getSecureTargetUser()
680 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getSecureTargetUser()
688 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { in getSecureTargetUser()
698 return currentUser; in getSecureTargetUser()
714 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getInsecureTargetUser() local
719 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getInsecureTargetUser()
724 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getInsecureTargetUser()
729 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { in getInsecureTargetUser()
737 return currentUser; in getInsecureTargetUser()
DDisplaySettings.java223 int currentUser = ActivityManager.getCurrentUser(); in onCreate() local
227 currentUser); in onCreate()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java247 private void notifySingleCallTestInternal(PhoneAccount phoneAccount, UserHandle currentUser) { in notifySingleCallTestInternal() argument
254 currentUser); in notifySingleCallTestInternal()
265 expectedUserHandle = currentUser; in notifySingleCallTestInternal()
375 NotificationBuilderFactory fakeBuilderFactory, UserHandle currentUser) { in makeMissedCallNotifier() argument
378 missedCallNotifier.setCurrentUserHandle(currentUser); in makeMissedCallNotifier()
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java490 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() local
492 currentUser).getPackageManager(); in tryNdef()
543 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryTech() local
545 currentUser).getPackageManager(); in tryTech()
DRegisteredComponentCache.java149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in generateComponentsList() local
151 currentUser).getPackageManager(); in generateComponentsList()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java123 int currentUser = ActivityManager.getCurrentUser(); in onChange() local
124 loadDefaultsFromSettings(currentUser); in onChange()
DRegisteredServicesCache.java131 int currentUser = ActivityManager.getCurrentUser(); in RegisteredServicesCache()
132 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredServicesCache()
DRegisteredNfcFServicesCache.java137 int currentUser = ActivityManager.getCurrentUser(); in RegisteredNfcFServicesCache()
138 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredNfcFServicesCache()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1253 UserInfo currentUser = ActivityManagerNative.getDefault().getCurrentUser(); in getCurrentUserId() local
1254 return currentUser.id; in getCurrentUserId()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt74952 User state[attributes:{id=0, currentUser=true, accessibilityEnabled=false, touchExplorationEnabled=…