Home
last modified time | relevance | path

Searched refs:l2Key (Results 1 – 25 of 84) sorted by relevance

1234

/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DIpMemoryStoreTest.java120 final String l2Key = "fakeKey"; in testNetworkAttributes() local
133 assertEquals(l2Key, key); in testNetworkAttributes()
145 final String l2Key = "fakeKey"; in testPrivateData() local
158 assertEquals(l2Key, key); in testPrivateData()
170 final String l2Key = "fakeKey"; in testFindL2Key() local
176 assertEquals(l2Key, key); in testFindL2Key()
204 final String l2Key = "fakeKey"; in testEnqueuedIpMsRequests() local
214 assertEquals(l2Key, key); in testEnqueuedIpMsRequests()
224 assertEquals(l2Key, key); in testEnqueuedIpMsRequests()
250 final String l2Key = "fakeKey"; in testEnqueuedIpMsRequestsWithException() local
[all …]
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
H A DIpMemoryStoreService.java167 public void storeNetworkAttributes(@Nullable final String l2Key, in storeNetworkAttributes() argument
177 final int code = storeNetworkAttributesAndBlobSync(l2Key, na, in storeNetworkAttributes()
204 final int code = storeNetworkAttributesAndBlobSync(l2Key, in storeBlob()
221 private int storeNetworkAttributesAndBlobSync(@Nullable final String l2Key, in storeNetworkAttributesAndBlobSync() argument
225 if (null == l2Key) return ERROR_ILLEGAL_ARGUMENT; in storeNetworkAttributesAndBlobSync()
241 Log.e(TAG, "Exception while storing for key {" + l2Key in storeNetworkAttributesAndBlobSync()
344 public void retrieveNetworkAttributes(@Nullable final String l2Key, in retrieveNetworkAttributes() argument
349 if (null == l2Key) { in retrieveNetworkAttributes()
351 makeStatus(ERROR_ILLEGAL_ARGUMENT), l2Key, null); in retrieveNetworkAttributes()
390 if (null == l2Key) { in retrieveBlob()
[all …]
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
H A DIpMemoryStoreServiceTest.java456 final String l2Key = FAKE_KEYS[0];
461 storeAttributes(l2Key, attributes);
468 assertEquals(l2Key, key);
484 assertEquals(l2Key, key);
554 final String l2Key = FAKE_KEYS[0];
556 storeBlobOrFail(l2Key, b, TEST_BLOB_DATA);
563 assertEquals(l2Key, key);
575 assertEquals(l2Key, key);
859 final String l2Key = FAKE_KEYS[0];
865 storeAttributes(l2Key, na.build());
[all …]
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
H A DIpMemoryStoreClient.java87 public void storeNetworkAttributes(@NonNull final String l2Key, in storeNetworkAttributes() argument
92 () -> service.storeNetworkAttributes(l2Key, attributes.toParcelable(), in storeNetworkAttributes()
112 public void storeBlob(@NonNull final String l2Key, @NonNull final String clientId, in storeBlob() argument
117 () -> service.storeBlob(l2Key, clientId, name, data, in storeBlob()
184 public void retrieveNetworkAttributes(@NonNull final String l2Key, in retrieveNetworkAttributes() argument
188 () -> service.retrieveNetworkAttributes(l2Key, in retrieveNetworkAttributes()
208 public void retrieveBlob(@NonNull final String l2Key, @NonNull final String clientId, in retrieveBlob() argument
212 () -> service.retrieveBlob(l2Key, clientId, name, in retrieveBlob()
236 public void delete(@NonNull final String l2Key, final boolean needWipe, in delete() argument
240 service.delete(l2Key, needWipe, OnDeleteStatusListener.toAIDL(listener)))); in delete()
H A DIIpMemoryStore.aidl45 void storeNetworkAttributes(String l2Key, in NetworkAttributesParcelable attributes, in storeNetworkAttributes() argument
59 void storeBlob(String l2Key, String clientId, String name, in Blob data, in storeBlob() argument
98 void retrieveNetworkAttributes(String l2Key, IOnNetworkAttributesRetrievedListener listener); in retrieveNetworkAttributes() argument
111 void retrieveBlob(String l2Key, String clientId, String name, in retrieveBlob() argument
134 void delete(String l2Key, boolean needWipe, IOnStatusAndCountListener listener); in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/10/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
28 …oneway void delete(String l2Key, boolean needWipe, android.net.ipmemorystore.IOnStatusAndCountList… in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/7/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
28 …oneway void delete(String l2Key, boolean needWipe, android.net.ipmemorystore.IOnStatusAndCountList… in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/8/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
28 …oneway void delete(String l2Key, boolean needWipe, android.net.ipmemorystore.IOnStatusAndCountList… in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/9/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
28 …oneway void delete(String l2Key, boolean needWipe, android.net.ipmemorystore.IOnStatusAndCountList… in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/current/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
28 …oneway void delete(String l2Key, boolean needWipe, android.net.ipmemorystore.IOnStatusAndCountList… in delete() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/1/android/net/
H A DIIpMemoryStore.aidl3 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
7 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/2/android/net/
H A DIIpMemoryStore.aidl3 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
7 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/3/android/net/
H A DIIpMemoryStore.aidl20 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
21 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
24 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
25 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/4/android/net/
H A DIIpMemoryStore.aidl3 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
7 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/5/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/android/net/
H A DIIpMemoryStore.aidl21 …oneway void storeNetworkAttributes(String l2Key, in android.net.ipmemorystore.NetworkAttributesPar… in storeNetworkAttributes() argument
22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument
25 …oneway void retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributes… in retrieveNetworkAttributes() argument
26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTest.kt48 override fun getStoredNetworkAttributes(l2Key: String, timeout: Long): NetworkAttributes {
52 .storeNetworkAttributes(eq(l2Key), networkAttributesCaptor.capture(), any())
56 override fun assertIpMemoryNeverStoreNetworkAttributes(l2Key: String, timeout: Long) {
57 verify(mIpMemoryStore, never()).storeNetworkAttributes(eq(l2Key), any(), any())
H A DIpClientRootTest.kt250 override fun getStoredNetworkAttributes(l2Key: String, timeout: Long): NetworkAttributes {
252 mStore.retrieveNetworkAttributes(l2Key, listener)
258 override fun assertIpMemoryNeverStoreNetworkAttributes(l2Key: String, timeout: Long) {
260 mStore.retrieveNetworkAttributes(l2Key, listener)
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
H A DLayer2Information.java37 public Layer2Information(@Nullable final String l2Key, @Nullable final String cluster, in Layer2Information() argument
39 mL2Key = l2Key; in Layer2Information()
58 p.l2Key = mL2Key; in toStableParcelable()
70 return new Layer2Information(p.l2Key, p.cluster, p.bssid); in fromStableParcelable()
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
H A DOnL2KeyResponseListener.java29 void onL2KeyResponse(Status status, String l2Key); in onL2KeyResponse() argument
37 final String l2Key) { in toAIDL()
40 listener.onL2KeyResponse(new Status(statusParcelable), l2Key); in toAIDL()
H A DOnNetworkAttributesRetrievedListener.java29 void onNetworkAttributesRetrieved(Status status, String l2Key, NetworkAttributes attributes); in onNetworkAttributesRetrieved() argument
38 final String l2Key, in toAIDL()
43 new Status(statusParcelable), l2Key, null == networkAttributesParcelable in toAIDL()
H A DOnBlobRetrievedListener.java29 void onBlobRetrieved(Status status, String l2Key, String name, Blob blob); in onBlobRetrieved() argument
36 public void onBlobRetrieved(final StatusParcelable statusParcelable, final String l2Key, in toAIDL()
40 listener.onBlobRetrieved(new Status(statusParcelable), l2Key, name, blob); in toAIDL()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DMemoryStoreImpl.java91 CatchAFallingBlob(String l2Key, WifiScoreCard.BlobListener blobListener) { in CatchAFallingBlob() argument
92 mL2Key = l2Key; in CatchAFallingBlob()
97 public void onBlobRetrieved(Status status, String l2Key, String name, Blob data) { in onBlobRetrieved() argument
98 if (!Objects.equals(mL2Key, l2Key)) { in onBlobRetrieved()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpClient.java810 final String l2Key = mConfiguration.l2Key; in setLeaseExpiredToIpMemoryStore() local
811 if (l2Key == null) return; in setLeaseExpiredToIpMemoryStore()
819 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in setLeaseExpiredToIpMemoryStore()
823 final String l2Key = mConfiguration.l2Key; in maybeSaveLeaseToIpMemoryStore() local
824 if (l2Key == null || mDhcpLease == null || mDhcpLease.ipAddress == null) return; in maybeSaveLeaseToIpMemoryStore()
836 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in maybeSaveLeaseToIpMemoryStore()
987 public final String l2Key; field in DhcpClient.Configuration
992 public Configuration(@Nullable final String l2Key, final boolean isPreconnectionEnabled, in Configuration() argument
994 this.l2Key = l2Key; in Configuration()
1224 mIpMemoryStore.retrieveNetworkAttributes(mConfiguration.l2Key, listener); in enter()
[all …]
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
H A DLayer2InformationParcelable.aidl20 String l2Key;

1234