Home
last modified time | relevance | path

Searched refs:V2_1 (Results 1 – 25 of 251) sorted by relevance

1234567891011

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession_2_1.h33 ::android::hardware::bluetooth::audio::V2_1::SessionType session_type_2_1_;
34 ::android::hardware::bluetooth::audio::V2_1::SessionType raw_session_type_;
37 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
41 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration&
44 static ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
46 static ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
51 const ::android::hardware::bluetooth::audio::V2_1::SessionType&
62 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration&
67 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
70 static constexpr ::android::hardware::bluetooth::audio::V2_1::
[all …]
DBluetoothAudioSupportedCodecsDB_2_1.h27 std::vector<::android::hardware::bluetooth::audio::V2_1::PcmParameters>
31 const ::android::hardware::bluetooth::audio::V2_1::SessionType&
35 const ::android::hardware::bluetooth::audio::V2_1::PcmParameters&
39 const ::android::hardware::bluetooth::audio::V2_1::SessionType&
45 const ::android::hardware::bluetooth::audio::V2_1::SessionType&
47 const ::android::hardware::bluetooth::audio::V2_1::Lc3CodecConfiguration&
DBluetoothAudioSupportedCodecsDB_2_1.cpp31 using SampleRate_2_1 = ::android::hardware::bluetooth::audio::V2_1::SampleRate;
34 ::android::hardware::bluetooth::audio::V2_1::SessionType;
40 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in is_2_0_session_type()
52 static const ::android::hardware::bluetooth::audio::V2_1::PcmParameters
64 std::vector<::android::hardware::bluetooth::audio::V2_1::PcmParameters>
67 ::android::hardware::bluetooth::audio::V2_1::PcmParameters>( in GetSoftwarePcmCapabilities_2_1()
72 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in GetOffloadCodecCapabilities()
82 const ::android::hardware::bluetooth::audio::V2_1::PcmParameters& in IsSoftwarePcmConfigurationValid_2_1()
113 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in IsOffloadCodecConfigurationValid()
126 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in IsOffloadLeAudioConfigurationValid()
[all …]
DBluetoothAudioSession_2_1.cpp33 ::android::hardware::bluetooth::audio::V2_1::SessionType;
37 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
39 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
44 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in is_2_0_session_type()
56 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in is_unsupported_2_1_session_type()
70 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in BluetoothAudioSession_2_1()
90 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
100 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration toConf; in GetAudioConfig()
109 ::android::hardware::bluetooth::audio::V2_1::SampleRate>( in GetAudioConfig()
125 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in UpdateAudioConfig()
[all …]
DBluetoothAudioSessionReport_2_1.h30 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in OnSessionStarted()
34 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in OnSessionStarted()
45 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in OnSessionEnded()
56 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in ReportControlStatus()
/hardware/interfaces/sensors/common/utils/
DconvertV2_1.h27 namespace V2_1 {
30 static_assert(sizeof(V1_0::Event) == sizeof(V2_1::Event),
32 static_assert(sizeof(V1_0::SensorInfo) == sizeof(V2_1::SensorInfo),
38 inline const V1_0::Event& convertToOldEvent(const V2_1::Event& event) { in convertToOldEvent()
42 inline const std::vector<V1_0::Event>& convertToOldEvents(const std::vector<V2_1::Event>& events) { in convertToOldEvents()
46 inline V1_0::Event* convertToOldEvent(V2_1::Event* event) { in convertToOldEvent()
50 inline const V2_1::SensorInfo& convertToNewSensorInfo(const V1_0::SensorInfo& info) { in convertToNewSensorInfo()
51 return reinterpret_cast<const V2_1::SensorInfo&>(info); in convertToNewSensorInfo()
54 inline const V1_0::SensorInfo& convertToOldSensorInfo(const V2_1::SensorInfo& info) { in convertToOldSensorInfo()
58 inline const V2_1::Event& convertToNewEvent(const V1_0::Event& event) { in convertToNewEvent()
[all …]
DEventMessageQueueWrapper.h33 namespace V2_1 {
43 virtual bool read(V2_1::Event* events, size_t numToRead) = 0;
44 virtual bool write(const V2_1::Event* events, size_t numToWrite) = 0;
45 virtual bool write(const std::vector<V2_1::Event>& events) = 0;
46 virtual bool writeBlocking(const V2_1::Event* events, size_t count, uint32_t readNotification,
71 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read()
75 bool write(const V2_1::Event* events, size_t numToWrite) override { in write()
79 virtual bool write(const std::vector<V2_1::Event>& events) override { in write()
84 bool writeBlocking(const V2_1::Event* events, size_t count, uint32_t readNotification, in writeBlocking()
99 using EventMessageQueue = MessageQueue<V2_1::Event, kSynchronizedReadWrite>;
[all …]
DISensorsCallbackWrapper.h37 namespace V2_1 {
49 const hidl_vec<V2_1::SensorInfo>& sensorInfos) = 0;
60 const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
80 : public SensorsCallbackWrapperBase<hardware::sensors::V2_1::ISensorsCallback> {
82 ISensorsCallbackWrapperV2_1(sp<hardware::sensors::V2_1::ISensorsCallback> sensorsCallback) in ISensorsCallbackWrapperV2_1()
85 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.h27 namespace V2_1 {
43 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel,
44 const sp<V2_1::ISoundTriggerHwCallback>& callback,
46 V2_1::ISoundTriggerHw::loadSoundModel_2_1_cb _hidl_cb);
48 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel,
49 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie,
50 V2_1::ISoundTriggerHw::loadPhraseSoundModel_2_1_cb _hidl_cb);
52 const V2_1::ISoundTriggerHw::RecognitionConfig& config);
88 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel_2_1()
89 const sp<V2_1::ISoundTriggerHwCallback>& callback, in loadSoundModel_2_1()
[all …]
DSoundTriggerHw.cpp34 namespace V2_1 { namespace
101 const V2_1::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel_2_1()
102 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadSoundModel_2_1()
103 V2_1::ISoundTriggerHw::loadSoundModel_2_1_cb _hidl_cb) { in loadSoundModel_2_1()
118 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel_2_1()
119 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadPhraseSoundModel_2_1()
120 V2_1::ISoundTriggerHw::loadPhraseSoundModel_2_1_cb _hidl_cb) { in loadPhraseSoundModel_2_1()
141 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config) { in startRecognition_2_1()
155 V2_1::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
165 V2_1::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DIHalProxyCallbackWrapper.h26 namespace V2_1 {
44 const hidl_vec<V2_1::SensorInfo>& sensorInfos) = 0;
48 virtual void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) = 0;
76 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
78 V2_1::implementation::convertToOldSensorInfos(sensorInfos)); in onDynamicSensorsConnected()
81 void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) override { in postEvents()
82 return mCallback->postEvents(V2_1::implementation::convertToOldEvents(events), in postEvents()
88 : public HalProxyCallbackWrapperBase<V2_1::implementation::IHalProxyCallback> {
90 HalProxyCallbackWrapperV2_1(sp<V2_1::implementation::IHalProxyCallback> callback) in HalProxyCallbackWrapperV2_1()
93 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
[all …]
DSensorsSubHal.cpp26 static ::android::hardware::sensors::V2_1::subhal::implementation::AllSensorsSubHal< in sensorsHalGetSubHal()
27 ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHalV2_0> in sensorsHalGetSubHal()
30 static ::android::hardware::sensors::V2_1::subhal::implementation::ContinuousSensorsSubHal< in sensorsHalGetSubHal()
31 ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHalV2_0> in sensorsHalGetSubHal()
34 static ::android::hardware::sensors::V2_1::subhal::implementation::OnChangeSensorsSubHal< in sensorsHalGetSubHal()
35 ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHalV2_0> in sensorsHalGetSubHal()
38 static ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHal< in sensorsHalGetSubHal()
39 ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHalV2_0> in sensorsHalGetSubHal()
48 ::android::hardware::sensors::V2_1::implementation::ISensorsSubHal* sensorsHalGetSubHal_2_1( in sensorsHalGetSubHal_2_1()
51 static ::android::hardware::sensors::V2_1::subhal::implementation::AllSensorsSubHal< in sensorsHalGetSubHal_2_1()
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxyCallback.cpp41 void HalProxyCallbackBase::postEvents(const std::vector<V2_1::Event>& events, in postEvents()
45 std::vector<V2_1::Event> processedEvents = processEvents(events, &numWakeupEvents); in postEvents()
65 std::vector<V2_1::Event> HalProxyCallbackBase::processEvents(const std::vector<V2_1::Event>& events, in processEvents()
68 std::vector<V2_1::Event> eventsOut; in processEvents()
69 for (V2_1::Event event : events) { in processEvents()
71 if (event.sensorType == V2_1::SensorType::DYNAMIC_SENSOR_META) { in processEvents()
76 const V2_1::SensorInfo& sensor = mCallback->getSensorInfo(event.sensorHandle); in processEvents()
/hardware/interfaces/gnss/common/utils/default/include/v2_1/
DGnssAntennaInfo.h24 namespace android::hardware::gnss::V2_1::implementation {
26 struct GnssAntennaInfo : public ::android::hardware::gnss::V2_1::IGnssAntennaInfo {
32 const sp<::android::hardware::gnss::V2_1::IGnssAntennaInfoCallback>& callback) override;
40 ::android::hardware::gnss::V2_1::IGnssAntennaInfoCallback::GnssAntennaInfo>&
44 static sp<::android::hardware::gnss::V2_1::IGnssAntennaInfoCallback> sCallback;
DGnssConfiguration.h26 namespace android::hardware::gnss::V2_1::implementation {
30 const ::android::hardware::gnss::V2_1::IGnssConfiguration::BlacklistedSource& source) in operator()
38 const ::android::hardware::gnss::V2_1::IGnssConfiguration::BlacklistedSource& s1, in operator()
39 const ::android::hardware::gnss::V2_1::IGnssConfiguration::BlacklistedSource& s2) in operator()
46 std::unordered_set<::android::hardware::gnss::V2_1::IGnssConfiguration::BlacklistedSource,
71 const hidl_vec<V2_1::IGnssConfiguration::BlacklistedSource>& blacklist) override;
73 Return<bool> isBlacklistedV2_1(const V2_1::IGnssCallback::GnssSvInfo& gnssSvInfo) const;
DGnssMeasurement.h26 namespace android::hardware::gnss::V2_1::implementation {
46 const sp<V2_1::IGnssMeasurementCallback>& callback, bool enableFullTracking) override;
52 void reportMeasurement(const V2_1::IGnssMeasurementCallback::GnssData&);
55 static sp<V2_1::IGnssMeasurementCallback> sCallback_2_1;
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxyCallback.h47 const hidl_vec<V2_1::SensorInfo>& dynamicSensorsAdded, int32_t subHalIndex) = 0;
61 virtual void postEventsToMessageQueue(const std::vector<V2_1::Event>& events,
72 virtual const V2_1::SensorInfo& getSensorInfo(int32_t sensorHandle) = 0;
88 void postEvents(const std::vector<V2_1::Event>& events,
99 std::vector<V2_1::Event> processEvents(const std::vector<V2_1::Event>& events,
114 V2_1::implementation::convertToNewSensorInfos(dynamicSensorsAdded), mSubHalIndex); in onDynamicSensorsConnected()
124 HalProxyCallbackBase::postEvents(V2_1::implementation::convertToNewEvents(events), in postEvents()
134 public V2_1::implementation::IHalProxyCallback {
142 const hidl_vec<V2_1::SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected_2_1()
157 void postEvents(const std::vector<V2_1::Event>& events, in postEvents()
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h52 using android::hardware::graphics::composer::V2_1::Config;
53 using android::hardware::graphics::composer::V2_1::Display;
54 using android::hardware::graphics::composer::V2_1::Error;
55 using android::hardware::graphics::composer::V2_1::IComposerCallback;
56 using android::hardware::graphics::composer::V2_1::Layer;
63 class CommandWriterBase : public V2_1::CommandWriterBase {
65 CommandWriterBase(uint32_t initialMaxSize) : V2_1::CommandWriterBase(initialMaxSize) {} in CommandWriterBase()
105 class CommandReaderBase : public V2_1::CommandReaderBase {
107 CommandReaderBase() : V2_1::CommandReaderBase(){}; in CommandReaderBase()
/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
DComposerResources.h32 using V2_1::Display;
33 using V2_1::Error;
34 using V2_1::hal::ComposerHandleCache;
35 using V2_1::hal::ComposerHandleImporter;
37 class ComposerDisplayResource : public V2_1::hal::ComposerDisplayResource {
41 : V2_1::hal::ComposerDisplayResource(type, importer, outputBufferCacheSize), in ComposerDisplayResource()
56 class ComposerResources : public V2_1::hal::ComposerResources {
96 std::unique_ptr<V2_1::hal::ComposerDisplayResource> createDisplayResource( in createDisplayResource()
/hardware/interfaces/sensors/2.1/default/
DSensorsV2_1.h29 namespace V2_1 {
37 ISensorsCallbackWrapper(const sp<V2_1::ISensorsCallback>& callback) : mCallback(callback) {} in ISensorsCallbackWrapper()
48 sp<V2_1::ISensorsCallback> mCallback;
63 sensors.push_back(V2_1::implementation::convertToOldSensorInfo( in getSensorsList()
75 const ::android::hardware::MQDescriptorSync<V2_1::Event>& eventQueueDescriptor,
77 const sp<V2_1::ISensorsCallback>& sensorsCallback) override;
79 Return<Result> injectSensorData_2_1(const V2_1::Event& event) override;
DSensorsV2_1.cpp24 namespace V2_1 { namespace
72 const ::android::hardware::MQDescriptorSync<V2_1::Event>& eventQueueDescriptor, in initialize_2_1()
74 const sp<V2_1::ISensorsCallback>& sensorsCallback) { in initialize_2_1()
75 auto eventQueue = std::make_unique<MessageQueue<V2_1::Event, kSynchronizedReadWrite>>( in initialize_2_1()
83 Return<Result> SensorsV2_1::injectSensorData_2_1(const V2_1::Event& event) { in injectSensorData_2_1()
/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.h35 using ::android::hardware::sensors::V2_1::implementation::ISensorsWrapperBase;
36 using ::android::hardware::sensors::V2_1::implementation::MAX_RECEIVE_BUFFER_EVENT_COUNT;
37 using ::android::hardware::sensors::V2_1::implementation::NoOpSensorsCallback;
38 using ::android::hardware::sensors::V2_1::implementation::wrapISensors;
49 : public SensorsVtsEnvironmentBase<::android::hardware::sensors::V2_1::Event> {
112 std::array<::android::hardware::sensors::V2_1::Event, MAX_RECEIVE_BUFFER_EVENT_COUNT>
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h44 using IMapper2_1 = android::hardware::graphics::mapper::V2_1::IMapper;
48 using Gralloc2_1 = android::hardware::graphics::mapper::V2_1::vts::Gralloc;
56 class Composer : public V2_1::vts::Composer {
58 using V2_1::vts::Composer::Composer;
64 class ComposerClient : public V2_1::vts::ComposerClient {
67 : V2_1::vts::ComposerClient(client), mClient(client) {} in ComposerClient()
71 void execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer);
95 class Gralloc : public V2_1::vts::Gralloc {
97 using NativeHandleWrapper = V2_1::vts::NativeHandleWrapper;
103 return V2_1::vts::Gralloc::allocate(
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerCommandEngine.h42 std::unique_ptr<V2_1::CommandWriterBase> createCommandWriter( in createCommandWriter()
48 using BaseType2_1 = V2_1::hal::ComposerCommandEngine;
52 V2_1::Error executeValidateDisplayInternal() override { in executeValidateDisplayInternal()
70 mWriter->setError(getCommandLoc(), static_cast<V2_1::Error>(err)); in executeValidateDisplayInternal()
72 return static_cast<V2_1::Error>(err); in executeValidateDisplayInternal()
77 bool executeCommand(V2_1::IComposerClient::Command command, uint16_t length) override { in executeCommand()
108 mWriter->setError(getCommandLoc(), static_cast<V2_1::Error>(error)); in executeSetLayerGenericMetadata()
/hardware/interfaces/graphics/composer/2.2/utils/resources/
DComposerResources.cpp28 using V2_1::Display;
29 using V2_1::Error;
30 using V2_1::Layer;
31 using V2_1::hal::ComposerHandleCache;
32 using V2_1::hal::ComposerHandleImporter;

1234567891011