Home
last modified time | relevance | path

Searched refs:REDACT_FOR_NETWORK_SETTINGS (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DVpnTransportInfoTest.java19 import static android.net.NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS;
75 final VpnTransportInfo v31 = v11.makeCopy(REDACT_FOR_NETWORK_SETTINGS); in testEqualsAndHashCode()
76 final VpnTransportInfo v32 = v13.makeCopy(REDACT_FOR_NETWORK_SETTINGS); in testEqualsAndHashCode()
77 final VpnTransportInfo v33 = v16.makeCopy(REDACT_FOR_NETWORK_SETTINGS); in testEqualsAndHashCode()
78 final VpnTransportInfo v34 = v17.makeCopy(REDACT_FOR_NETWORK_SETTINGS); in testEqualsAndHashCode()
91 assertEquals(REDACT_FOR_NETWORK_SETTINGS, v32.getApplicableRedactions()); in testEqualsAndHashCode()
DNetworkCapabilitiesTest.java53 import static android.net.NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS;
1226 (redactions & REDACT_FOR_NETWORK_SETTINGS) != 0 in makeCopy()
1233 | REDACT_FOR_NETWORK_SETTINGS; in getApplicableRedactions()
/packages/modules/Connectivity/framework/src/android/net/
DVpnTransportInfo.java21 import static android.net.NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS;
64 return REDACT_FOR_NETWORK_SETTINGS; in getApplicableRedactions()
75 ((redactions & REDACT_FOR_NETWORK_SETTINGS) != 0) ? null : mSessionId, in makeCopy()
DNetworkCapabilities.java185 public static final long REDACT_FOR_NETWORK_SETTINGS = 1 << 2; field in NetworkCapabilities
199 REDACT_FOR_NETWORK_SETTINGS,
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java401 writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS); in testWifiInfoRedactNetworkSettingsInfo()
427 | NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS, redactions); in testWifiInfoGetApplicableRedactions()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java1612 return (redactions & NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS) != 0; in shouldRedactNetworkSettingsFields()
1988 | NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS; in getApplicableRedactions()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt167 field public static final long REDACT_FOR_NETWORK_SETTINGS = 4L; // 0x4L
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java137 import static android.net.NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS;
12540 doReturn(REDACT_FOR_ACCESS_FINE_LOCATION | REDACT_FOR_NETWORK_SETTINGS)
12559 doReturn(REDACT_FOR_ACCESS_FINE_LOCATION | REDACT_FOR_NETWORK_SETTINGS)
12570 REDACT_FOR_ACCESS_FINE_LOCATION | REDACT_FOR_NETWORK_SETTINGS);
12600 settingsRedacted | (redactions & REDACT_FOR_NETWORK_SETTINGS) != 0
12607 | REDACT_FOR_NETWORK_SETTINGS;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java97 import static android.net.NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS;
3021 if (shouldRedact(redactions, REDACT_FOR_NETWORK_SETTINGS)) {
3023 redactions &= ~REDACT_FOR_NETWORK_SETTINGS;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java4539 redactions &= ~NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS; in getConnectionInfo()