Home
last modified time | relevance | path

Searched refs:SessionRoute (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp29 void SessionRoute::log(const char* prefix) in log()
56 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in removeRoute()
68 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in incRouteActivity()
74 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in decRouteActivity()
96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) { in addRoute()
99 } else if (mMapType == MAPTYPE_OUTPUT && source != SessionRoute::SOURCE_TYPE_NA) { in addRoute()
104 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in addRoute()
113 route = new SessionRoute(session, streamType, source, descriptor, uid); in addRoute()
128 sp<SessionRoute> route = valueAt(index); in getActiveDeviceForStream()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h29 class SessionRoute : public RefBase
41 SessionRoute(audio_session_t session, in SessionRoute() function
76 class SessionRouteMap: public KeyedVector<audio_session_t, sp<SessionRoute> >
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk20 src/SessionRoute.cpp \
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp855 mOutputRoutes.addRoute(session, *stream, SessionRoute::SOURCE_TYPE_NA, deviceDesc, uid); in getOutputForAttr()
1503 mInputRoutes.addRoute(session, SessionRoute::STREAM_TYPE_NA, inputSource, deviceDesc, uid); in getInputForAttr()
3295 sp<SessionRoute> route = mOutputRoutes.valueAt(i); in clearSessionRoutes()
3311 sp<SessionRoute> route = mInputRoutes.valueAt(i); in clearSessionRoutes()
5501 sp<SessionRoute> route = mInputRoutes.valueAt(routeIndex); in loadConfig()