/system/bt/gd/packet/parser/fields/ |
D | scalar_field.cc | 33 Size ScalarField::GetSize() const { in GetSize() function in ScalarField 68 Size size = GetSize(); in GenExtractor() 101 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() 114 return util::RoundSizeUp(GetSize().bits()) != GetSize().bits(); in HasParameterValidator() 118 s << "ASSERT(" << GetName() << " < (static_cast<uint64_t>(1) << " << GetSize().bits() << "));"; in GenParameterValidator() 122 if (GetSize().bits() == 8) { in GenInserter() 125 s << "insert(" << GetName() << "_, i," << GetSize().bits() << ");"; in GenInserter()
|
D | reserved_field.cc | 31 Size ReservedField::GetSize() const { in GetSize() function in ReservedField 63 … "insert(static_cast<" << util::GetTypeForSize(GetSize().bits()) << ">(0) /* Reserved */, i, " << … in GenInserter()
|
D | payload_field.cc | 37 Size PayloadField::GetSize() const { in GetSize() function in PayloadField 70 GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() 78 GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | array_field.cc | 37 element_size_(element_field_->GetSize()), array_size_(array_size) { in ArrayField() 47 Size ArrayField::GetSize() const { in GetSize() function in ArrayField 56 return GetSize(); in GetBuilderSize() 70 return GetSize(); in GetStructSize() 121 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | enum_field.cc | 47 s << "insert(static_cast<" << util::GetTypeForSize(GetSize().bits()) << ">("; in GenInserter() 48 s << GetName() << "_), i, " << GetSize().bits() << ");"; in GenInserter()
|
D | variable_length_struct_field.cc | 29 Size VariableLengthStructField::GetSize() const { in GetSize() function in VariableLengthStructField 63 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | struct_field.cc | 29 Size StructField::GetSize() const { in GetSize() function in StructField 58 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | packet_field.cc | 36 return GetSize(); in GetBuilderSize() 40 return GetSize(); in GetStructSize()
|
D | custom_field.cc | 29 Size CustomField::GetSize() const { in GetSize() function in CustomField 65 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | fixed_scalar_field.cc | 30 return util::GetTypeForSize(GetSize().bits()); in GetDataType()
|
D | vector_field.cc | 37 element_size_(element_field_->GetSize()), size_modifier_(size_modifier) { in VectorField() 47 Size VectorField::GetSize() const { in GetSize() function in VectorField 159 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | padding_field.cc | 29 Size PaddingField::GetSize() const { in GetSize() function in PaddingField
|
D | fixed_field.cc | 51 s << ", i , " << GetSize().bits() << ");"; in GenInserter()
|
D | checksum_start_field.cc | 29 Size ChecksumStartField::GetSize() const { in GetSize() function in ChecksumStartField
|
D | reserved_field.h | 30 virtual Size GetSize() const override;
|
D | checksum_field.cc | 55 …s << "insert(static_cast<" << util::GetTypeForSize(GetSize().bits()) << ">(observer.GetValue()), i… in GenInserter()
|
D | padding_field.h | 32 virtual Size GetSize() const override;
|
D | body_field.h | 33 virtual Size GetSize() const override;
|
D | body_field.cc | 34 Size BodyField::GetSize() const { in GetSize() function in BodyField
|
/system/bt/gd/packet/parser/ |
D | parent_def.cc | 116 Size ParentDef::GetSize(bool without_payload) const { in GetSize() function in ParentDef 126 if (field->GetFieldType() == CustomField::kFieldType && field->GetSize().has_dynamic()) { in GetSize() 130 custom_field_size << field->GetSize().dynamic_string() << "(begin()"; in GetSize() 151 size += field->GetSize(); in GetSize() 155 size += parent_->GetSize(true); in GetSize() 180 if (field->GetSize().empty()) { in GetOffsetForField() 184 size += field->GetSize(); in GetOffsetForField() 307 padded_size = field->GetSize(); in GenSize() 368 … s << "ASSERT(payload_bytes < (static_cast<size_t>(1) << " << field->GetSize().bits() << "));"; in GenSerialize() 369 …static_cast<" << field->GetDataType() << ">(payload_bytes), i," << field->GetSize().bits() << ");"; in GenSerialize() [all …]
|
D | parent_def.h | 46 Size GetSize(bool without_payload = false) const;
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 138 LOGI("Sending hub info request (%" PRIu32 " bytes)", builder.GetSize()); in requestHubInfo() 139 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in requestHubInfo() 148 LOGI("Sending app list request (%" PRIu32 " bytes)", builder.GetSize()); in requestNanoappList() 149 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in requestNanoappList() 162 builder.GetSize(), sizeof(messageData)); in sendMessageToNanoapp() 163 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendMessageToNanoapp() 194 "payload)", builder.GetSize(), buffer.size()); in sendLoadNanoappRequest() 195 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendLoadNanoappRequest() 207 appId, builder.GetSize()); in sendUnloadNanoappRequest() 208 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendUnloadNanoappRequest()
|
/system/chre/host/common/audio_stress_test/ |
D | audio_stress_test.cc | 105 "payload)", builder.GetSize(), buffer.size()); in sendLoadNanoappRequest() 106 if (!client.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendLoadNanoappRequest()
|
/system/nvram/messages/ |
D | message_codec.cpp | 37 size_t MessageEncoderBase::GetSize() { in GetSize() function in nvram::proto::MessageEncoderBase 67 return writer->WriteLengthHeader(GetSize()) && EncodeData(writer); in Encode()
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.cc | 110 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in debug() 151 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in getHubs() 211 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendMessageToHub() 263 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in sendFragmentedLoadNanoAppRequest() 286 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in unloadNanoApp() 325 if (!mClient.sendMessage(builder.GetBufferPointer(), builder.GetSize())) { in queryApps()
|