Home
last modified time | relevance | path

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

123

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp208 V2_1::Error FakeComposerClient::createVirtualDisplay(uint32_t /*width*/, uint32_t /*height*/, in createVirtualDisplay()
212 return V2_1::Error::NONE; in createVirtualDisplay()
215 V2_1::Error FakeComposerClient::destroyVirtualDisplay(Display /*display*/) { in destroyVirtualDisplay()
217 return V2_1::Error::NONE; in destroyVirtualDisplay()
220 V2_1::Error FakeComposerClient::createLayer(Display /*display*/, Layer* outLayer) { in createLayer()
225 return V2_1::Error::NONE; in createLayer()
228 V2_1::Error FakeComposerClient::destroyLayer(Display /*display*/, Layer layer) { in destroyLayer()
231 return V2_1::Error::NONE; in destroyLayer()
234 V2_1::Error FakeComposerClient::getActiveConfig(Display display, Config* outConfig) { in getActiveConfig()
250 return V2_1::Error::NONE; in getActiveConfig()
[all …]
DFakeComposerClient.h69 V2_1::Error createVirtualDisplay(uint32_t width, uint32_t height, V1_0::PixelFormat* format,
71 V2_1::Error destroyVirtualDisplay(Display display) override;
72 V2_1::Error createLayer(Display display, Layer* outLayer) override;
73 V2_1::Error destroyLayer(Display display, Layer layer) override;
75 V2_1::Error getActiveConfig(Display display, Config* outConfig) override;
76 V2_1::Error getClientTargetSupport(Display display, uint32_t width, uint32_t height,
79 V2_1::Error getColorModes(Display display, hidl_vec<V1_0::ColorMode>* outModes) override;
80 V2_1::Error getDisplayAttribute(Display display, Config config,
81 V2_1::IComposerClient::Attribute attribute,
83 V2_1::Error getDisplayConfigs(Display display, hidl_vec<Config>* outConfigs) override;
[all …]
DFakeComposerService.cpp58 hidl_cb(V2_1::Error::NONE, mClient); in createClient()
87 hidl_cb(V2_1::Error::NONE, mClient); in createClient()
116 hidl_cb(V2_1::Error::UNSUPPORTED, nullptr); in createClient()
125 hidl_cb(V2_1::Error::NONE, mClient); in createClient_2_3()
154 hidl_cb(V2_1::Error::UNSUPPORTED, nullptr); in createClient()
163 hidl_cb(V2_1::Error::UNSUPPORTED, nullptr); in createClient_2_3()
DMockComposerHal.h35 MOCK_METHOD2(getActiveConfig, V2_1::Error(Display, Config*));
38 MOCK_METHOD2(getDisplayConfigs, V2_1::Error(Display, hidl_vec<Config>*));
39 MOCK_METHOD2(setActiveConfig, V2_1::Error(Display, Config));
DSFFakeHwc_test.cpp73 using Display = V2_1::Display;
206 Return(V2_1::Error::NONE))); in setExpectationsForConfigs()
209 .WillRepeatedly(DoAll(SetArgPointee<1>(activeConfig), Return(V2_1::Error::NONE))); in setExpectationsForConfigs()
342 V2_1::IComposerCallback::Connection::CONNECTED); in Test_HotplugOneConfig()
373 V2_1::IComposerCallback::Connection::DISCONNECTED); in Test_HotplugOneConfig()
404 V2_1::IComposerCallback::Connection::CONNECTED); in Test_HotplugTwoSeparateConfigs()
447 .WillOnce(Return(V2_1::Error::NONE)); in Test_HotplugTwoSeparateConfigs()
489 V2_1::IComposerCallback::Connection::DISCONNECTED); in Test_HotplugTwoSeparateConfigs()
512 V2_1::IComposerCallback::Connection::CONNECTED); in Test_HotplugTwoConfigsSameGroup()
554 .WillOnce(Return(V2_1::Error::NONE)); in Test_HotplugTwoConfigsSameGroup()
[all …]
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
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()
DSoundTriggerHw2Compat.java64 private @Nullable android.hardware.soundtrigger.V2_1.ISoundTriggerHw mUnderlying_2_1;
134 android.hardware.soundtrigger.V2_1.ISoundTriggerHw as2_1 = in initUnderlying()
135 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.asInterface(binder); in initUnderlying()
248 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel hidlModel = in loadPhraseSoundModel()
434 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel, in loadSoundModel_2_0()
453 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel soundModel, in loadPhraseSoundModel_2_0()
476 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig config_2_1 = in startRecognition_2_1()
506 android.hardware.soundtrigger.V2_1.ISoundTriggerHw as2_1() throws NotSupported { in as2_1()
551 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.Stub {
561 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback_2_1()
[all …]
/frameworks/base/services/core/java/com/android/server/health/
DHealthHalCallbackHidl.java24 import android.hardware.health.V2_1.BatteryCapacityLevel;
25 import android.hardware.health.V2_1.Constants;
26 import android.hardware.health.V2_1.IHealthInfoCallback;
61 android.hardware.health.V2_1.HealthInfo propsLatest = in healthInfoChanged()
62 new android.hardware.health.V2_1.HealthInfo(); in healthInfoChanged()
73 public void healthInfoChanged_2_1(android.hardware.health.V2_1.HealthInfo props) { in healthInfoChanged_2_1()
/frameworks/native/services/sensorservice/
DHidlSensorHalWrapper.cpp33 using android::hardware::sensors::V2_1::Event;
34 using android::hardware::sensors::V2_1::ISensorsCallback;
35 using android::hardware::sensors::V2_1::implementation::convertFromSensorEvent;
36 using android::hardware::sensors::V2_1::implementation::convertToNewEvents;
37 using android::hardware::sensors::V2_1::implementation::convertToNewSensorInfos;
38 using android::hardware::sensors::V2_1::implementation::convertToSensor;
39 using android::hardware::sensors::V2_1::implementation::ISensorsWrapperV1_0;
40 using android::hardware::sensors::V2_1::implementation::ISensorsWrapperV2_0;
41 using android::hardware::sensors::V2_1::implementation::ISensorsWrapperV2_1;
81 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo;
[all …]
DHidlSensorHalWrapper.h31 using android::hardware::sensors::V2_1::Event;
32 using android::hardware::sensors::V2_1::SensorInfo;
125 sp<::android::hardware::sensors::V2_1::implementation::ISensorsWrapperBase> mSensors;
126 sp<::android::hardware::sensors::V2_1::ISensorsCallback> mCallback;
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundHw2CompatTest.java96 && mHalDriver instanceof android.hardware.soundtrigger.V2_1.ISoundTriggerHw in setUp()
219 final android.hardware.soundtrigger.V2_1.ISoundTriggerHw driver_2_1 = in loadGenericModel_2_1()
220 (android.hardware.soundtrigger.V2_1.ISoundTriggerHw) mHalDriver; in loadGenericModel_2_1()
223 AtomicReference<android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel> model = in loadGenericModel_2_1()
225 ArgumentCaptor<android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback> callbackCaptor = in loadGenericModel_2_1()
227 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.class); in loadGenericModel_2_1()
232 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.loadSoundModel_2_1Callback in loadGenericModel_2_1()
252 if (mHalDriver instanceof android.hardware.soundtrigger.V2_1.ISoundTriggerHw) { in loadGenericModel()
333 final android.hardware.soundtrigger.V2_1.ISoundTriggerHw driver_2_1 = in loadPhraseModel_2_1()
334 (android.hardware.soundtrigger.V2_1.ISoundTriggerHw) mHalDriver; in loadPhraseModel_2_1()
[all …]
DTestUtil.java24 import android.hardware.soundtrigger.V2_1.ISoundTriggerHw;
25 import android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback;
86 static android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel dupModel_2_1( in dupModel_2_1()
87 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel model) { in dupModel_2_1()
88 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel dup = in dupModel_2_1()
89 new android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel(); in dupModel_2_1()
138 static android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel dupPhraseModel_2_1( in dupPhraseModel_2_1()
139 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel model) { in dupPhraseModel_2_1()
140 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel dup = in dupPhraseModel_2_1()
141 new android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel(); in dupPhraseModel_2_1()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h32 namespace V2_1 = android::hardware::graphics::composer::V2_1; variable
45 using V2_1::Error;
60 using HWConfigId = V2_1::Config;
61 using HWDisplayId = V2_1::Display;
62 using HWError = V2_1::Error;
63 using HWLayerId = V2_1::Layer;
DHidlComposerHal.h49 namespace V2_1 = hardware::graphics::composer::V2_1; variable
62 using V2_1::Config;
63 using V2_1::Display;
64 using V2_1::Error;
65 using V2_1::Layer;
355 sp<V2_1::IComposer> mComposer;
357 sp<V2_1::IComposerClient> mClient;
DComposerHal.h57 namespace V2_1 = hardware::graphics::composer::V2_1; variable
71 using V2_1::Config;
72 using V2_1::Display;
73 using V2_1::Error;
74 using V2_1::Layer;
/frameworks/base/services/core/jni/gnss/
DGnssMeasurementCallback.h79 class GnssMeasurementCallbackHidl : public hardware::gnss::V2_1::IGnssMeasurementCallback {
83 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssData& data) override;
183 hardware::gnss::V2_1::IGnssMeasurementCallback::GnssMeasurement>(
184 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssMeasurement& measurement_V2_1,
198 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssClock& clock, JavaObject& object);
206 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssData& data, JavaObject& object);
DGnssAntennaInfoCallback.h51 : public android::hardware::gnss::V2_1::IGnssAntennaInfoCallback {
56 android::hardware::gnss::V2_1::IGnssAntennaInfoCallback::GnssAntennaInfo>&
114 const android::hardware::gnss::V2_1::IGnssAntennaInfoCallback::GnssAntennaInfo& in getCarrierFrequencyMHz()
DGnssAntennaInfo.h55 const sp<android::hardware::gnss::V2_1::IGnssAntennaInfo>& iGnssAntennaInfo);
60 const sp<android::hardware::gnss::V2_1::IGnssAntennaInfo> mIGnssAntennaInfo_V2_1;
DGnssCallback.h79 struct GnssCallbackHidl : public hardware::gnss::V2_1::IGnssCallback {
119 const hardware::hidl_vec<hardware::gnss::V2_1::IGnssCallback::GnssSvInfo>& svInfoList) in gnssSvStatusCb_2_1()
122 hardware::hidl_vec<hardware::gnss::V2_1::IGnssCallback::GnssSvInfo>, in gnssSvStatusCb_2_1()
170 const hardware::hidl_vec<hardware::gnss::V2_1::IGnssCallback::GnssSvInfo>& svInfoList, in getGnssSvInfoOfIndex()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h38 using android::hardware::graphics::composer::V2_1::Config;
39 using android::hardware::graphics::composer::V2_1::Display;
40 using android::hardware::graphics::composer::V2_1::Error;
41 using android::hardware::graphics::composer::V2_1::IComposer;
42 using android::hardware::graphics::composer::V2_1::Layer;
50 using Display = android::hardware::graphics::composer::V2_1::Display;
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_composer_client.h32 using hardware::graphics::composer::V2_1::hal::ComposerCommandEngine;
50 hardware::graphics::composer::V2_1::IComposerClient::Command command,
/frameworks/base/location/java/android/location/
DGnssMeasurement.java19 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_AUTOMATI…
20 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_CARRIER_…
21 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_CARRIER_…
22 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_CARRIER_…
23 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_CARRIER_…
24 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_FULL_ISB;
25 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_FULL_ISB…
26 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_SATELLIT…
27 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_SATELLIT…
28 import static android.hardware.gnss.V2_1.IGnssMeasurementCallback.GnssMeasurementFlags.HAS_SNR;
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraServiceListener.cpp28 typedef frameworks::cameraservice::service::V2_1::ICameraServiceListener HCameraServiceListener2_1;
53 V2_1::PhysicalCameraStatusAndId cameraStatusAndId; in onPhysicalCameraStatusChanged()
/frameworks/native/libs/ui/include/ui/
DGralloc2.h67 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const;
70 sp<hardware::graphics::mapper::V2_1::IMapper> mMapperV2_1;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DTestHal.java22 import android.hardware.biometrics.fingerprint.V2_1.FingerprintError;
23 import android.hardware.biometrics.fingerprint.V2_1.IBiometricsFingerprintClientCallback;

123