Searched refs:dev_index (Results 1 – 4 of 4) sorted by relevance
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
H A D | test_model.cc | 105 void TestModel::Del(size_t dev_index) { in Del() argument 106 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in Del() 107 LOG_WARN("Unknown device %zu", dev_index); in Del() 111 [this, dev_index]() { in Del() 113 devices_[dev_index] = nullptr; in Del() 134 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in AddDeviceToPhy() 135 LOG_WARN("Unknown device %zu", dev_index); in AddDeviceToPhy() 142 auto dev = devices_[dev_index]; in AddDeviceToPhy() 147 dev_index)); in AddDeviceToPhy() 151 if (dev_index >= devices_.size() || devices_[dev_index] == nullptr) { in DelDeviceFromPhy() [all …]
|
H A D | test_command_handler.cc | 141 size_t dev_index = model_.Add(new_dev); in Add() local 142 response_string_ = std::to_string(dev_index) + std::string(":") + new_dev->ToString(); in Add() 174 size_t dev_index = std::stoi(args[0]); in Del() local 176 model_.Del(dev_index); in Del() 177 …onse_string_ = "TestCommandHandler 'del' called with device at index " + std::to_string(dev_index); in Del() 206 size_t dev_index = std::stoi(args[0]); in AddDeviceToPhy() local 208 model_.AddDeviceToPhy(dev_index, phy_index); in AddDeviceToPhy() 209 …tring_ = "TestCommandHandler 'add_device_to_phy' called with device " + std::to_string(dev_index) + in AddDeviceToPhy() 221 size_t dev_index = std::stoi(args[0]); in DelDeviceFromPhy() local 223 model_.DelDeviceFromPhy(dev_index, phy_index); in DelDeviceFromPhy() [all …]
|
/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | pktcdvd.h | 54 __u32 dev_index; member
|
/aosp12/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_ucm.c | 1056 int list_size, index, dev_index, uc_index, ret = 0; in set_controls_of_usecase_for_device() local 1068 capability = dev_list[dev_index].capability; in set_controls_of_usecase_for_device() 1116 int verb_index, uc_index, dev_index, capability = 0; in set_controls_of_device_for_all_usecases() local 1125 if (dev_index >= 0) in set_controls_of_device_for_all_usecases() 1126 capability = dev_list[dev_index].capability; in set_controls_of_device_for_all_usecases() 1218 dev_index); in set_controls_of_device_for_all_usecases() 1269 CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases() 1313 int ret = -ENODEV, uc_index, dev_index; in set_controls_of_device_for_usecase() local 1322 capability = dev_list[dev_index].capability; in set_controls_of_device_for_usecase() 1354 CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_usecase() [all …]
|