Home
last modified time | relevance | path

Searched refs:NetworkAttributes (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/net/ipmemorystore/
DNetworkAttributesTest.java21 import android.net.ipmemorystore.NetworkAttributes;
47 final Field[] fieldList = NetworkAttributes.class.getDeclaredFields(); in testTotalWeight()
53 assertEquals(sum, NetworkAttributes.TOTAL_WEIGHT, EPSILON); in testTotalWeight()
57 final NetworkAttributes na = in testTotalWeight()
58 new NetworkAttributes( in testTotalWeight()
/frameworks/base/tests/net/java/android/net/ipmemorystore/
DParcelableTests.java42 final NetworkAttributes.Builder builder = new NetworkAttributes.Builder(); in testNetworkAttributesParceling()
43 NetworkAttributes in = builder.build(); in testNetworkAttributesParceling()
44 assertEquals(in, new NetworkAttributes(parcelingRoundTrip(in.toParcelable()))); in testNetworkAttributesParceling()
53 assertEquals(in, new NetworkAttributes(parcelingRoundTrip(in.toParcelable()))); in testNetworkAttributesParceling()
63 assertEquals(in, new NetworkAttributes(parcelingRoundTrip(in.toParcelable()))); in testNetworkAttributesParceling()
67 assertEquals(in, new NetworkAttributes(parcelingRoundTrip(in.toParcelable()))); in testNetworkAttributesParceling()
72 assertEquals(5, Arrays.stream(NetworkAttributes.class.getDeclaredFields()) in testNetworkAttributesParceling()
/frameworks/base/tests/net/java/android/net/
DIpMemoryStoreTest.java35 import android.net.ipmemorystore.NetworkAttributes;
65 private static final NetworkAttributes TEST_NETWORK_ATTRIBUTES = buildTestNetworkAttributes(
106 private static NetworkAttributes buildTestNetworkAttributes(String hint, int mtu) { in buildTestNetworkAttributes()
107 return new NetworkAttributes.Builder() in buildTestNetworkAttributes()
123 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testNetworkAttributes()
175 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testFindL2Key()
236 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequests()
280 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequestsWithException()
323 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequestsCallbackFunctionWithException()
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java86 private HashMap<Network, NetworkAttributes> mAvailableNetworkAttributes =
108 private static class NetworkAttributes { class in GnssNetworkConnectivityHandler
242 if (!NetworkAttributes.hasCapabilitiesChanged( in createNetworkConnectivityCallback()
329 NetworkAttributes networkAttributes = updateTrackedNetworksState(isConnected, network,
355 NetworkAttributes.getCapabilityFlags(capabilities));
361 private NetworkAttributes updateTrackedNetworksState(boolean isConnected, Network network,
368 NetworkAttributes networkAttributes = mAvailableNetworkAttributes.get(network);
376 networkAttributes = new NetworkAttributes();
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2488 IAGnssRil_V2_0::NetworkAttributes networkAttributes = { in android_location_GnssNetworkConnectivityHandler_update_network_state()
/frameworks/base/services/
Dart-profile8136 …NetworkCapabilities;)Lcom/android/server/location/GnssNetworkConnectivityHandler$NetworkAttributes;