Home
last modified time | relevance | path

Searched refs:manager_ (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/
Dp2p_manager_unittest.cc87 manager_.reset(P2PManager::Construct(test_conf_, in SetUp()
107 unique_ptr<P2PManager> manager_; member in chromeos_update_engine::P2PManagerTest
116 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()
118 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()
130 EXPECT_TRUE(manager_->IsP2PEnabled()); in TEST_F()
132 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()
141 manager_.reset(P2PManager::Construct(test_conf_, in TEST_F()
147 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F()
165 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F()
167 EXPECT_TRUE(manager_->PerformHousekeeping()); in TEST_F()
[all …]
/system/core/fs_mgr/libfiemap/
Dimage_test.cpp76 manager_ = ImageManager::Open(kMetadataPath, gDataPath); in SetUp()
77 ASSERT_NE(manager_, nullptr); in SetUp()
79 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in SetUp()
86 manager_->UnmapImageDevice(base_name_); in TearDown()
87 manager_->DeleteBackingImage(base_name_); in TearDown()
92 std::unique_ptr<ImageManager> manager_; member in NativeTest
97 ASSERT_TRUE(manager_->CreateBackingImage(base_name_, kTestImageSize, false, nullptr)); in TEST_F()
100 ASSERT_TRUE(manager_->MapImageDevice(base_name_, 5s, &path)); in TEST_F()
101 ASSERT_TRUE(manager_->IsImageMapped(base_name_)); in TEST_F()
110 ASSERT_TRUE(manager_->UnmapImageDevice(base_name_)); in TEST_F()
[all …]
Dbinder.cpp74 android::sp<IImageService> manager_; member in android::fiemap::ImageManagerBinder
91 : service_(std::move(service)), manager_(std::move(manager)) {} in ImageManagerBinder()
100 auto status = manager_->createBackingImage(name, size, flags, callback); in CreateBackingImage()
105 auto status = manager_->deleteBackingImage(name); in DeleteBackingImage()
121 auto status = manager_->mapImageDevice(name, timeout_ms_count, &map); in MapImageDevice()
132 auto status = manager_->unmapImageDevice(name); in UnmapImageDevice()
143 auto status = manager_->backingImageExists(name, &retval); in BackingImageExists()
154 auto status = manager_->isImageMapped(name, &retval); in IsImageMapped()
174 auto status = manager_->getAllBackingImages(&retval); in GetAllBackingImages()
183 auto status = manager_->zeroFillNewImage(name, bytes); in ZeroFillNewImage()
[all …]
Dimage_manager.cpp731 : manager_(manager), name_(name), path_(path) { in MappedDevice()
738 manager_->UnmapImageDevice(name_); in ~MappedDevice()
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_service_manager_test.cc47 manager_ = new FixedChannelServiceManagerImpl{nullptr}; in SetUp()
56 delete manager_; in TearDown()
66 FixedChannelServiceManagerImpl* manager_ = nullptr; member in bluetooth::l2cap::classic::internal::L2capClassicFixedServiceManagerTest
79 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
80 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
81 EXPECT_TRUE(manager_->IsServiceRegistered(cid)); in TEST_F()
84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F()
85 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
94 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
95 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
[all …]
Ddynamic_channel_service_manager_test.cc50 manager_ = new DynamicChannelServiceManagerImpl{l2cap_handler_}; in SetUp()
54 delete manager_; in TearDown()
70 DynamicChannelServiceManagerImpl* manager_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon97f2e1ca0111::L2capDynamicServiceManagerTest
85 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
86 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
87 EXPECT_TRUE(manager_->IsServiceRegistered(cid)); in TEST_F()
90 manager_->Unregister(cid, user_handler_->BindOnce([] {})); in TEST_F()
91 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
100 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
101 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
[all …]
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_manager_test.cc47 manager_ = new FixedChannelServiceManagerImpl{nullptr}; in SetUp()
56 delete manager_; in TearDown()
66 FixedChannelServiceManagerImpl* manager_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeServiceManagerTest
79 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
80 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
81 EXPECT_TRUE(manager_->IsServiceRegistered(cid)); in TEST_F()
84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F()
85 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
94 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
95 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
[all …]
Ddynamic_channel_service_manager_test.cc49 manager_ = new DynamicChannelServiceManagerImpl{l2cap_handler_}; in SetUp()
53 delete manager_; in TearDown()
68 DynamicChannelServiceManagerImpl* manager_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeDynamicServiceManagerTest
83 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
84 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
85 EXPECT_TRUE(manager_->IsServiceRegistered(cid)); in TEST_F()
88 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F()
89 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
99 EXPECT_FALSE(manager_->IsServiceRegistered(cid)); in TEST_F()
100 manager_->Register(cid, std::move(pending_registration)); in TEST_F()
[all …]
/system/bt/gd/l2cap/classic/
Ddynamic_channel_service.h52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService()
54 ASSERT(manager_ != nullptr); in DynamicChannelService()
60 internal::DynamicChannelServiceManagerImpl* manager_ = nullptr; variable
Ddynamic_channel_service.cc26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
28manager_, &internal::DynamicChannelServiceManagerImpl::Unregister, psm_, std::move(on_unregistered… in Unregister()
Dfixed_channel_service.cc26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
28 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
Dfixed_channel_service.h50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
52 internal::FixedChannelServiceManagerImpl* manager_ = nullptr; variable
/system/bt/gd/l2cap/le/
Ddynamic_channel_service.h52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService()
54 ASSERT(manager_ != nullptr); in DynamicChannelService()
60 internal::DynamicChannelServiceManagerImpl* manager_ = nullptr; variable
Dfixed_channel_service.cc25 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
27 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
Ddynamic_channel_service.cc28 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
30 … common::Unretained(manager_), psm_, std::move(on_unregistered), in Unregister()
Dfixed_channel_service.h50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
52 internal::FixedChannelServiceManagerImpl* manager_ = nullptr; variable
/system/core/fs_mgr/libsnapshot/
Dutility.h88 : AutoDevice(name), manager_(manager), lock_(lock) {} in AutoDeleteSnapshot()
94 SnapshotManager* manager_ = nullptr; member
Dutility.cpp89 if (!name_.empty() && !manager_->DeleteSnapshot(lock_, name_)) { in ~AutoDeleteSnapshot()
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h205 IImageManager* manager_; variable