/hardware/interfaces/audio/aidl/vts/ |
D | ModuleConfig.cpp | 256 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++/ |
D | Android.bp | 40 "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/ |
D | PolicyConfig.h | 127 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/ |
D | ModuleRemoteSubmix.cpp | 128 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()
|
D | SubmixRoute.cpp | 48 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()
|
D | StreamRemoteSubmix.cpp | 100 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/ |
D | PolicyConfig.cpp | 173 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/ |
D | types.hal | 68 /** 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/ |
D | attributes.h | 21 namespace android::nl::protocols::route {
|
D | Route.h | 21 namespace android::nl::protocols::route {
|
D | Route.cpp | 22 namespace android::nl::protocols::route { namespace
|
D | Addr.h | 23 namespace android::nl::protocols::route {
|
D | Link.h | 23 namespace android::nl::protocols::route {
|
D | Link.cpp | 21 namespace android::nl::protocols::route { namespace
|
D | Addr.cpp | 23 namespace android::nl::protocols::route { namespace
|
D | structs.h | 26 namespace android::nl::protocols::route {
|
D | structs.cpp | 19 namespace android::nl::protocols::route { namespace
|
D | attributes.cpp | 25 namespace android::nl::protocols::route { namespace
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioHardwareALSA.cpp | 642 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 …]
|
D | AudioStreamOutALSA.cpp | 167 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()
|
D | AudioStreamInALSA.cpp | 251 …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/ |
D | all.cpp | 39 std::make_unique<route::Route>(), in get()
|
/hardware/interfaces/nfc/1.2/ |
D | types.hal | 30 /** Default IsoDep route. 0x00 if there aren't any. Refer NCI spec */
|
/hardware/interfaces/audio/aidl/default/ |
D | Configuration.cpp | 134 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/ |
D | Android.mk | 123 $(call include-path-for, audio-route) \
|