Home
last modified time | relevance | path

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

/system/bt/bta/test/gatt/
Ddatabase_test.cc54 std::vector<StoredAttribute> serialized = db.Serialize(); in TEST() local
57 EXPECT_EQ(serialized[0].handle, 0x0001); in TEST()
58 EXPECT_EQ(serialized[0].type, PRIMARY_SERVICE); in TEST()
59 EXPECT_EQ(serialized[0].value.service.uuid, SERVICE_1_UUID); in TEST()
60 EXPECT_EQ(serialized[0].value.service.end_handle, 0x000f); in TEST()
63 EXPECT_EQ(serialized[1].handle, 0x0010); in TEST()
64 EXPECT_EQ(serialized[1].type, SECONDARY_SERVICE); in TEST()
65 EXPECT_EQ(serialized[1].value.service.uuid, SERVICE_2_UUID); in TEST()
66 EXPECT_EQ(serialized[1].value.service.end_handle, 0x001f); in TEST()
69 EXPECT_EQ(serialized[2].handle, 0x0002); in TEST()
[all …]
/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.cc455 void BluetoothMetricsLogger::WriteString(std::string* serialized) { in WriteString() argument
460 if (!pimpl_->bluetooth_log_->SerializeToString(serialized)) { in WriteString()
467 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized) { in WriteBase64String() argument
468 this->WriteString(serialized); in WriteBase64String()
469 base::Base64Encode(*serialized, serialized); in WriteBase64String()
/system/bt/osi/src/
Dconfig.cc247 std::stringstream serialized; in config_save() local
275 serialized << "[" << section.name << "]" << std::endl; in config_save()
278 serialized << entry.key << " = " << entry.value << std::endl; in config_save()
280 serialized << std::endl; in config_save()
283 if (fprintf(fp, "%s", serialized.str().c_str()) < 0) { in config_save()
/system/extras/perfprofd/
Dperfprofd_io.cc281 bool serialized = encodedProfile->SerializeToZeroCopyStream(out); in SerializeProtobuf() local
282 if (!serialized) { in SerializeProtobuf()
/system/keymaster/tests/
Dauthorization_set_test.cpp363 UniquePtr<uint8_t[]> serialized(new uint8_t[serialize_size]); in TEST() local
364 EXPECT_EQ(serialized.get() + serialize_size, in TEST()
365 growable.Serialize(serialized.get(), serialized.get() + serialize_size)); in TEST()
367 AuthorizationSet deserialized(serialized.get(), serialize_size); in TEST()
/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.
/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.
/system/chre/platform/shared/idl/
Dhost_messages.fbs91 /// that happens as part of this request is serialized, but asynchronous