Lines Matching refs:Callback
16 // Callback object to be passed to brilloaudioservice.
23 #include <base/callback.h>
38 // |callback| is an object of type BAudioCallback.
40 AudioServiceCallback(const BAudioCallback* callback, void* user_data);
42 // Callback function triggered when a device is connected.
47 // Callback function triggered when a device is disconnected.
52 // Callback function triggered when volume is changed.
61 // |callback| is a ref counted pointer to a AudioServiceCallback object to be
64 // Returns true if |callback| equals this.
65 bool Equals(const android::sp<AudioServiceCallback>& callback);
68 // Callback when devices are connected.
69 base::Callback<void(const BAudioDeviceInfo*, void*)> connected_callback_;
70 // Callback when devices are disconnected.
71 base::Callback<void(const BAudioDeviceInfo*, void*)> disconnected_callback_;
72 // Callback when the volume button is pressed.
73 base::Callback<void(BAudioUsage, int, int, void*)> volume_callback_;