Home
last modified time | relevance | path

Searched refs:getUserId (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/
DDeviceAdminSettings.java158 final int userId = getUserId(dpi); in onListItemClick()
285 if (isActiveAdmin(info) && getUserId(info) == UserHandle.myUserId() in isEnabled()
339 activityIcon, new UserHandle(getUserId(item))); in bindView()
356 return getUserId(item) == UserHandle.myUserId() in isDeviceOwner()
361 ComponentName profileOwner = mProfileOwnerComponents.get(getUserId(item)); in isProfileOwner()
366 return mDPM.isAdminActiveAsUser(item.getComponent(), getUserId(item)); in isActiveAdmin()
370 return mDPM.isRemovingAdmin(item.getComponent(), getUserId(item)); in isRemovingAdmin()
491 private int getUserId(DeviceAdminInfo adminInfo) { in getUserId() method in DeviceAdminSettings
492 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid); in getUserId()
DCredentialStorage.java229 int dstUserId = UserHandle.getUserId(uid); in installIfAvailable()
415 launchedFromUserId = UserHandle.getUserId(launchedFromUid); in checkCallerIsCertInstallerOrSelfInProfile()
DUtils.java770 UserHandle launchedFromUser = new UserHandle(UserHandle.getUserId( in getSecureTargetUser()
817 UserHandle launchedFromUser = new UserHandle(UserHandle.getUserId( in getInsecureTargetUser()
DDataUsageSummary.java939 new UserHandle(UserHandle.getUserId(uid))); in updateAppDetail()
1697 final int userId = UserHandle.getUserId(uid); in bindStats()
1735 if (!profiles.contains(new UserHandle(UserHandle.getUserId(uid)))) { in bindStats()
DHomeSettings.java234 List<UserInfo> profiles = userManager.getProfiles(context.getUserId()); in hasManagedProfile()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java132 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredServicesCache()
133 invalidateCache(UserHandle.getUserId(uid)); in RegisteredServicesCache()
380 final int userId = UserHandle.getUserId(currentUid); in readDynamicAidsLocked()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationApps.java123 int userId = UserHandle.getUserId(uid); in getAppList()
179 int userId = UserHandle.getUserId(uid); in getPreferenceFromOps()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java159 userId = UserHandle.getUserId(uid.getUid()); in startBatteryDetailPage()
653 final int userId = UserHandle.getUserId(mUid); in killProcesses()
692 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mUid)); in checkForceStop()
DPowerUsageSummary.java308 final UserHandle userHandle = new UserHandle(UserHandle.getUserId(sipper.getUid())); in refreshStats()
352 final int userId = UserHandle.getUserId(entry.sipper.getUid());
DBatteryEntry.java260 final int userId = UserHandle.getUserId(uid); in loadNameAndIcon()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java251 public int getUserId() { in getUserId() method in ContactsActor.AlteringUserContext
312 public int getUserId() { in ContactsActor()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java652 synchronized int getUserId() { in getUserId() method in NfcService
2006 mP2pLinkManager.onUserSwitched(getUserId());
2008 mCardEmulationManager.onUserSwitched(getUserId());
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java892 int userId = ((UserPreference) pref).getUserId(); in onPreferenceClick()
952 int userId = ((UserPreference) v.getTag()).getUserId(); in onClick()
DUserPreference.java105 public int getUserId() { in getUserId() method in UserPreference
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DForceStopManager.java75 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mAppInfo.getUid())); in checkForceStop()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DPreBootListener.java40 if (context.getUserId() != UserHandle.USER_OWNER) { in onReceive()
DProfileOwnerProvisioningService.java249 getPackageManager(), getUserId(), mManagedProfileUserInfo.id); in setUpProfileAndFinish()
DProfileOwnerPreProvisioningActivity.java376 List<UserInfo> profiles = userManager.getProfiles(getUserId()); in alreadyHasManagedProfile()
/packages/apps/Settings/src/com/android/settings/net/
DUidDetailProvider.java149 final int userId = UserHandle.getUserId(uid); in buildUidDetail()
/packages/apps/Settings/src/com/android/settings/print/
DPrintJobSettingsFragment.java81 getActivity().getUserId()); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java374 super(true, UserHandle.getUserId(uid)); in ProcessItem()
469 UserHandle.getUserId(service.uid)); in updateService()
DProcessStatsDetail.java305 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.mUid)); in checkForceStop()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java190 info.user = sbn.getUserId(); in loadNotifications()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java105 final int userHandle = UserHandle.getUserId(uid);
/packages/apps/Settings/tests/src/com/android/settings/vpn2/
DVpnTests.java323 int curUid = mContext.getUserId(); in installCertificatesFromFile()

12