/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 158 route_config_t routes[MAX_ROUTES]; member 363 rsxadev->routes[route_idx].input = in; in submix_audio_device_create_pipe_l() 364 rsxadev->routes[route_idx].config.input_channel_mask = config->channel_mask; in submix_audio_device_create_pipe_l() 368 rsxadev->routes[route_idx].output = out; in submix_audio_device_create_pipe_l() 369 rsxadev->routes[route_idx].config.output_channel_mask = config->channel_mask; in submix_audio_device_create_pipe_l() 372 strncpy(rsxadev->routes[route_idx].address, address, AUDIO_DEVICE_MAX_ADDRESS_LEN); in submix_audio_device_create_pipe_l() 373 ALOGD(" now using address %s for route %d", rsxadev->routes[route_idx].address, route_idx); in submix_audio_device_create_pipe_l() 375 if (rsxadev->routes[route_idx].rsxSink == NULL || rsxadev->routes[route_idx].rsxSource == NULL) in submix_audio_device_create_pipe_l() 377 struct submix_config * const device_config = &rsxadev->routes[route_idx].config; in submix_audio_device_create_pipe_l() 404 ALOG_ASSERT(rsxadev->routes[route_idx].rsxSink == NULL); in submix_audio_device_create_pipe_l() [all …]
|
/hardware/interfaces/audio/aidl/default/r_submix/ |
D | SubmixRoute.cpp | 43 auto routes = getRoutes(); in findOrCreateRoute() local 44 auto routeItr = routes->find(deviceAddress); in findOrCreateRoute() 45 if (routeItr != routes->end()) { in findOrCreateRoute() 53 routes->emplace(deviceAddress, route); in findOrCreateRoute() 59 auto routes = getRoutes(); in findRoute() local 60 auto routeItr = routes->find(deviceAddress); in findRoute() 61 if (routeItr != routes->end()) { in findRoute() 74 auto routes = getRoutes(true /*tryLock*/); in dumpRoutes() local 76 if (routes->empty()) result.append(" <Empty>"); in dumpRoutes() 77 for (const auto& r : *(routes.operator->())) { in dumpRoutes()
|
D | SubmixRoute.h | 127 RoutesMonitor(std::mutex& mutex, RoutesMap& routes) : mLock(mutex), mRoutes(routes) {} in RoutesMonitor() argument 128 RoutesMonitor(std::mutex& mutex, RoutesMap& routes, bool /*tryLock*/) in RoutesMonitor() argument 129 : mLock(mutex, std::try_to_lock), mRoutes(routes) {} in RoutesMonitor()
|
D | ModuleRemoteSubmix.cpp | 123 std::vector<AudioRoute*> routes = getAudioRoutesForAudioPortImpl(audioPort->id); in populateConnectedDevicePort() local 124 if (routes.empty()) { in populateConnectedDevicePort() 128 const auto& route = *routes.begin(); in populateConnectedDevicePort()
|
/hardware/interfaces/audio/aidl/default/ |
D | Configuration.cpp | 287 c.routes.push_back(createRoute({primaryOutMix}, speakerOutDevice)); in getPrimaryConfiguration() 288 c.routes.push_back(createRoute({micInDevice}, primaryInMix)); in getPrimaryConfiguration() 289 c.routes.push_back(createRoute({telephonyRxInDevice}, telephonyRxInMix)); in getPrimaryConfiguration() 290 c.routes.push_back(createRoute({telephonyTxOutMix}, telephonyTxOutDevice)); in getPrimaryConfiguration() 291 c.routes.push_back(createRoute({fmTunerInDevice}, fmTunerInMix)); in getPrimaryConfiguration() 370 c.routes.push_back(createRoute({rsubmixOutMix}, rsubmixOutDevice)); in getRSubmixConfiguration() 371 c.routes.push_back(createRoute({rsubmixInDevice}, rsubmixInMix)); in getRSubmixConfiguration() 461 c.routes.push_back(createRoute({usbDeviceOutMix}, usbOutDevice)); in getUsbConfiguration() 462 c.routes.push_back(createRoute({usbDeviceOutMix}, usbOutHeadset)); in getUsbConfiguration() 463 c.routes.push_back(createRoute({usbInDevice, usbInHeadset}, usbDeviceInMix)); in getUsbConfiguration() [all …]
|
D | Module.cpp | 378 auto& routes = getConfig().routes; in getAudioRoutesForAudioPortImpl() local 379 for (auto& r : routes) { in getAudioRoutesForAudioPortImpl() 396 std::vector<AudioRoute*>* routes) { in getRoutableAudioPortIds() argument 398 if (routes == nullptr) { in getRoutableAudioPortIds() 400 routes = &routesStorage; in getRoutableAudioPortIds() 403 for (AudioRoute* r : *routes) { in getRoutableAudioPortIds() 683 auto& routes = getConfig().routes; in connectExternalDevice() local 684 routes.insert(routes.end(), newRoutes.begin(), newRoutes.end()); in connectExternalDevice() 750 auto& routes = getConfig().routes; in disconnectExternalDevice() local 751 for (auto routesIt = routes.begin(); routesIt != routes.end();) { in disconnectExternalDevice() [all …]
|
D | XsdcConversion.cpp | 408 aidlModuleConfig.routes = in convertModuleConfigToAidl()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | PolicyConfig.cpp | 188 const auto& routes = module->getFirstRoutes()->getRoute(); in getSourceDevicesForMixPort() local 189 const auto route = std::find_if(routes.begin(), routes.end(), [&mixPortName](auto rte) { in getSourceDevicesForMixPort() 192 if (route != routes.end()) { in getSourceDevicesForMixPort()
|
/hardware/interfaces/audio/aidl/default/include/core-impl/ |
D | Module.h | 44 std::vector<AudioRoute> routes; member 247 std::vector<AudioRoute*>* routes = nullptr);
|
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalAudioCoreModuleTargetTest.cpp | 1391 std::vector<AudioRoute> routes; in TEST_P() local 1392 ASSERT_IS_OK(module->getAudioRoutes(&routes)); in TEST_P() 1393 for (const auto& route : routes) { in TEST_P() 1406 std::vector<AudioRoute> routes; in TEST_P() local 1407 ASSERT_IS_OK(module->getAudioRoutes(&routes)); in TEST_P() 1408 for (const auto& route : routes) { in TEST_P() 1424 std::vector<AudioRoute> routes; in TEST_P() local 1425 EXPECT_IS_OK(module->getAudioRoutesForAudioPort(portId, &routes)); in TEST_P() 1426 for (const auto& r : routes) { in TEST_P() 1435 std::vector<AudioRoute> routes; in TEST_P() local [all …]
|
/hardware/google/gfxstream/codegen/generic-apigen/ |
D | README | 9 for the specified API, where each entry routes the call via a dispatch
|
/hardware/interfaces/radio/1.6/ |
D | types.hal | 1010 * List of routes (connection parameters) that must be used for requests
|