Searched refs:isCurrentProfile (Results 1 – 2 of 2) sorted by relevance
304 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 WifiPermissionsUtil738 boolean isCurrentProfile = isCurrentProfile(uid); in doesUidBelongToCurrentUser()739 if (!isCurrentProfile) { in doesUidBelongToCurrentUser()744 return isCurrentProfile || isDeviceOwner(uid); in doesUidBelongToCurrentUser()
116 preference.setSummary(isCurrentProfile(userInfo) in createProfilePreference()139 private boolean isCurrentProfile(UserInfo userInfo) { in isCurrentProfile() method in ProfilesPreferenceProvider