Home
last modified time | relevance | path

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

12

/frameworks/native/services/sensorservice/
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()
DSensorDirectConnection.cpp29 SensorService::SensorDirectConnection::SensorDirectConnection(const sp<SensorService>& service, in SensorDirectConnection()
39 SensorService::SensorDirectConnection::~SensorDirectConnection() { in ~SensorDirectConnection()
44 void SensorService::SensorDirectConnection::destroy() { in destroy()
60 void SensorService::SensorDirectConnection::onFirstRef() { in onFirstRef()
63 void SensorService::SensorDirectConnection::dump(String8& result) const { in dump()
79 void SensorService::SensorDirectConnection::dump(ProtoOutputStream* proto) const { in dump()
93 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
97 void SensorService::SensorDirectConnection::onSensorAccessChanged(bool hasAccess) { in onSensorAccessChanged()
105 void SensorService::SensorDirectConnection::onMicSensorAccessChanged(bool isMicToggleOn) { in onMicSensorAccessChanged()
113 bool SensorService::SensorDirectConnection::hasSensorAccess() const { in hasSensorAccess()
[all …]
DSensorService.cpp83 const char* SensorService::WAKE_LOCK_NAME = "SensorService_wakelock";
84 uint8_t SensorService::sHmacGlobalKey[128] = {};
85 bool SensorService::sHmacGlobalKeyIsValid = false;
86 std::map<String16, int> SensorService::sPackageTargetVersion;
87 Mutex SensorService::sPackageTargetVersionLock;
88 String16 SensorService::sSensorInterfaceDescriptorPrefix =
90 AppOpsManager SensorService::sAppOpsManager;
91 std::atomic_uint64_t SensorService::curProxCallbackSeq(0);
92 std::atomic_uint64_t SensorService::completedCallbackSeq(0);
132 SensorService::SensorService() in SensorService() function in android::SensorService
[all …]
DSensorEventConnection.cpp39 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection()
40 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode, in SensorEventConnection()
55 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection()
64 void SensorService::SensorEventConnection::destroy() { in destroy()
68 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef()
72 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock()
77 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount()
82 void SensorService::SensorEventConnection::dump(String8& result) { in dump()
123 void SensorService::SensorEventConnection::dump(util::ProtoOutputStream* proto) const { in dump()
161 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
[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.h35 class SensorService; variable
38 class SensorService::SensorDirectConnection: public BnSensorEventConnection {
40 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
93 const sp<SensorService> mService;
DSensorEventConnection.h45 class SensorService; variable
47 class SensorService::SensorEventConnection:
50 friend class SensorService; variable
53 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName,
149 sp<SensorService> const mService;
DSensorService.h78 class SensorService :
79 public BinderService<SensorService>,
147 SensorService() ANDROID_API;
178 friend class BinderService<SensorService>;
253 explicit UidPolicy(wp<SensorService> service) in UidPolicy()
275 wp<SensorService> mService;
293 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy()
305 wp<SensorService> mService;
313 explicit MicrophonePrivacyPolicy(wp<SensorService> service) in MicrophonePrivacyPolicy()
339 virtual ~SensorService();
DSensorRecord.h24 class SensorService; variable
26 class SensorService::SensorRecord {
DSensorInterface.h29 class SensorService; variable
109 explicit ProximitySensor(const sensor_t& sensor, SensorService& service);
114 SensorService& mSensorService;
DAndroid.bp33 "SensorService.cpp",
38 "-DLOG_TAG=\"SensorService\"",
Dmain_sensorservice.cpp24 SensorService::publishAndJoinThreadPool(); in main()
DSensorRegistrationInfo.h31 class SensorService; variable
33 class SensorService::SensorRegistrationInfo : public SensorServiceUtil::Dumpable {
DISensorHalWrapper.h78 virtual status_t setOperationMode(SensorService::Mode mode) = 0;
DSensorInterface.cpp90 ProximitySensor::ProximitySensor(const sensor_t& sensor, SensorService& service) in ProximitySensor()
DAidlSensorHalWrapper.h57 virtual status_t setOperationMode(SensorService::Mode mode) override;
DSensorDevice.h94 void setUidStateForConnection(void* ident, SensorService::UidState state);
DHidlSensorHalWrapper.h103 virtual status_t setOperationMode(SensorService::Mode mode) override;
DSensorDevice.cpp653 void SensorDevice::setUidStateForConnection(void* ident, SensorService::UidState state) { in setUidStateForConnection()
655 if (state == SensorService::UID_STATE_ACTIVE) { in setUidStateForConnection()
771 return mHalWrapper->setOperationMode(static_cast<SensorService::Mode>(mode)); in setMode()
DHidlSensorHalWrapper.cpp252 status_t HidlSensorHalWrapper::setOperationMode(SensorService::Mode mode) { in setOperationMode()
DAidlSensorHalWrapper.cpp674 status_t AidlSensorHalWrapper::setOperationMode(SensorService::Mode mode) { in setOperationMode()
/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp46 sp<SensorService> mService;
48 class ProximityActiveListenerDelegate : public SensorService::ProximityActiveListener {
65 mService = new SensorService(); in NativeSensorService()
66 sm->addService(String16(SensorService::getServiceName()), mService, in NativeSensorService()
/frameworks/base/core/proto/android/service/
Dsensor_service.proto32 // Proto dump of android::SensorService. dumpsys sensorservice --proto
184 // Proto dump of android::SensorService::SensorDirectConnection
201 // Proto dump of android::SensorService::SensorEventConnection
236 // Proto dump of android::SensorService::SensorRegistrationInfo
/frameworks/base/services/core/java/com/android/server/sensors/
DSensorService.java36 public class SensorService extends SystemService { class
55 public SensorService(Context ctx) { in SensorService() method in SensorService
/frameworks/base/services/
Dproguard.flags86 -keep,allowoptimization,allowaccessmodification class com.android.server.sensors.SensorService { *;…

12