/hardware/interfaces/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/ |
D | Utils.h | 39 V2_0::IdentifierType getType(uint32_t typeAsInt); 40 V2_0::IdentifierType getType(const V2_0::ProgramIdentifier& id); 43 : public std::iterator<std::random_access_iterator_tag, V2_0::ProgramIdentifier, ssize_t, 44 const V2_0::ProgramIdentifier*, const V2_0::ProgramIdentifier&> { 51 explicit IdentifierIterator(const V2_0::ProgramSelector& sel); 62 explicit IdentifierIterator(const V2_0::ProgramSelector& sel, size_t pos); 64 std::reference_wrapper<const V2_0::ProgramSelector> mSel; 66 const V2_0::ProgramSelector& sel() const { return mSel.get(); } in sel() 92 bool tunesTo(const V2_0::ProgramSelector& pointer, const V2_0::ProgramSelector& channel); 94 bool hasId(const V2_0::ProgramSelector& sel, const V2_0::IdentifierType type); [all …]
|
/hardware/interfaces/broadcastradio/common/tests/ |
D | IdentifierIterator_test.cpp | 22 namespace V2_0 = android::hardware::broadcastradio::V2_0; 25 using V2_0::IdentifierType; 26 using V2_0::ProgramSelector; 30 V2_0::ProgramSelector sel { in TEST() 36 auto it = V2_0::begin(sel); in TEST() 37 auto end = V2_0::end(sel); in TEST() 47 V2_0::ProgramSelector sel{}; in TEST() 49 auto it = V2_0::begin(sel); in TEST() 50 auto end = V2_0::end(sel); in TEST() 57 V2_0::ProgramSelector sel1{}; in TEST() [all …]
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.h | 44 using ::android::hardware::audio::common::V2_0::Uuid; 45 using ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback; 57 Return<void> loadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel, 58 const sp<V2_0::ISoundTriggerHwCallback>& callback, int32_t cookie, 60 Return<void> loadPhraseSoundModel(const V2_0::ISoundTriggerHw::PhraseSoundModel& soundModel, 61 const sp<V2_0::ISoundTriggerHwCallback>& callback, 65 const V2_0::ISoundTriggerHw::RecognitionConfig& config, 66 const sp<V2_0::ISoundTriggerHwCallback>& callback, 92 SoundModelClient(uint32_t id, V2_0::ISoundTriggerHwCallback::CallbackCookie cookie) in SoundModelClient() 106 V2_0::ISoundTriggerHwCallback::CallbackCookie mCookie; [all …]
|
/hardware/interfaces/soundtrigger/2.3/default/ |
D | SoundTriggerHw.h | 45 using ::android::hardware::audio::common::V2_0::Uuid; 57 Return<void> loadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel, 58 const sp<V2_0::ISoundTriggerHwCallback>& callback, int32_t cookie, 60 Return<void> loadPhraseSoundModel(const V2_0::ISoundTriggerHw::PhraseSoundModel& soundModel, 61 const sp<V2_0::ISoundTriggerHwCallback>& callback, 65 const V2_0::ISoundTriggerHw::RecognitionConfig& config, 66 const sp<V2_0::ISoundTriggerHwCallback>& callback, 91 Return<int32_t> setParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam, 93 Return<void> getParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam, 95 Return<void> queryParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam, [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.cpp | 26 namespace android::hardware::automotive::vehicle::V2_0::fuzzer { namespace 35 using ::android::hardware::automotive::vehicle::V2_0::DiagnosticFloatSensorIndex; 36 using ::android::hardware::automotive::vehicle::V2_0::DiagnosticIntegerSensorIndex; 37 using ::android::hardware::automotive::vehicle::V2_0::kCustomComplexProperty; 38 using ::android::hardware::automotive::vehicle::V2_0::kVehicleProperties; 39 using ::android::hardware::automotive::vehicle::V2_0::MockedVehicleCallback; 40 using ::android::hardware::automotive::vehicle::V2_0::Obd2SensorStore; 41 using ::android::hardware::automotive::vehicle::V2_0::recyclable_ptr; 42 using ::android::hardware::automotive::vehicle::V2_0::StatusCode; 43 using ::android::hardware::automotive::vehicle::V2_0::SubscribeFlags; [all …]
|
/hardware/interfaces/light/utils/ |
D | main.cpp | 30 namespace V2_0 = android::hardware::light::V2_0; 81 void setToColorHidl(sp<V2_0::ILight> hal, unsigned int color) { in setToColorHidl() 82 static V2_0::LightState off = { in setToColorHidl() 84 .flashMode = V2_0::Flash::NONE, in setToColorHidl() 85 .brightnessMode = V2_0::Brightness::USER, in setToColorHidl() 88 hal->getSupportedTypes([&](const hidl_vec<V2_0::Type>& types) { in setToColorHidl() 90 V2_0::Status ret = hal->setLight(type, off); in setToColorHidl() 91 if (ret != V2_0::Status::SUCCESS) { in setToColorHidl() 112 sp<V2_0::ILight> hidlHal = V2_0::ILight::getService(); in main()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | HalProxyCallback.h | 31 namespace V2_0 { 63 V2_0::implementation::ScopedWakelock wakelock) = 0; 84 V2_0::implementation::IScopedWakelockRefCounter* refCounter, in HalProxyCallbackBase() 89 V2_0::implementation::ScopedWakelock wakelock); 91 V2_0::implementation::ScopedWakelock createScopedWakelock(bool lock); 95 V2_0::implementation::IScopedWakelockRefCounter* mRefCounter; 104 public V2_0::implementation::IHalProxyCallback { 107 V2_0::implementation::IScopedWakelockRefCounter* refCounter, in HalProxyCallbackV2_0() 123 V2_0::implementation::ScopedWakelock wakelock) override { in postEvents() 128 V2_0::implementation::ScopedWakelock createScopedWakelock(bool lock) override { in createScopedWakelock() [all …]
|
/hardware/qcom/sm7150/gps/android/2.0/ |
D | Gnss.h | 44 namespace V2_0 { 113 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 114 Return<sp<V2_0::IAGnss>> getExtensionAGnss_2_0() override; 115 Return<sp<V2_0::IAGnssRil>> getExtensionAGnssRil_2_0() override; 117 Return<sp<V2_0::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override; 120 Return<sp<V2_0::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override; 122 …Return<bool> injectBestLocation_2_0(const ::android::hardware::gnss::V2_0::GnssLocation& location)… 124 Return<sp<V2_0::IGnssBatching>> getExtensionGnssBatching_2_0() override; 125 Return<sp<V2_0::IGnssDebug>> getExtensionGnssDebug_2_0() override; 164 sp<V2_0::IAGnss> mAGnssIface_2_0 = nullptr; [all …]
|
/hardware/qcom/sm7250/gps/android/2.0/ |
D | Gnss.h | 44 namespace V2_0 { 113 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 114 Return<sp<V2_0::IAGnss>> getExtensionAGnss_2_0() override; 115 Return<sp<V2_0::IAGnssRil>> getExtensionAGnssRil_2_0() override; 117 Return<sp<V2_0::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override; 120 Return<sp<V2_0::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override; 122 …Return<bool> injectBestLocation_2_0(const ::android::hardware::gnss::V2_0::GnssLocation& location)… 124 Return<sp<V2_0::IGnssBatching>> getExtensionGnssBatching_2_0() override; 125 Return<sp<V2_0::IGnssDebug>> getExtensionGnssDebug_2_0() override; 164 sp<V2_0::IAGnss> mAGnssIface_2_0 = nullptr; [all …]
|
/hardware/qcom/sm8150/gps/android/2.0/ |
D | Gnss.h | 44 namespace V2_0 { 113 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 114 Return<sp<V2_0::IAGnss>> getExtensionAGnss_2_0() override; 115 Return<sp<V2_0::IAGnssRil>> getExtensionAGnssRil_2_0() override; 117 Return<sp<V2_0::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override; 120 Return<sp<V2_0::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override; 122 Return<bool> injectBestLocation_2_0(const V2_0::GnssLocation& location) override; 131 Return<sp<V2_0::IGnssDebug>> getExtensionGnssDebug_2_0() override; 132 Return<sp<V2_0::IGnssBatching>> getExtensionGnssBatching_2_0() override; 161 sp<V2_0::IAGnss> mAGnssIface_2_0 = nullptr; [all …]
|
/hardware/qcom/sm8150p/gps/android/2.0/ |
D | Gnss.h | 44 namespace V2_0 { 113 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 114 Return<sp<V2_0::IAGnss>> getExtensionAGnss_2_0() override; 115 Return<sp<V2_0::IAGnssRil>> getExtensionAGnssRil_2_0() override; 117 Return<sp<V2_0::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override; 120 Return<sp<V2_0::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override; 122 …Return<bool> injectBestLocation_2_0(const ::android::hardware::gnss::V2_0::GnssLocation& location)… 124 Return<sp<V2_0::IGnssBatching>> getExtensionGnssBatching_2_0() override; 125 Return<sp<V2_0::IGnssDebug>> getExtensionGnssDebug_2_0() override; 164 sp<V2_0::IAGnss> mAGnssIface_2_0 = nullptr; [all …]
|
/hardware/interfaces/tests/extension/light/2.0/default/ |
D | Light.h | 28 namespace V2_0 { 31 using ::android::hardware::tests::extension::light::V2_0::LightState; 32 using ::android::hardware::tests::extension::light::V2_0::ILight; 35 using OldLightState = ::android::hardware::light::V2_0::LightState; 36 using ::android::hardware::light::V2_0::Status; 37 using ::android::hardware::light::V2_0::Type;
|
/hardware/interfaces/bluetooth/audio/2.1/default/ |
D | BluetoothAudioProvidersFactory.cpp | 34 using ::android::hardware::bluetooth::audio::V2_0::CodecCapabilities; 48 const V2_0::SessionType sessionType, openProvider_cb _hidl_cb) { in openProvider() 53 case V2_0::SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH: in openProvider() 56 case V2_0::SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH: in openProvider() 59 case V2_0::SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH: in openProvider() 110 const V2_0::SessionType sessionType, getProviderCapabilities_cb _hidl_cb) { in getProviderCapabilities() 111 hidl_vec<V2_0::AudioCapabilities> audio_capabilities = in getProviderCapabilities() 112 hidl_vec<V2_0::AudioCapabilities>(0); in getProviderCapabilities() 113 if (sessionType == V2_0::SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in getProviderCapabilities() 122 } else if (sessionType != V2_0::SessionType::UNKNOWN) { in getProviderCapabilities() [all …]
|
/hardware/interfaces/gnss/2.0/default/ |
D | Gnss.h | 30 namespace V2_0 { 85 Return<sp<V2_0::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override; 86 Return<sp<V2_0::IGnssDebug>> getExtensionGnssDebug_2_0() override; 87 Return<sp<V2_0::IAGnss>> getExtensionAGnss_2_0() override; 88 Return<sp<V2_0::IAGnssRil>> getExtensionAGnssRil_2_0() override; 89 Return<sp<V2_0::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override; 90 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 95 Return<sp<V2_0::IGnssBatching>> getExtensionGnssBatching_2_0() override; 96 Return<bool> injectBestLocation_2_0(const V2_0::GnssLocation& location) override; 99 Return<void> reportLocation(const V2_0::GnssLocation&) const; [all …]
|
D | Gnss.cpp | 41 namespace V2_0 { namespace 46 sp<V2_0::IGnssCallback> Gnss::sGnssCallback_2_0 = nullptr; 217 Return<sp<V2_0::IGnssConfiguration>> Gnss::getExtensionGnssConfiguration_2_0() { in getExtensionGnssConfiguration_2_0() 221 Return<sp<V2_0::IGnssDebug>> Gnss::getExtensionGnssDebug_2_0() { in getExtensionGnssDebug_2_0() 223 return sp<V2_0::IGnssDebug>{}; in getExtensionGnssDebug_2_0() 226 Return<sp<V2_0::IAGnss>> Gnss::getExtensionAGnss_2_0() { in getExtensionAGnss_2_0() 230 Return<sp<V2_0::IAGnssRil>> Gnss::getExtensionAGnssRil_2_0() { in getExtensionAGnssRil_2_0() 234 Return<sp<V2_0::IGnssMeasurement>> Gnss::getExtensionGnssMeasurement_2_0() { in getExtensionGnssMeasurement_2_0() 250 Return<sp<V2_0::IGnssBatching>> Gnss::getExtensionGnssBatching_2_0() { in getExtensionGnssBatching_2_0() 254 Return<bool> Gnss::setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) { in setCallback_2_0() [all …]
|
/hardware/interfaces/gnss/common/utils/default/ |
D | Utils.cpp | 39 using GnssMeasurementStateV2_0 = V2_0::IGnssMeasurementCallback::GnssMeasurementState; 40 using ElapsedRealtimeFlags = V2_0::ElapsedRealtimeFlags; 41 using GnssConstellationTypeV2_0 = V2_0::GnssConstellationType; 42 using IGnssMeasurementCallbackV2_0 = V2_0::IGnssMeasurementCallback; 45 using GnssDataV2_0 = V2_0::IGnssMeasurementCallback::GnssData; 48 using GnssSvInfoV2_0 = V2_0::IGnssCallback::GnssSvInfo; 108 V2_0::IGnssMeasurementCallback::GnssMeasurement measurement_2_0 = { in getMockMeasurementV2_0() 130 V2_0::ElapsedRealtime timestamp = { in getMockMeasurementV2_0() 235 V2_0::GnssLocation Utils::getMockLocationV2_0() { in getMockLocationV2_0() 236 const V2_0::ElapsedRealtime timestamp = { in getMockLocationV2_0() [all …]
|
/hardware/qcom/sm7250/gps/android/2.1/ |
D | AGnss.h | 39 using ::android::hardware::gnss::V2_0::IAGnssCallback; 42 struct AGnss : public V2_0::IAGnss { 50 Return<void> setCallback(const sp<V2_0::IAGnssCallback>& callback) override; 57 V2_0::IAGnss::ApnIpType apnIpType) override; 59 Return<bool> setServer(V2_0::IAGnssCallback::AGnssType type, 69 sp<V2_0::IAGnssCallback> mAGnssCbIface = nullptr;
|
/hardware/qcom/sm8150/gps/android/2.1/ |
D | AGnss.h | 39 using ::android::hardware::gnss::V2_0::IAGnssCallback; 42 struct AGnss : public V2_0::IAGnss { 50 Return<void> setCallback(const sp<V2_0::IAGnssCallback>& callback) override; 57 V2_0::IAGnss::ApnIpType apnIpType) override; 59 Return<bool> setServer(V2_0::IAGnssCallback::AGnssType type, 69 sp<V2_0::IAGnssCallback> mAGnssCbIface = nullptr;
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.h | 27 namespace V2_0 { 38 using ::android::hardware::thermal::V2_0::CoolingType; 39 using ::android::hardware::thermal::V2_0::IThermal; 41 using CoolingDevice_2_0 = ::android::hardware::thermal::V2_0::CoolingDevice; 43 using Temperature_2_0 = ::android::hardware::thermal::V2_0::Temperature; 44 using ::android::hardware::thermal::V2_0::IThermalChangedCallback; 45 using ::android::hardware::thermal::V2_0::TemperatureThreshold; 46 using ::android::hardware::thermal::V2_0::TemperatureType;
|
/hardware/qcom/sm8150p/gps/android/2.0/location_api/ |
D | LocationUtil.cpp | 37 namespace V2_0 { namespace 40 using ::android::hardware::gnss::V2_0::GnssLocation; 41 using ::android::hardware::gnss::V2_0::GnssConstellationType; 84 void convertGnssLocation(Location& in, V2_0::GnssLocation& out) in convertGnssLocation() 86 memset(&out, 0, sizeof(V2_0::GnssLocation)); in convertGnssLocation() 157 void convertGnssLocation(const V2_0::GnssLocation& in, Location& out) in convertGnssLocation() 191 void convertGnssConstellationType(GnssSvType& in, V2_0::GnssConstellationType& out) in convertGnssConstellationType() 195 out = V2_0::GnssConstellationType::GPS; in convertGnssConstellationType() 198 out = V2_0::GnssConstellationType::SBAS; in convertGnssConstellationType() 201 out = V2_0::GnssConstellationType::GLONASS; in convertGnssConstellationType() [all …]
|
/hardware/interfaces/gnss/common/utils/default/include/ |
D | Utils.h | 35 static V2_0::IGnssMeasurementCallback::GnssData getMockMeasurementV2_0(); 37 static V2_0::GnssLocation getMockLocationV2_0(); 41 V2_0::IGnssCallback::GnssSvInfo gnssSvInfoV2_0, float basebandCN0DbHz); 42 static V2_0::IGnssCallback::GnssSvInfo getMockSvInfoV2_0( 43 V1_0::IGnssCallback::GnssSvInfo gnssSvInfoV1_0, V2_0::GnssConstellationType type);
|
/hardware/qcom/sm7250/gps/android/2.0/location_api/ |
D | LocationUtil.cpp | 39 namespace V2_0 { namespace 42 using ::android::hardware::gnss::V2_0::GnssLocation; 43 using ::android::hardware::gnss::V2_0::ElapsedRealtimeFlags; 44 using ::android::hardware::gnss::V2_0::GnssConstellationType; 87 void convertGnssLocation(Location& in, V2_0::GnssLocation& out) in convertGnssLocation() 89 memset(&out, 0, sizeof(V2_0::GnssLocation)); in convertGnssLocation() 145 void convertGnssLocation(const V2_0::GnssLocation& in, Location& out) in convertGnssLocation() 179 void convertGnssConstellationType(GnssSvType& in, V2_0::GnssConstellationType& out) in convertGnssConstellationType() 183 out = V2_0::GnssConstellationType::GPS; in convertGnssConstellationType() 186 out = V2_0::GnssConstellationType::SBAS; in convertGnssConstellationType() [all …]
|
/hardware/qcom/sm8150/gps/android/2.0/location_api/ |
D | LocationUtil.cpp | 39 namespace V2_0 { namespace 42 using ::android::hardware::gnss::V2_0::GnssLocation; 43 using ::android::hardware::gnss::V2_0::ElapsedRealtimeFlags; 44 using ::android::hardware::gnss::V2_0::GnssConstellationType; 87 void convertGnssLocation(Location& in, V2_0::GnssLocation& out) in convertGnssLocation() 89 memset(&out, 0, sizeof(V2_0::GnssLocation)); in convertGnssLocation() 145 void convertGnssLocation(const V2_0::GnssLocation& in, Location& out) in convertGnssLocation() 179 void convertGnssConstellationType(GnssSvType& in, V2_0::GnssConstellationType& out) in convertGnssConstellationType() 183 out = V2_0::GnssConstellationType::GPS; in convertGnssConstellationType() 186 out = V2_0::GnssConstellationType::SBAS; in convertGnssConstellationType() [all …]
|
/hardware/google/interfaces/light/1.0/default/ |
D | Light.h | 29 namespace V2_0 { 35 using ::android::hardware::light::V2_0::ILight; 36 using ::android::hardware::light::V2_0::LightState; 37 using ::android::hardware::light::V2_0::Status; 38 using ::android::hardware::light::V2_0::Type;
|
/hardware/google/interfaces/light/1.1/default/ |
D | Light.h | 29 namespace V2_0 { 35 using ::android::hardware::light::V2_0::ILight; 36 using ::android::hardware::light::V2_0::LightState; 37 using ::android::hardware::light::V2_0::Status; 38 using ::android::hardware::light::V2_0::Type;
|