Home
last modified time | relevance | path

Searched refs:absCode (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DSensorInputMapper_test.cpp76 void setupSensor(int32_t absCode, InputDeviceSensorType type, int32_t sensorDataIndex) { in setupSensor() argument
77 EXPECT_CALL(mMockEventHub, mapSensor(EVENTHUB_ID, absCode)) in setupSensor()
DFakeEventHub.cpp164 void FakeEventHub::addSensorAxis(int32_t deviceId, int32_t absCode, in addSensorAxis() argument
169 getDevice(deviceId)->sensorsByAbsCode.emplace(absCode, info); in addSensorAxis()
341 int32_t deviceId, int32_t absCode) const { in mapSensor()
346 auto it = device->sensorsByAbsCode.find(absCode); in mapSensor()
DFakeEventHub.h137 void addSensorAxis(int32_t deviceId, int32_t absCode, InputDeviceSensorType sensorType,
184 int32_t deviceId, int32_t absCode) const override;
DInterfaceMocks.h114 (int32_t deviceId, int32_t absCode), (const, override));
/frameworks/native/libs/input/
DKeyLayoutMap.cpp213 int32_t absCode) const { in mapSensor()
214 auto it = mSensorsByAbsCode.find(absCode); in mapSensor()
216 ALOGD_IF(DEBUG_MAPPING, "mapSensor: absCode=%d, ~ Failed.", absCode); in mapSensor()
217 return Errorf("Can't find abs code {}.", absCode); in mapSensor()
220 ALOGD_IF(DEBUG_MAPPING, "mapSensor: absCode=%d, sensorType=%s, sensorDataIndex=0x%x.", absCode, in mapSensor()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp65 void SensorInputMapper::parseSensorConfiguration(InputDeviceSensorType sensorType, int32_t absCode, in parseSensorConfiguration() argument
70 sensor.dataVec[sensorDataIndex] = absCode; in parseSensorConfiguration()
73 it->second.dataVec[sensorDataIndex] = absCode; in parseSensorConfiguration()
DSensorInputMapper.h132 void parseSensorConfiguration(InputDeviceSensorType sensorType, int32_t absCode,
/frameworks/native/include/input/
DKeyLayoutMap.h81 base::Result<std::pair<InputDeviceSensorType, int32_t>> mapSensor(int32_t absCode) const;
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h345 inline base::Result<std::pair<InputDeviceSensorType, int32_t>> mapSensor(int32_t absCode) { in mapSensor() argument
346 return mEventHub->mapSensor(mId, absCode); in mapSensor()
DEventHub.h318 int32_t deviceId, int32_t absCode) const = 0;
543 int32_t deviceId, int32_t absCode) const override final;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h194 int32_t deviceId, int32_t absCode) const override { in mapSensor() argument
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1280 int32_t absCode) const { in mapSensor()
1285 return device->keyMap.keyLayoutMap->mapSensor(absCode); in mapSensor()