/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreService.java | 167 public void storeNetworkAttributes(@Nullable final String l2Key, in storeNetworkAttributes() argument 177 final int code = storeNetworkAttributesAndBlobSync(l2Key, na, in storeNetworkAttributes() 198 public void storeBlob(@Nullable final String l2Key, @Nullable final String clientId, in storeBlob() argument 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() 230 final long oldExpiry = IpMemoryStoreDatabase.getExpiry(mDb, l2Key); in storeNetworkAttributesAndBlobSync() 234 IpMemoryStoreDatabase.storeNetworkAttributes(mDb, l2Key, newExpiry, attributes); in storeNetworkAttributesAndBlobSync() 238 return IpMemoryStoreDatabase.storeBlob(mDb, l2Key, clientId, name, data); in storeNetworkAttributesAndBlobSync() 241 Log.e(TAG, "Exception while storing for key {" + l2Key in storeNetworkAttributesAndBlobSync() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 235 void onBlobRetrieved(Status status, String l2Key, String name, byte[] data); 241 final String l2Key, final String name, final Blob blob) throws RemoteException { 242 functor.onBlobRetrieved(new Status(statusParcelable), l2Key, name, 265 void onNetworkAttributesRetrieved(Status status, String l2Key, NetworkAttributes attr); 272 final String l2Key, final NetworkAttributesParcelable attributes) 274 functor.onNetworkAttributesRetrieved(new Status(status), l2Key, 375 private NetworkAttributes storeAttributes(final String l2Key, final NetworkAttributes na) { 376 return storeAttributes("Did not complete storing attributes", l2Key, na); 378 private NetworkAttributes storeAttributes(final String timeoutMessage, final String l2Key, 380 doLatched(timeoutMessage, latch -> mService.storeNetworkAttributes(l2Key, na.toParcelable(), [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | IpMemoryStoreClient.java | 87 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()
|
D | IIpMemoryStore.aidl | 45 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
|
D | Layer2InformationParcelable.aidl | 22 String l2Key;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/7/android/net/ |
D | IIpMemoryStore.aidl | 21 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/current/android/net/ |
D | IIpMemoryStore.aidl | 21 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/1/android/net/ |
D | IIpMemoryStore.aidl | 3 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/2/android/net/ |
D | IIpMemoryStore.aidl | 3 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/3/android/net/ |
D | IIpMemoryStore.aidl | 20 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/4/android/net/ |
D | IIpMemoryStore.aidl | 3 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/5/android/net/ |
D | IIpMemoryStore.aidl | 21 …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
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/android/net/ |
D | IIpMemoryStore.aidl | 21 …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
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | Layer2Information.java | 37 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()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/ |
D | OnL2KeyResponseListener.java | 29 void onL2KeyResponse(Status status, String l2Key); in onL2KeyResponse() argument 37 final String l2Key) { in toAIDL() 40 listener.onL2KeyResponse(new Status(statusParcelable), l2Key); in toAIDL()
|
D | OnNetworkAttributesRetrievedListener.java | 29 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()
|
D | OnBlobRetrievedListener.java | 29 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()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 771 final String l2Key = mConfiguration.l2Key; in setLeaseExpiredToIpMemoryStore() local 772 if (l2Key == null) return; in setLeaseExpiredToIpMemoryStore() 780 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in setLeaseExpiredToIpMemoryStore() 784 final String l2Key = mConfiguration.l2Key; in maybeSaveLeaseToIpMemoryStore() local 785 if (l2Key == null || mDhcpLease == null || mDhcpLease.ipAddress == null) return; in maybeSaveLeaseToIpMemoryStore() 797 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in maybeSaveLeaseToIpMemoryStore() 947 public final String l2Key; field in DhcpClient.Configuration 950 public Configuration(String l2Key, boolean isPreconnectionEnabled) { in Configuration() argument 951 this.l2Key = l2Key; in Configuration() 1170 final OnNetworkAttributesRetrievedListener listener = (status, l2Key, attributes) -> { in enter() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 179 private void verifyNetworkAttributesStored(final String l2Key, in verifyNetworkAttributesStored() argument 359 final String l2Key = TEST_L2KEY; in testProvisioningWithInitialConfiguration() local 373 ipc.setL2KeyAndCluster(l2Key, cluster); in testProvisioningWithInitialConfiguration() 396 verifyNetworkAttributesStored(l2Key, new NetworkAttributes.Builder() in testProvisioningWithInitialConfiguration()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ |
D | Layer2InformationParcelable.aidl | 20 String l2Key;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | Layer2InformationParcelable.aidl | 20 String l2Key;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | Layer2InformationParcelable.aidl | 20 String l2Key;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/1/android/net/ipmemorystore/ |
D | IOnL2KeyResponseListener.aidl | 3 …oneway void onL2KeyResponse(in android.net.ipmemorystore.StatusParcelable status, in String l2Key); in onL2KeyResponse() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/5/android/net/ipmemorystore/ |
D | IOnL2KeyResponseListener.aidl | 21 …oneway void onL2KeyResponse(in android.net.ipmemorystore.StatusParcelable status, in String l2Key); in onL2KeyResponse() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/4/android/net/ipmemorystore/ |
D | IOnL2KeyResponseListener.aidl | 3 …oneway void onL2KeyResponse(in android.net.ipmemorystore.StatusParcelable status, in String l2Key); in onL2KeyResponse() argument
|