- Mar 24, 2023
-
-
Martin Stjernholm authored
The latter doesn't allow non-empty methods on a single line. This is the same in both C++ and Java. Test CL: https://r.android.com/2507738 #codehealth Test: repo upload on a file with a short non-empty class method in C++ and Java formatted on multiple lines by clang-format. Test: repo upload on a file with a short empty class method in C++ and Java formatted on a single line by clang-format. Bug: 123456789 Change-Id: I9795cd753f0f31be97652859f5bd8b5ce3427c55
-
- Nov 15, 2022
-
-
Martin Stjernholm authored
Taken from https://source.android.com/docs/setup/contribute/code-style#order-import-statements. #codehealth Test: clang-format on http://ag/20333208 Change-Id: I1378293bbc0a6b7a3482f9bd0beb71f95e11809d
-
- Jul 18, 2020
-
-
Garfield Tan authored
Copy and paste internal setup to AOSP. Not include folders not in AOSP yet. Bug: None Test: repo upload Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05 Merged-In: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
-
- Dec 10, 2019
-
-
Siarhei Vishniakou authored
Currently, there is no format enforcement for hid command. Add clang-format hook for all input-related code in frameworks/base. Bug: None Test: repo upload Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
-