Searched refs:GSensor (Results 1 – 3 of 3) sorted by relevance
/device/google/bramble/vibrator/drv2624/ |
D | Vibrator.cpp | 95 ASensorRef GSensor; in PollGSensor() local 106 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 107 if (GSensor == nullptr) { in PollGSensor() 117 err = ASensorEventQueue_registerSensor(context.queue, GSensor, 0, 0); in PollGSensor() 131 ASensorEventQueue_disableSensor(context.queue, GSensor); in PollGSensor()
|
/device/google/barbet/vibrator/drv2624/ |
D | Vibrator.cpp | 99 ASensorRef GSensor; in PollGSensor() local 109 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 110 if (GSensor == nullptr) { in PollGSensor() 123 err = ASensorEventQueue_registerSensor(context.queue, GSensor, 0, 0); in PollGSensor() 134 ASensorEventQueue_disableSensor(context.queue, GSensor); in PollGSensor()
|
/device/google/redfin/vibrator/drv2624/ |
D | Vibrator.cpp | 95 ASensorRef GSensor; in PollGSensor() local 106 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 107 if (GSensor == nullptr) { in PollGSensor() 117 err = ASensorEventQueue_registerSensor(context.queue, GSensor, 0, 0); in PollGSensor() 131 ASensorEventQueue_disableSensor(context.queue, GSensor); in PollGSensor()
|