Loading .clang-tidy +16 −2 Original line number Diff line number Diff line --- CheckOptions: - key: misc-include-cleaner.IgnoreHeaders value: (fmt/.*|bits/pthread_types\.h) value: "(\ fmt/.*|\ bits/.*.h|\ asm-generic/.*.h|\ sys/poll.h|\ sys/endian.h|\ sys/ioctl.h|\ arpa/inet.h|\ linux/if.h|\ linux/sockios.h|\ netinet/in.h|\ osi/include/compat.h|\ android_bluetooth_sysprop.h|\ hfp.sysprop.h|\ __chrono/duration.h)" Android.bp +8 −2 Original line number Diff line number Diff line Loading @@ -85,6 +85,11 @@ bluetooth_tidy_checks = [ // This check implements detection of local variables which could be declared // as const but are not. "-misc-const-correctness", // Finds classes that contain non-static data members in addition to user-declared // non-static member functions and diagnose all data members declared with a // non-public access specifier. "-misc-non-private-member-variables-in-classes", ] // This default tidy checks that will be run against all the cc targets Loading Loading @@ -165,6 +170,7 @@ java_defaults { "-Xep:UnusedMethod:ERROR", "-Xep:UnusedNestedClass:ERROR", "-Xep:UnusedVariable:ERROR", "-Xep:VariableNameSameAsType:ERROR", "-Xep:WaitNotInLoop:ERROR", "-Xep:WakelockReleasedDangerously:ERROR", Loading @@ -172,8 +178,8 @@ java_defaults { "-XepExcludedPaths:.*/srcjars/.*", // The @InlineMe annotation could be made available, but it would // apply on external facing API. This is not desired. For more // context, see https://r.android.com/3303475 // apply on external facing API. This is not desired. // For more context, see https://r.android.com/3303475 "-Xep:InlineMeSuggester:OFF", ], }, Loading OWNERS +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ okamil@google.com #{LAST_RESORT_SUGGESTION} # Per-file ownership # Build files / test_config / presubmit / preupload / linter file per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml,pyrightconfig.json=file:/OWNERS_build per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml,.clang-tidy,pyrightconfig.json=file:/OWNERS_build # ChromeOS team owns Linux build files # - build.py is used for Linux build Loading OWNERS_hearingaid +1 −1 Original line number Diff line number Diff line charliebout@google.com henrichataing@google.com android/app/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ cc_library_shared { // is required to maintain FIPS compliance. stl: "libc++_static", static_libs: [ "aics", "android.hardware.audio.common@5.0", "android.hardware.bluetooth.audio@2.0", "android.hardware.bluetooth.audio@2.1", Loading Loading
.clang-tidy +16 −2 Original line number Diff line number Diff line --- CheckOptions: - key: misc-include-cleaner.IgnoreHeaders value: (fmt/.*|bits/pthread_types\.h) value: "(\ fmt/.*|\ bits/.*.h|\ asm-generic/.*.h|\ sys/poll.h|\ sys/endian.h|\ sys/ioctl.h|\ arpa/inet.h|\ linux/if.h|\ linux/sockios.h|\ netinet/in.h|\ osi/include/compat.h|\ android_bluetooth_sysprop.h|\ hfp.sysprop.h|\ __chrono/duration.h)"
Android.bp +8 −2 Original line number Diff line number Diff line Loading @@ -85,6 +85,11 @@ bluetooth_tidy_checks = [ // This check implements detection of local variables which could be declared // as const but are not. "-misc-const-correctness", // Finds classes that contain non-static data members in addition to user-declared // non-static member functions and diagnose all data members declared with a // non-public access specifier. "-misc-non-private-member-variables-in-classes", ] // This default tidy checks that will be run against all the cc targets Loading Loading @@ -165,6 +170,7 @@ java_defaults { "-Xep:UnusedMethod:ERROR", "-Xep:UnusedNestedClass:ERROR", "-Xep:UnusedVariable:ERROR", "-Xep:VariableNameSameAsType:ERROR", "-Xep:WaitNotInLoop:ERROR", "-Xep:WakelockReleasedDangerously:ERROR", Loading @@ -172,8 +178,8 @@ java_defaults { "-XepExcludedPaths:.*/srcjars/.*", // The @InlineMe annotation could be made available, but it would // apply on external facing API. This is not desired. For more // context, see https://r.android.com/3303475 // apply on external facing API. This is not desired. // For more context, see https://r.android.com/3303475 "-Xep:InlineMeSuggester:OFF", ], }, Loading
OWNERS +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ okamil@google.com #{LAST_RESORT_SUGGESTION} # Per-file ownership # Build files / test_config / presubmit / preupload / linter file per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml,pyrightconfig.json=file:/OWNERS_build per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml,.clang-tidy,pyrightconfig.json=file:/OWNERS_build # ChromeOS team owns Linux build files # - build.py is used for Linux build Loading
OWNERS_hearingaid +1 −1 Original line number Diff line number Diff line charliebout@google.com henrichataing@google.com
android/app/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ cc_library_shared { // is required to maintain FIPS compliance. stl: "libc++_static", static_libs: [ "aics", "android.hardware.audio.common@5.0", "android.hardware.bluetooth.audio@2.0", "android.hardware.bluetooth.audio@2.1", Loading