Home
last modified time | relevance | path

Searched refs:redactions (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java585 private WifiInfo(WifiInfo source, long redactions) { in WifiInfo() argument
588 mBSSID = shouldRedactLocationSensitiveFields(redactions) in WifiInfo()
590 mApMldMacAddress = shouldRedactLocationSensitiveFields(redactions) in WifiInfo()
596 mAffiliatedMloLinks.add(new MloLink(link, redactions)); in WifiInfo()
601 mWifiSsid = shouldRedactLocationSensitiveFields(redactions) in WifiInfo()
603 mNetworkId = shouldRedactLocationSensitiveFields(redactions) in WifiInfo()
611 mMacAddress = (shouldRedactLocalMacAddressFields(redactions) in WifiInfo()
612 || shouldRedactLocationSensitiveFields(redactions)) in WifiInfo()
621 mRequestingPackageName = shouldRedactNetworkSettingsFields(redactions) ? null in WifiInfo()
624 mFqdn = shouldRedactLocationSensitiveFields(redactions) in WifiInfo()
[all …]
DMloLink.java136 public MloLink(MloLink source, long redactions) { in MloLink() argument
153 mStaMacAddress = ((redactions & NetworkCapabilities.REDACT_FOR_LOCAL_MAC_ADDRESS) != 0) in MloLink()
157 mApMacAddress = ((redactions & NetworkCapabilities.REDACT_FOR_ACCESS_FINE_LOCATION) != 0) in MloLink()
/packages/modules/Connectivity/framework/src/android/net/
DVpnTransportInfo.java73 public VpnTransportInfo makeCopy(@RedactionType long redactions) { in makeCopy() argument
75 ((redactions & REDACT_FOR_NETWORK_SETTINGS) != 0) ? null : mSessionId, in makeCopy()
DTransportInfo.java59 default TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) { in makeCopy() argument
DNetworkCapabilities.java346 public NetworkCapabilities(@Nullable NetworkCapabilities nc, @RedactionType long redactions) { in NetworkCapabilities() argument
351 mTransportInfo = nc.mTransportInfo.makeCopy(redactions); in NetworkCapabilities()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java1222 public TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) { in makeCopy() argument
1224 (redactions & NetworkCapabilities.REDACT_FOR_ACCESS_FINE_LOCATION) != 0, in makeCopy()
1225 (redactions & REDACT_FOR_LOCAL_MAC_ADDRESS) != 0, in makeCopy()
1226 (redactions & REDACT_FOR_NETWORK_SETTINGS) != 0 in makeCopy()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java424 long redactions = new WifiInfo().getApplicableRedactions(); in testWifiInfoGetApplicableRedactions() local
427 | NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS, redactions); in testWifiInfoGetApplicableRedactions()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2994 private static boolean shouldRedact(@NetworkCapabilities.RedactionType long redactions,
2996 return (redactions & redaction) != 0;
3009 long redactions = applicableRedactions;
3010 if (shouldRedact(redactions, REDACT_FOR_ACCESS_FINE_LOCATION)) {
3013 redactions &= ~REDACT_FOR_ACCESS_FINE_LOCATION;
3016 if (shouldRedact(redactions, REDACT_FOR_LOCAL_MAC_ADDRESS)) {
3018 redactions &= ~REDACT_FOR_LOCAL_MAC_ADDRESS;
3021 if (shouldRedact(redactions, REDACT_FOR_NETWORK_SETTINGS)) {
3023 redactions &= ~REDACT_FOR_NETWORK_SETTINGS;
3026 return redactions;
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java4525 long redactions = wifiInfo.getApplicableRedactions(); in getConnectionInfo() local
4531 redactions &= ~NetworkCapabilities.REDACT_FOR_LOCAL_MAC_ADDRESS; in getConnectionInfo()
4539 redactions &= ~NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS; in getConnectionInfo()
4548 redactions &= ~NetworkCapabilities.REDACT_FOR_ACCESS_FINE_LOCATION; in getConnectionInfo()
4554 return wifiInfo.makeCopy(redactions); in getConnectionInfo()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java12596 public TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) {
12598 locationRedacted | (redactions & REDACT_FOR_ACCESS_FINE_LOCATION) != 0,
12599 localMacAddressRedacted | (redactions & REDACT_FOR_LOCAL_MAC_ADDRESS) != 0,
12600 settingsRedacted | (redactions & REDACT_FOR_NETWORK_SETTINGS) != 0
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz