Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp29 SensorService::SensorDirectConnection::SensorDirectConnection(const sp<SensorService>& service, in SensorDirectConnection()
40 SensorService::SensorDirectConnection::~SensorDirectConnection() { in ~SensorDirectConnection()
45 void SensorService::SensorDirectConnection::destroy() { in destroy()
61 void SensorService::SensorDirectConnection::onFirstRef() { in onFirstRef()
64 void SensorService::SensorDirectConnection::dump(String8& result) const { in dump()
80 void SensorService::SensorDirectConnection::dump(ProtoOutputStream* proto) const { in dump()
94 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
98 void SensorService::SensorDirectConnection::onSensorAccessChanged(bool hasAccess) { in onSensorAccessChanged()
106 void SensorService::SensorDirectConnection::onMicSensorAccessChanged(bool isMicToggleOn) { in onMicSensorAccessChanged()
114 bool SensorService::SensorDirectConnection::hasSensorAccess() const { in hasSensorAccess()
[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()
DSensorService.cpp82 const char* SensorService::WAKE_LOCK_NAME = "SensorService_wakelock";
83 uint8_t SensorService::sHmacGlobalKey[128] = {};
84 bool SensorService::sHmacGlobalKeyIsValid = false;
85 std::map<String16, int> SensorService::sPackageTargetVersion;
86 Mutex SensorService::sPackageTargetVersionLock;
87 String16 SensorService::sSensorInterfaceDescriptorPrefix =
89 AppOpsManager SensorService::sAppOpsManager;
90 std::atomic_uint64_t SensorService::curProxCallbackSeq(0);
91 std::atomic_uint64_t SensorService::completedCallbackSeq(0);
104 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()
56 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection()
65 void SensorService::SensorEventConnection::destroy() { in destroy()
69 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef()
73 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock()
78 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount()
83 void SensorService::SensorEventConnection::dump(String8& result) { in dump()
124 void SensorService::SensorEventConnection::dump(util::ProtoOutputStream* proto) const { in dump()
162 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.h34 class SensorService; variable
37 class SensorService::SensorDirectConnection: public BnSensorEventConnection {
39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
92 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,
148 sp<SensorService> const mService;
DSensorService.h77 class SensorService :
78 public BinderService<SensorService>,
100 SensorService() ANDROID_API;
130 friend class BinderService<SensorService>;
205 explicit UidPolicy(wp<SensorService> service) in UidPolicy()
225 wp<SensorService> mService;
243 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy()
255 wp<SensorService> mService;
325 virtual ~SensorService();
DSensorRecord.h24 class SensorService; variable
26 class SensorService::SensorRecord {
DSensorInterface.h29 class SensorService; variable
114 explicit ProximitySensor(const sensor_t& sensor, SensorService& service);
121 SensorService& mSensorService;
DAndroid.bp30 "SensorService.cpp",
35 "-DLOG_TAG=\"SensorService\"",
Dmain_sensorservice.cpp24 SensorService::publishAndJoinThreadPool(); in main()
DSensorRegistrationInfo.h31 class SensorService; variable
33 class SensorService::SensorRegistrationInfo : public SensorServiceUtil::Dumpable {
DSensorInterface.cpp90 ProximitySensor::ProximitySensor(const sensor_t& sensor, SensorService& service) in ProximitySensor()
DSensorDevice.h120 void setUidStateForConnection(void* ident, SensorService::UidState state);
DSensorDevice.cpp887 void SensorDevice::setUidStateForConnection(void* ident, SensorService::UidState state) { in setUidStateForConnection()
889 if (state == SensorService::UID_STATE_ACTIVE) { in setUidStateForConnection()
/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/java/com/android/server/
DSystemServer.java181 import com.android.server.sensors.SensorService;
1249 mSystemServiceManager.startService(SensorService.class); in startBootstrapServices()
/frameworks/base/services/
Dart-profile37757 HSPLcom/android/server/sensors/SensorService$$ExternalSyntheticLambda0;-><init>(Lcom/android/server…
37758 HSPLcom/android/server/sensors/SensorService$$ExternalSyntheticLambda0;->run()V
37759 HSPLcom/android/server/sensors/SensorService$LocalService;-><init>(Lcom/android/server/sensors/Sens…
37760 HSPLcom/android/server/sensors/SensorService$LocalService;->addProximityActiveListener(Ljava/util/c…
37761 HSPLcom/android/server/sensors/SensorService$ProximityListenerDelegate;-><init>(Lcom/android/server…
37762 …r/sensors/SensorService$ProximityListenerDelegate;-><init>(Lcom/android/server/sensors/SensorServi…
37763SensorService$ProximityListenerDelegate;->onProximityActive(Z)V+]Landroid/util/ArrayMap;Landroid/u…
37764 …roid/server/sensors/SensorService$ProximityListenerProxy$$ExternalSyntheticLambda0;-><init>(Lcom/a…
37765SensorService$ProximityListenerProxy$$ExternalSyntheticLambda0;->run()V+]Lcom/android/server/senso…
37766 HSPLcom/android/server/sensors/SensorService$ProximityListenerProxy;-><init>(Ljava/util/concurrent/…
[all …]