/system/update_engine/cros/ |
D | p2p_manager_unittest.cc | 93 manager_.reset(P2PManager::Construct(test_conf_, in SetUp() 116 unique_ptr<P2PManager> manager_; member in chromeos_update_engine::P2PManagerTest 125 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F() 127 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F() 139 EXPECT_TRUE(manager_->IsP2PEnabled()); in TEST_F() 141 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F() 150 manager_.reset(P2PManager::Construct(test_conf_, in TEST_F() 155 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F() 173 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F() 175 EXPECT_TRUE(manager_->PerformHousekeeping()); in TEST_F() [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | image_test.cpp | 79 manager_ = ImageManager::Open(kMetadataPath, gDataPath); in SetUp() 80 ASSERT_NE(manager_, nullptr); in SetUp() 82 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in SetUp() 89 manager_->UnmapImageDevice(base_name_); in TearDown() 90 manager_->DeleteBackingImage(base_name_); in TearDown() 95 std::unique_ptr<ImageManager> manager_; member in NativeTest 100 ASSERT_TRUE(manager_->CreateBackingImage(base_name_, kTestImageSize, false, nullptr)); in TEST_F() 103 ASSERT_TRUE(manager_->MapImageDevice(base_name_, 5s, &path)); in TEST_F() 104 ASSERT_TRUE(manager_->IsImageMapped(base_name_)); in TEST_F() 113 ASSERT_TRUE(manager_->UnmapImageDevice(base_name_)); in TEST_F() [all …]
|
D | binder.cpp | 74 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 …]
|
D | image_manager.cpp | 758 : manager_(manager), name_(name), path_(path) { in MappedDevice() 765 manager_->UnmapImageDevice(name_); in ~MappedDevice()
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_service_manager_test.cc | 47 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 …]
|
D | dynamic_channel_service_manager_test.cc | 49 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(psm)); in TEST_F() 84 manager_->Register(psm, std::move(pending_registration)); in TEST_F() 85 EXPECT_TRUE(manager_->IsServiceRegistered(psm)); in TEST_F() 88 manager_->Unregister(psm, common::BindOnce([] {}), user_handler_); in TEST_F() 89 EXPECT_FALSE(manager_->IsServiceRegistered(psm)); in TEST_F() 99 EXPECT_FALSE(manager_->IsServiceRegistered(psm)); in TEST_F() 100 manager_->Register(psm, std::move(pending_registration)); in TEST_F() [all …]
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_service_manager_test.cc | 47 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 …]
|
D | dynamic_channel_service_manager_test.cc | 50 manager_ = new DynamicChannelServiceManagerImpl{l2cap_handler_}; in SetUp() 54 delete manager_; in TearDown() 70 DynamicChannelServiceManagerImpl* manager_ = nullptr; member in bluetooth::l2cap::classic::internal::__anona8b890510111::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/ |
D | dynamic_channel_service.h | 52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService() 53 ASSERT(manager_ != nullptr); in DynamicChannelService() 59 internal::DynamicChannelServiceManagerImpl* manager_ = nullptr; variable
|
D | fixed_channel_service.cc | 25 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister() 27 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
|
D | dynamic_channel_service.cc | 28 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister() 30 … common::Unretained(manager_), psm_, std::move(on_unregistered), in Unregister()
|
D | fixed_channel_service.h | 50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService() 52 internal::FixedChannelServiceManagerImpl* manager_ = nullptr; variable
|
/system/bt/gd/l2cap/classic/ |
D | dynamic_channel_service.h | 52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService() 54 ASSERT(manager_ != nullptr); in DynamicChannelService() 60 internal::DynamicChannelServiceManagerImpl* manager_ = nullptr; variable
|
D | dynamic_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister() 28 …manager_, &internal::DynamicChannelServiceManagerImpl::Unregister, psm_, std::move(on_unregistered… in Unregister()
|
D | fixed_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister() 28 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
|
D | fixed_channel_service.h | 50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService() 52 internal::FixedChannelServiceManagerImpl* manager_ = nullptr; variable
|
/system/core/fs_mgr/libsnapshot/ |
D | utility.h | 88 : AutoDevice(name), manager_(manager), lock_(lock) {} in AutoDeleteSnapshot() 94 SnapshotManager* manager_ = nullptr; member
|
D | utility.cpp | 90 if (!name_.empty() && !manager_->DeleteSnapshot(lock_, name_)) { in ~AutoDeleteSnapshot()
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 218 IImageManager* manager_; variable
|