Home
last modified time | relevance | path

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

/system/nfc/utils/
Dconfig.cc49 type_ = STRING; in ConfigValue()
54 type_ = UNSIGNED; in ConfigValue()
60 type_ = BYTES; in ConfigValue()
64 ConfigValue::Type ConfigValue::getType() const { return type_; } in getType()
67 CHECK(type_ == STRING); in getString()
72 CHECK(type_ == UNSIGNED); in getUnsigned()
77 CHECK(type_ == BYTES); in getBytes()
84 type_ = STRING; in parseFromString()
91 type_ = BYTES; in parseFromString()
97 type_ = UNSIGNED; in parseFromString()
/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/core/init/
Ddescriptors.cpp38 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) { in DescriptorInfo()
45 return os << " descriptors " << info.name_ << " " << info.type_ << " " << std::oct << info.perm_; in operator <<()
49 return name_ == other.name_ && type_ == other.type_ && key() == other.key(); in operator ==()
Ddescriptors.h42 const std::string& type() const { return type_; } in type()
50 std::string type_; variable
/system/tools/aidl/
Daidl_language.cpp250 : AidlNode(location), type_(type), name_(name), default_value_(default_value) {} in AidlVariableDeclaration()
254 valid &= type_->CheckValid(typenames); in CheckValid()
265 string ret = type_->Signature() + " " + name_; in ToString()
273 return type_->Signature() + " " + name_; in Signature()
332 : AidlNode(location), type_(type), value_(checked_value) { in AidlConstantValue()
333 CHECK(!value_.empty() || type_ == Type::ERROR); in AidlConstantValue()
334 CHECK(type_ != Type::ARRAY); in AidlConstantValue()
339 : AidlNode(location), type_(type), values_(std::move(*values)) {} in AidlConstantValue()
393 return type_ != AidlConstantValue::Type::ERROR; in CheckValid()
413 if ((type_ == Type::ARRAY) != type.IsArray()) { in As()
[all …]
Daidl_language.h274 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType()
277 AidlTypeSpecifier* GetMutableType() { return type_.get(); } in GetMutableType()
286 std::unique_ptr<AidlTypeSpecifier> type_;
350 Type GetType() const { return type_; } in GetType()
363 const Type type_ = Type::ERROR; variable
376 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType()
377 AidlTypeSpecifier* GetMutableType() { return type_.get(); } in GetMutableType()
391 const unique_ptr<AidlTypeSpecifier> type_;
411 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType()
412 AidlTypeSpecifier* GetMutableType() { return type_.get(); } in GetMutableType()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_builder.cc29 : type_(type), source_addr_(source), dest_addr_(dest) {} in LinkLayerPacketBuilder()
33 : type_(type), source_addr_(source), dest_addr_(Address::kEmpty), builder_(std::move(packet)) {} in LinkLayerPacketBuilder()
37 : type_(type), source_addr_(source), dest_addr_(dest), builder_(std::move(packet)) {} in LinkLayerPacketBuilder()
161 insert(static_cast<uint8_t>(type_), it); in Serialize()
Dlink_layer_packet_builder.h94 Link::PacketType type_; variable
/system/core/adb/daemon/
Dshell_service.cpp189 SubprocessType type_; member in __anon50c78ba60111::Subprocess
207 type_(type), in Subprocess()
285 if (type_ == SubprocessType::kPty) { in ForkAndExec()
316 if (type_ == SubprocessType::kPty) { in ForkAndExec()
400 CHECK(type_ == SubprocessType::kRaw); in ExecInProcess()
665 if (type_ == SubprocessType::kRaw) { in PassInput()
710 if (bytes < 0 && !(type_ == SubprocessType::kPty && errno == EIO)) { in PassOutput()
/system/core/adb/
Dbugreport_test.cpp71 : type_(type), output_(output) { in OnStandardStreamsCallbackAction()
74 if (type_ == kStreamStdout) { in Perform()
77 if (type_ == kStreamStderr) { in Perform()
83 StreamType type_; member in OnStandardStreamsCallbackAction
/system/nfc/utils/include/
Dconfig.h38 Type type_;
/system/extras/simpleperf/
Ddso.cpp274 : type_(type), in Dso()
347 if (type_ == DSO_DEX_FILE) { in IsForJavaMethod()
350 if (type_ == DSO_ELF_FILE) { in IsForJavaMethod()
469 if (type_ == DSO_DEX_FILE) { in GetMinExecutableVaddr()
505 if (type_ == DSO_DEX_FILE) { in IpToVaddrInFile()
521 if (type_ == DSO_ELF_FILE) { in AddDexFileOffset()
527 type_ = DSO_DEX_FILE; in AddDexFileOffset()
Ddso.h144 DsoType type() const { return type_; } in type()
204 DsoType type_; variable
/system/bt/packet/avrcp/
Dget_folder_items.cc126 switch (item.type_) { in PushMediaListItem()