Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 25 of 38) sorted by relevance

12

/system/chre/platform/slpi/see/
Dsee_cal_helper.cc38 output[i] = input[i] - mCalInfo[index].cal.bias[i]; in applyCalibration()
68 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias()
131 float bias[3], bool hasScale, in updateCalibration()
142 memcpy(calData.bias, bias, sizeof(calData.bias)); in updateCalibration()
Dplatform_sensor_manager.cc267 const chreSensorThreeAxisData &bias) { in postSensorBiasEvent() argument
275 *event = bias; in postSensorBiasEvent()
800 const Sensor &sensor, struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
813 if (!calHelper->getBias(calSensorType, bias)) { in getThreeAxisBias()
815 memset(bias, 0, sizeof(chreSensorThreeAxisData)); in getThreeAxisBias()
816 bias->header.readingCount = 1; in getThreeAxisBias()
817 bias->header.accuracy = CHRE_SENSOR_ACCURACY_UNKNOWN; in getThreeAxisBias()
823 &bias->header.sensorHandle); in getThreeAxisBias()
/system/chre/platform/linux/
Dpal_sensor.cc160 struct chreSensorThreeAxisData *bias) { in chrePalSensorApiGetThreeAxisBias() argument
162 UNUSED_VAR(bias); in chrePalSensorApiGetThreeAxisBias()
175 void chrePalSensorApiReleaseBiasEvent(void *bias) { in chrePalSensorApiReleaseBiasEvent() argument
176 chre::memoryFree(bias); in chrePalSensorApiReleaseBiasEvent()
/system/chre/pal/include/chre/pal/
Dsensor.h339 struct chreSensorThreeAxisData *bias);
363 void (*releaseBiasEvent)(void *bias);
/system/chre/platform/shared/
Dchre_api_sensor.cc126 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) { in chreSensorGetThreeAxisBias() argument
130 .getThreeAxisBias(sensorHandle, bias); in chreSensorGetThreeAxisBias()
133 UNUSED_VAR(bias); in chreSensorGetThreeAxisBias()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h127 void updateCalibration(const sns_std_suid &suid, bool hasBias, float bias[3],
144 float bias[3]; member
/system/unwinding/libunwindstack/
DAndroidVersions.md29 * Fix bug (b/109824792) that handled load bias data incorrectly when
32 that the bias is coming from the program header for the executable
33 load. The real fix was to use the bias from the actual section data and
39 the p\_vaddr value from the program header minus the load bias was used
41 it doesn't require any load bias manipulations.
104 * Fix bug where the load bias was set from the first PT\_LOAD program
112 * Fix bug in load bias handling. If the unwind information in the eh\_frame
113 or eh\_frame\_hdr does not have the same bias as the executable section,
DElfInterface.cpp264 .bias = static_cast<int64_t>(static_cast<uint64_t>(phdr.p_vaddr) - phdr.p_offset)}; in ReadProgramHeaders()
386 .bias = static_cast<int64_t>(static_cast<uint64_t>(shdr.sh_addr) - shdr.sh_offset)}; in ReadSectionHeaders()
395 .bias = static_cast<int64_t>(static_cast<uint64_t>(shdr.sh_addr) - shdr.sh_offset)}; in ReadSectionHeaders()
401 .bias = static_cast<int64_t>(static_cast<uint64_t>(shdr.sh_addr) - shdr.sh_offset)}; in ReadSectionHeaders()
/system/chre/platform/include/chre/platform/
Dplatform_sensor_manager.h125 struct chreSensorThreeAxisData *bias) const;
/system/chre/platform/shared/sensor_pal/
Dplatform_sensor_manager.cc114 const Sensor &sensor, struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
117 success = mSensorApi->getThreeAxisBias(sensor.getSensorHandle(), bias); in getThreeAxisBias()
/system/chre/chre_api/legacy/v1_2/chre/
Dsensor_types.h294 float bias[3]; member
/system/chre/chre_api/legacy/v1_4/chre/
Dsensor_types.h347 float bias[3]; member
Dsensor.h970 struct chreSensorThreeAxisData *bias);
/system/chre/chre_api/legacy/v1_3/chre/
Dsensor_types.h347 float bias[3]; member
Dsensor.h950 struct chreSensorThreeAxisData *bias);
/system/chre/chre_api/legacy/v1_6/chre/
Dsensor_types.h378 float bias[3]; member
/system/chre/chre_api/legacy/v1_7/chre/
Dsensor_types.h378 float bias[3]; member
/system/chre/chre_api/legacy/v1_9/chre/
Dsensor_types.h381 float bias[3]; member
Dsensor.h1074 struct chreSensorThreeAxisData *bias);
/system/chre/chre_api/legacy/v1_5/chre/
Dsensor_types.h378 float bias[3]; member
Dsensor.h1063 struct chreSensorThreeAxisData *bias);
/system/chre/chre_api/legacy/v1_8/chre/
Dsensor_types.h378 float bias[3]; member
/system/chre/chre_api/include/chre_api/chre/
Dsensor_types.h392 float bias[3]; member
/system/chre/chre_api/legacy/v1_0/chre/
Dsensor.h539 float bias[3]; member
/system/unwinding/libunwindstack/tests/
DDwarfEhFrameWithHdrTest.cpp136 this->eh_frame_->EhFrameInit(SectionInfo{.offset = 0x1300, .size = 0x200, .bias = 0x2000})); in TYPED_TEST_P()
137 ASSERT_TRUE(this->eh_frame_->Init(SectionInfo{.offset = 0x1000, .size = 0x100, .bias = 0x2000})); in TYPED_TEST_P()
172 this->eh_frame_->EhFrameInit(SectionInfo{.offset = 0x1300, .size = 0x200, .bias = 0x1000})); in TYPED_TEST_P()
173 ASSERT_TRUE(this->eh_frame_->Init(SectionInfo{.offset = 0x1000, .size = 0x100, .bias = 0x2000})); in TYPED_TEST_P()

12