Home
last modified time | relevance | path

Searched refs:DATA_INJECTION (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.cpp382 if (mCurrentOperatingMode == DATA_INJECTION) { in dump()
390 status_t err = dev.setMode(DATA_INJECTION); in dump()
392 mCurrentOperatingMode = DATA_INJECTION; in dump()
399 } else if (mCurrentOperatingMode == DATA_INJECTION) { in dump()
465 case DATA_INJECTION: in dump()
1092 if (requestedMode != NORMAL && requestedMode != DATA_INJECTION) { in createSensorEventConnection()
1099 if (requestedMode == DATA_INJECTION) { in createSensorEventConnection()
1100 if (mCurrentOperatingMode != DATA_INJECTION) return nullptr; in createSensorEventConnection()
1113 requestedMode == DATA_INJECTION, connOpPackageName, hasSensorAccess)); in createSensorEventConnection()
1114 if (requestedMode == DATA_INJECTION) { in createSensorEventConnection()
[all …]
DSensorService.h234 DATA_INJECTION = 1, enumerator