|
LunaSysMgr
|
#include "AmbientLightSensor.h"#include "Common.h"#include "HostBase.h"#include "JSONUtils.h"#include "Settings.h"#include "SystemService.h"#include "Time.h"#include "WindowServer.h"#include <cjson/json.h>#include <glib.h>#include <lunaservice.h>Macros | |
| #define | AMBIENT_LIGHT_SENSOR_ID "com.palm.ambientLightSensor" |
| #define | INTERVAL_SLOW (1000) |
| #define | INTERVAL_FAST (100) |
| #define | ALS_CALIBRATION_TOKEN "com.palm.properties.ALSCal" |
Functions | |
| bool | sortIncr (int32_t alsVal1, int32_t alsVal2) |
| #define ALS_CALIBRATION_TOKEN "com.palm.properties.ALSCal" |
| #define AMBIENT_LIGHT_SENSOR_ID "com.palm.ambientLightSensor" |
| #define INTERVAL_FAST (100) |
| #define INTERVAL_SLOW (1000) |
| bool sortIncr | ( | int32_t | alsVal1, |
| int32_t | alsVal2 | ||
| ) |