From d6e4f03acf5fa1e76b75e33af7a26f248a92be9a Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 28 Nov 2016 18:37:07 -0800 Subject: Remove HIDL_GENERATED from things written by hand. find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {} + They now match what would be generated by -Lc++-impl. This prevents confusion over whether or not the files are autogenerated. Change-Id: I4aa89a39907024aa9525df71ff3715979f431357 Similar commit: https://android-review.googlesource.com/#/c/305996/ Test: pass --- broadcastradio/1.0/default/BroadcastRadio.h | 6 +++--- broadcastradio/1.0/default/BroadcastRadioFactory.h | 6 +++--- broadcastradio/1.0/default/Tuner.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'broadcastradio') diff --git a/broadcastradio/1.0/default/BroadcastRadio.h b/broadcastradio/1.0/default/BroadcastRadio.h index dbd6e0777..6764d82a0 100644 --- a/broadcastradio/1.0/default/BroadcastRadio.h +++ b/broadcastradio/1.0/default/BroadcastRadio.h @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_ -#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_ +#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H +#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H #include #include @@ -68,4 +68,4 @@ private: } // namespace hardware } // namespace android -#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_ +#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H diff --git a/broadcastradio/1.0/default/BroadcastRadioFactory.h b/broadcastradio/1.0/default/BroadcastRadioFactory.h index 9b2ca17ef..97f7f554f 100644 --- a/broadcastradio/1.0/default/BroadcastRadioFactory.h +++ b/broadcastradio/1.0/default/BroadcastRadioFactory.h @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_ -#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_ +#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H +#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H #include #include @@ -40,4 +40,4 @@ extern "C" IBroadcastRadioFactory* HIDL_FETCH_IBroadcastRadioFactory(const char* } // namespace hardware } // namespace android -#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_ +#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H diff --git a/broadcastradio/1.0/default/Tuner.h b/broadcastradio/1.0/default/Tuner.h index 94e216e57..a621d974f 100644 --- a/broadcastradio/1.0/default/Tuner.h +++ b/broadcastradio/1.0/default/Tuner.h @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_ -#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_ +#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H +#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H #include #include @@ -64,4 +64,4 @@ struct Tuner : public ITuner { } // namespace hardware } // namespace android -#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_ +#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H -- cgit v1.2.3