blob: 10545485ed931f56cc1f1dfc2f2709384dd261bf [file] [log] [blame]
Scott Randolph46bc1282017-07-27 18:26:27 -07001#ifndef ANDROID_HARDWARE_AUTOMOTIVE_AUDIOCONTROL_V1_0_AUDIOCONTROLCALLBACK_H
2#define ANDROID_HARDWARE_AUTOMOTIVE_AUDIOCONTROL_V1_0_AUDIOCONTROLCALLBACK_H
3
4#include <android/hardware/automotive/audiocontrol/1.0/IAudioControlCallback.h>
5#include <hidl/MQDescriptor.h>
6#include <hidl/Status.h>
7
8namespace android {
9namespace hardware {
10namespace automotive {
11namespace audiocontrol {
12namespace V1_0 {
13namespace implementation {
14
15using ::android::hardware::hidl_array;
16using ::android::hardware::hidl_memory;
17using ::android::hardware::hidl_string;
18using ::android::hardware::hidl_vec;
19using ::android::hardware::Return;
20using ::android::hardware::Void;
21using ::android::sp;
22
23// TODO: Move this into packages/services/Car...
24struct AudioControlCallback : public IAudioControlCallback {
25 // Methods from ::android::hardware::automotive::audiocontrol::V1_0::IAudioControlCallback follow.
26 Return<void> suggestPausePlayers() override;
27 Return<void> suggestStopPlayers() override;
28 Return<void> resumePlayers() override;
29
30 // Methods from ::android::hidl::base::V1_0::IBase follow.
31
32};
33
34} // namespace implementation
35} // namespace V1_0
36} // namespace audiocontrol
37} // namespace automotive
38} // namespace hardware
39} // namespace android
40
41#endif // ANDROID_HARDWARE_AUTOMOTIVE_AUDIOCONTROL_V1_0_AUDIOCONTROLCALLBACK_H