/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 194 final UserHandle user = new UserHandle(getUserId(dpi)); in onListItemClick() 303 activityIcon, new UserHandle(getUserId(item))); in bindView() 320 return getUserId(item) == UserHandle.myUserId() in isDeviceOwner() 325 ComponentName profileOwner = mProfileOwnerComponents.get(getUserId(item)); in isProfileOwner() 330 return mDPM.isAdminActiveAsUser(item.getComponent(), getUserId(item)); in isActiveAdmin() 334 return mDPM.isRemovingAdmin(item.getComponent(), getUserId(item)); in isRemovingAdmin() 461 private int getUserId(DeviceAdminInfo adminInfo) { in getUserId() method in DeviceAdminSettings 462 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid); in getUserId()
|
D | TrustedCredentialsDialogBuilder.java | 151 if (!mDelegate.startConfirmCredentialIfNotConfirmed(certHolder.getUserId(), in onClickTrust() 153 mDpm.approveCaCert(certHolder.getAlias(), certHolder.getUserId(), true); in onClickTrust() 182 && getCurrentCertInfo().getUserId() == userId) { in onCredentialConfirmed() 227 && isUserSecure(certHolder.getUserId()) in updatePositiveButton() 228 && !mDpm.isCaCertApproved(certHolder.getAlias(), certHolder.getUserId()); in updatePositiveButton() 231 mActivity, certHolder.getUserId()) != null; in updatePositiveButton() 244 new UserHandle(certHolder.getUserId())); in updateNegativeButton()
|
D | CredentialStorage.java | 241 int dstUserId = UserHandle.getUserId(uid); in installIfAvailable() 445 launchedFromUserId = UserHandle.getUserId(launchedFromUid); in checkCallerIsCertInstallerOrSelfInProfile()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppDialogFragment.java | 145 final int userId = getUserId(); in onForget() 163 final int userId = getUserId(); in onDisconnect() 176 final UserHandle userHandle = UserHandle.of(getUserId()); in isUiRestricted() 180 private int getUserId() { in getUserId() method in AppDialogFragment 181 return UserHandle.getUserId(mPackageInfo.applicationInfo.uid); in getUserId()
|
D | VpnUtils.java | 63 final int userId = context.getUserId(); in isAnyLockdownActive() 73 return getIConnectivityManager().getVpnConfig(context.getUserId()) != null; in isVpnActive() 97 int userId = context.getUserId(); in disconnectLegacyVpn()
|
D | VpnSettings.java | 381 UserHandle user = UserHandle.of(pref.getUserId()); in onPreferenceClick() 529 int userId = UserHandle.getUserId(pkg.getUid()); in getVpnApps()
|
D | ManageablePreference.java | 47 public int getUserId() { in getUserId() method in ManageablePreference
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppManagementFragment.java | 144 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult() 154 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult() 396 final int userId = UserHandle.getUserId(mEntry.info.uid); in dataCleared() 424 final int userId = UserHandle.getUserId(mEntry.info.uid); in cacheCleared() 446 final int userId = UserHandle.getUserId(mEntry.info.uid); in onPackageListChanged()
|
D | ForceStopPreference.java | 60 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.info.uid)); in refresh()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | PermissionApps.java | 221 UserHandle.getUserId(group.getApp().applicationInfo.uid)); in loadPermissionApps() 373 public int getUserId() { in getUserId() method in PermissionApps.PermissionApp 374 return mAppPermissionGroup.getUserId(); in getUserId()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 99 .getUserId(uid))); in getPermissionInfo() 145 int userId = UserHandle.getUserId(app.info.uid); in loadAllExtraInfo() 239 final int userId = UserHandle.getUserId(packageOp.getUid()); in loadAppOpsStates()
|
D | InstalledAppCounter.java | 48 final int userId = UserHandle.getUserId(info.uid); in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 70 new UserHandle(UserHandle.getUserId(info.uid))) in includeInCount()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 72 if (UserManager.get(contextToUse).isUserUnlocked(contextToUse.getUserId())) { in getRingtone() 129 Settings.System.RINGTONE, userContext.getUserId())); in hasDefaultRingtoneForUser()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridge.java | 78 UserHandle.getUserId(entry.info.uid)); in loadAllExtraInfo() 88 UserHandle.getUserId(app.info.uid)); in updateExtraInfo()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 132 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredServicesCache() 133 invalidateCache(UserHandle.getUserId(uid)); in RegisteredServicesCache() 380 final int userId = UserHandle.getUserId(currentUid); in readDynamicAidsLocked()
|
D | RegisteredNfcFServicesCache.java | 139 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredNfcFServicesCache() 140 invalidateCache(UserHandle.getUserId(uid)); in RegisteredNfcFServicesCache() 447 final int userId = UserHandle.getUserId(currentUid); in readDynamicSystemCodeNfcid2Locked()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 279 if (sbn.getUserId() != UserHandle.USER_ALL & sbn.getUserId() != currentUserId) { in loadNotifications() 286 info.user = sbn.getUserId(); in loadNotifications()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionAppsFragment.java | 246 getActivity(), app.getUserId()); in onPermissionsLoaded() 271 getActivity(), app.getUserId()); in onPermissionsLoaded()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 407 context.getUserId()); in PrintJobsLoader() 552 .getGlobalPrintManagerForUser(context.getUserId()); in PrintManagerWrapper()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 334 final int userId = UserHandle.getUserId(uid); in bindStats() 372 if (!profiles.contains(new UserHandle(UserHandle.getUserId(uid)))) { in bindStats()
|
/packages/apps/Settings/src/com/android/settings/search2/ |
D | AppSearchResult.java | 35 return new UserHandle(UserHandle.getUserId(info.uid)); in getAppUserHandle()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | AppButtonsPreferenceController.java | 490 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mAppEntry.info.uid)); in updateForceStopButton() 530 int userId = UserHandle.getUserId(mAppEntry.info.uid); in forceStopPackage()
|
D | PowerUsageSummary.java | 487 final UserHandle userHandle = new UserHandle(UserHandle.getUserId(sipper.getUid())); in refreshUi() 661 final int userId = UserHandle.getUserId(entry.sipper.getUid());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 260 public int getUserId() { in getUserId() method in ContactsActor.AlteringUserContext 353 public int getUserId() { in ContactsActor()
|