OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SensorEventConnection
(Results
1 - 8
of
8
) sorted by null
/frameworks/native/services/sensorservice/
SensorRecord.h
28
SensorRecord(const sp<const
SensorEventConnection
>& connection);
29
bool addConnection(const sp<const
SensorEventConnection
>& connection);
30
bool removeConnection(const wp<const
SensorEventConnection
>& connection);
33
void addPendingFlushConnection(const sp<const
SensorEventConnection
>& connection);
35
wp<const
SensorEventConnection
> getFirstPendingFlushConnection();
38
SortedVector< wp<const
SensorEventConnection
> > mConnections;
41
Vector< wp<const
SensorEventConnection
> > mPendingFlushConnections;
SensorRecord.cpp
19
#include "
SensorEventConnection
.h"
24
const sp<const
SensorEventConnection
>& connection)
30
const sp<const
SensorEventConnection
>& connection)
40
const wp<const
SensorEventConnection
>& connection)
47
for (Vector< wp<const
SensorEventConnection
> >::iterator it = mPendingFlushConnections.begin();
59
const sp<const
SensorEventConnection
>& connection) {
69
wp<const SensorService::
SensorEventConnection
>
SensorEventConnection.cpp
23
#include "
SensorEventConnection
.h"
30
SensorService::
SensorEventConnection
::
SensorEventConnection
(
44
SensorService::
SensorEventConnection
::~
SensorEventConnection
() {
45
ALOGD_IF(DEBUG_CONNECTIONS, "~
SensorEventConnection
(%p)", this);
49
void SensorService::
SensorEventConnection
::destroy() {
64
void SensorService::
SensorEventConnection
::onFirstRef() {
68
bool SensorService::
SensorEventConnection
::needsWakeLock() {
73
void SensorService::
SensorEventConnection
::resetWakeLockRefCount()
[
all
...]
SensorService.h
44
// Clang warns about
SensorEventConnection
::dump hiding BBinder::dump. The cause isn't fixable
70
class
SensorEventConnection
;
74
void cleanupConnection(
SensorEventConnection
* connection);
77
status_t enable(const sp<
SensorEventConnection
>& connection, int handle,
81
status_t disable(const sp<
SensorEventConnection
>& connection, int handle);
83
status_t setEventRate(const sp<
SensorEventConnection
>& connection, int handle, nsecs_t ns,
86
status_t flushSensor(const sp<
SensorEventConnection
>& connection,
143
//
SensorEventConnection
) which will be injecting sensor data into the HAL. Normal apps can
213
status_t cleanupWithoutDisable(const sp<
SensorEventConnection
>& connection, int handle);
214
status_t cleanupWithoutDisableLocked(const sp<
SensorEventConnection
>& connection, int handle)
[
all
...]
SensorEventConnection.h
45
class SensorService::
SensorEventConnection
:
51
SensorEventConnection
(const sp<SensorService>& service, uid_t uid, String8 packageName,
56
wp<const
SensorEventConnection
> const * mapFlushEventsToConnections = NULL);
73
virtual ~
SensorEventConnection
();
SensorService.cpp
46
#include "
SensorEventConnection
.h"
270
mMapFlushEventsToConnections = new wp<const
SensorEventConnection
> [minBufferSize];
293
SortedVector< sp<
SensorEventConnection
> > activeConnections;
477
sp<
SensorEventConnection
> connection(mActiveConnections[i].promote());
592
//TODO: move to
SensorEventConnection
later
593
void SensorService::cleanupAutoDisabledSensorLocked(const sp<
SensorEventConnection
>& connection,
643
// as ~
SensorEventConnection
() needs to acquire mLock again for cleanup. So copy all the
645
SortedVector< sp<
SensorEventConnection
> > activeConnections;
651
// sending events to clients (incrementing
SensorEventConnection
::mWakeLockRefCount) should
652
// not be interleaved with decrementing
SensorEventConnection
::mWakeLockRefCount an
[
all
...]
/frameworks/native/libs/sensor/include/sensor/
ISensorEventConnection.h
37
DECLARE_META_INTERFACE(
SensorEventConnection
)
/frameworks/native/libs/sensor/
ISensorEventConnection.cpp
117
IMPLEMENT_META_INTERFACE(
SensorEventConnection
, "android.gui.
SensorEventConnection
");
Completed in 313 milliseconds