Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:uid

33     void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
35 void cleanupImpl(uid_t uid);
38 uid_t uid;
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
50 bool addSensor(uid_t uid, int handle);
51 bool removeSensor(uid_t uid, int handle);
54 static void enableSensor(uid_t uid, int handle) {
55 BatteryService::getInstance().enableSensorImpl(uid, handle);
57 static void disableSensor(uid_t uid, int handle) {
58 BatteryService::getInstance().disableSensorImpl(uid, handle);
60 static void cleanup(uid_t uid) {
61 BatteryService::getInstance().cleanupImpl(uid);