Home
last modified time | relevance | path

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

12345678910>>...13

/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DFakeComposerClient.cpp212 return V2_1::Error::NONE; in createVirtualDisplay()
217 return V2_1::Error::NONE; in destroyVirtualDisplay()
225 return V2_1::Error::NONE; in createLayer()
231 return V2_1::Error::NONE; in destroyLayer()
250 return V2_1::Error::NONE; in getActiveConfig()
258 return V2_1::Error::NONE; in getClientTargetSupport()
264 return V2_1::Error::NONE; in getColorModes()
287 return V2_1::Error::NONE; in getDisplayConfigs()
292 return V2_1::Error::NONE; in getDisplayName()
301 return V2_1::Error::NONE; in getDisplayType()
[all …]
H A DFakeComposerClient.h93 V2_1::Error setPowerMode(Display display, V2_1::IComposerClient::PowerMode mode) override;
132 V2_1::Error getPerFrameMetadataKeys(
135 V2_1::Error setLayerPerFrameMetadata(
139 V2_1::Error getReadbackBufferAttributes(
159 V2_1::Error getRenderIntents(
169 V2_1::Error getPerFrameMetadataKeys_2_3(
176 V2_1::Error getRenderIntents_2_3(
186 V2_1::Error getReadbackBufferAttributes_2_3(
193 V2_1::Error setLayerPerFrameMetadata_2_3(
213 V2_1::Error getDisplayCapabilities(
[all …]
/aosp12/hardware/interfaces/sensors/common/utils/
H A 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()
46 inline V1_0::Event* convertToOldEvent(V2_1::Event* event) { in convertToOldEvent()
51 return reinterpret_cast<const V2_1::SensorInfo&>(info); in convertToNewSensorInfo()
59 return reinterpret_cast<const V2_1::Event&>(event); in convertToNewEvent()
63 return reinterpret_cast<const std::vector<V2_1::Event>&>(events); in convertToNewEvents()
67 return reinterpret_cast<const hidl_vec<V2_1::Event>&>(events); in convertToNewEvents()
70 inline const hidl_vec<V2_1::SensorInfo>& convertToNewSensorInfos( in convertToNewSensorInfos()
[all …]
H A 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;
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()
104 const ::android::hardware::MQDescriptorSync<V2_1::Event>* getDesc() { in getDesc()
114 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read()
118 bool write(const V2_1::Event* events, size_t numToWrite) override { in write()
[all …]
H A 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()
/aosp12/hardware/interfaces/soundtrigger/2.1/default/
H A 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);
94 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel_2_1()
95 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadPhraseSoundModel_2_1()
113 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1()
[all …]
H A 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 …]
/aosp12/hardware/interfaces/bluetooth/audio/utils/session/
H A DBluetoothAudioSession_2_1.h33 ::android::hardware::bluetooth::audio::V2_1::SessionType session_type_2_1_;
36 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
40 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration&
43 static ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
45 static ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
50 const ::android::hardware::bluetooth::audio::V2_1::SessionType&
61 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration&
66 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
69 static constexpr ::android::hardware::bluetooth::audio::V2_1::
72 static constexpr ::android::hardware::bluetooth::audio::V2_1::
[all …]
H A DBluetoothAudioSession_2_1.cpp28 ::android::hardware::bluetooth::audio::V2_1::SessionType;
32 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
34 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
39 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in is_2_0_session_type()
52 const ::android::hardware::bluetooth::audio::V2_1::SessionType& in BluetoothAudioSession_2_1()
70 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration
78 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration toConf; in GetAudioConfig()
87 ::android::hardware::bluetooth::audio::V2_1::SampleRate>( in GetAudioConfig()
103 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in UpdateAudioConfig()
138 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in OnSessionStarted()
[all …]
H A 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()
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
H A 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()
31 ::android::hardware::sensors::V2_1::subhal::implementation::SensorsSubHalV2_0> 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()
51 static ::android::hardware::sensors::V2_1::subhal::implementation::AllSensorsSubHal< in sensorsHalGetSubHal_2_1()
74 namespace V2_1 { namespace
86 using ::android::hardware::sensors::V2_1::Event;
217 _hidl_cb(V2_1::implementation::convertToOldSensorInfos(sensors)); in getSensorsList()
[all …]
H A 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 …]
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/include/
H A 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()
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DHw2CompatUtil.java31 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel) { in convertSoundModel_2_1_to_2_0()
38 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent convertRecognit… in convertRecognitionEvent_2_0_to_2_1()
40 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event_2_1 = in convertRecognitionEvent_2_0_to_2_1()
41 new android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent(); in convertRecognitionEvent_2_0_to_2_1()
50 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent convertPh… in convertPhraseRecognitionEvent_2_0_to_2_1()
52 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent in convertPhraseRecognitionEvent_2_0_to_2_1()
54 … new android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent(); in convertPhraseRecognitionEvent_2_0_to_2_1()
61 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel soundModel) { in convertPhraseSoundModel_2_1_to_2_0()
69 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig convertRecognitionConf… in convertRecognitionConfig_2_3_to_2_1()
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/
H A 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()
72 const V2_1::SensorInfo& sensor = mCallback->getSensorInfo(event.sensorHandle); in processEvents()
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
H A DComposerVts.h44 using IMapper2_1 = android::hardware::graphics::mapper::V2_1::IMapper;
48 using Gralloc2_1 = android::hardware::graphics::mapper::V2_1::vts::Gralloc;
55 class Composer : public V2_1::vts::Composer {
57 using V2_1::vts::Composer::Composer;
63 class ComposerClient : public V2_1::vts::ComposerClient {
66 : V2_1::vts::ComposerClient(client), mClient(client) {} in ComposerClient()
70 void execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer);
94 class Gralloc : public V2_1::vts::Gralloc {
96 using NativeHandleWrapper = V2_1::vts::NativeHandleWrapper;
102 return V2_1::vts::Gralloc::allocate(
/aosp12/hardware/interfaces/gnss/common/utils/default/include/v2_1/
H A 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;
H A 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;
H A DGnssTemplate.h121 static sp<V2_1::IGnssCallback> sGnssCallback_2_1;
127 sp<V2_1::implementation::GnssConfiguration> mGnssConfiguration;
135 hidl_vec<V2_1::IGnssCallback::GnssSvInfo> gnssSvInfoList);
251 hidl_vec<V2_1::IGnssCallback::GnssSvInfo> gnssSvInfoList) { in filterBlocklistedSatellitesV2_1()
300 V2_1::IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2018}; in setCallback()
368 return new V2_1::implementation::GnssMeasurement(); in getExtensionGnssMeasurement()
417 V2_1::IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2018}; in setCallback_1_1()
521 return new V2_1::implementation::GnssMeasurement(); in getExtensionGnssMeasurement_2_0()
561 using Capabilities = V2_1::IGnssCallback::Capabilities; in setCallback_2_1()
589 return new V2_1::implementation::GnssMeasurement(); in getExtensionGnssMeasurement_2_1()
[all …]
/aosp12/hardware/interfaces/sensors/2.1/default/
H A 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;
/aosp12/hardware/interfaces/sensors/common/vts/2_X/
H A 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 SensorsHidlEnvironmentBase<::android::hardware::sensors::V2_1::Event> {
114 std::array<::android::hardware::sensors::V2_1::Event, MAX_RECEIVE_BUFFER_EVENT_COUNT>
/aosp12/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
H A 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()
/aosp12/hardware/interfaces/soundtrigger/2.2/default/
H A DSoundTriggerHw.h72 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel,
73 const sp<V2_1::ISoundTriggerHwCallback>& callback,
75 Return<void> loadPhraseSoundModel_2_1(const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel,
76 const sp<V2_1::ISoundTriggerHwCallback>& callback,
80 const V2_1::ISoundTriggerHw::RecognitionConfig& config,
81 const sp<V2_1::ISoundTriggerHwCallback>& callback,
173 SoundModelClient_2_1(uint32_t id, V2_1::ISoundTriggerHwCallback::CallbackCookie cookie, in SoundModelClient_2_1()
174 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1()
181 sp<V2_1::ISoundTriggerHwCallback> mCallback;
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
H A DComposerResources.h32 using V2_1::hal::ComposerHandleCache;
33 using V2_1::hal::ComposerHandleImporter;
35 class ComposerDisplayResource : public V2_1::hal::ComposerDisplayResource {
39 : V2_1::hal::ComposerDisplayResource(type, importer, outputBufferCacheSize), in ComposerDisplayResource()
54 class ComposerResources : public V2_1::hal::ComposerResources {
94 std::unique_ptr<V2_1::hal::ComposerDisplayResource> createDisplayResource( in createDisplayResource()

12345678910>>...13