Description[sensors](CrOS/Linux) Add support for als sensor which has "intensity" naming.
This CL adds support for an als sensor that has "in_intensity_both_raw" naming.
What is more, frequency and offset file names are added as well.
Unittests were changed as well - there is no need to separately delete
a frequency file now in order to receive OnSensorReadingChanged event. A zero
value can be used which means "file must not be created"
BUG=670602
Committed: https://crrev.com/1dcb638f139dd8557d992d81d40cbe5cc942887e
Cr-Commit-Position: refs/heads/master@{#439571}
Patch Set 1 #Patch Set 2 : correct apply_scaling_value formula #Patch Set 3 : rebased #
Messages
Total messages: 22 (16 generated)
|