Searched refs:sensorManager (Results 1 – 3 of 3) sorted by relevance
/device/google/bramble/vibrator/drv2624/ |
D | Vibrator.cpp | 94 ASensorManager *sensorManager = nullptr; in PollGSensor() local 100 sensorManager = ASensorManager_getInstanceForPackage(""); in PollGSensor() 101 if (!sensorManager) { in PollGSensor() 106 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 115 ASensorManager_createEventQueue(sensorManager, looper, 0, GSensorCallback, &context); in PollGSensor() 130 if (sensorManager != nullptr && context.queue != nullptr) { in PollGSensor() 132 ASensorManager_destroyEventQueue(sensorManager, context.queue); in PollGSensor()
|
/device/google/barbet/vibrator/drv2624/ |
D | Vibrator.cpp | 98 ASensorManager *sensorManager = nullptr; in PollGSensor() local 104 sensorManager = ASensorManager_getInstanceForPackage(""); in PollGSensor() 105 if (!sensorManager) { in PollGSensor() 109 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 121 ASensorManager_createEventQueue(sensorManager, looper, 0, GSensorCallback, &context); in PollGSensor() 133 if (sensorManager != nullptr && context.queue != nullptr) { in PollGSensor() 135 ASensorManager_destroyEventQueue(sensorManager, context.queue); in PollGSensor()
|
/device/google/redfin/vibrator/drv2624/ |
D | Vibrator.cpp | 94 ASensorManager *sensorManager = nullptr; in PollGSensor() local 100 sensorManager = ASensorManager_getInstanceForPackage(""); in PollGSensor() 101 if (!sensorManager) { in PollGSensor() 106 GSensor = ASensorManager_getDefaultSensor(sensorManager, ASENSOR_TYPE_GRAVITY); in PollGSensor() 115 ASensorManager_createEventQueue(sensorManager, looper, 0, GSensorCallback, &context); in PollGSensor() 130 if (sensorManager != nullptr && context.queue != nullptr) { in PollGSensor() 132 ASensorManager_destroyEventQueue(sensorManager, context.queue); in PollGSensor()
|