Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 49) sorted by relevance

12

/device/google/cuttlefish/host/commands/metrics/unittest/
Dutils_tests.cpp25 std::string mac = metrics::GetMacAddress(); in TEST() local
26 ASSERT_FALSE(mac.empty()); in TEST()
27 EXPECT_EQ(mac.size(), 17); // Ensure MAC address has correct length in TEST()
32 std::string mac = metrics::GetMacAddress(); in TEST() local
34 EXPECT_EQ(mac[2], ':'); in TEST()
35 EXPECT_EQ(mac[5], ':'); in TEST()
36 EXPECT_EQ(mac[8], ':'); in TEST()
37 EXPECT_EQ(mac[11], ':'); in TEST()
38 EXPECT_EQ(mac[14], ':'); in TEST()
/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp164 std::string MacAddressToString(const std::uint8_t mac[6]) { in MacAddressToString()
165 std::vector<std::uint8_t> mac_vec(mac, mac + 6); in MacAddressToString()
196 void GenerateCorrespondingIpv6ForMac(const std::uint8_t mac[6], std::uint8_t out[16]) { in GenerateCorrespondingIpv6ForMac()
203 out[8] = mac[0] ^ (1 << 1); in GenerateCorrespondingIpv6ForMac()
204 out[9] = mac[1]; in GenerateCorrespondingIpv6ForMac()
206 out[10] = mac[2]; in GenerateCorrespondingIpv6ForMac()
210 out[13] = mac[3]; in GenerateCorrespondingIpv6ForMac()
212 out[14] = mac[4]; in GenerateCorrespondingIpv6ForMac()
213 out[15] = mac[5]; in GenerateCorrespondingIpv6ForMac()
Dnetwork.h38 void GenerateCorrespondingIpv6ForMac(const std::uint8_t mac[6], std::uint8_t out[16]);
43 std::string MacAddressToString(const std::uint8_t mac[6]);
/device/google/cuttlefish/guest/hals/identity/
DRemoteSecureHardwareProxy.cpp115 vector<uint8_t> mac(28); in addAccessControlProfile() local
119 userAuthenticationRequired, timeoutMillis, secureUserId, mac.data(), in addAccessControlProfile()
123 return mac; in addAccessControlProfile()
272 const vector<uint8_t>& mac, uint64_t verificationTokenChallenge, in setAuthToken() argument
277 hardwareAuthenticatorType, timeStamp, mac.data(), mac.size(), in setAuthToken()
287 const vector<uint8_t>& mac) { in validateAccessControlProfile() argument
292 userAuthenticationRequired, timeoutMillis, secureUserId, mac.data(), in validateAccessControlProfile()
376 vector<uint8_t> mac(32); in finishRetrieval() local
378 if (!eicPresentationFinishRetrieval(&ctx_, mac.data(), &macSize)) { in finishRetrieval()
381 mac.resize(macSize); in finishRetrieval()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dcontrols.js140 let id, name, mac;
146 mac = regexMatches[4];
148 if (mac === undefined) {
149 mac = "";
151 return [id, name, mac];
156 let [id, name, mac] = parseDevice(deviceArr[0]);
162 div.innerHTML += "<p>MAC Addr: <b>" + mac + "</b></p>";
208 let [id, name, mac] = parseDevice(device);
213 if (mac) {
215 innerDiv += mac;
/device/generic/goldfish/wifi/mac80211_create_radios/
Dmain.cpp158 buildCreateRadioMessage(const int family, const uint8_t mac[ETH_ALEN], in buildCreateRadioMessage()
165 PUT_DATA(msg, HWSIM_ATTR_PERM_ADDR, mac, ETH_ALEN, ret); in buildCreateRadioMessage()
207 uint8_t mac[ETH_ALEN] = {}; in createRadios() local
208 mac[0] = 0x02; in createRadios()
209 mac[1] = (macPrefix >> CHAR_BIT) & 0xFF; in createRadios()
210 mac[2] = macPrefix & 0xFF; in createRadios()
213 mac[4] = idx; in createRadios()
216 buildCreateRadioMessage(netlinkFamily, mac, enablePmsr); in createRadios()
/device/google/cuttlefish/guest/commands/setup_wifi/
Dmain.cpp40 std::array<unsigned char, 6> mac; in prefix_to_mac() local
42 mac[0] = 0x02; in prefix_to_mac()
43 mac[1] = (macPrefix >> CHAR_BIT) & 0xFF; in prefix_to_mac()
44 mac[2] = macPrefix & 0xFF; in prefix_to_mac()
45 return mac; in prefix_to_mac()
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_builder.cpp33 std::string MacCrosvmArgument(std::optional<std::string_view> mac) { in MacCrosvmArgument() argument
34 return mac.has_value() ? fmt::format(",mac={}", mac.value()) : ""; in MacCrosvmArgument()
121 std::optional<std::string_view> mac, in AddTap() argument
125 command_.AddParameter("--net=tap-fd=", tap_fd, MacCrosvmArgument(mac), PciCrosvmArgument(pci)); in AddTap()
/device/linaro/dragonboard-kernel/android-5.4/
Dmodules.builtin66 fs/nls/mac-celtic.ko
67 fs/nls/mac-centeuro.ko
68 fs/nls/mac-croatian.ko
69 fs/nls/mac-cyrillic.ko
70 fs/nls/mac-gaelic.ko
71 fs/nls/mac-greek.ko
72 fs/nls/mac-iceland.ko
73 fs/nls/mac-inuit.ko
74 fs/nls/mac-romanian.ko
75 fs/nls/mac-roman.ko
[all …]
/device/google/cuttlefish/guest/hals/identity/common/
DIdentityCredential.cpp277 authToken.mac, verificationToken_.challenge, in startRetrieval()
279 int(verificationToken_.securityLevel), verificationToken_.mac)) { in startRetrieval()
356 profile.secureUserId, profile.mac); in startRetrieval()
405 profile.secureUserId, profile.mac); in startRetrieval()
894 optional<vector<uint8_t>> mac; in finishRetrieval() local
904 mac = support::coseMacWithDigest(digestToBeMaced.value(), {} /* data */); in finishRetrieval()
907 *outMac = mac.value_or(vector<uint8_t>({})); in finishRetrieval()
DWritableIdentityCredential.cpp177 optional<vector<uint8_t>> mac = hwProxy_->addAccessControlProfile( in addAccessControlProfile() local
180 if (!mac) { in addAccessControlProfile()
191 profile.mac = mac.value(); in addAccessControlProfile()
/device/google/cuttlefish/host/commands/metrics/
Dutils.cc107 char mac[100]; in GetMacAddress() local
108 sprintf(mac, "%02x:%02x:%02x:%02x:%02x:%02x", mac_address[0], mac_address[1], in GetMacAddress()
110 return mac; in GetMacAddress()
/device/linaro/hikey-kernel/hikey960/5.10/
Dmodules.builtin68 kernel/fs/nls/mac-celtic.ko
69 kernel/fs/nls/mac-centeuro.ko
70 kernel/fs/nls/mac-croatian.ko
71 kernel/fs/nls/mac-cyrillic.ko
72 kernel/fs/nls/mac-gaelic.ko
73 kernel/fs/nls/mac-greek.ko
74 kernel/fs/nls/mac-iceland.ko
75 kernel/fs/nls/mac-inuit.ko
76 kernel/fs/nls/mac-romanian.ko
77 kernel/fs/nls/mac-roman.ko
[all …]
/device/linaro/dragonboard-kernel/android-5.10/
Dmodules.builtin68 kernel/fs/nls/mac-celtic.ko
69 kernel/fs/nls/mac-centeuro.ko
70 kernel/fs/nls/mac-croatian.ko
71 kernel/fs/nls/mac-cyrillic.ko
72 kernel/fs/nls/mac-gaelic.ko
73 kernel/fs/nls/mac-greek.ko
74 kernel/fs/nls/mac-iceland.ko
75 kernel/fs/nls/mac-inuit.ko
76 kernel/fs/nls/mac-romanian.ko
77 kernel/fs/nls/mac-roman.ko
[all …]
/device/google/cuttlefish/guest/hals/keymint/remote/
Dremote_secure_clock.cpp50 token->mac = kmBlob2vector(response.token.mac); in generateTimeStamp()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_enforcement.cpp268 response.token.mac = KeymasterBlob(hmac->buffer, hmac->size); in VerifyAuthorization()
278 token->mac = KeymasterBlob(); in GenerateTimestampToken()
294 token->mac = KeymasterBlob(hmac->buffer, hmac->size); in GenerateTimestampToken()
/device/google/cuttlefish/guest/hals/identity/libeic/
DEicPresentation.c362 const uint8_t* mac, size_t macSize, uint64_t verificationTokenChallenge, in eicPresentationSetAuthToken() argument
383 timeStamp, mac, macSize, verificationTokenChallenge, in eicPresentationSetAuthToken()
473 int timeoutMillis, uint64_t secureUserId, const uint8_t mac[28], in eicPresentationValidateAccessControlProfile()
489 if (!eicOpsDecryptAes128Gcm(ctx->storageKey, mac, 28, cborBuilder.buffer, in eicPresentationValidateAccessControlProfile()
DEicPresentation.h130 const uint8_t* mac, size_t macSize, uint64_t verificationTokenChallenge,
164 int timeoutMillis, uint64_t secureUserId, const uint8_t mac[28],
/device/google/cuttlefish/host/frontend/webrtc/html_client/
Dstyle.css194 #bluetooth-wizard-mac:valid {
197 #bluetooth-wizard-mac:invalid {
200 #bluetooth-wizard-mac:invalid + span::before {
205 #bluetooth-wizard-mac:valid + span::before {
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h91 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
98 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h147 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
160 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h154 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
171 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h103 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
113 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h103 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
113 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Drmnet_ipa_fd_ioctl.h154 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
171 uint8_t mac[IPA_MAC_ADDR_SIZE]; member

12