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()
115 route = new SessionRoute(session, streamType, source, descriptor, uid); in addRoute()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h28 class SessionRoute : public RefBase
40 SessionRoute(audio_session_t session, in SessionRoute() function
75 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.cpp744 mOutputRoutes.addRoute(session, *stream, SessionRoute::SOURCE_TYPE_NA, deviceDesc, uid); in getOutputForAttr()
1399 mInputRoutes.addRoute(session, SessionRoute::STREAM_TYPE_NA, inputSource, deviceDesc, uid); in getInputForAttr()
2851 sp<SessionRoute> route = mOutputRoutes.valueAt(i); in clearSessionRoutes()
2867 sp<SessionRoute> route = mInputRoutes.valueAt(i); in clearSessionRoutes()
4495 sp<SessionRoute> route = mOutputRoutes.valueAt(routeIndex); in AudioPolicyManager()
4888 sp<SessionRoute> route = mInputRoutes.valueAt(routeIndex); in AudioPolicyManager()