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.cpp104 size_t field_len = (field_len_in_bits + 7) / 8; in TEST() local
105 size_t public_key_len = (field_len * 2) + 1; in TEST()
122 UniquePtr<uint8_t[]> result(new uint8_t[field_len]); in TEST()
123 EXPECT_EQ(-1 /* error */, ECDH_compute_key(result.get(), field_len, point_at_infinity, in TEST()