Home
last modified time | relevance | path

Searched refs:serialized (Results 1 – 19 of 19) sorted by relevance

/system/bt/bta/test/gatt/
Ddatabase_test.cc60 std::vector<StoredAttribute> serialized = db.Serialize(); in TEST() local
63 EXPECT_EQ(serialized[0].handle, 0x0001); in TEST()
64 EXPECT_EQ(serialized[0].type, PRIMARY_SERVICE); in TEST()
65 EXPECT_EQ(serialized[0].value.service.uuid, SERVICE_1_UUID); in TEST()
66 EXPECT_EQ(serialized[0].value.service.end_handle, 0x000f); in TEST()
69 EXPECT_EQ(serialized[1].handle, 0x0010); in TEST()
70 EXPECT_EQ(serialized[1].type, SECONDARY_SERVICE); in TEST()
71 EXPECT_EQ(serialized[1].value.service.uuid, SERVICE_2_UUID); in TEST()
72 EXPECT_EQ(serialized[1].value.service.end_handle, 0x001f); in TEST()
75 EXPECT_EQ(serialized[2].handle, 0x0002); in TEST()
[all …]
/system/security/keystore/tests/
Dverification_token_seralization_test.cpp40 optional<vector<uint8_t>> serialized = serializeVerificationToken(token); in TEST() local
41 ASSERT_TRUE(serialized.has_value()); in TEST()
42 optional<VerificationToken> deserialized = deserializeVerificationToken(serialized.value()); in TEST()
57 optional<vector<uint8_t>> serialized = serializeVerificationToken(token); in TEST() local
58 ASSERT_TRUE(serialized.has_value()); in TEST()
59 optional<VerificationToken> deserialized = deserializeVerificationToken(serialized.value()); in TEST()
/system/bt/stack/gatt/
Dgatt_sr_hash.cc118 std::vector<uint8_t> serialized(len); in gatts_calculate_database_hash() local
119 fill_database_info(lst_ptr, serialized.data()); in gatts_calculate_database_hash()
121 std::reverse(serialized.begin(), serialized.end()); in gatts_calculate_database_hash()
122 Octet16 db_hash = crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in gatts_calculate_database_hash()
123 serialized.size()); in gatts_calculate_database_hash()
/system/bt/bta/gatt/
Ddatabase.cc243 std::vector<uint8_t> serialized(len); in Hash() local
244 uint8_t* p = serialized.data(); in Hash()
303 std::reverse(serialized.begin(), serialized.end()); in Hash()
304 return crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in Hash()
305 serialized.size()); in Hash()
/system/bt/common/
Dmetrics_linux.cc75 void BluetoothMetricsLogger::WriteString(std::string* serialized) {} in WriteString() argument
77 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized) {} in WriteBase64String() argument
Dmetrics.h231 void WriteBase64String(std::string* serialized);
232 void WriteString(std::string* serialized);
Dmetrics.cc456 void BluetoothMetricsLogger::WriteString(std::string* serialized) { in WriteString() argument
461 if (!pimpl_->bluetooth_log_->SerializeToString(serialized)) { in WriteString()
468 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized) { in WriteBase64String() argument
469 this->WriteString(serialized); in WriteBase64String()
470 base::Base64Encode(*serialized, serialized); in WriteBase64String()
/system/bt/osi/src/
Dconfig.cc277 std::stringstream serialized; in config_save() local
305 serialized << "[" << section.name << "]" << std::endl; in config_save()
308 serialized << entry.key << " = " << entry.value << std::endl; in config_save()
310 serialized << std::endl; in config_save()
313 if (fprintf(fp, "%s", serialized.str().c_str()) < 0) { in config_save()
/system/bt/test/mock/
Dmock_common_metrics.cc118 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized) { in WriteBase64String() argument
121 void BluetoothMetricsLogger::WriteString(std::string* serialized) { in WriteString() argument
/system/bt/gd/storage/
Dconfig_cache.cc325 std::stringstream serialized; in SerializeToLegacyFormat() local
328 serialized << "[" << section.first << "]" << std::endl; in SerializeToLegacyFormat()
330 serialized << property.first << " = " << property.second << std::endl; in SerializeToLegacyFormat()
332 serialized << std::endl; in SerializeToLegacyFormat()
335 return serialized.str(); in SerializeToLegacyFormat()
/system/keymaster/tests/
Dauthorization_set_test.cpp370 UniquePtr<uint8_t[]> serialized(new uint8_t[serialize_size]); in TEST() local
371 EXPECT_EQ(serialized.get() + serialize_size, in TEST()
372 growable.Serialize(serialized.get(), serialized.get() + serialize_size)); in TEST()
374 AuthorizationSet deserialized(serialized.get(), serialize_size); in TEST()
/system/bt/gd/packet/parser/
DREADME13 arguments and can be serialized.
/system/logging/logd/
DREADME.replay.md23 chatty, serialized). The statistics are:
DREADME.property56 'chatty', or 'serialized'. Defaults to 'chatty' if empty.
/system/update_engine/
Dupdate_metadata.proto30 // // The DeltaArchiveManifest protobuf serialized, not compressed.
34 // // this location, not including the signature itself). This is a serialized
48 // // This is a serialized Signatures message.
134 // serialized signatures protobuf string to be fixed before signing;
/system/update_engine/update_engine/
Dupdate_metadata.proto30 // // The DeltaArchiveManifest protobuf serialized, not compressed.
34 // // this location, not including the signature itself). This is a serialized
48 // // This is a serialized Signatures message.
134 // serialized signatures protobuf string to be fixed before signing;
/system/chre/chpp/api_parser/
DREADME.md20 The serialized output is meant to match the source CHRE structure as closely as
/system/chre/platform/shared/idl/
Dhost_messages.fbs106 /// that happens as part of this request is serialized, but asynchronous
/system/chre/doc/
Dporting_guide.md126 It converts between HAL API calls and serialized flatbuffers messages, using the