/packages/services/Car/service/src/com/android/car/trust/ |
D | CarBleTrustAgent.java | 100 int uid = ActivityManager.getCurrentUser(); in onDeviceLocked() 122 Log.d(TAG, "onDeviceUnlocked Current user: " + ActivityManager.getCurrentUser()); in onDeviceUnlocked() 159 ActivityManager.getCurrentUser()); in onEscrowTokenRemoved() 173 tokenState == TOKEN_STATE_ACTIVE, ActivityManager.getCurrentUser()); in onEscrowTokenStateReceived() 251 int uid = ActivityManager.getCurrentUser(); in onBluetoothStateChanged() 291 "removeEscrowToken. uid: " + ActivityManager.getCurrentUser() 321 if (ActivityManager.getCurrentUser() != user) { 325 Log.e(TAG, "Expected User: " + ActivityManager.getCurrentUser()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 157 mCurrentUser = ActivityManager.getCurrentUser(); 187 mCurrentUser = ActivityManager.getCurrentUser(); in CarMediaService() 290 ActivityManager.getCurrentUser()).size()); in dump() 353 || userHandle != ActivityManager.getCurrentUser()) { in setUserLockStatus() 368 mSessionsListener = new SessionChangedListener(ActivityManager.getCurrentUser()); in updateMediaSessionCallbackForCurrentUser() 370 ActivityManager.getCurrentUser(), null); in updateMediaSessionCallbackForCurrentUser() 372 null, ActivityManager.getCurrentUser())); in updateMediaSessionCallbackForCurrentUser() 423 if (ActivityManager.getCurrentUser() != mCurrentUser) { in onActiveSessionsChanged() 551 .getActiveSessionsForUser(null, ActivityManager.getCurrentUser())); in setPrimaryMediaSource() 641 PackageManager.GET_RESOLVED_FILTER, ActivityManager.getCurrentUser()); in getMediaService()
|
D | CarLocationService.java | 109 int currentUser = ActivityManager.getCurrentUser(); 276 int currentUserId = ActivityManager.getCurrentUser(); in isCurrentUserHeadlessSystemUser()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DisplayWhiteBalancePreferenceController.java | 82 ActivityManager.getCurrentUser()); in onStart() 86 ActivityManager.getCurrentUser()); in onStart() 90 ActivityManager.getCurrentUser()); in onStart()
|
D | VrDisplayPreferenceController.java | 49 int currentUser = ActivityManager.getCurrentUser(); in updateState()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 110 loadDefaultsFromSettings(ActivityManager.getCurrentUser()); in PreferredServices() 124 int currentUser = ActivityManager.getCurrentUser(); in onChange() 231 ApduServiceInfo serviceInfo = mServiceCache.getService(ActivityManager.getCurrentUser(), in isForegroundAllowedLocked() 253 ActivityManager.getCurrentUser(), mPaymentDefaults.currentPreferred); in isForegroundAllowedLocked()
|
D | RegisteredServicesCache.java | 132 int currentUser = ActivityManager.getCurrentUser(); in RegisteredServicesCache() 170 invalidateCache(ActivityManager.getCurrentUser()); in initialize() 652 UserServices userServices = findOrCreateUserLocked(ActivityManager.getCurrentUser()); in dump()
|
D | RegisteredNfcFServicesCache.java | 138 int currentUser = ActivityManager.getCurrentUser(); in RegisteredNfcFServicesCache() 178 invalidateCache(ActivityManager.getCurrentUser()); in initialize() 720 UserServices userServices = findOrCreateUserLocked(ActivityManager.getCurrentUser()); in dump()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 215 ActivityManager.getCurrentUser()).size() > 0; in hasIntentReceiver() 241 ActivityManager.getCurrentUser()); in tryStartActivity() 252 intentToStart, 0, ActivityManager.getCurrentUser()); in tryStartActivity() 535 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() 570 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() 609 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryTech() 663 UserHandle.of(ActivityManager.getCurrentUser()))) { in tryPeripheralHandover()
|
D | RegisteredComponentCache.java | 149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in generateComponentsList() 158 PackageManager.GET_META_DATA, ActivityManager.getCurrentUser()); in generateComponentsList()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 160 mTrustAgentDelegate.addEscrowToken(token, ActivityManager.getCurrentUser()); in startEnrollment() 167 UserHandle currentUser = UserHandle.of(ActivityManager.getCurrentUser()); in showEnrollmentNotification() 194 ActivityManager.getCurrentUser()); in unlockUser() 256 mDatabase.getTrustedDevicesForUser(ActivityManager.getCurrentUser()); in getTrustedDevicesForActiveUser() 380 trustAgentDelegate.addEscrowToken(mPendingToken, ActivityManager.getCurrentUser()); in setTrustedDeviceAgentDelegate() 456 if (entity.userId != ActivityManager.getCurrentUser()) { in processUnlockMessage()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/ |
D | ConnectedDeviceStorage.java | 343 return getAssociatedDevicesForUser(ActivityManager.getCurrentUser()); in getActiveUserAssociatedDevices() 371 return getAssociatedDeviceIdsForUser(ActivityManager.getCurrentUser()); in getActiveUserAssociatedDeviceIds() 380 addAssociatedDeviceForUser(ActivityManager.getCurrentUser(), device); in addAssociatedDeviceForActiveUser() 444 removeAssociatedDevice(ActivityManager.getCurrentUser(), deviceId); in removeAssociatedDeviceForActiveUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | ZenServiceListing.java | 94 final int user = ActivityManager.getCurrentUser(); in getServices() 120 final int user = ActivityManager.getCurrentUser(); in getActivities()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ZenServiceListing.java | 94 final int user = ActivityManager.getCurrentUser(); in getServices() 120 final int user = ActivityManager.getCurrentUser(); in getActivities()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationListener.java | 81 ActivityManager.getCurrentUser()); in registerAsSystemService() 187 return (sbn.getUser().getIdentifier() == ActivityManager.getCurrentUser() in isNotificationForCurrentUser()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 139 mActivityManager.getCurrentUser()); in refreshDisplayBrightness() 178 mActivityManager.getCurrentUser()); in setDisplayBrightness()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageFragment.java | 206 final int currentUser = ActivityManager.getCurrentUser(); in updateDetails() 239 ActivityManager.getCurrentUser()); in totalValues()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 198 userId = ActivityManager.getCurrentUser(); in launchMainActivity() 397 if (userId == ActivityManager.getCurrentUser() && in onReceive()
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | CarAssistUtils.java | 138 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, ActivityManager.getCurrentUser()); in assistantIsNotificationListener() 141 Log.d(TAG, "Current user: " + ActivityManager.getCurrentUser() in assistantIsNotificationListener()
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserHandle.java | 29 return ShadowUserManager.getShadow().getCurrentUser(); in myUserId()
|
D | ShadowActivityManager.java | 39 public static int getCurrentUser() { in getCurrentUser() method in ShadowActivityManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowActivityManager.java | 31 protected static int getCurrentUser() { in getCurrentUser() method in ShadowActivityManager
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | VrDisplayPreferenceController.java | 49 int currentUser = ActivityManager.getCurrentUser(); in updateState()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpReceiver.java | 54 boolean isCurrentUser = UserHandle.myUserId() == ActivityManager.getCurrentUser(); in handleUsbState()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherClientPermissionTest.java | 100 getVmsClientManager().mUserCallback.onSwitchUser(ActivityManager.getCurrentUser()); in triggerClientBinding()
|