Searched refs:sessionType (Results 1 – 10 of 10) sorted by relevance
42 const SessionType sessionType, openProvider_cb _hidl_cb) { in openProvider() argument43 LOG(INFO) << __func__ << " - SessionType=" << toString(sessionType); in openProvider()46 switch (sessionType) { in openProvider()59 if (provider == nullptr || !provider->isValid(sessionType)) { in openProvider()62 LOG(ERROR) << __func__ << " - SessionType=" << toString(sessionType) in openProvider()70 const SessionType sessionType, getProviderCapabilities_cb _hidl_cb) { in getProviderCapabilities() argument73 if (sessionType == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in getProviderCapabilities()75 android::bluetooth::audio::GetOffloadCodecCapabilities(sessionType); in getProviderCapabilities()82 } else if (sessionType != SessionType::UNKNOWN) { in getProviderCapabilities()90 LOG(INFO) << __func__ << " - SessionType=" << toString(sessionType) in getProviderCapabilities()
37 Return<void> openProvider(const SessionType sessionType,41 const SessionType sessionType,
46 bool A2dpOffloadAudioProvider::isValid(const SessionType& sessionType) { in isValid() argument47 return (sessionType == session_type_); in isValid()
58 bool A2dpSoftwareAudioProvider::isValid(const SessionType& sessionType) { in isValid() argument59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
58 bool HearingAidAudioProvider::isValid(const SessionType& sessionType) { in isValid() argument59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
32 bool isValid(const SessionType& sessionType) override;
40 bool isValid(const SessionType& sessionType) override;
42 virtual bool isValid(const SessionType& sessionType) = 0;
38 * @param sessionType The session type (e.g.47 openProvider(SessionType sessionType)57 * @param sessionType The session type (e.g.69 getProviderCapabilities(SessionType sessionType)