Home
last modified time | relevance | path

Searched refs:makeCopy (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DVpnTransportInfoTest.java75 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()
92 assertEquals(session1, v15.makeCopy(REDACT_NONE).getSessionId()); in testEqualsAndHashCode()
DNetworkCapabilitiesTest.java1222 public TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) { in makeCopy() method in NetworkCapabilitiesTest.TestTransportInfo
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java58 mNetworkIdToConfiguredNetworks.put(networkId, makeCopy(config, networkId)); in addNetwork()
68 makeCopy(wifiConfiguration, wifiConfiguration.networkId)); in connect()
181 private WifiConfiguration makeCopy(WifiConfiguration config, int networkId) { in makeCopy() method in ShadowWifiManager
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java233 WifiInfo redactedWifiInfo = writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_NONE); in testWifiInfoRedactNoRedactions()
296 writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_FOR_ACCESS_FINE_LOCATION); in testWifiInfoRedactLocationSensitiveInfo()
359 writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_FOR_LOCAL_MAC_ADDRESS); in testWifiInfoRedactLocalMacAddressInfo()
401 writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_FOR_NETWORK_SETTINGS); in testWifiInfoRedactNetworkSettingsInfo()
450 writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_FOR_ACCESS_FINE_LOCATION in testWifiInfoRedactLocationAndLocalMacAddressSensitiveInfo()
479 WifiInfo writeWifiInfoCopy = writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_NONE); in testWifiInfoParcelWriteReadWithNullInfoElements()
500 WifiInfo writeWifiInfoCopy = writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_NONE); in testWifiInfoParcelWriteReadWithEmptyInfoElements()
/packages/modules/Connectivity/framework/src/android/net/
DTransportInfo.java59 default TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) { in makeCopy() method
DVpnTransportInfo.java73 public VpnTransportInfo makeCopy(@RedactionType long redactions) { in makeCopy() method in VpnTransportInfo
DNetworkCapabilities.java351 mTransportInfo = nc.mTransportInfo.makeCopy(redactions); in NetworkCapabilities()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DInternetPreferenceRepositoryTest.kt91 on { makeCopy(any()) } doReturn mock in <lambda>()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt238 method @NonNull public default android.net.TransportInfo makeCopy(long);
245 method @NonNull public android.net.VpnTransportInfo makeCopy(long);
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DKeepaliveStatsTrackerTest.java1134 doReturn(wifiInfoCopy).when(wifiInfo).makeCopy(anyLong()); in testCarrierIdFromWifiInfo()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java1974 public WifiInfo makeCopy(long redactions) { in makeCopy() method in WifiInfo
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java12352 verify(transportInfo).makeCopy(REDACT_NONE);
12354 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION);
12511 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION);
12530 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION
12550 verify(transportInfo).makeCopy(REDACT_FOR_ACCESS_FINE_LOCATION);
12569 verify(transportInfo).makeCopy(
12596 public TransportInfo makeCopy(@NetworkCapabilities.RedactionType long redactions) {
/packages/modules/Wifi/framework/api/
Dcurrent.txt404 method @NonNull public android.net.wifi.WifiInfo makeCopy(long);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java4554 return wifiInfo.makeCopy(redactions); in getConnectionInfo()