Home
last modified time | relevance | path

Searched refs:isCurrentProfile (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java304 boolean isCurrentProfile = isCurrentProfile(uid); in enforceCanAccessScanResults()
305 if (!isCurrentProfile && !checkInteractAcrossUsersFull(uid)) { in enforceCanAccessScanResults()
308 + "isCurrentProfile=" + isCurrentProfile in enforceCanAccessScanResults()
440 private boolean isCurrentProfile(int uid) { in isCurrentProfile() method in WifiPermissionsUtil
738 boolean isCurrentProfile = isCurrentProfile(uid); in doesUidBelongToCurrentUser()
739 if (!isCurrentProfile) { in doesUidBelongToCurrentUser()
744 return isCurrentProfile || isDeviceOwner(uid); in doesUidBelongToCurrentUser()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfilesPreferenceProvider.java116 preference.setSummary(isCurrentProfile(userInfo) in createProfilePreference()
139 private boolean isCurrentProfile(UserInfo userInfo) { in isCurrentProfile() method in ProfilesPreferenceProvider