/system/unwinding/libunwindstack/ |
D | DwarfOp.cpp | 1437 template <typename AddressType> 1438 const typename DwarfOp<AddressType>::OpHandleFuncPtr DwarfOp<AddressType>::kOpHandleFuncList[] = { 1440 [OP_DEREF] = &DwarfOp<AddressType>::op_deref, 1441 [OP_DEREF_SIZE] = &DwarfOp<AddressType>::op_deref_size, 1442 [OP_PUSH] = &DwarfOp<AddressType>::op_push, 1443 [OP_DUP] = &DwarfOp<AddressType>::op_dup, 1444 [OP_DROP] = &DwarfOp<AddressType>::op_drop, 1445 [OP_OVER] = &DwarfOp<AddressType>::op_over, 1446 [OP_PICK] = &DwarfOp<AddressType>::op_pick, 1447 [OP_SWAP] = &DwarfOp<AddressType>::op_swap, [all …]
|
D | DwarfCfa.cpp | 39 template <typename AddressType> 40 constexpr typename DwarfCfa<AddressType>::process_func DwarfCfa<AddressType>::kCallbackTable[64]; 42 template <typename AddressType> 43 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() 110 const auto handle_func = DwarfCfa<AddressType>::kCallbackTable[cfa_low]; in GetLocationInfo() 130 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in GetLocationInfo() 147 template <typename AddressType> 148 std::string DwarfCfa<AddressType>::GetOperandString(uint8_t operand, uint64_t value, in GetOperandString() 170 if (std::is_same<AddressType, uint32_t>::value) { in GetOperandString() 182 template <typename AddressType> [all …]
|
D | DwarfEhFrameWithHdr.cpp | 34 template <typename AddressType> 35 bool DwarfEhFrameWithHdr<AddressType>::EhFrameInit(uint64_t offset, uint64_t size, in EhFrameInit() 37 return DwarfSectionImpl<AddressType>::Init(offset, size, section_bias); in EhFrameInit() 40 template <typename AddressType> 41 bool DwarfEhFrameWithHdr<AddressType>::Init(uint64_t offset, uint64_t, int64_t section_bias) { in Init() 67 table_entry_size_ = memory_.template GetEncodedSize<AddressType>(table_encoding_); in Init() 79 if (!memory_.template ReadEncodedValue<AddressType>(ptr_encoding, &ptr_offset)) { in Init() 86 if (!memory_.template ReadEncodedValue<AddressType>(fde_count_encoding, &fde_count_)) { in Init() 103 template <typename AddressType> 104 const DwarfFde* DwarfEhFrameWithHdr<AddressType>::GetFdeFromPc(uint64_t pc) { in GetFdeFromPc() [all …]
|
D | DwarfOp.h | 37 template <typename AddressType> 40 template <typename AddressType> 43 typedef typename std::make_signed<AddressType>::type SignedType; 56 AddressType StackAt(size_t index) { return stack_[index]; } in StackAt() 59 void set_regs_info(RegsInfo<AddressType>* regs_info) { regs_info_ = regs_info; } in set_regs_info() 74 AddressType OperandAt(size_t index) { return operands_[index]; } in OperandAt() 77 AddressType StackPop() { in StackPop() 78 AddressType value = stack_.front(); in StackPop() 87 RegsInfo<AddressType>* regs_info_; 92 std::vector<AddressType> operands_; [all …]
|
D | DwarfSection.cpp | 69 template <typename AddressType> 70 const DwarfCie* DwarfSectionImpl<AddressType>::GetCieFromOffset(uint64_t offset) { in GetCieFromOffset() 86 template <typename AddressType> 87 bool DwarfSectionImpl<AddressType>::FillInCieHeader(DwarfCie* cie) { in FillInCieHeader() 138 template <typename AddressType> 139 bool DwarfSectionImpl<AddressType>::FillInCie(DwarfCie* cie) { in FillInCie() 234 if (!memory_.ReadEncodedValue<AddressType>(encoding, &cie->personality_handler)) { in FillInCie() 255 template <typename AddressType> 256 const DwarfFde* DwarfSectionImpl<AddressType>::GetFdeFromOffset(uint64_t offset) { in GetFdeFromOffset() 271 template <typename AddressType> [all …]
|
D | RegsInfo.h | 26 template <typename AddressType> 30 RegsInfo(RegsImpl<AddressType>* regs) : regs(regs) {} in RegsInfo() 32 RegsImpl<AddressType>* regs = nullptr; 34 AddressType saved_regs[MAX_REGISTERS]; 36 inline AddressType Get(uint32_t reg) { in Get() 43 inline AddressType* Save(uint32_t reg) { in Save()
|
D | DwarfEhFrameWithHdr.h | 31 template <typename AddressType> 32 class DwarfEhFrameWithHdr : public DwarfSectionImpl<AddressType> { 36 using DwarfSectionImpl<AddressType>::memory_; 37 using DwarfSectionImpl<AddressType>::last_error_; 40 AddressType pc; 44 DwarfEhFrameWithHdr(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrameWithHdr()
|
D | DwarfMemory.cpp | 81 template <typename AddressType> 85 return sizeof(AddressType); in GetEncodedSize() 148 template <typename AddressType> 154 if (__builtin_add_overflow(cur_offset_, sizeof(AddressType) - 1, &cur_offset_)) { in ReadEncodedValue() 157 cur_offset_ &= -sizeof(AddressType); in ReadEncodedValue() 159 if (sizeof(AddressType) != sizeof(uint64_t)) { in ReadEncodedValue() 162 return ReadBytes(value, sizeof(AddressType)); in ReadEncodedValue() 168 if (sizeof(AddressType) != sizeof(uint64_t)) { in ReadEncodedValue() 171 if (!ReadBytes(value, sizeof(AddressType))) { in ReadEncodedValue()
|
D | DwarfEhFrame.h | 27 template <typename AddressType> 28 class DwarfEhFrame : public DwarfSectionImpl<AddressType> { 30 DwarfEhFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrame()
|
D | DwarfDebugFrame.h | 28 template <typename AddressType> 29 class DwarfDebugFrame : public DwarfSectionImpl<AddressType> { 31 DwarfDebugFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) { in DwarfDebugFrame()
|
D | DwarfCfa.h | 72 template <typename AddressType> 75 typedef typename std::make_signed<AddressType>::type SignedType; 91 AddressType cur_pc() { return cur_pc_; } in cur_pc() 108 AddressType cur_pc_; 110 std::vector<AddressType> operands_;
|
/system/bt/gd/hci/ |
D | address_with_type_test.cc | 32 AddressType type1 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 35 AddressType type2 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 50 AddressType type = AddressType::PUBLIC_IDENTITY_ADDRESS; in TEST() 53 …EXPECT_NE(hasher(address_with_type), hasher(AddressWithType(Address::kEmpty, AddressType::PUBLIC_I… in TEST() 58 AddressType type1 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 61 AddressType type2 = AddressType::PUBLIC_IDENTITY_ADDRESS; in TEST() 70 …AddressWithType(Address{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::PUBLIC_IDENTITY_ADDRES… in TEST() 74 …AddressWithType(Address{{0x30, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 76 …AddressWithType(Address{{0x40, 0x02, 0x03, 0x04, 0x05, 0x03}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 78 …AddressWithType(Address{{0x50, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() [all …]
|
D | address_with_type.h | 34 AddressWithType(Address address, AddressType address_type) in AddressWithType() 37 …explicit AddressWithType() : address_(Address::kEmpty), address_type_(AddressType::PUBLIC_DEVICE_A… in AddressWithType() 43 inline AddressType GetAddressType() const { in GetAddressType() 49 …return address_type_ == hci::AddressType::RANDOM_DEVICE_ADDRESS && ((address_.data())[0] & 0xc0) =… in IsRpa() 102 AddressType address_type_; 117 …sert(sizeof(uint64_t) >= (bluetooth::hci::Address::kLength + sizeof(bluetooth::hci::AddressType))); 120 bluetooth::hci::AddressType address_type = val.GetAddressType();
|
D | enum_helper.h | 49 template <typename T, typename std::enable_if<std::is_same_v<T, hci::AddressType>, int>::type = 0> 50 std::optional<hci::AddressType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 55 if (*raw_value < static_cast<int64_t>(hci::AddressType::PUBLIC_DEVICE_ADDRESS) || in FromLegacyConfigString() 56 *raw_value > static_cast<int64_t>(hci::AddressType::RANDOM_IDENTITY_ADDRESS)) { in FromLegacyConfigString() 59 return static_cast<hci::AddressType>(*raw_value); in FromLegacyConfigString()
|
/system/unwinding/libunwindstack/tests/ |
D | DwarfMemoryTest.cpp | 37 template <typename AddressType> 39 template <typename AddressType> 41 template <typename AddressType> 43 template <typename AddressType> 45 template <typename AddressType> 47 template <typename AddressType> 49 template <typename AddressType> 51 template <typename AddressType> 53 template <typename AddressType> 55 template <typename AddressType> [all …]
|
/system/bt/main/shim/ |
D | helpers.h | 57 hci::AddressType type; in ToAddressWithType() 59 type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in ToAddressWithType() 61 type = hci::AddressType::RANDOM_DEVICE_ADDRESS; in ToAddressWithType() 63 type = hci::AddressType::PUBLIC_IDENTITY_ADDRESS; in ToAddressWithType() 65 type = hci::AddressType::RANDOM_IDENTITY_ADDRESS; in ToAddressWithType() 69 hci::AddressType::PUBLIC_DEVICE_ADDRESS}; in ToAddressWithType() 87 hci::AddressType::PUBLIC_DEVICE_ADDRESS) { in ToLegacyAddressWithType() 90 hci::AddressType::RANDOM_DEVICE_ADDRESS) { in ToLegacyAddressWithType() 93 hci::AddressType::PUBLIC_IDENTITY_ADDRESS) { in ToLegacyAddressWithType() 96 hci::AddressType::RANDOM_IDENTITY_ADDRESS) { in ToLegacyAddressWithType()
|
/system/bt/gd/hci/acl_manager/ |
D | le_impl.h | 209 remote_address = AddressWithType(peer_resolvable_address, AddressType::RANDOM_DEVICE_ADDRESS); in on_le_enhanced_connection_complete() 367 AddressType address_type = address_with_type.GetAddressType(); in add_device_to_connect_list() 374 case AddressType::PUBLIC_DEVICE_ADDRESS: in add_device_to_connect_list() 375 case AddressType::PUBLIC_IDENTITY_ADDRESS: { in add_device_to_connect_list() 378 case AddressType::RANDOM_DEVICE_ADDRESS: in add_device_to_connect_list() 379 case AddressType::RANDOM_IDENTITY_ADDRESS: { in add_device_to_connect_list() 389 AddressType address_type = address_with_type.GetAddressType(); in add_device_to_resolving_list() 396 case AddressType::PUBLIC_DEVICE_ADDRESS: in add_device_to_resolving_list() 397 case AddressType::PUBLIC_IDENTITY_ADDRESS: { in add_device_to_resolving_list() 401 case AddressType::RANDOM_DEVICE_ADDRESS: in add_device_to_resolving_list() [all …]
|
/system/bt/gd/storage/ |
D | le_device_test.cc | 27 using bluetooth::hci::AddressType; 51 mutation.Add(device.SetAddressType(AddressType::RANDOM_DEVICE_ADDRESS)); in TEST() 53 ASSERT_THAT(device.GetAddressType(), Optional(Eq(AddressType::RANDOM_DEVICE_ADDRESS))); in TEST()
|
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_impl_test.cc | 72 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 82 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 104 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 127 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 152 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | DwarfSection.h | 38 template <typename AddressType> 125 template <typename AddressType> 141 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info); 165 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value, 166 RegsInfo<AddressType>* regs_info, bool* is_dex_pc);
|
D | Regs.h | 95 template <typename AddressType> 102 inline AddressType& operator[](size_t reg) { return regs_[reg]; } 113 std::vector<AddressType> regs_;
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_impl_test.cc | 70 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 84 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 109 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 134 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 162 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 186 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 199 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 212 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 244 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F()
|
/system/bt/gd/security/ |
D | facade.cc | 97 hci::AddressType peer_type = static_cast<hci::AddressType>(request->type()); in CreateBond() 108 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in CreateBondOutOfBand() 148 hci::AddressType peer_type = static_cast<hci::AddressType>(request->type()); in CreateBondLe() 157 hci::AddressType peer_type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in CancelBond() 166 hci::AddressType peer_type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in RemoveBond() 180 hci::AddressType remote_type = static_cast<hci::AddressType>(request->address().type()); in SendUiCallback() 286 …hci::AddressWithType address_with_type(address, static_cast<hci::AddressType>(request->address_wit… in SetLeInitiatorAddressPolicy() 315 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in EnforceSecurityPolicy() 349 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in SetOutOfBandData()
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl_test.cc | 73 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 90 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 119 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 149 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 182 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 211 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 229 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 248 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 286 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F()
|
/system/bt/gd/security/record/ |
D | security_record_storage_test.cc | 62 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 83 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::RANDOM_DEVICE_ADDRESS); in TEST_F() 123 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 156 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 177 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F()
|