Searched refs:new_device (Results 1 – 5 of 5) sorted by relevance
46 std::shared_ptr<Device> new_device = GetMap()[args[0]](); in Create() local47 if (new_device != nullptr) new_device->Initialize(args); in Create()49 return new_device; in Create()
507 uint32_t new_device; in vol_effect_command() local517 new_device = *(uint32_t *)p_cmd_data; in vol_effect_command()519 __func__, context->dev_id, new_device); in vol_effect_command()523 new_device == AUDIO_DEVICE_OUT_SPEAKER || in vol_effect_command()524 new_device == AUDIO_DEVICE_OUT_SPEAKER_SAFE) { in vol_effect_command()528 context->dev_id = new_device; in vol_effect_command()
366 uint32_t new_device; in ma_effect_command() local374 new_device = *(uint32_t *)p_cmd_data; in ma_effect_command()376 __func__, context->dev_id, new_device); in ma_effect_command()378 context->dev_id = new_device; in ma_effect_command()
436 void AvrcpService::DeviceCallback(std::shared_ptr<Device> new_device) { in DeviceCallback() argument437 if (new_device == nullptr) return; in DeviceCallback()441 new_device->RegisterInterfaces(media_interface_, &a2dp_interface_, in DeviceCallback()
289 auto new_device = source_block_device; in UpdateMetadataForOtherSuper() local290 if (!UpdateBlockDevicePartitionName(&new_device, new_name)) { in UpdateMetadataForOtherSuper()294 metadata->block_devices.emplace_back(new_device); in UpdateMetadataForOtherSuper()1151 const LpMetadataBlockDevice& new_device = block_devices_[i]; in ImportPartitions() local1152 if (!CompareBlockDevices(old_device, new_device)) { in ImportPartitions()