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; member
41 Info() : uid(0), handle(0), count(0) { } in Info()
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } in Info()
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);
55 static void enableSensor(uid_t uid, int handle) { in enableSensor() argument
56 BatteryService::getInstance().enableSensorImpl(uid, handle); in enableSensor()
58 static void disableSensor(uid_t uid, int handle) { in disableSensor() argument
59 BatteryService::getInstance().disableSensorImpl(uid, handle); in disableSensor()
61 static void cleanup(uid_t uid) { in cleanup() argument
62 BatteryService::getInstance().cleanupImpl(uid); in cleanup()