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/
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_) :
SensorInterface.h
30
class
SensorInterface
: public VirtualLightRefBase {
32
virtual ~
SensorInterface
() {}
48
class BaseSensor : public
SensorInterface
{
SensorService.h
61
class
SensorInterface
;
204
sp<
SensorInterface
> getSensorInterfaceFromHandle(int handle) const;
208
const Sensor& registerSensor(
SensorInterface
* sensor,
210
const Sensor& registerVirtualSensor(
SensorInterface
* sensor, bool isDebug = false);
211
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);
SensorEventConnection.cpp
107
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
139
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
183
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
432
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
622
sp<
SensorInterface
> si =
673
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i));
SensorService.cpp
41
#include "
SensorInterface
.h"
305
const Sensor& SensorService::registerSensor(
SensorInterface
* s, bool isDebug, bool isVirtual) {
316
const Sensor& SensorService::registerDynamicSensorLocked(
SensorInterface
* s, bool isDebug) {
331
const Sensor& SensorService::registerVirtualSensor(
SensorInterface
* s, bool isDebug) {
437
sp<
SensorInterface
> s = mSensors.getInterface(i.first);
601
sp<
SensorInterface
> si = getSensorInterfaceFromHandle(handle);
687
sp<
SensorInterface
> si = mSensors.getInterface(handle);
753
SensorInterface
*si = new HardwareSensor(s, uuid);
[
all
...]
SensorDirectConnection.cpp
107
sp<
SensorInterface
> si = mService->getSensorInterfaceFromHandle(handle);
Completed in 78 milliseconds