OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SensorInterface
(Results
1 - 7
of
7
) sorted by null
/frameworks/native/services/sensorservice/
SensorInterface.h
30
class
SensorInterface
: public VirtualLightRefBase {
32
virtual ~
SensorInterface
() {}
48
class BaseSensor : public
SensorInterface
{
SensorList.h
20
#include "
SensorInterface
.h"
33
class
SensorInterface
;
39
// After
SensorInterface
* is added into SensorList, it can be assumed that SensorList own the
41
bool add(int handle,
SensorInterface
* si, bool isForDebug = false, bool isVirtual = false);
43
// After a handle is removed, the object that
SensorInterface
* pointing to may get deleted if
56
sp<
SensorInterface
> getInterface(int handle) const;
78
sp<
SensorInterface
> si;
81
Entry(
SensorInterface
* si_, bool debug_, bool virtual_) :
SensorService.h
60
class
SensorInterface
;
161
sp<
SensorInterface
> getSensorInterfaceFromHandle(int handle) const;
165
const Sensor& registerSensor(
SensorInterface
* sensor,
167
const Sensor& registerVirtualSensor(
SensorInterface
* sensor, bool isDebug = false);
168
const Sensor& registerDynamicSensorLocked(
SensorInterface
* sensor, bool isDebug = false);
SensorList.cpp
30
int handle,
SensorInterface
* si, bool isForDebug, bool isVirtual) {
58
sp<
SensorInterface
> SensorList::getInterface(int handle) const {
59
return getOne<sp<
SensorInterface
>>(
60
handle, [] (const Entry& e) -> sp<
SensorInterface
> {return e.si;}, nullptr);
Android.mk
16
SensorInterface
.cpp \
SensorService.cpp
40
#include "
SensorInterface
.h"
282
const Sensor& SensorService::registerSensor(
SensorInterface
* s, bool isDebug, bool isVirtual) {
293
const Sensor& SensorService::registerDynamicSensorLocked(
SensorInterface
* s, bool isDebug) {
308
const Sensor& SensorService::registerVirtualSensor(
SensorInterface
* s, bool isDebug) {
395
sp<
SensorInterface
> s = mSensors.getInterface(i.first);
480
sp<
SensorInterface
> si = getSensorInterfaceFromHandle(handle);
566
sp<
SensorInterface
> si = mSensors.getInterface(handle);
632
SensorInterface
*si = new HardwareSensor(s, uuid);
774
sp<
SensorInterface
> sensor = getSensorInterfaceFromHandle(handle);
783
sp<
SensorInterface
> sensor = getSensorInterfaceFromHandle(handle)
[
all
...]
SensorEventConnection.cpp
92
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
124
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
168
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
390
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
563
sp<
SensorInterface
> si =
614
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i));
Completed in 2557 milliseconds