Searched refs:bubble_level (Results 1 - 4 of 4) sorted by relevance

/device/samsung/manta/bubblelevel/
H A DBubbleLevel.h51 struct bubble_level *bubble_level_create();
52 void bubble_level_release(const struct bubble_level *bubble_level);
54 struct bubble_level struct
57 int (*set_callback)(const struct bubble_level *bubble_level,
60 int (*set_poll_interval)(const struct bubble_level *bubble_level,
63 int (*start_polling)(const struct bubble_level *bubble_level);
[all...]
H A DBubbleLevelImpl.cpp306 static int bl_set_callback(const struct bubble_level *bubble_level, argument
309 bubble_level_C_impl *bl = (bubble_level_C_impl *)bubble_level;
310 return bl->bubble_level->setCallback(callback, userData);
313 static int bl_set_poll_interval(const struct bubble_level *bubble_level, unsigned int seconds) argument
315 bubble_level_C_impl *bl = (bubble_level_C_impl *)bubble_level;
316 return bl->bubble_level->setPollInterval(seconds);
319 static int bl_start_polling(const struct bubble_level *bubble_level) argument
325 bl_stop_polling(const struct bubble_level *bubble_level) argument
331 bl_poll_once(const struct bubble_level *bubble_level) argument
355 bubble_level_release(const struct bubble_level *bubble_level) argument
[all...]
H A DBubbleLevelImpl.h141 struct bubble_level interface;
142 android::sp<android::BubbleLevelImpl> bubble_level; member in struct:bubble_level_C_impl
/device/samsung/manta/audio/
H A Daudio_hw.c148 struct bubble_level *bubble_level; member in struct:audio_device
620 if (!adev->bubble_level) {
621 adev->bubble_level = bubble_level_create();
622 if (adev->bubble_level)
623 adev->bubble_level->set_callback(adev->bubble_level, bubblelevel_callback, adev);
625 return (adev->bubble_level != NULL);
762 adev->bubble_level->poll_once(adev->bubble_level);
[all...]

Completed in 76 milliseconds