Searched refs:NetworkAttributes (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ipmemorystore/ |
D | NetworkAttributesTest.java | 21 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/ |
D | ParcelableTests.java | 42 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/services/net/java/android/net/ipmemorystore/ |
D | NetworkAttributes.java | 37 public class NetworkAttributes { class 98 public NetworkAttributes( in NetworkAttributes() method in NetworkAttributes 117 public NetworkAttributes(@NonNull final NetworkAttributesParcelable parcelable) { in NetworkAttributes() method in NetworkAttributes 186 public float getNetworkGroupSamenessConfidence(@NonNull final NetworkAttributes o) { in getNetworkGroupSamenessConfidence() 288 public NetworkAttributes build() { in build() 289 return new NetworkAttributes(mAssignedAddress, mAssignedAddressExpiry, in build() 302 if (!(o instanceof NetworkAttributes)) return false; in equals() 303 final NetworkAttributes other = (NetworkAttributes) o; in equals()
|
D | OnNetworkAttributesRetrievedListener.java | 29 void onNetworkAttributesRetrieved(Status status, String l2Key, NetworkAttributes attributes); in onNetworkAttributesRetrieved() 44 ? null : new NetworkAttributes(networkAttributesParcelable)); in toAIDL()
|
/frameworks/base/tests/net/java/android/net/ |
D | IpMemoryStoreTest.java | 35 import android.net.ipmemorystore.NetworkAttributes; 64 private static final NetworkAttributes TEST_NETWORK_ATTRIBUTES = buildTestNetworkAttributes( 105 private static NetworkAttributes buildTestNetworkAttributes(String hint, int mtu) { in buildTestNetworkAttributes() 106 return new NetworkAttributes.Builder() in buildTestNetworkAttributes() 122 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testNetworkAttributes() 174 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testFindL2Key() 235 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequests() 279 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequestsWithException() 322 assertEquals(TEST_NETWORK_ATTRIBUTES, new NetworkAttributes(mNapCaptor.getValue())); in testEnqueuedIpMsRequestsCallbackFunctionWithException()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 86 private HashMap<Network, NetworkAttributes> mAvailableNetworkAttributes = 108 private static class NetworkAttributes { class in GnssNetworkConnectivityHandler 242 if (!NetworkAttributes.hasCapabilitiesChanged( in createNetworkConnectivityCallback() 325 NetworkAttributes networkAttributes = updateTrackedNetworksState(isConnected, network, 351 NetworkAttributes.getCapabilityFlags(capabilities)); 357 private NetworkAttributes updateTrackedNetworksState(boolean isConnected, Network network, 364 NetworkAttributes networkAttributes = mAvailableNetworkAttributes.get(network); 372 networkAttributes = new NetworkAttributes();
|
/frameworks/base/services/net/java/android/net/ |
D | IpMemoryStoreClient.java | 23 import android.net.ipmemorystore.NetworkAttributes; 87 @NonNull final NetworkAttributes attributes, in storeNetworkAttributes() 137 public void findL2Key(@NonNull final NetworkAttributes attributes, in findL2Key()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 2468 IAGnssRil_V2_0::NetworkAttributes networkAttributes = { in android_location_GnssNetworkConnectivityHandler_update_network_state()
|
/frameworks/base/services/ |
D | art-profile | 8136 …NetworkCapabilities;)Lcom/android/server/location/GnssNetworkConnectivityHandler$NetworkAttributes;
|