Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:handle

34     status_t noteStartSensor(int uid, int handle);
35 status_t noteStopSensor(int uid, int handle);
37 void enableSensorImpl(uid_t uid, int handle);
38 void disableSensorImpl(uid_t uid, int handle);
43 int handle;
45 Info() : uid(0), handle(0), count(0) { }
46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
48 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
54 bool addSensor(uid_t uid, int handle);
55 bool removeSensor(uid_t uid, int handle);
58 static void enableSensor(uid_t uid, int handle) {
59 BatteryService::getInstance().enableSensorImpl(uid, handle);
61 static void disableSensor(uid_t uid, int handle) {
62 BatteryService::getInstance().disableSensorImpl(uid, handle);