Home
last modified time | relevance | path

Searched refs:SensorService (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp25 SensorService::SensorDirectConnection::SensorDirectConnection(const sp<SensorService>& service, in SensorDirectConnection()
34 SensorService::SensorDirectConnection::~SensorDirectConnection() { in ~SensorDirectConnection()
39 void SensorService::SensorDirectConnection::destroy() { in destroy()
55 void SensorService::SensorDirectConnection::onFirstRef() { in onFirstRef()
58 void SensorService::SensorDirectConnection::dump(String8& result) const { in dump()
67 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
71 status_t SensorService::SensorDirectConnection::enableDisable( in enableDisable()
83 status_t SensorService::SensorDirectConnection::setEventRate( in setEventRate()
91 status_t SensorService::SensorDirectConnection::flush() { in flush()
96 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { in configureChannel()
[all …]
DSensorService.cpp75 const char* SensorService::WAKE_LOCK_NAME = "SensorService_wakelock";
76 uint8_t SensorService::sHmacGlobalKey[128] = {};
77 bool SensorService::sHmacGlobalKeyIsValid = false;
78 std::map<String16, int> SensorService::sPackageTargetVersion;
79 Mutex SensorService::sPackageTargetVersionLock;
80 AppOpsManager SensorService::sAppOpsManager;
91 SensorService::SensorService() in SensorService() function in android::SensorService
98 bool SensorService::initializeHmacKey() { in initializeHmacKey()
136 void SensorService::enableSchedFifoMode() { in enableSchedFifoMode()
144 void SensorService::onFirstRef() { in onFirstRef()
[all …]
DSensorRecord.cpp23 SensorService::SensorRecord::SensorRecord( in SensorRecord()
29 bool SensorService::SensorRecord::addConnection( in addConnection()
39 bool SensorService::SensorRecord::removeConnection( in removeConnection()
58 void SensorService::SensorRecord::addPendingFlushConnection( in addPendingFlushConnection()
63 void SensorService::SensorRecord::removeFirstPendingFlushConnection() { in removeFirstPendingFlushConnection()
69 wp<const SensorService::SensorEventConnection>
70 SensorService::SensorRecord::getFirstPendingFlushConnection() { in getFirstPendingFlushConnection()
77 void SensorService::SensorRecord::clearAllPendingFlushConnections() { in clearAllPendingFlushConnections()
DSensorEventConnection.cpp30 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection()
31 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode, in SensorEventConnection()
45 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection()
50 void SensorService::SensorEventConnection::destroy() { in destroy()
65 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef()
69 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock()
74 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount()
79 void SensorService::SensorEventConnection::dump(String8& result) { in dump()
113 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
125 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor()
[all …]
DSensorEventAckReceiver.h24 class SensorService; variable
26 class SensorService::SensorEventAckReceiver : public Thread {
27 sp<SensorService> const mService;
30 explicit SensorEventAckReceiver(const sp<SensorService>& service) in SensorEventAckReceiver()
DSensorDirectConnection.h34 class SensorService; variable
37 class SensorService::SensorDirectConnection: public BnSensorEventConnection {
39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
68 const sp<SensorService> mService;
DSensorEventConnection.h44 class SensorService; variable
46 class SensorService::SensorEventConnection:
49 friend class SensorService; variable
52 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName,
141 sp<SensorService> const mService;
DSensorService.h68 class SensorService :
69 public BinderService<SensorService>,
97 friend class BinderService<SensorService>;
172 explicit UidPolicy(wp<SensorService> service) in UidPolicy()
192 wp<SensorService> mService;
208 explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service) {} in SensorPrivacyPolicy()
217 wp<SensorService> mService;
269 SensorService() ANDROID_API;
270 virtual ~SensorService();
DSensorRecord.h24 class SensorService; variable
26 class SensorService::SensorRecord {
DAndroid.bp24 "SensorService.cpp",
29 "-DLOG_TAG=\"SensorService\"",
DSensorRegistrationInfo.h27 class SensorService; variable
29 class SensorService::SensorRegistrationInfo : public SensorServiceUtil::Dumpable {
Dmain_sensorservice.cpp24 SensorService::publishAndJoinThreadPool(); in main()
/frameworks/base/services/core/jni/
Dcom_android_server_SystemServer.cpp52 SensorService::publish(false /* allowIsolated */, in android_server_SystemServer_startSensorService()