Home
last modified time | relevance | path

Searched refs:devices_ (Results 1 – 6 of 6) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_model.cc106 devices_.push_back(new_dev); in Add()
107 return devices_.size() - 1; in Add()
111 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in Del()
115 devices_[dev_index]->UnregisterPhyLayers(); in Del()
116 devices_[dev_index] = nullptr; in Del()
134 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in AddDeviceToPhy()
142 auto dev = devices_[dev_index]; in AddDeviceToPhy()
151 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in DelDeviceFromPhy()
159 devices_[dev_index]->UnregisterPhyLayer(phys_[phy_index].GetType(), in DelDeviceFromPhy()
213 if (index >= devices_.size() || devices_[index] == nullptr) { in OnHciConnectionClosed()
[all …]
Dtest_model.h99 std::vector<std::shared_ptr<Device>> devices_; variable
/system/update_engine/common/
Dfake_boot_control.h56 auto part_it = devices_[slot].find(partition_name); in GetPartitionDevice()
57 if (part_it == devices_[slot].end()) in GetPartitionDevice()
99 devices_.resize(num_slots_); in SetNumSlots()
108 devices_[slot][partition_name] = device; in SetPartitionDevice()
126 std::vector<std::map<std::string, std::string>> devices_; variable
/system/core/fs_mgr/libsnapshot/
Dutility.cpp49 for (auto it = devices_.rbegin(); it != devices_.rend(); ++it) { in ~AutoDeviceList()
55 for (auto&& p : devices_) { in Release()
Dutility.h49 devices_.emplace_back(std::make_unique<T>(std::forward<Args>(args)...)); in EmplaceBack()
54 std::vector<std::unique_ptr<AutoDevice>> devices_;
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp338 : control_(control), devices_(devices), commit_(false) {} in AutoDetachLoopDevices()
342 for (const auto& device : devices_) { in ~AutoDetachLoopDevices()
351 const std::vector<std::string>& devices_; member in android::fiemap::AutoDetachLoopDevices