Scott Randolph | 46bc128 | 2017-07-27 18:26:27 -0700 | [diff] [blame] | 1 | #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 | |
| 8 | namespace android { |
| 9 | namespace hardware { |
| 10 | namespace automotive { |
| 11 | namespace audiocontrol { |
| 12 | namespace V1_0 { |
| 13 | namespace implementation { |
| 14 | |
| 15 | using ::android::hardware::hidl_array; |
| 16 | using ::android::hardware::hidl_memory; |
| 17 | using ::android::hardware::hidl_string; |
| 18 | using ::android::hardware::hidl_vec; |
| 19 | using ::android::hardware::Return; |
| 20 | using ::android::hardware::Void; |
| 21 | using ::android::sp; |
| 22 | |
| 23 | // TODO: Move this into packages/services/Car... |
| 24 | struct 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 |