Lines Matching refs:handle
33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
39 int handle; 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);
54 static void enableSensor(uid_t uid, int handle) { in enableSensor() argument
55 BatteryService::getInstance().enableSensorImpl(uid, handle); in enableSensor()
57 static void disableSensor(uid_t uid, int handle) { in disableSensor() argument
58 BatteryService::getInstance().disableSensorImpl(uid, handle); in disableSensor()