Searched refs:luxValue (Results 1 – 4 of 4) sorted by relevance
169 private fun setupSensorWithInitialLux(luxValue: Float) {173 sendAmbientLuxValue(luxValue)352 private fun sendAmbientLuxValue(luxValue: Float) {353 ambientController.onSensorChanged(SensorEvent(lightSensor, 0, 0, floatArrayOf(luxValue)))
100 final int luxValue = 83; in testAmbientBrightnessSensorCallback_CallbacksCalled() local121 listener.onSensorChanged(TestUtils.createSensorEvent(mLightSensor, luxValue)); in testAmbientBrightnessSensorCallback_CallbacksCalled()123 assertEquals(luxValue, luxReturned[0]); in testAmbientBrightnessSensorCallback_CallbacksCalled()
132 int luxValue = thresholdsLux[i]; in CameraPrivacyLightController() local133 mThresholds[i] = (long) (Math.log(luxValue) * LIGHT_VALUE_MULTIPLIER); in CameraPrivacyLightController()
721 String luxValue = parser.getAttributeValue(null, ATTR_LUX); in readEventsLocked() local724 String[] luxValuesStrings = luxValue.split(","); in readEventsLocked()