Home
last modified time | relevance | path

Searched refs:section_ (Results 1 – 11 of 11) sorted by relevance

/system/core/libunwindstack/tests/
DDwarfSectionTest.cpp58 void SetUp() override { section_.reset(new MockDwarfSection(&memory_)); } in SetUp()
61 std::unique_ptr<MockDwarfSection> section_; member in unwindstack::DwarfSectionTest
68 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(nullptr)); in TEST_F()
71 ASSERT_FALSE(section_->Step(0x1000, nullptr, nullptr, &finished)); in TEST_F()
79 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
82 ASSERT_FALSE(section_->Step(0x1000, &regs_, nullptr, &finished)); in TEST_F()
91 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
92 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
96 ASSERT_FALSE(section_->Step(0x1000, &regs_, nullptr, &finished)); in TEST_F()
105 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
[all …]
DDwarfSectionImplTest.cpp63 section_ = new TestDwarfSectionImpl<TypeParam>(&memory_); in SetUp()
67 void TearDown() override { delete section_; } in TearDown()
70 TestDwarfSectionImpl<TypeParam>* section_ = nullptr; member in unwindstack::DwarfSectionImplTest
77 ASSERT_TRUE(this->section_->GetCieFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
78 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
79 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
81 this->section_->TestClearError(); in TYPED_TEST_P()
82 ASSERT_TRUE(this->section_->GetCieFromOffset(0x4000) == nullptr); in TYPED_TEST_P()
83 EXPECT_EQ(DWARF_ERROR_MEMORY_INVALID, this->section_->LastErrorCode()); in TYPED_TEST_P()
84 EXPECT_EQ(0x4000U, this->section_->LastErrorAddress()); in TYPED_TEST_P()
[all …]
/system/bt/gd/storage/
Dclassic_device.cc29 : config_(config), memory_only_config_(memory_only_config), section_(std::move(section)) {} in ClassicDevice()
32 return Device(config_, memory_only_config_, section_); in Parent()
36 return section_; in ToLogString()
41 auto addr = hci::Address::FromString(section_); in GetAddress()
48 if (!config_->IsPersistentSection(section_)) { in IsPaired()
51 return config_->HasAtLeastOneMatchingPropertiesInSection(section_, kLinkKeyProperties); in IsPaired()
Ddevice.h49 …return ConfigCacheHelper(*config_).Get<RETURN_TYPE>(section_, PROPERTY_KEY); …
52 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
55 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
69 …return ConfigCacheHelper(*config_).Get<RETURN_TYPE>(section_, PROPERTY_KEY); …
73 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
76 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
90 …return ConfigCacheHelper(*memory_only_config_).Get<RETURN_TYPE>(section_, PROPERTY_KEY); …
93 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::MEMORY_ONLY, section_, PROPERT…
96 …return MutationEntry::Remove(MutationEntry::PropertyType::MEMORY_ONLY, section_, PROPERTY_KEY); …
129 …== other.config_ && memory_only_config_ == other.memory_only_config_ && section_ == other.section_;
[all …]
Dle_device.cc37 : config_(config), memory_only_config_(memory_only_config), section_(std::move(section)) {} in LeDevice()
40 return Device(config_, memory_only_config_, section_); in Parent()
44 return section_; in ToLogString()
49 if (!config_->IsPersistentSection(section_)) { in IsPaired()
52 return config_->HasAtLeastOneMatchingPropertiesInSection(section_, kLinkKeyProperties); in IsPaired()
Ddevice.cc81 : config_(config), memory_only_config_(memory_only_config), section_(std::move(section)) {} in Device()
84 return config_->HasSection(section_); in Exists()
88 return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_); in RemoveFromConfig()
92 return MutationEntry::Remove(MutationEntry::PropertyType::MEMORY_ONLY, section_); in RemoveFromTempConfig()
99 return LeDevice(config_, memory_only_config_, section_); in Le()
106 return ClassicDevice(config_, memory_only_config_, section_); in Classic()
110 return section_; in ToLogString()
Dadapter_config.h42 …== other.config_ && memory_only_config_ == other.memory_only_config_ && section_ == other.section_;
48 …g_ < other.config_ && memory_only_config_ < other.memory_only_config_ && section_ < other.section_;
63 std::string section_; variable
Dle_device.h44 …== other.config_ && memory_only_config_ == other.memory_only_config_ && section_ == other.section_;
50 …g_ < other.config_ && memory_only_config_ < other.memory_only_config_ && section_ < other.section_;
77 std::string section_; variable
96 std::size_t addr_hash = std::hash<std::string>{}(val.section_);
Dclassic_device.h46 …== other.config_ && memory_only_config_ == other.memory_only_config_ && section_ == other.section_;
52 …g_ < other.config_ && memory_only_config_ < other.memory_only_config_ && section_ < other.section_;
82 std::string section_; variable
104 std::size_t addr_hash = std::hash<std::string>{}(val.section_);
Dadapter_config.cc23 : config_(config), memory_only_config_(memory_only_config), section_(std::move(section)) {} in AdapterConfig()
/system/media/camera/docs/
Dhtml.mako180 <span class="toc_section_header"><a href="#section_${section.name}">${section.name}</a></span>
215 <tr><td colspan="7" id="section_${section.name}" class="section">${section.name}</td></tr>