Searched refs:mac (Results 1 – 11 of 11) sorted by relevance
84 MacAddress mac = MacAddress.fromString(tc.macAddress); in testMacAddress() local86 if (!tc.ouiString.equals(mac.toOuiString())) { in testMacAddress()88 tc.ouiString, mac.toOuiString())); in testMacAddress()91 if (tc.isLocallyAssigned != mac.isLocallyAssigned()) { in testMacAddress()92 fail(String.format("expected %s to be %s, got %s", mac, in testMacAddress()94 localAssignedToString(mac.isLocallyAssigned()))); in testMacAddress()97 if (tc.addressType != mac.getAddressType()) { in testMacAddress()98 fail(String.format("expected %s address type to be %s, got %s", mac, in testMacAddress()99 typeToString(tc.addressType), typeToString(mac.getAddressType()))); in testMacAddress()102 if (!tc.macAddress.equals(mac.toString())) { in testMacAddress()[all …]
217 Mac mac = Mac.getInstance(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() local218 mac.init(key); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()219 assertSame(provider, mac.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()234 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedForEmptyMessage() local235 mac.init(key); in testMacGeneratedForEmptyMessage()236 byte[] macBytes = mac.doFinal(); in testMacGeneratedForEmptyMessage()255 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local256 mac.init(key); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()258 byte[] macBytes = mac.doFinal(message); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()277 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local[all …]
2394 Mac mac = Mac.getInstance(key1.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC() local2395 mac.init(keystoreKey1); in testKeyStore_LargeNumberOfKeysSupported_HMAC()2399 mac.doFinal(message)); in testKeyStore_LargeNumberOfKeysSupported_HMAC()2401 mac = Mac.getInstance(key2.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()2402 mac.init(keystoreKey2); in testKeyStore_LargeNumberOfKeysSupported_HMAC()2406 mac.doFinal(message)); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
24 MockAbstractCursor mac = new MockAbstractCursor(); in testConstructor() local25 mac.getMockSelfContentObserver(); in testConstructor()29 MockAbstractCursor mac = new MockAbstractCursor(); in testDeliverSelfNotifications() local30 MockAbstractCursor.MockSelfContentObserver msc = mac.getMockSelfContentObserver(); in testDeliverSelfNotifications()
46 MacWrapper(byte[] mac) { in MacWrapper() argument47 mMac = mac; in MacWrapper()
149 public void onIdentityChanged(byte[] mac) { in onIdentityChanged() argument150 mMac = mac; in onIdentityChanged()491 byte[] mac = identityL.getMac(); in testAttachDiscoveryAddressChanges()492 assertNotNull("Wi-Fi Aware discovery MAC: iteration " + i, mac); in testAttachDiscoveryAddressChanges()496 macs.add(new TestUtils.MacWrapper(mac)); in testAttachDiscoveryAddressChanges()711 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathOpenOutOfBandFail() local725 mac.toByteArray())).build(); in testDataPathOpenOutOfBandFail()740 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathPassphraseOutOfBandFail() local753 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, mac.toByteArray(), in testDataPathPassphraseOutOfBandFail()
167 String mac = result.getDevice().getAddress(); in onScanResult() local186 } else if (!mOldMac.equals(mac)) { in onScanResult()
123 byte[] mac = identityL.waitForMac(); in executeAttach()124 if (mac == null) { in executeAttach()129 mMyMacAddress = MacAddress.fromBytes(mac); in executeAttach()
97 public void onIdentityChanged(byte[] mac) { in onIdentityChanged() argument102 mMac = mac; in onIdentityChanged()
3437 byte[] mac = new byte[] {3444 sessionBundle.putByteArray(KEY_MAC, mac);3467 byte[] mac = new byte[] {};3469 sessionBundle.putByteArray(KEY_MAC, mac);
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...