Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 18 of 18) sorted by relevance

/system/tools/aidl/
Daidl_typenames.cpp298 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
299 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
305 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
306 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
310 return {name, {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
315 return {name, {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
325 return {"@JavaOnlyImmutable", {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
328 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
329 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
332 return {t->GetPreprocessDeclarationName(), {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
Daidl_language.h523 enum Direction { IN_DIR = 1, OUT_DIR = 2, INOUT_DIR = 3 };
525 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
536 Direction GetDirection() const { return direction_; }
555 Direction direction_;
561 std::set<AidlArgument::Direction> possible_directions;
Daidl_language.cpp729 AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, in AidlArgument()
741 static std::string to_string(AidlArgument::Direction direction) { in to_string()
768 static std::string FormatDirections(const std::set<AidlArgument::Direction>& directions) { in FormatDirections()
Daidl_language_y.yy80 AidlArgument::Direction direction;
Dgenerate_java_binder.cpp645 AidlArgument::Direction dir = arg->GetDirection(); in generate_proxy_method()
/system/bt/packet/avrcp/
Dchange_path.h62 Direction GetDirection() const;
77 uint16_t uid_counter, Direction direction, uint64_t folder_uid);
84 ChangePathRequestBuilder(uint16_t uid_counter, Direction direction, in ChangePathRequestBuilder()
92 Direction direction_;
Dchange_path.cc58 Direction ChangePathRequest::GetDirection() const { in GetDirection()
60 return static_cast<Direction>(*it); in GetDirection()
88 uint16_t uid_counter, Direction direction, uint64_t folder_uid) { in MakeBuilder()
/system/bt/gd/hal/
Dhci_hal_android_hidl.cc95 …btsnoop_logger_->Capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in hciEventReceived()
108 …btsnoop_logger_->Capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in aclDataReceived()
121 …btsnoop_logger_->Capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in scoDataReceived()
134 …btsnoop_logger_->Capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in isoDataReceived()
161 … btsnoop_logger_->Capture(command, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
169 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
177 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
190 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
Dsnoop_logger_test.cc146 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
165 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
185 …snoop_looger->Capture(kSdpConnectionRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::Packet… in TEST_F()
205 …snoop_looger->Capture(kAvdtpSuspend, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::AC… in TEST_F()
225 …snoop_looger->Capture(kHfpAtNrec0, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in TEST_F()
245 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
262 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
263 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
286 …snoop_looger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketTy… in TEST_F()
Dsnoop_logger.h78 enum Direction { enum
83 void Capture(const HciPacket& packet, Direction direction, PacketType type);
Dhci_hal_host.cc276 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
285 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
294 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
303 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
425 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
454 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
478 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
502 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
Dsnoop_logger.cc250 void SnoopLogger::Capture(const HciPacket& packet, Direction direction, PacketType type) { in Capture()
262 flags.set(0, direction == Direction::INCOMING); in Capture()
270 flags.set(0, direction == Direction::INCOMING); in Capture()
/system/bt/gd/rust/hal/src/
Dsnoop.rs150 logger.log(Type::Evt, Direction::Up, evt.to_bytes()).await; in provide_snooped_hal()
157 logger.log(Type::Cmd, Direction::Down, cmd.to_bytes()).await; in provide_snooped_hal()
164 logger.log(Type::Acl, Direction::Down, acl.to_bytes()).await; in provide_snooped_hal()
171 logger.log(Type::Acl, Direction::Up, acl.to_bytes()).await; in provide_snooped_hal()
178 logger.log(Type::Iso, Direction::Down, iso.to_bytes()).await; in provide_snooped_hal()
185 logger.log(Type::Iso, Direction::Up, iso.to_bytes()).await; in provide_snooped_hal()
212 enum Direction { enum
246 async fn log(&mut self, t: Type, dir: Direction, bytes: Bytes) { in log() argument
252 if let Direction::Up = dir { in log()
/system/bt/packet/tests/avrcp/
Dchange_path_packet_test.cc55 ASSERT_EQ(test_packet->GetDirection(), Direction::DOWN); in TEST()
76 auto builder = ChangePathRequestBuilder::MakeBuilder(0, Direction::DOWN, 2); in TEST()
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h216 inline std::string DirectionText(const Direction& dir) { in DirectionText()
218 CASE_RETURN_TEXT(Direction::UP); in DirectionText()
219 CASE_RETURN_TEXT(Direction::DOWN); in DirectionText()
225 inline std::ostream& operator<<(std::ostream& os, const Direction& dir) {
Davrcp_common.h137 enum class Direction : uint8_t { enum
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc1011 ChangePathRequestBuilder::MakeBuilder(0, Direction::DOWN, 2); in TEST_F()
1037 ChangePathRequestBuilder::MakeBuilder(0, Direction::DOWN, 4); in TEST_F()
1048 ChangePathRequestBuilder::MakeBuilder(0, Direction::UP, 0); in TEST_F()
/system/bt/profile/avrcp/
Ddevice.cc918 if (pkt->GetDirection() == Direction::DOWN && in HandleChangePath()
928 if (pkt->GetDirection() == Direction::DOWN) { in HandleChangePath()