Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 45) 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.cpp44 android::hardware::automotive::evs::common::Utils::copyNV21toRGB32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
47 android::hardware::automotive::evs::common::Utils::copyNV21toBGR32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
50 android::hardware::automotive::evs::common::Utils::copyYV12toRGB32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
53 android::hardware::automotive::evs::common::Utils::copyYV12toBGR32(width, height, src, tgt, in LLVMFuzzerTestOneInput()
56 android::hardware::automotive::evs::common::Utils::copyYUYVtoRGB32(width, height, src, width, in LLVMFuzzerTestOneInput()
59 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/vts/
DUtils.cpp44 int64_t Utils::getLocationTimestampMillis(const android::hardware::gnss::GnssLocation& location) { in getLocationTimestampMillis()
49 int64_t Utils::getLocationTimestampMillis(const V1_0::GnssLocation& location) { in getLocationTimestampMillis()
54 void Utils::checkLocationElapsedRealtime(const V1_0::GnssLocation&) {} in checkLocationElapsedRealtime()
57 void Utils::checkLocationElapsedRealtime(const android::hardware::gnss::GnssLocation& location) { in checkLocationElapsedRealtime()
61 void Utils::checkElapsedRealtime(const ElapsedRealtime& elapsedRealtime) { in checkElapsedRealtime()
73 const GnssLocation Utils::getMockLocation(double latitudeDegrees, double longitudeDegrees, in getMockLocation()
97 const MeasurementCorrections Utils::getMockMeasurementCorrections() { in getMockMeasurementCorrections()
146 Utils::getMockMeasurementCorrections_1_1() { in getMockMeasurementCorrections_1_1()
196 const MeasurementCorrectionsAidl Utils::getMockMeasurementCorrections_aidl() { in getMockMeasurementCorrections_aidl()
260 V1_0::GnssConstellationType Utils::mapConstellationType(V2_0::GnssConstellationType constellation) { in mapConstellationType()
[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/gnss/common/utils/default/
DUtils.cpp60 GnssDataV2_1 Utils::getMockMeasurementV2_1() { in getMockMeasurementV2_1()
61 GnssDataV2_0 gnssDataV2_0 = Utils::getMockMeasurementV2_0(); in getMockMeasurementV2_1()
95 GnssDataV2_0 Utils::getMockMeasurementV2_0() { in getMockMeasurementV2_0()
150 GnssData Utils::getMockMeasurement(const bool enableCorrVecOutputs, const bool enableFullTracking) { in getMockMeasurement()
266 GnssLocation Utils::getMockLocation() { in getMockLocation()
290 V2_0::GnssLocation Utils::getMockLocationV2_0() { in getMockLocationV2_0()
300 V2_0::GnssLocation location = {.v1_0 = Utils::getMockLocationV1_0(), in getMockLocationV2_0()
305 V1_0::GnssLocation Utils::getMockLocationV1_0() { in getMockLocationV1_0()
339 std::vector<GnssSvInfo> Utils::getMockSvInfoList() { in getMockSvInfoList()
356 hidl_vec<GnssSvInfoV2_1> Utils::getMockSvInfoListV2_1() { in getMockSvInfoListV2_1()
[all …]
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp250 Utils::copyNV21toRGB32(width, height, in copyBufferContents()
254 Utils::copyYV12toRGB32(width, height, in copyBufferContents()
258 Utils::copyYUYVtoRGB32(width, height, in copyBufferContents()
262 Utils::copyMatchedInterleavedFormats(width, height, in copyBufferContents()
272 Utils::copyNV21toBGR32(width, height, in copyBufferContents()
276 Utils::copyYV12toBGR32(width, height, in copyBufferContents()
280 Utils::copyYUYVtoBGR32(width, height, in copyBufferContents()
284 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()
/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/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/automotive/evs/aidl/vts/
DFrameHandler.cpp305 Utils::copyNV21toRGB32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
308 Utils::copyYV12toRGB32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
311 Utils::copyYUYVtoRGB32(width, height, srcPixels, pSrcDesc->stride, tgtPixels, in copyBufferContents()
314 Utils::copyMatchedInterleavedFormats(width, height, srcPixels, pSrcDesc->stride, in copyBufferContents()
325 Utils::copyNV21toBGR32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
328 Utils::copyYV12toBGR32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
331 Utils::copyYUYVtoBGR32(width, height, srcPixels, pSrcDesc->stride, tgtPixels, in copyBufferContents()
334 Utils::copyMatchedInterleavedFormats(width, height, srcPixels, pSrcDesc->stride, in copyBufferContents()
/hardware/interfaces/gnss/aidl/default/
DGnssMeasurementInterface.cpp30 using Utils = ::android::hardware::gnss::common::Utils; typedef
128 Utils::getMockMeasurement(enableCorrVecOutputs, enableFullTracking); in start()
/hardware/interfaces/gnss/common/utils/vts/include/
DUtils.h35 struct Utils { struct
67 void Utils::checkLocation(const T& location, bool check_speed, bool check_more_accuracies) { in checkLocation()
/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/automotive/evs/common/utils/default/include/
DFormatConvert.h30 class Utils {
/hardware/st/secure_element/ese-spi-driver/
DAndroid.bp22 "utils-lib/Utils.cc",
/hardware/interfaces/gnss/common/utils/vts/v2_1/
DGnssCallback.cpp25 using ::android::hardware::gnss::common::Utils;
/hardware/interfaces/health/utils/libhealthtest/
DAndroid.bp15 // Utils library for VTS tests.
/hardware/interfaces/broadcastradio/common/utils1x/
DAndroid.bp36 "Utils.cpp",
/hardware/interfaces/gnss/common/utils/default/include/
DUtils.h33 struct Utils { struct

12