Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/broadcastradio/1.0/default/
DTuner.cpp42 Utils::convertBandConfigFromHal(&config, &halEvent->config); in onCallback()
43 mCallback->configChange(Utils::convertHalResult(halEvent->status), config); in onCallback()
49 Utils::convertProgramInfoFromHal(&info, &halEvent->info); in onCallback()
50 mCallback->tuneComplete(Utils::convertHalResult(halEvent->status), info); in onCallback()
56 Utils::convertMetaDataFromHal(metadata, halEvent->metadata); in onCallback()
64 Utils::convertProgramInfoFromHal(&info, &halEvent->info); in onCallback()
107 return Utils::convertHalResult(-ENODEV); in setConfiguration()
110 Utils::convertBandConfigToHal(&halConfig, &config); in setConfiguration()
112 return Utils::convertHalResult(rc); in setConfiguration()
127 Utils::convertBandConfigFromHal(&config, &halConfig); in getConfiguration()
[all …]
DBroadcastRadio.cpp52 const char *classString = Utils::getClassString(mClassId); in onFirstRef()
111 Utils::convertPropertiesFromHal(&properties, &halProperties); in getProperties()
115 _hidl_cb(Utils::convertHalResult(rc), properties); in getProperties()
126 Utils::convertBandConfigToHal(&halConfig, &config); in openTuner()
134 _hidl_cb(Utils::convertHalResult(rc), tunerImpl); in openTuner()
DUtils.cpp31 const char *Utils::sClassModuleNames[] = {
111 const char * Utils::getClassString(Class ClassId) in getClassString()
124 Result Utils::convertHalResult(int rc) in convertHalResult()
142 void Utils::convertBandConfigFromHal( in convertBandConfigFromHal()
169 void Utils::convertPropertiesFromHal( in convertPropertiesFromHal()
194 void Utils::convertBandConfigToHal( in convertBandConfigToHal()
224 void Utils::convertProgramInfoFromHal(ProgramInfo *info, in convertProgramInfoFromHal()
237 int Utils::convertMetaDataFromHal(hidl_vec<MetaData>& metadata, in convertMetaDataFromHal()
DUtils.h28 class Utils {
/hardware/interfaces/automotive/evs/common/utils/default/test/fuzz/
DFormatConvertFuzzer.cpp43 android::hardware::automotive::evs::common::Utils::copyNV21toRGB32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
46 android::hardware::automotive::evs::common::Utils::copyNV21toBGR32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
49 android::hardware::automotive::evs::common::Utils::copyYV12toRGB32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
52 android::hardware::automotive::evs::common::Utils::copyYV12toBGR32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
55 android::hardware::automotive::evs::common::Utils::copyYUYVtoRGB32(width, height, src, width, in LLVMFuzzerTestOneInput()
58 android::hardware::automotive::evs::common::Utils::copyYUYVtoBGR32(width, height, src, width, in LLVMFuzzerTestOneInput()
/hardware/interfaces/automotive/evs/common/utils/default/
DFormatConvert.cpp29 int Utils::align(int value) { in align()
39 inline float Utils::clamp(float v, float min, float max) { in clamp()
46 uint32_t Utils::yuvToRgbx(const unsigned char Y, in yuvToRgbx()
77 void Utils::copyNV21toRGB32(unsigned width, unsigned height, in copyNV21toRGB32()
109 void Utils::copyYV12toRGB32(unsigned width, unsigned height, in copyYV12toRGB32()
144 void Utils::copyYUYVtoRGB32(unsigned width, unsigned height, in copyYUYVtoRGB32()
177 void Utils::copyNV21toBGR32(unsigned width, unsigned height, in copyNV21toBGR32()
185 void Utils::copyYV12toBGR32(unsigned width, unsigned height, in copyYV12toBGR32()
193 void Utils::copyYUYVtoBGR32(unsigned width, unsigned height, in copyYUYVtoBGR32()
201 void Utils::copyMatchedInterleavedFormats(unsigned width, unsigned height, in copyMatchedInterleavedFormats()
/hardware/interfaces/gnss/common/utils/default/
DUtils.cpp54 GnssDataV2_1 Utils::getMockMeasurementV2_1() { in getMockMeasurementV2_1()
55 GnssDataV2_0 gnssDataV2_0 = Utils::getMockMeasurementV2_0(); in getMockMeasurementV2_1()
89 GnssDataV2_0 Utils::getMockMeasurementV2_0() { in getMockMeasurementV2_0()
144 GnssData Utils::getMockMeasurement(const bool enableCorrVecOutputs) { in getMockMeasurement()
235 V2_0::GnssLocation Utils::getMockLocationV2_0() { in getMockLocationV2_0()
245 V2_0::GnssLocation location = {.v1_0 = Utils::getMockLocationV1_0(), in getMockLocationV2_0()
250 V1_0::GnssLocation Utils::getMockLocationV1_0() { in getMockLocationV1_0()
267 hidl_vec<GnssSvInfoV2_1> Utils::getMockSvInfoListV2_1() { in getMockSvInfoListV2_1()
268 GnssSvInfoV1_0 gnssSvInfoV1_0 = Utils::getMockSvInfoV1_0(3, V1_0::GnssConstellationType::GPS, in getMockSvInfoListV2_1()
271 Utils::getMockSvInfoV2_0(gnssSvInfoV1_0, V2_0::GnssConstellationType::GPS); in getMockSvInfoListV2_1()
[all …]
/hardware/interfaces/gnss/1.1/default/
DGnss.cpp17 using ::android::hardware::gnss::common::Utils;
48 auto location = Utils::getMockLocationV1_0(); in start()
201 Utils::getMockSvInfoV1_0(3, GnssConstellationType::GPS, 32.5, 59.1, 166.5, in getMockSvStatus()
203 Utils::getMockSvInfoV1_0(5, GnssConstellationType::GPS, 27.0, 29.0, 56.5, kGpsL1FreqHz), in getMockSvStatus()
204 Utils::getMockSvInfoV1_0(17, GnssConstellationType::GPS, 30.5, 71.0, 77.0, in getMockSvStatus()
206 Utils::getMockSvInfoV1_0(26, GnssConstellationType::GPS, 24.1, 28.0, 253.0, in getMockSvStatus()
208 Utils::getMockSvInfoV1_0(5, GnssConstellationType::GLONASS, 20.5, 11.5, 116.0, in getMockSvStatus()
210 Utils::getMockSvInfoV1_0(17, GnssConstellationType::GLONASS, 21.5, 28.5, 186.0, in getMockSvStatus()
212 Utils::getMockSvInfoV1_0(18, GnssConstellationType::GLONASS, 28.3, 38.8, 69.0, in getMockSvStatus()
214 Utils::getMockSvInfoV1_0(10, GnssConstellationType::GLONASS, 25.0, 66.0, 247.0, in getMockSvStatus()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp246 Utils::copyNV21toRGB32(width, height, in copyBufferContents()
250 Utils::copyYV12toRGB32(width, height, in copyBufferContents()
254 Utils::copyYUYVtoRGB32(width, height, in copyBufferContents()
258 Utils::copyMatchedInterleavedFormats(width, height, in copyBufferContents()
268 Utils::copyNV21toBGR32(width, height, in copyBufferContents()
272 Utils::copyYV12toBGR32(width, height, in copyBufferContents()
276 Utils::copyYUYVtoBGR32(width, height, in copyBufferContents()
280 Utils::copyMatchedInterleavedFormats(width, height, in copyBufferContents()
/hardware/interfaces/gnss/aidl/default/
DGnssMeasurementInterface.cpp26 using Utils = ::android::hardware::gnss::common::Utils; typedef
66 auto measurement = Utils::getMockMeasurement(enableCorrVecOutputs); in start()
/hardware/interfaces/gnss/common/utils/vts/
DUtils.cpp32 void Utils::checkLocation(const GnssLocation& location, bool check_speed, in checkLocation()
99 const MeasurementCorrections_1_0 Utils::getMockMeasurementCorrections() { in getMockMeasurementCorrections()
146 const MeasurementCorrections_1_1 Utils::getMockMeasurementCorrections_1_1() { in getMockMeasurementCorrections_1_1()
180 GnssConstellationType_1_0 Utils::mapConstellationType(GnssConstellationType_2_0 constellation) { in mapConstellationType()
199 bool Utils::isAutomotiveDevice() { in isAutomotiveDevice()
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DFrameHandler.cpp282 Utils::copyNV21toRGB32(width, height, in copyBufferContents()
286 Utils::copyYV12toRGB32(width, height, in copyBufferContents()
290 Utils::copyYUYVtoRGB32(width, height, in copyBufferContents()
294 Utils::copyMatchedInterleavedFormats(width, height, in copyBufferContents()
304 Utils::copyNV21toBGR32(width, height, in copyBufferContents()
308 Utils::copyYV12toBGR32(width, height, in copyBufferContents()
312 Utils::copyYUYVtoBGR32(width, height, in copyBufferContents()
316 Utils::copyMatchedInterleavedFormats(width, height, in copyBufferContents()
/hardware/interfaces/gnss/2.0/default/
DGnssMeasurement.cpp33 using Utils = common::Utils; typedef
86 auto measurement = Utils::getMockMeasurementV2_0(); in start()
DGnss.cpp33 using ::android::hardware::gnss::common::Utils;
70 const auto location = Utils::getMockLocationV2_0(); in start()
/hardware/interfaces/gnss/common/utils/default/v2_1/
DGnssMeasurement.cpp25 using common::Utils;
97 auto measurement = Utils::getMockMeasurementV2_1(); in start()
100 auto measurement = Utils::getMockMeasurementV2_0(); in start()
DGnssAntennaInfo.cpp24 using ::android::hardware::gnss::common::Utils;
67 auto antennaInfos = Utils::getMockAntennaInfos(); in start()
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test_cases.cpp39 using android::hardware::gnss::common::Utils;
68 if (Utils::isAutomotiveDevice()) { in TEST_P()
360 auto result = iMeasurementCorrections->setCorrections(Utils::getMockMeasurementCorrections()); in TEST_P()
544 source.id.constellation = Utils::mapConstellationType(sv_info.constellation); in FindStrongFrequentNonGpsSource()
683 auto constellation = Utils::mapConstellationType(sv_info.constellation); in TEST_P()
725 auto constellation = Utils::mapConstellationType(sv_info.constellation); in TEST_P()
802 auto constellation = Utils::mapConstellationType(sv_info.constellation); in TEST_P()
879 auto constellation = Utils::mapConstellationType(sv_info.constellation); in TEST_P()
Dgnss_hal_test.cpp28 using ::android::hardware::gnss::common::Utils;
132 Utils::checkLocation(location.v1_0, check_speed, check_more_accuracies); in CheckLocation()
281 constellation_to_blacklist = Utils::mapConstellationType(sv_info.constellation); in startLocationAndGetNonGpsConstellation()
/hardware/interfaces/gnss/common/utils/default/include/
DUtils.h32 struct Utils { struct
/hardware/interfaces/gnss/common/utils/vts/include/
DUtils.h45 struct Utils { struct
/hardware/interfaces/automotive/evs/common/utils/default/include/
DFormatConvert.h30 class Utils {
/hardware/st/secure_element/ese-spi-driver/
DAndroid.bp25 "utils-lib/Utils.cc",
/hardware/interfaces/gnss/common/utils/vts/v2_1/
DGnssCallback.cpp25 using ::android::hardware::gnss::common::Utils;
/hardware/interfaces/broadcastradio/common/utils1x/
DAndroid.bp36 "Utils.cpp",
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test.cpp31 using ::android::hardware::gnss::common::Utils;
136 Utils::checkLocation(location, check_speed, check_more_accuracies); in CheckLocation()

12