Home
last modified time | relevance | path

Searched refs:route (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp256 for (const auto& route : mRoutes) { in getConnectedSinkDevicesPortsForMixPort() local
257 if ((connectedSinkDevicePorts.count(route.sinkPortId) != 0) && in getConnectedSinkDevicesPortsForMixPort()
258 std::find(route.sourcePortIds.begin(), route.sourcePortIds.end(), mixPort.id) != in getConnectedSinkDevicesPortsForMixPort()
259 route.sourcePortIds.end()) { in getConnectedSinkDevicesPortsForMixPort()
260 const auto devicePortIt = findById<AudioPort>(mPorts, route.sinkPortId); in getConnectedSinkDevicesPortsForMixPort()
271 for (const auto& route : mRoutes) { in getConnectedSourceDevicesPortsForMixPort() local
272 if (route.sinkPortId == mixPort.id) { in getConnectedSourceDevicesPortsForMixPort()
273 for (const auto srcId : route.sourcePortIds) { in getConnectedSourceDevicesPortsForMixPort()
286 for (const auto& route : mRoutes) { in getSourceMixPortForConnectedDevice() local
287 if (connectedSinkDevicePorts.count(route.sinkPortId) != 0) { in getSourceMixPortForConnectedDevice()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/
DAndroid.bp40 "protocols/route/Addr.cpp",
41 "protocols/route/Link.cpp",
42 "protocols/route/Route.cpp",
43 "protocols/route/attributes.cpp",
44 "protocols/route/structs.cpp",
/hardware/interfaces/audio/core/all-versions/vts/functional/
DPolicyConfig.h127 for (const auto& route : module->getRoutes()) { in getSinkDevicesForMixPort() local
128 for (const auto& source : route->getSources()) { in getSinkDevicesForMixPort()
130 result.insert(route->getSink()->getTagName()); in getSinkDevicesForMixPort()
142 for (const auto& route : module->getRoutes()) { in getSourceDevicesForMixPort() local
143 if (route->getSink()->getTagName() == mixPortName) { in getSourceDevicesForMixPort()
144 const auto& sources = route->getSources(); in getSourceDevicesForMixPort()
/hardware/interfaces/audio/aidl/default/r_submix/
DModuleRemoteSubmix.cpp128 const auto& route = *routes.begin(); in populateConnectedDevicePort() local
130 if (route->sinkPortId == audioPort->id) { in populateConnectedDevicePort()
131 if (route->sourcePortIds.empty()) { in populateConnectedDevicePort()
132 LOG(ERROR) << __func__ << ": invalid route " << route->toString(); in populateConnectedDevicePort()
135 RETURN_STATUS_IF_ERROR(getAudioPort(*route->sourcePortIds.begin(), &mixPort)); in populateConnectedDevicePort()
137 RETURN_STATUS_IF_ERROR(getAudioPort(route->sinkPortId, &mixPort)); in populateConnectedDevicePort()
DSubmixRoute.cpp48 auto route = std::make_shared<SubmixRoute>(); in findOrCreateRoute() local
49 if (::android::OK != route->createPipe(pipeConfig)) { in findOrCreateRoute()
53 routes->emplace(deviceAddress, route); in findOrCreateRoute()
54 return route; in findOrCreateRoute()
DStreamRemoteSubmix.cpp100 std::shared_ptr<SubmixRoute> route = SubmixRoute::findRoute(mDeviceAddress); in prepareToClose() local
101 if (route != nullptr) { in prepareToClose()
102 sp<MonoPipe> sink = route->getSink(); in prepareToClose()
110 route->closeStream(mIsInput); in prepareToClose()
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DPolicyConfig.cpp173 for (const auto& route : module->getFirstRoutes()->getRoute()) { in getSinkDevicesForMixPort() local
174 const auto sources = splitString(route.getSources(), ','); in getSinkDevicesForMixPort()
176 result.insert(route.getSink()); in getSinkDevicesForMixPort()
189 const auto route = std::find_if(routes.begin(), routes.end(), [&mixPortName](auto rte) { in getSourceDevicesForMixPort() local
192 if (route != routes.end()) { in getSourceDevicesForMixPort()
193 const auto sources = splitString(route->getSources(), ','); in getSourceDevicesForMixPort()
/hardware/interfaces/nfc/1.1/
Dtypes.hal68 /** Default off-host route. 0x00 if there aren't any. Refer to NCI spec. */
72 * Default off-host route for Felica. 0x00 if there aren't any. Refer to
77 /** Default system code route. 0x00 if there aren't any. Refer NCI spec */
80 /** Default power state for system code route. 0x00 if there aren't any. Refer NCI spec */
84 * Default route for all remaining protocols and technology which haven't
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/route/
Dattributes.h21 namespace android::nl::protocols::route {
DRoute.h21 namespace android::nl::protocols::route {
DRoute.cpp22 namespace android::nl::protocols::route { namespace
DAddr.h23 namespace android::nl::protocols::route {
DLink.h23 namespace android::nl::protocols::route {
DLink.cpp21 namespace android::nl::protocols::route { namespace
DAddr.cpp23 namespace android::nl::protocols::route { namespace
Dstructs.h26 namespace android::nl::protocols::route {
Dstructs.cpp19 namespace android::nl::protocols::route { namespace
Dattributes.cpp25 namespace android::nl::protocols::route { namespace
/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.cpp642 mALSADevice->route(&(*it), (uint32_t)device, newMode); in doRouting()
653 mALSADevice->route(&(*it), AudioSystem::DEVICE_OUT_PROXY, in doRouting()
683 mALSADevice->route(&(*it), (uint32_t)device, newMode); in doRouting()
806 mALSADevice->route(&(*it), mCurDevice, AudioSystem::MODE_IN_COMMUNICATION); in openOutputStream()
814 mALSADevice->route(&(*it), mCurDevice, AudioSystem::MODE_IN_COMMUNICATION); in openOutputStream()
891 mALSADevice->route(&(*it), devices, mode()); in openOutputStream()
962 mALSADevice->route(&(*it), devices, mode()); in openOutputStream()
1053 mALSADevice->route(&(*it), devices, mode()); in openOutputSession()
1061 mALSADevice->route(&(*it), devices, mode()); in openOutputSession()
1171 … mALSADevice->route(&(*it), AudioSystem::DEVICE_IN_PROXY, AudioSystem::MODE_IN_COMMUNICATION); in openInputStream()
[all …]
DAudioStreamOutALSA.cpp167 mHandle->module->route(mHandle, mDevices , mParent->mode()); in write()
171 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in write()
178 mHandle->module->route(mHandle, mDevices , mParent->mode()); in write()
181 mHandle->module->route(mHandle, mDevices , mParent->mode()); in write()
DAudioStreamInALSA.cpp251 …mHandle->module->route(mHandle, (mDevices | AudioSystem::DEVICE_IN_PROXY) , AudioSystem::MODE_IN_C… in read()
255 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in read()
261 mHandle->module->route(mHandle, AudioSystem::DEVICE_IN_PROXY , mParent->mode()); in read()
266 mHandle->module->route(mHandle, mDevices , mParent->mode()); in read()
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
Dall.cpp39 std::make_unique<route::Route>(), in get()
/hardware/interfaces/nfc/1.2/
Dtypes.hal30 /** Default IsoDep route. 0x00 if there aren't any. Refer NCI spec */
/hardware/interfaces/audio/aidl/default/
DConfiguration.cpp134 AudioRoute route; in createRoute() local
135 route.sinkPortId = sink.id; in createRoute()
136 std::transform(sources.begin(), sources.end(), std::back_inserter(route.sourcePortIds), in createRoute()
138 return route; in createRoute()
/hardware/qcom/audio/hal/
DAndroid.mk123 $(call include-path-for, audio-route) \

12