OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sensorHandle
(Results
1 - 13
of
13
) sorted by null
/device/google/contexthub/firmware/inc/
sensors.h
259
bool sensorRequest(uint32_t clientTid, uint32_t
sensorHandle
, uint32_t rate, uint64_t latency);
260
bool sensorRequestRateChange(uint32_t clientTid, uint32_t
sensorHandle
, uint32_t newRate, uint64_t newLatency);
261
bool sensorRelease(uint32_t clientTid, uint32_t
sensorHandle
);
262
bool sensorTriggerOndemand(uint32_t clientTid, uint32_t
sensorHandle
);
263
bool sensorFlush(uint32_t
sensorHandle
);
264
bool sensorCalibrate(uint32_t
sensorHandle
);
265
bool sensorCfgData(uint32_t
sensorHandle
, void* cfgData);
266
uint32_t sensorGetCurRate(uint32_t
sensorHandle
);
267
uint64_t sensorGetCurLatency(uint32_t
sensorHandle
);
268
bool sensorGetInitComplete(uint32_t
sensorHandle
); // DO NOT poll on this valu
[
all
...]
syscallDo.h
180
static inline bool eOsSensorRequest(uint32_t clientId, uint32_t
sensorHandle
, uint32_t rate, uint64_t latency)
185
return syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_REQUEST), clientId,
sensorHandle
, rate, latency_lo, latency_hi);
188
static inline bool eOsSensorRequestRateChange(uint32_t clientId, uint32_t
sensorHandle
, uint32_t newRate, uint64_t newLatency)
193
return syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_RATE_CHG), clientId,
sensorHandle
, newRate, newLatency_lo, newLatency_hi);
196
static inline bool eOsSensorRelease(uint32_t clientId, uint32_t
sensorHandle
)
198
return syscallDo2P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_RELEASE), clientId,
sensorHandle
);
201
static inline bool eOsSensorTriggerOndemand(uint32_t clientId, uint32_t
sensorHandle
)
203
return syscallDo2P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_TRIGGER), clientId,
sensorHandle
);
206
static inline uint32_t eOsSensorGetCurRate(uint32_t
sensorHandle
)
208
return syscallDo1P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_GET_RATE),
sensorHandle
);
[
all
...]
/device/google/contexthub/inc/
chre_sensor.h
495
uint32_t
sensorHandle
;
642
uint32_t
sensorHandle
;
668
* @param
sensorHandle
The sensor handle, as obtained from
676
bool chreGetSensorInfo(uint32_t
sensorHandle
, struct chreSensorInfo *info);
693
* @param
sensorHandle
The sensor handle, as obtained from
701
bool chreGetSensorSamplingStatus(uint32_t
sensorHandle
,
762
* @param
sensorHandle
The handle to the sensor, as obtained from
793
bool chreSensorConfigure(uint32_t
sensorHandle
,
802
inline bool chreSensorConfigureModeOnly(uint32_t
sensorHandle
,
804
return chreSensorConfigure(
sensorHandle
,
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
SensorPowerCalculator.java
42
final int
sensorHandle
= sensorStats.keyAt(ise);
45
switch (
sensorHandle
) {
54
if (s.getHandle() ==
sensorHandle
) {
/device/google/contexthub/firmware/src/drivers/vsync/
vsync.c
64
uint32_t
sensorHandle
;
125
sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0);
131
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0);
137
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency);
163
mTask.
sensorHandle
= sensorRegister(&mSensorInfo, &mSensorOps, NULL, true);
176
sensorUnregister(mTask.
sensorHandle
);
/device/google/contexthub/firmware/src/
sensors.c
587
static bool sensorAddRequestor(uint32_t
sensorHandle
, uint32_t clientTid, uint32_t rate, uint64_t latency)
594
req->handle =
sensorHandle
;
603
static bool sensorGetCurRequestorRate(uint32_t
sensorHandle
, uint32_t clientTid, uint32_t *rateP, uint64_t *latencyP)
610
if (req && req->handle ==
sensorHandle
&& req->clientTid == clientTid) {
622
static bool sensorAmendRequestor(uint32_t
sensorHandle
, uint32_t clientTid, uint32_t newRate, uint64_t newLatency)
629
if (req && req->handle ==
sensorHandle
&& req->clientTid == clientTid) {
639
static bool sensorDeleteRequestor(uint32_t
sensorHandle
, uint32_t clientTid)
646
if (req && req->handle ==
sensorHandle
&& req->clientTid == clientTid) {
660
bool sensorRequest(uint32_t unusedTid, uint32_t
sensorHandle
, uint32_t rate, uint64_t latency)
662
struct Sensor* s = sensorFindByHandle(
sensorHandle
);
[
all
...]
osApi.c
142
uint32_t
sensorHandle
= va_arg(args, uint32_t);
148
*retValP = sensorRequest(0,
sensorHandle
, rate, latency);
154
uint32_t
sensorHandle
= va_arg(args, uint32_t);
160
*retValP = sensorRequestRateChange(0,
sensorHandle
, newRate, newLatency);
166
uint32_t
sensorHandle
= va_arg(args, uint32_t);
168
*retValP = sensorRelease(0,
sensorHandle
);
174
uint32_t
sensorHandle
= va_arg(args, uint32_t);
176
*retValP = sensorTriggerOndemand(0,
sensorHandle
);
181
uint32_t
sensorHandle
= va_arg(args, uint32_t);
183
*retValP = sensorGetCurRate(
sensorHandle
);
[
all
...]
hostIntf.c
86
uint32_t
sensorHandle
;
518
if (sensor->
sensorHandle
== 0 && !buffer->firstSample.biasPresent && !buffer->firstSample.numFlushes) {
[
all
...]
/device/google/contexthub/firmware/src/drivers/hall/
hall.c
56
uint32_t
sensorHandle
;
154
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0);
159
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0);
173
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency);
212
mTask.
sensorHandle
= sensorRegister(&mSensorInfo, &mSensorOps, NULL, true);
226
sensorUnregister(mTask.
sensorHandle
);
/device/google/contexthub/firmware/src/drivers/hall_twopole/
hall_twopole.c
66
uint32_t
sensorHandle
;
175
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0);
180
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0);
189
return sensorSignalInternalEvt(mTask.
sensorHandle
, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency);
228
mTask.
sensorHandle
= sensorRegister(&mSensorInfo, &mSensorOps, NULL, true);
248
sensorUnregister(mTask.
sensorHandle
);
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 94 milliseconds