Home
last modified time | relevance | path

Searched refs:type_ (Results 1 – 17 of 17) sorted by relevance

/system/nfc/utils/
Dconfig.cc45 type_ = UNSIGNED; in ConfigValue()
52 type_ = STRING; in ConfigValue()
58 type_ = UNSIGNED; in ConfigValue()
64 type_ = BYTES; in ConfigValue()
69 ConfigValue::Type ConfigValue::getType() const { return type_; } in getType()
72 CHECK(type_ == STRING); in getString()
77 CHECK(type_ == UNSIGNED); in getUnsigned()
82 CHECK(type_ == BYTES); in getBytes()
89 type_ = STRING; in parseFromString()
96 type_ = BYTES; in parseFromString()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.cc32 type_ = type; in Initialize()
46 type_ = type; in InitializeExtended()
49 peer_address.ToString().c_str(), type_, in InitializeExtended()
57 type_ = model::packets::AdvertisementType::ADV_IND; in Clear()
79 address_.ToString().c_str(), peer_address_.ToString().c_str(), type_, in Enable()
91 address_.ToString().c_str(), peer_address_.ToString().c_str(), type_, in EnableExtended()
118 type_, advertisement_); in GetAdvertisement()
Dacl_connection.cc24 : address_(addr), own_address_(own_addr), type_(phy_type) {} in AclConnection()
40 Phy::Type AclConnection::GetPhyType() const { return type_; } in GetPhyType()
Dacl_connection.h53 Phy::Type type_{Phy::Type::BR_EDR};
Dle_advertiser.h77 model::packets::AdvertisementType type_{};
/system/bt/include/hardware/avrcp/
Davrcp_common.h297 enum : uint8_t { PLAYER = 0x01, FOLDER = 0x02, SONG = 0x03 } type_; member
305 MediaListItem(MediaPlayerItem item) : type_(PLAYER), player_(item) {} in MediaListItem()
307 MediaListItem(FolderItem item) : type_(FOLDER), folder_(item) {} in MediaListItem()
309 MediaListItem(MediaElementItem item) : type_(SONG), song_(item) {} in MediaListItem()
312 type_ = item.type_; in MediaListItem()
313 switch (item.type_) { in MediaListItem()
327 switch (type_) { in ~MediaListItem()
341 switch (type_) { in size()
/system/tools/aidl/
Daidl_const_expressions.cpp495 if (type_ != Type::REF) { in ValueString()
604 switch (type_) { in CheckValid()
624 AIDL_FATAL(this) << "Unrecognized constant value type: " << ToString(type_); in CheckValid()
638 switch (type_) { in evaluate()
667 final_type_ = type_; in evaluate()
677 final_type_ = type_; in evaluate()
683 final_type_ = type_; in evaluate()
688 final_type_ = type_; in evaluate()
692 final_type_ = type_; in evaluate()
695 AIDL_FATAL(this) << "Unrecognized constant value type: " << ToString(type_); in evaluate()
[all …]
Daidl_language.cpp660 type_(type), in AidlVariableDeclaration()
678 valid &= type_->CheckValid(typenames); in CheckValid()
680 if (type_->GetName() == "void") { in CheckValid()
702 string ret = type_->ToString() + " " + name_; in ToString()
710 return type_->Signature() + " " + name_; in Signature()
828 : AidlMember(location, type->GetComments()), type_(type), name_(name), value_(value) {} in AidlConstantDeclaration()
832 valid &= type_->CheckValid(typenames); in CheckValid()
837 if (kSupportedConstTypes.find(type_->Signature()) == kSupportedConstTypes.end()) { in CheckValid()
838 AIDL_ERROR(this) << "Constant of type " << type_->Signature() << " is not supported."; in CheckValid()
846 return "const " + type_->ToString() + " " + name_ + " = " + in ToString()
[all …]
Daidl_language.h485 const AidlTypeSpecifier& GetType() const { return *type_; }
493 AidlTypeSpecifier* GetMutableType() { return type_.get(); }
515 std::unique_ptr<AidlTypeSpecifier> type_;
654 if (type_ == Type::ARRAY) {
675 const Type type_ = Type::ERROR;
779 const AidlTypeSpecifier& GetType() const { return *type_; }
780 AidlTypeSpecifier* GetMutableType() { return type_.get(); }
810 const unique_ptr<AidlTypeSpecifier> type_;
831 const AidlTypeSpecifier& GetType() const { return *type_; }
832 AidlTypeSpecifier* GetMutableType() { return type_.get(); }
[all …]
/system/bt/stack/test/gatt/
Dgatt_sr_test.cc45 tGATTS_REQ_TYPE type_{0xff}; member
160 test_state_.application_request_callback.type_ = type; in ApplicationRequestCallback()
254 CHECK(test_state_.application_request_callback.type_ == in TEST_F()
297 CHECK(test_state_.application_request_callback.type_ == in TEST_F()
332 CHECK(test_state_.application_request_callback.type_ == in TEST_F()
367 CHECK(test_state_.application_request_callback.type_ == in TEST_F()
/system/nfc/utils/include/
Dconfig.h38 Type type_;
/system/extras/simpleperf/
Dcmd_merge.cpp39 type_(file.type), in MergedFileFeature()
49 if (file.type != type_ || file.min_vaddr != min_vaddr_ || in Merge()
82 file->type = type_; in ToFileFeature()
94 DsoType type_; member in simpleperf::__anon017897fa0111::MergedFileFeature
Ddso.h141 DsoType type() const { return type_; } in type()
201 DsoType type_; variable
Ddso.cpp317 : type_(type), in Dso()
391 if (type_ == DSO_DEX_FILE) { in IsForJavaMethod()
394 if (type_ == DSO_ELF_FILE) { in IsForJavaMethod()
523 if (type_ == DSO_DEX_FILE) { in GetMinExecutableVaddr()
544 if (type_ == DSO_DEX_FILE) { in IpToVaddrInFile()
560 if (type_ == DSO_ELF_FILE) { in AddDexFileOffset()
566 type_ = DSO_DEX_FILE; in AddDexFileOffset()
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager.cc310 switch (option->type_) { in OnConfigurationRequest()
348 … LOG_WARN("Received some unsupported configuration option: %d", static_cast<int>(option->type_)); in OnConfigurationRequest()
442 switch (option->type_) { in negotiate_configuration()
484 … LOG_WARN("Received some unsupported configuration option: %d", static_cast<int>(option->type_)); in negotiate_configuration()
541 switch (option->type_) { in OnConfigurationResponse()
565 … LOG_WARN("Received some unsupported configuration option: %d", static_cast<int>(option->type_)); in OnConfigurationResponse()
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc1750 ASSERT_EQ(entry.type_, DataType::ONE); in TEST()
1754 ASSERT_EQ(entry.type_, DataType::TWO); in TEST()
1758 ASSERT_EQ(entry.type_, DataType::THREE); in TEST()
1762 ASSERT_EQ(entry.type_, DataType::UNUSED); in TEST()
1794 ltv.type_ = DataType::ONE; in TEST()
1801 ltv.type_ = DataType::TWO; in TEST()
1829 ASSERT_EQ(ltv_vector[i].type_, an_array[i].type_); in TEST()
/system/bt/packet/avrcp/
Dget_folder_items.cc126 switch (item.type_) { in PushMediaListItem()