Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 2041) sorted by relevance

12345678910>>...82

/hardware/qcom/sm8150/gps/android/2.0/
DGnssDebug.cpp62 V1_0::IGnssDebug::DebugData data = { }; in getDebugData() local
66 _hidl_cb(data); in getDebugData()
76 data.position.valid = true; in getDebugData()
77 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
78 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
79 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
81 data.position.speedMetersPerSec = in getDebugData()
83 data.position.bearingDegrees = in getDebugData()
85 data.position.horizontalAccuracyMeters = in getDebugData()
87 data.position.verticalAccuracyMeters = in getDebugData()
[all …]
/hardware/qcom/sdm845/display/libqdutils/
DqdMetaData.cpp83 int setMetaDataVa(MetaData_t *data, DispParamType paramType, in setMetaDataVa() argument
85 if (data == nullptr) in setMetaDataVa()
89 data->operation &= ~paramType; in setMetaDataVa()
94 data->operation |= paramType; in setMetaDataVa()
97 data->interlaced = *((int32_t *)param); in setMetaDataVa()
100 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
103 data->refreshrate = *((float *)param); in setMetaDataVa()
106 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
109 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
112 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_color_manager.cpp63 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
66 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
68 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
69 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
78 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
79 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
82 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
DqdMetaData.cpp71 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in setMetaData() local
74 data->operation &= ~paramType; in setMetaData()
79 data->operation |= paramType; in setMetaData()
82 data->interlaced = *((int32_t *)param); in setMetaData()
85 data->bufferDim = *((BufferDim_t *)param); in setMetaData()
88 data->refreshrate = *((float *)param); in setMetaData()
91 data->colorSpace = *((ColorSpace_t *)param); in setMetaData()
94 data->mapSecureBuffer = *((int32_t *)param); in setMetaData()
97 data->s3dFormat = *((uint32_t *)param); in setMetaData()
100 data->linearFormat = *((uint32_t *)param); in setMetaData()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_color_manager.cpp62 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
63 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
67 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
68 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
77 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
78 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
80 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_color_manager.cpp62 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
63 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
67 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
68 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
77 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
78 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
80 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_color_manager.cpp62 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
63 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
67 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
68 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
77 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
78 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
80 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_color_manager.cpp62 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
63 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
67 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
68 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
77 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
78 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
80 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_color_manager.cpp62 kernel_params->data.pcc_cfg_data.version = feature.feature_version_; in SetPCC()
63 kernel_params->data.pcc_cfg_data.block = MDP_LOGICAL_BLOCK_DISP_0 + feature.disp_id_; in SetPCC()
64 kernel_params->data.pcc_cfg_data.ops = feature.enable_flags_; in SetPCC()
65 kernel_params->data.pcc_cfg_data.cfg_payload = feature.GetConfigData(); in SetPCC()
67 kernel_params->data.pcc_cfg_data.version, kernel_params->data.pcc_cfg_data.block, in SetPCC()
68 kernel_params->data.pcc_cfg_data.ops); in SetPCC()
77 kernel_params->data.lut_cfg_data.lut_type = mdp_lut_igc; in SetIGC()
78 kernel_params->data.lut_cfg_data.data.igc_lut_data.block = in SetIGC()
80 kernel_params->data.lut_cfg_data.data.igc_lut_data.version = feature.feature_version_; in SetIGC()
81 kernel_params->data.lut_cfg_data.data.igc_lut_data.ops = feature.enable_flags_; in SetIGC()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c32 int inv_sysfs_write(char *filename, long data) in inv_sysfs_write() argument
42 count = fprintf(fp, "%ld", data); in inv_sysfs_write()
54 int inv_sysfs_read(char *filename, long num_bytes, char *data) in inv_sysfs_read() argument
64 count = fread(data, 1, num_bytes, fp); in inv_sysfs_read()
76 int inv_read_buffer(int fd, long *data, long long *timestamp) in inv_read_buffer() argument
85 count = sscanf(str, "%ld%ld%ld", &data[0], &data[1], &data[2]); in inv_read_buffer()
87 count = sscanf(str, "%ld%ld%ld%lld", &data[0], &data[1], in inv_read_buffer()
88 &data[2], timestamp); in inv_read_buffer()
102 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data, in inv_read_raw() argument
112 count = sscanf(str, "%ld%ld%ld", &data[0], &data[1], &data[2]); in inv_read_raw()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c26 int inv_sysfs_write(char *filename, long data) in inv_sysfs_write() argument
36 count = fprintf(fp, "%ld", data); in inv_sysfs_write()
48 int inv_sysfs_read(char *filename, long num_bytes, char *data) in inv_sysfs_read() argument
58 count = fread(data, 1, num_bytes, fp); in inv_sysfs_read()
70 int inv_read_buffer(int fd, long *data, long long *timestamp) in inv_read_buffer() argument
79 count = sscanf(str, "%ld%ld%ld", &data[0], &data[1], &data[2]); in inv_read_buffer()
81 count = sscanf(str, "%ld%ld%ld%lld", &data[0], &data[1], in inv_read_buffer()
82 &data[2], timestamp); in inv_read_buffer()
96 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data, in inv_read_raw() argument
106 count = sscanf(str, "%ld%ld%ld", &data[0], &data[1], &data[2]); in inv_read_raw()
[all …]
/hardware/qcom/display/msm8909w_3100/libqdutils/
DqdMetaData.cpp77 int setMetaDataVa(MetaData_t *data, DispParamType paramType, in setMetaDataVa() argument
79 if (data == nullptr) in setMetaDataVa()
83 data->operation &= ~paramType; in setMetaDataVa()
88 data->operation |= paramType; in setMetaDataVa()
91 data->interlaced = *((int32_t *)param); in setMetaDataVa()
94 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
97 data->refreshrate = *((float *)param); in setMetaDataVa()
100 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
103 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
106 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
[all …]
/hardware/qcom/display/msm8909/libqdutils/
DqdMetaData.cpp77 int setMetaDataVa(MetaData_t *data, DispParamType paramType, in setMetaDataVa() argument
79 if (data == nullptr) in setMetaDataVa()
83 data->operation &= ~paramType; in setMetaDataVa()
88 data->operation |= paramType; in setMetaDataVa()
91 data->interlaced = *((int32_t *)param); in setMetaDataVa()
94 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
97 data->refreshrate = *((float *)param); in setMetaDataVa()
100 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
103 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
106 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
[all …]
/hardware/qcom/sdm845/gps/sdm845/android/
DGnssDebug.cpp57 DebugData data = { }; in getDebugData() local
61 _hidl_cb(data); in getDebugData()
71 data.position.valid = true; in getDebugData()
72 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
73 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
74 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
76 data.position.speedMetersPerSec = in getDebugData()
78 data.position.bearingDegrees = in getDebugData()
80 data.position.horizontalAccuracyMeters = in getDebugData()
82 data.position.verticalAccuracyMeters = in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/1.1/
DGnssDebug.cpp57 DebugData data = { }; in getDebugData() local
61 _hidl_cb(data); in getDebugData()
71 data.position.valid = true; in getDebugData()
72 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
73 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
74 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
76 data.position.speedMetersPerSec = in getDebugData()
78 data.position.bearingDegrees = in getDebugData()
80 data.position.horizontalAccuracyMeters = in getDebugData()
82 data.position.verticalAccuracyMeters = in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/1.0/
DGnssDebug.cpp56 DebugData data = { }; in getDebugData() local
60 _hidl_cb(data); in getDebugData()
70 data.position.valid = true; in getDebugData()
71 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
72 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
73 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
75 data.position.speedMetersPerSec = in getDebugData()
77 data.position.bearingDegrees = in getDebugData()
79 data.position.horizontalAccuracyMeters = in getDebugData()
81 data.position.verticalAccuracyMeters = in getDebugData()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dresults_holder.c88 void inv_set_compass_correction(const long *data, inv_time_t timestamp) in inv_set_compass_correction() argument
91 memcpy(rh.compass_correction, data, sizeof(rh.compass_correction)); in inv_set_compass_correction()
100 void inv_set_geomagnetic_compass_correction(const long *data, inv_time_t timestamp) in inv_set_geomagnetic_compass_correction() argument
103 memcpy(rh.geomag_compass_correction, data, sizeof(rh.geomag_compass_correction)); in inv_set_geomagnetic_compass_correction()
112 void inv_get_compass_correction(long *data, inv_time_t *timestamp) in inv_get_compass_correction() argument
114 memcpy(data, rh.compass_correction, sizeof(rh.compass_correction)); in inv_get_compass_correction()
123 void inv_get_geomagnetic_compass_correction(long *data, inv_time_t *timestamp) in inv_get_geomagnetic_compass_correction() argument
125 memcpy(data, rh.geomag_compass_correction, sizeof(rh.geomag_compass_correction)); in inv_get_geomagnetic_compass_correction()
202 void inv_set_local_field(const long *data) in inv_set_local_field() argument
204 memcpy(rh.local_field, data, sizeof(rh.local_field)); in inv_set_local_field()
[all …]
Dresults_holder.h42 inv_error_t inv_get_gravity(long *data);
43 inv_error_t inv_get_gravity_6x(long *data);
44 inv_error_t inv_get_6axis_quaternion(long *data, inv_time_t *timestamp);
45 inv_error_t inv_get_quaternion(long *data);
46 inv_error_t inv_get_quaternion_float(float *data);
47 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp);
48 inv_error_t inv_get_accel_quaternion(long *data);
49 inv_error_t inv_get_geomagnetic_quaternion(long *data, inv_time_t *timestamp);
50 void inv_set_geomagnetic_compass_correction(const long *data, inv_time_t timestamp);
51 void inv_get_geomagnetic_compass_correction(long *data, inv_time_t *timestamp);
[all …]
/hardware/qcom/display/msm8996/libqdutils/
DqdMetaData.cpp71 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in setMetaData() local
74 data->operation &= ~paramType; in setMetaData()
79 data->operation |= paramType; in setMetaData()
82 data->interlaced = *((int32_t *)param); in setMetaData()
85 data->bufferDim = *((BufferDim_t *)param); in setMetaData()
88 data->refreshrate = *((float *)param); in setMetaData()
91 data->colorSpace = *((ColorSpace_t *)param); in setMetaData()
94 data->mapSecureBuffer = *((int32_t *)param); in setMetaData()
97 data->s3dFormat = *((uint32_t *)param); in setMetaData()
100 data->linearFormat = *((uint32_t *)param); in setMetaData()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dtfa_98xx.c178 static exTfa98xx_audio_mode_t tfa_98xx_get_audio_mode(struct speaker_data *data) in tfa_98xx_get_audio_mode() argument
183 audio_mode_t mode = data->adev->mode; in tfa_98xx_get_audio_mode()
189 data->route_cnt[i] = 0; in tfa_98xx_get_audio_mode()
191 list_for_each(node, &data->adev->usecase_list) { in tfa_98xx_get_audio_mode()
194 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
196 data->route_cnt[tfa_98xx_audio_mode]++; in tfa_98xx_get_audio_mode()
200 if ((mode == AUDIO_MODE_IN_CALL) || audio_extn_hfp_is_active(data->adev)) { in tfa_98xx_get_audio_mode()
201 if (audio_extn_hfp_is_active(data->adev)) { in tfa_98xx_get_audio_mode()
202 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
204 data->route_cnt[tfa_98xx_audio_mode]++; in tfa_98xx_get_audio_mode()
[all …]
/hardware/google/av/media/eco/
DECOUtils.cpp30 ECOData data(dataType, systemTime(SYSTEM_TIME_BOOTTIME)); in toEcoData() local
31 data.setString(KEY_STATS_TYPE, VALUE_STATS_TYPE_SESSION); in toEcoData()
32 data.setInt32(ENCODER_TYPE, mCodecType); in toEcoData()
33 data.setInt32(ENCODER_PROFILE, mProfile); in toEcoData()
34 data.setInt32(ENCODER_LEVEL, mLevel); in toEcoData()
35 data.setInt32(ENCODER_TARGET_BITRATE_BPS, mTargetBitrate); in toEcoData()
36 data.setInt32(ENCODER_KFI_FRAMES, mKeyFrameIntervalFrames); in toEcoData()
37 data.setFloat(ENCODER_FRAMERATE_FPS, mFrameRateFps); in toEcoData()
38 return data; in toEcoData()
43 ECOData data(dataType, systemTime(SYSTEM_TIME_BOOTTIME)); in toEcoData() local
[all …]
/hardware/google/av/media/eco/tests/
DEcoDataTest.cpp40 std::unique_ptr<ECOData> data = std::make_unique<ECOData>(); in TEST() local
41 EXPECT_EQ(data->getDataType(), ECOData::DATA_TYPE_UNKNOWN); in TEST()
42 EXPECT_EQ(data->getDataTimeUs(), -1); in TEST()
46 std::unique_ptr<ECOData> data = std::make_unique<ECOData>(ECOData::DATA_TYPE_STATS); in TEST() local
47 EXPECT_EQ(data->getDataType(), ECOData::DATA_TYPE_STATS); in TEST()
48 EXPECT_EQ(data->getDataTimeUs(), -1); in TEST()
52 std::unique_ptr<ECOData> data = std::make_unique<ECOData>(ECOData::DATA_TYPE_STATS, 1000); in TEST() local
53 EXPECT_EQ(data->getDataType(), ECOData::DATA_TYPE_STATS); in TEST()
54 EXPECT_EQ(data->getDataTimeUs(), 1000); in TEST()
58 std::unique_ptr<ECOData> data = std::make_unique<ECOData>(ECOData::DATA_TYPE_STATS, 1000); in TEST() local
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dresults_holder.h85 inv_error_t inv_get_gravity(long *data);
86 inv_error_t inv_get_gravity_6x(long *data);
87 inv_error_t inv_get_6axis_quaternion(long *data, inv_time_t *timestamp);
88 inv_error_t inv_get_quaternion(long *data);
89 inv_error_t inv_get_quaternion_float(float *data);
90 inv_error_t inv_get_6axis_quaternion_float(float *data, inv_time_t *timestamp);
91 inv_error_t inv_get_geomagnetic_quaternion_float(float *data, inv_time_t *timestamp);
93 inv_error_t inv_get_last_quaternion(long *data);
94 inv_error_t inv_set_last_quaternion(long *data);
96 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp);
[all …]
/hardware/qcom/display/msm8960/libqservice/
DIQService.cpp47 Parcel data, reply; in securing() local
48 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); in securing()
49 data.writeInt32(startEnd); in securing()
50 remote()->transact(SECURING, data, &reply); in securing()
54 Parcel data, reply; in unsecuring() local
55 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); in unsecuring()
56 data.writeInt32(startEnd); in unsecuring()
57 remote()->transact(UNSECURING, data, &reply); in unsecuring()
61 Parcel data, reply; in connect() local
62 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); in connect()
[all …]
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp133 const sensors_event_t& data = buffer[i]; in main() local
135 if (data.version != sizeof(sensors_event_t)) { in main()
137 data.version, sizeof(sensors_event_t)); in main()
141 switch(data.type) { in main()
150 getSensorName(data.type), in main()
151 data.timestamp, in main()
152 data.data[0], in main()
153 data.data[1], in main()
154 data.data[2]); in main()
164 getSensorName(data.type), in main()
[all …]

12345678910>>...82