LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AmbientLightSensor.cpp File Reference
#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>
Include dependency graph for AmbientLightSensor.cpp:

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)
 

Macro Definition Documentation

#define ALS_CALIBRATION_TOKEN   "com.palm.properties.ALSCal"
#define AMBIENT_LIGHT_SENSOR_ID   "com.palm.ambientLightSensor"
#define INTERVAL_FAST   (100)
#define INTERVAL_SLOW   (1000)

Function Documentation

bool sortIncr ( int32_t  alsVal1,
int32_t  alsVal2 
)