Home
last modified time | relevance | path

Searched refs:byte_array (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/common/
Dbyte_array_test.cc32 ByteArray<16> byte_array(data); in TEST() local
35 ASSERT_EQ(data[i], byte_array.bytes[i]); in TEST()
40 auto byte_array = ByteArray<16>::FromString(test_bytes); in TEST() local
41 ASSERT_TRUE(byte_array); in TEST()
44 ASSERT_EQ(test_data[i], byte_array->bytes[i]); in TEST()
49 ByteArray<16> byte_array = { in TEST() local
51 std::string str = byte_array.ToString(); in TEST()
Dbyte_array.h86 ByteArray<kLength> byte_array = {}; in FromString() local
87 std::move(vec->data(), vec->data() + vec->size(), byte_array.data()); in FromString()
88 return byte_array; in FromString()
/system/bt/gd/security/record/
Dsecurity_record_storage.cc56 common::ByteArray<23> byte_array(peerid); in SetLeData() local
57 mutation.Add(le_device.SetPeerId(byte_array.ToString())); in SetLeData()
74 common::ByteArray<28> byte_array(penc_keys); in SetLeData() local
75 mutation.Add(le_device.SetPeerEncryptionKeys(byte_array.ToString())); in SetLeData()
89 common::ByteArray<21> byte_array(psrk_keys); in SetLeData() local
90 mutation.Add(le_device.SetPeerSignatureResolvingKeys(byte_array.ToString())); in SetLeData()
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc564 std::array<uint8_t, byte_array_size> byte_array; in TEST() local
565 for (uint8_t i = 0; i < byte_array_size; i++) byte_array[i] = i; in TEST()
571 auto packet = PacketWithFixedArraysOfBytesBuilder::Create(byte_array, word_array); in TEST()
581 ASSERT_EQ(byte_array[i], packet_bytes->at(i)); in TEST()
588 ASSERT_EQ(byte_array.size(), array.size()); in TEST()
590 ASSERT_EQ(array[i], byte_array[i]); in TEST()