Home
last modified time | relevance | path

Searched refs:SensorDirectConnection (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp29 SensorService::SensorDirectConnection::SensorDirectConnection(const sp<SensorService>& service, in SensorDirectConnection() function in android::SensorService::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 …]
DSensorDirectConnection.h38 class SensorService::SensorDirectConnection: public BnSensorEventConnection {
40 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
59 virtual ~SensorDirectConnection();
DSensorService.h87 class SensorDirectConnection; variable
173 void cleanupConnection(SensorDirectConnection* c);
200 int configureRuntimeSensorDirectChannel(int sensorHandle, const SensorDirectConnection* c,
230 const std::vector<sp<SensorDirectConnection>>& getDirectConnections();
244 std::vector<std::vector<sp<SensorDirectConnection>>> mReferencedDirectConnections;
261 void addDirectConnection(const sp<SensorDirectConnection>& connection);
262 void removeDirectConnection(const wp<SensorDirectConnection>& connection);
271 SortedVector< wp<SensorDirectConnection> > mDirectConnections;
DAndroid.bp40 "SensorDirectConnection.cpp",
DSensorService.cpp518 for (const sp<SensorDirectConnection>& conn : connLock.getDirectConnections()) { in onUidStateChanged()
850 for (const sp<SensorDirectConnection>& conn : connLock->getDirectConnections()) { in disableAllSensorsLocked()
880 for (const sp<SensorDirectConnection>& conn : connLock->getDirectConnections()) { in enableAllSensorsLocked()
889 for (const sp<SensorDirectConnection>& conn : connLock.getDirectConnections()) { in capRates()
900 for (const sp<SensorDirectConnection>& conn : connLock.getDirectConnections()) { in uncapRates()
1669 for (const sp<SensorDirectConnection>& connection : connLock.getDirectConnections()) { in createSensorDirectConnection()
1713 sp<SensorDirectConnection> conn; in createSensorDirectConnection()
1732 conn = new SensorDirectConnection(this, uid, &mem, channelHandle, opPackageName, deviceId); in createSensorDirectConnection()
1747 int sensorHandle, const SensorDirectConnection* c, const sensors_direct_cfg_t* config) { in configureRuntimeSensorDirectChannel()
1916 void SensorService::cleanupConnection(SensorDirectConnection* c) { in cleanupConnection()
[all …]
/frameworks/base/core/proto/android/service/
Dsensor_service.proto184 // Proto dump of android::SensorService::SensorDirectConnection