Home
last modified time | relevance | path

Searched refs:field_len (Results 1 – 3 of 3) sorted by relevance

/system/bt/service/common/bluetooth/
Dadvertise_data.cc38 for (size_t i = 0, field_len = 0; i < len; i += (field_len + 1)) { in IsValid() local
39 field_len = data_[i]; in IsValid()
43 if (i + field_len >= len) { in IsValid()
50 if (field_len < 1) return false; in IsValid()
/system/bt/service/
Dlow_energy_scanner.cc45 for (size_t i = 0, field_len = 0; i < kScanRecordLength; in GetScanRecordLength() local
46 i += (field_len + 1)) { in GetScanRecordLength()
47 field_len = bytes[i]; in GetScanRecordLength()
52 CHECK(i + field_len < kScanRecordLength); in GetScanRecordLength()
57 if (field_len == 0) return i; in GetScanRecordLength()
/system/keymaster/tests/
Dnist_curve_key_exchange_test.cpp106 size_t field_len = (field_len_in_bits + 7) / 8; in TEST() local
107 size_t public_key_len = (field_len * 2) + 1; in TEST()
124 UniquePtr<uint8_t[]> result(new uint8_t[field_len]); in TEST()
125 EXPECT_EQ(-1 /* error */, ECDH_compute_key(result.get(), field_len, point_at_infinity, in TEST()