Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DIpMemoryStoreTest.java116 final String l2Key = "fakeKey"; in testNetworkAttributes() local
118 mStore.storeNetworkAttributes(l2Key, TEST_NETWORK_ATTRIBUTES, in testNetworkAttributes()
121 verify(mMockService, times(1)).storeNetworkAttributes(eq(l2Key), in testNetworkAttributes()
125 mStore.retrieveNetworkAttributes(l2Key, in testNetworkAttributes()
129 assertEquals(l2Key, key); in testNetworkAttributes()
133 verify(mMockService, times(1)).retrieveNetworkAttributes(eq(l2Key), any()); in testNetworkAttributes()
141 final String l2Key = "fakeKey"; in testPrivateData() local
143 mStore.storeBlob(l2Key, TEST_CLIENT_ID, TEST_DATA_NAME, b, in testPrivateData()
147 verify(mMockService, times(1)).storeBlob(eq(l2Key), eq(TEST_CLIENT_ID), eq(TEST_DATA_NAME), in testPrivateData()
150 mStore.retrieveBlob(l2Key, TEST_CLIENT_ID, TEST_OTHER_DATA_NAME, in testPrivateData()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DMemoryStoreImpl.java90 CatchAFallingBlob(String l2Key, WifiScoreCard.BlobListener blobListener) { in CatchAFallingBlob() argument
91 mL2Key = l2Key; in CatchAFallingBlob()
96 public void onBlobRetrieved(Status status, String l2Key, String name, Blob data) { in onBlobRetrieved() argument
97 if (!Objects.equals(mL2Key, l2Key)) { in onBlobRetrieved()
DWifiScoreCard.java166 return new Pair<>(perBssid.l2Key, groupHintFromLong(groupIdHash)); in getL2KeyAndGroupHint()
368 public final String l2Key; field in WifiScoreCard.PerBssid
381 this.l2Key = l2KeyFromLong(hash); in PerBssid()
476 return l2Key.toString(); in getL2Key()
DClientModeImpl.java5448 final String l2Key = mLastL2KeyAndGroupHint != null in enter() local
5452 final Layer2Information layer2Info = new Layer2Information(l2Key, groupHint, in enter()
/frameworks/base/services/net/java/android/net/ip/
DIpClientManager.java266 public boolean setL2KeyAndGroupHint(String l2Key, String groupHint) { in setL2KeyAndGroupHint() argument
269 mIpClient.setL2KeyAndGroupHint(l2Key, groupHint); in setL2KeyAndGroupHint()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java115 assertNotNull(perBssid.l2Key); in testUpdate()
116 assertTrue("L2Key length should be more than 16.", perBssid.l2Key.length() > 16); in testUpdate()
124 assertNotEquals(perBssid.l2Key, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).l2Key); in testUpdate()
DClientModeImplTest.java3117 assertEquals(info.l2Key, "Wad"); in testScoreCardNoteConnectionComplete()