| /device/google/contexthub/firmware/os/drivers/hall/ | 
| D | hall.c | 64 static void debounceTimerCallback(uint32_t timerId, void *cookie)  in debounceTimerCallback()136 static bool hallPower(bool on, void *cookie)  in hallPower()
 157 static bool hallFirmwareUpload(void *cookie)  in hallFirmwareUpload()
 162 static bool hallSetRate(uint32_t rate, uint64_t latency, void *cookie)  in hallSetRate()
 176 static bool hallFlush(void *cookie)  in hallFlush()
 181 static bool hallSendLastSample(void *cookie, uint32_t tid)  in hallSendLastSample()
 
 | 
| /device/google/contexthub/firmware/app/chre/common/ | 
| D | chre11_app_syscalls.c | 67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot)  in chreTimerSet()194 …sLocationSessionStartAsync(uint32_t minIntervalMs, uint32_t minTimeToNextFixMs, const void *cookie)  in chreGnssLocationSessionStartAsync()
 199 bool chreGnssLocationSessionStopAsync(const void *cookie)  in chreGnssLocationSessionStopAsync()
 204 bool chreGnssMeasurementSessionStartAsync(uint32_t minIntervalMs, const void *cookie)  in chreGnssMeasurementSessionStartAsync()
 209 bool chreGnssMeasurementSessionStopAsync(const void *cookie)  in chreGnssMeasurementSessionStopAsync()
 219 bool chreWifiConfigureScanMonitorAsync(bool enable, const void *cookie)  in chreWifiConfigureScanMonitorAsync()
 224 bool chreWifiRequestScanAsync(const struct chreWifiScanParams *params, const void *cookie)  in chreWifiRequestScanAsync()
 234 bool chreWwanGetCellInfoAsync(const void *cookie)  in chreWwanGetCellInfoAsync()
 
 | 
| D | chre_app_syscalls.c | 67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot)  in chreTimerSet()204 …sLocationSessionStartAsync(uint32_t minIntervalMs, uint32_t minTimeToNextFixMs, const void *cookie)  in chreGnssLocationSessionStartAsync()
 209 bool chreGnssLocationSessionStopAsync(const void *cookie)  in chreGnssLocationSessionStopAsync()
 214 bool chreGnssMeasurementSessionStartAsync(uint32_t minIntervalMs, const void *cookie)  in chreGnssMeasurementSessionStartAsync()
 219 bool chreGnssMeasurementSessionStopAsync(const void *cookie)  in chreGnssMeasurementSessionStopAsync()
 234 bool chreWifiConfigureScanMonitorAsync(bool enable, const void *cookie)  in chreWifiConfigureScanMonitorAsync()
 239 bool chreWifiRequestScanAsync(const struct chreWifiScanParams *params, const void *cookie)  in chreWifiRequestScanAsync()
 249 bool chreWwanGetCellInfoAsync(const void *cookie)  in chreWwanGetCellInfoAsync()
 
 | 
| /device/google/contexthub/firmware/os/drivers/bosch_bmp280/ | 
| D | bosch_bmp280.c | 253 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()266 static void baroTimerCallback(uint32_t timerId, void *cookie)  in baroTimerCallback()
 271 static void tempTimerCallback(uint32_t timerId, void *cookie)  in tempTimerCallback()
 276 static void softresetCallback(uint32_t timerId, void *cookie)  in softresetCallback()
 311 static bool sensorPowerBaro(bool on, void *cookie)  in sensorPowerBaro()
 357 static bool sensorFirmwareBaro(void *cookie)  in sensorFirmwareBaro()
 362 static bool sensorRateBaro(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateBaro()
 370 static bool sensorFlushBaro(void *cookie)  in sensorFlushBaro()
 375 static bool sensorCalibrateBaro(void *cookie)  in sensorCalibrateBaro()
 394 static bool sensorCfgDataBaro(void *data, void *cookie)  in sensorCfgDataBaro()
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/drivers/ams_tmd2772/ | 
| D | ams_tmd2772.c | 217 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()264 static void alsTimerCallback(uint32_t timerId, void *cookie)  in alsTimerCallback()
 269 static void proxTimerCallback(uint32_t timerId, void *cookie)  in proxTimerCallback()
 321 static bool sensorPowerAls(bool on, void *cookie)  in sensorPowerAls()
 338 static bool sensorFirmwareAls(void *cookie)  in sensorFirmwareAls()
 344 static bool sensorRateAls(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateAls()
 360 static bool sensorFlushAls(void *cookie)  in sensorFlushAls()
 365 static bool sendLastSampleAls(void *cookie, uint32_t tid) {  in sendLastSampleAls()
 376 static bool sensorPowerProx(bool on, void *cookie)  in sensorPowerProx()
 393 static bool sensorFirmwareProx(void *cookie)  in sensorFirmwareProx()
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/drivers/hall_twopole/ | 
| D | hall_twopole.c | 84 static void debounceTimerCallback(uint32_t timerId, void *cookie)  in debounceTimerCallback()153 static bool hallPower(bool on, void *cookie)  in hallPower()
 178 static bool hallFirmwareUpload(void *cookie)  in hallFirmwareUpload()
 183 static bool hallSetRate(uint32_t rate, uint64_t latency, void *cookie)  in hallSetRate()
 192 static bool hallFlush(void *cookie)  in hallFlush()
 197 static bool hallSendLastSample(void *cookie, uint32_t tid)  in hallSendLastSample()
 
 | 
| /device/google/contexthub/firmware/os/drivers/bosch_bmi160/ | 
| D | bosch_bmi160.c | 870         SpiCbkF callback, void *cookie, const char * src)930 static void sensorSpiCallback(void *cookie, int err)
 961 static bool accFirmwareUpload(void *cookie)
 968 static bool gyrFirmwareUpload(void *cookie)
 976 static bool magFirmwareUpload(void *cookie)
 984 static bool stepFirmwareUpload(void *cookie)
 991 static bool doubleTapFirmwareUpload(void *cookie)
 998 static bool noMotionFirmwareUpload(void *cookie)
 1005 static bool anyMotionFirmwareUpload(void *cookie)
 1012 static bool flatFirmwareUpload(void *cookie)
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/platform/native/ | 
| D | i2c.c | 41         I2cCallbackF callback, void *cookie)  in i2cMasterTxRx()57         I2cCallbackF callback, void *cookie)  in i2cSlaveEnableRx()
 62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie)  in i2cSlaveTxPreamble()
 67 …cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie)  in i2cSlaveTxPacket()
 
 | 
| /device/google/contexthub/firmware/os/drivers/si_si7034/ | 
| D | si7034a10.c | 164 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()262 static bool humiPower(bool on, void *cookie)  in humiPower()
 276 static bool humiFwUpload(void *cookie)  in humiFwUpload()
 284 static bool humiSetRate(uint32_t rate, uint64_t latency, void *cookie)  in humiSetRate()
 298 static bool humiFlush(void *cookie)  in humiFlush()
 303 static bool tempPower(bool on, void *cookie)  in tempPower()
 317 static bool tempFwUpload(void *cookie)  in tempFwUpload()
 325 static bool tempSetRate(uint32_t rate, uint64_t latency, void *cookie)  in tempSetRate()
 339 static bool tempFlush(void *cookie)  in tempFlush()
 
 | 
| /device/google/contexthub/firmware/os/drivers/ams_tmd4903/ | 
| D | ams_tmd4903.c | 369 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()382 static void alsTimerCallback(uint32_t timerId, void *cookie)  in alsTimerCallback()
 477 static bool sensorPowerAls(bool on, void *cookie)  in sensorPowerAls()
 500 static bool sensorFirmwareAls(void *cookie)  in sensorFirmwareAls()
 505 static bool sensorRateAls(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateAls()
 515 static bool sensorFlushAls(void *cookie)  in sensorFlushAls()
 520 static bool sensorCalibrateAls(void *cookie)  in sensorCalibrateAls()
 545 static bool sensorCfgDataAls(void *data, void *cookie)  in sensorCfgDataAls()
 556 static bool sendLastSampleAls(void *cookie, uint32_t tid) {  in sendLastSampleAls()
 567 static bool sensorPowerProx(bool on, void *cookie)  in sensorPowerProx()
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ | 
| D | rohm_rpr0521.c | 299 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()312 static void alsTimerCallback(uint32_t timerId, void *cookie)  in alsTimerCallback()
 427 static bool sensorPowerAls(bool on, void *cookie)  in sensorPowerAls()
 445 static bool sensorFirmwareAls(void *cookie)  in sensorFirmwareAls()
 450 static bool sensorRateAls(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateAls()
 460 static bool sensorFlushAls(void *cookie)  in sensorFlushAls()
 465 static bool sendLastSampleAls(void *cookie, uint32_t tid) {  in sendLastSampleAls()
 476 static bool sensorPowerProx(bool on, void *cookie)  in sensorPowerProx()
 495 static bool sensorFirmwareProx(void *cookie)  in sensorFirmwareProx()
 500 static bool sensorRateProx(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateProx()
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/drivers/intersil_isl29034/ | 
| D | isl29034.c | 169 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()216 static void alsTimerCallback(uint32_t timerId, void *cookie)  in alsTimerCallback()
 229 static bool sensorPowerAls(bool on, void *cookie)  in sensorPowerAls()
 249 static bool sensorFirmwareAls(void *cookie)  in sensorFirmwareAls()
 255 static bool sensorRateAls(uint32_t rate, uint64_t latency, void *cookie)  in sensorRateAls()
 271 static bool sensorFlushAls(void *cookie)  in sensorFlushAls()
 276 static bool sendLastSampleAls(void *cookie, uint32_t tid)  in sendLastSampleAls()
 
 | 
| /device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ | 
| D | st_lsm6dsm.c | 1333 static void lsm6dsm_spiBatchTxRx(struct SpiMode *mode, SpiCbkF callback, void *cookie, const char *…  in lsm6dsm_spiBatchTxRx()1385 static void lsm6dsm_spiCallback(void *cookie, int err)  in lsm6dsm_spiCallback()
 2550 static bool lsm6dsm_setAccelPower(bool on, void *cookie)  in lsm6dsm_setAccelPower()
 2583 static bool lsm6dsm_setGyroPower(bool on, void *cookie)  in lsm6dsm_setGyroPower()
 2620 static bool lsm6dsm_setMagnPower(bool on, void *cookie)  in lsm6dsm_setMagnPower()
 2679 static bool lsm6dsm_setPressPower(bool on, void *cookie)  in lsm6dsm_setPressPower()
 2756 static bool lsm6dsm_setTempPower(bool on, void *cookie)  in lsm6dsm_setTempPower()
 2834 static bool lsm6dsm_setStepDetectorPower(bool on, void *cookie)  in lsm6dsm_setStepDetectorPower()
 2884 static bool lsm6dsm_setStepCounterPower(bool on, void *cookie)  in lsm6dsm_setStepCounterPower()
 2935 static bool lsm6dsm_setSignMotionPower(bool on, void *cookie)  in lsm6dsm_setSignMotionPower()
 [all …]
 
 | 
| /device/google/contexthub/firmware/os/drivers/st_lps22hb/ | 
| D | lps22hb.c | 235 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()351 static bool baroPower(bool on, void *cookie)  in baroPower()
 384 static bool baroFwUpload(void *cookie)  in baroFwUpload()
 389 static bool baroSetRate(uint32_t rate, uint64_t latency, void *cookie)  in baroSetRate()
 403 static bool baroFlush(void *cookie)  in baroFlush()
 408 static bool baroCalibrate(void *cookie)  in baroCalibrate()
 427 static bool baroCfgData(void *data, void *cookie)  in baroCfgData()
 448 static bool tempPower(bool on, void *cookie)  in tempPower()
 481 static bool tempFwUpload(void *cookie)  in tempFwUpload()
 486 static bool tempSetRate(uint32_t rate, uint64_t latency, void *cookie)  in tempSetRate()
 [all …]
 
 | 
| /device/google/trout/hal/vehicle/2.0/ | 
| D | DefaultVehicleHalServer.cpp | 146             int32_t cookie = v.int32Values[1];  in handleGenerateFakeDataRequest()  local157             int32_t cookie = std::hash<std::string>()(v.stringValue);  in handleGenerateFakeDataRequest()  local
 168             int32_t cookie = v.int32Values[1];  in handleGenerateFakeDataRequest()  local
 178             int32_t cookie = std::hash<std::string>()(v.stringValue);  in handleGenerateFakeDataRequest()  local
 
 | 
| /device/google/contexthub/firmware/os/core/ | 
| D | hostIntfI2c.c | 25 static void hostIntfI2cPreambleCallback(void *cookie, size_t tx, size_t rx, int err)  in hostIntfI2cPreambleCallback()29 static void hostIntfI2cRxCallback(void *cookie, size_t tx, size_t rx, int err)  in hostIntfI2cRxCallback()
 37 static void hostIntfI2cTxCallback(void *cookie, size_t tx, size_t rx, int err)  in hostIntfI2cTxCallback()
 
 | 
| D | spi.c | 157     void *cookie = state->rxTxCookie;  in spiMasterDone()  local215     void *cookie = state->finishCookie;  in spiSlaveCsInactive()  local
 248     void *cookie = state->rxTxCookie;  in spiSlaveIdle()  local
 275         SpiCbkF callback, void *cookie)  in spiSetupRxTx()
 319         void *cookie)  in spiMasterRxTx()
 389         SpiCbkF callback, void *cookie)  in spiSlaveRxTx()
 408         void *cookie)  in spiSlaveWaitForInactive()
 
 | 
| /device/google/contexthub/firmware/os/drivers/vsync/ | 
| D | vsync.c | 154 static bool vsyncPower(bool on, void *cookie)  in vsyncPower()171 static bool vsyncFirmwareUpload(void *cookie)  in vsyncFirmwareUpload()
 176 static bool vsyncSetRate(uint32_t rate, uint64_t latency, void *cookie)  in vsyncSetRate()
 182 static bool vsyncFlush(void *cookie)  in vsyncFlush()
 
 | 
| /device/generic/vulkan-cereal/fake-android-guest/cutils/ | 
| D | trace.h | 209 #define ATRACE_ASYNC_BEGIN(name, cookie) \  argument212         int32_t cookie)  in atrace_async_begin()
 224 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)  argument
 225 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie)  in atrace_async_end()
 
 | 
| /device/google/contexthub/firmware/os/drivers/leds/ | 
| D | leds_lp3943.c | 112 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()190 static bool sensorLP3943Power(bool on, void *cookie)  in sensorLP3943Power()
 200 static bool sensorLP3943FwUpload(void *cookie)  in sensorLP3943FwUpload()
 205 static bool sensorLP3943SetRate(uint32_t rate, uint64_t latency, void *cookie)  in sensorLP3943SetRate()
 216 static bool sensorCfgDataLedsLP3943(void *cfg, void *cookie)  in sensorCfgDataLedsLP3943()
 
 | 
| D | leds_gpio.c | 85 static bool sensorLedsPower(bool on, void *cookie)  in sensorLedsPower()95 static bool sensorLedsFwUpload(void *cookie)  in sensorLedsFwUpload()
 100 static bool sensorLedsSetRate(uint32_t rate, uint64_t latency, void *cookie)  in sensorLedsSetRate()
 
 | 
| /device/google/contexthub/firmware/os/drivers/tilt_detection/ | 
| D | tilt_detection.c | 188 static bool tiltDetectionPower(bool on, void *cookie)  in tiltDetectionPower()205 static bool tiltDetectionSetRate(uint32_t rate, uint64_t latency, void *cookie)  in tiltDetectionSetRate()
 212 static bool tiltDetectionFirmwareUpload(void *cookie)  in tiltDetectionFirmwareUpload()
 219 static bool tiltDetectionFlush(void *cookie)  in tiltDetectionFlush()
 
 | 
| /device/google/contexthub/contexthubhal/ | 
| D | legacyhal.cpp | 24 static int legacy_cbk(uint32_t hub_id, const HubMessage &rxMsg, void *cookie)  in legacy_cbk()29 static int legacy_subscribe_messages(uint32_t hub_id, context_hub_callback *cbk, void *cookie)  in legacy_subscribe_messages()
 
 | 
| /device/google/contexthub/firmware/os/inc/ | 
| D | i2c.h | 35         const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie)  in i2cMasterTx()39         void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie)  in i2cMasterRx()
 
 | 
| /device/google/contexthub/firmware/os/drivers/synaptics_s3708/ | 
| D | synaptics_s3708.c | 187 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err)  in i2cCallback()205 static void retryTimerCallback(uint32_t timerId, void *cookie)  in retryTimerCallback()
 360 static bool callbackPower(bool on, void *cookie)  in callbackPower()
 398 static bool callbackFirmwareUpload(void *cookie)  in callbackFirmwareUpload()
 403 static bool callbackSetRate(uint32_t rate, uint64_t latency, void *cookie)  in callbackSetRate()
 408 static bool callbackFlush(void *cookie)  in callbackFlush()
 
 |