Skip to content
Snippets Groups Projects
  1. Jan 18, 2024
  2. Jan 02, 2024
  3. Dec 15, 2023
  4. Dec 14, 2023
    • Siim Sammul's avatar
      Change the way tombstones are added to dropbox. · a7e73e3c
      Siim Sammul authored
      Use the proto tombstone as source of truth and ignore the text
      tombstone. Instead create the text tombstone by omitting the memory data
      from the proto tombstone to save space on data that would get removed
      anyway. This allows us to save bandwidth and avoid truncating useful
      data from the tombstones.
      
      Test: atest BootReceiverTest
      Bug: 296207744
      
      Change-Id: I809122d3206ce326cbbbceadb45c3b98b9762a3e
      a7e73e3c
  5. Oct 20, 2023
  6. Oct 19, 2023
  7. Jun 09, 2023
  8. May 25, 2023
    • Tej Singh's avatar
      [Cherry-pick] Simplify platformprotos · 01bb6478
      Tej Singh authored
      Add atom enums & messages into libstats_internal_protos and remove them
      from the srcs of platformprotos
      
      Bug: 282129591
      Test: m platformprotos
      Merged-In: I442822184ae02429337ff903db630028902d4d4f
      Change-Id: I442822184ae02429337ff903db630028902d4d4f
      (cherry picked from commit 8095ea6e)
      01bb6478
  9. May 12, 2023
    • Tej Singh's avatar
      Simplify platformprotos · 8095ea6e
      Tej Singh authored
      Add atom enums & messages into libstats_internal_protos and remove them
      from the srcs of platformprotos
      
      Bug: 282129591
      Test: m platformprotos
      Change-Id: I442822184ae02429337ff903db630028902d4d4f
      8095ea6e
  10. Feb 04, 2023
  11. Sep 15, 2022
    • Aaron Huang's avatar
      Remove framework-connectivity-proto from platform · e840e7d9
      Aaron Huang authored
      In the generated javastream and cppsteam incident proto file,
      it defines the start position for netstats at 3001 and it doesn't
      actually use the NetworkStatsServiceDumpProto which is deinfed in
      netstats.proto.
      Thus, the framework-connectivity-proto can be removed from
      framework-javastream-protos and framework-cppstream-protos.
      
      The generated incident proto file defines netstats as the following,
      
          // optional .android.service.NetworkStatsServiceDumpProto netstats = 3001;
          public static final long NETSTATS = 0x0000010b00000bb9L;
      
      Furthermore, on Android side, this is not strictly proto dependency,
      and there's no one using this section, so it can be removed and mark
      it as reserved.
      
      Bug: 222625935
      Test: FrameworksNetTests
            atest CtsIncidentHostTestCases:IncidentdTest
            adb shell dumpsys netstats
      Change-Id: I3083a43a2f9c20768264ce2a531e0a0593f31697
      Merged-In: I3083a43a2f9c20768264ce2a531e0a0593f31697
      e840e7d9
  12. Sep 14, 2022
  13. Aug 19, 2022
    • Aaron Huang's avatar
      Remove framework-connectivity-proto from platform · 93239bf0
      Aaron Huang authored
      In the generated javastream and cppsteam incident proto file,
      it defines the start position for netstats at 3001 and it doesn't
      actually use the NetworkStatsServiceDumpProto which is deinfed in
      netstats.proto.
      Thus, the framework-connectivity-proto can be removed from
      framework-javastream-protos and framework-cppstream-protos.
      
      The generated incident proto file defines netstats as the following,
      
          // optional .android.service.NetworkStatsServiceDumpProto netstats = 3001;
          public static final long NETSTATS = 0x0000010b00000bb9L;
      
      Furthermore, on Android side, this is not strictly proto dependency,
      and there's no one using this section, so it can be removed and mark
      it as reserved.
      
      Bug: 222625935
      Test: FrameworksNetTests
            atest CtsIncidentHostTestCases:IncidentdTest
            adb shell dumpsys netstats
      Change-Id: I3083a43a2f9c20768264ce2a531e0a0593f31697
      93239bf0
  14. Jun 15, 2022
    • Vinh Tran's avatar
      Remove uses of depfile in gensrcs modules · 61e69fab
      Vinh Tran authored
      The depfile concept in Soong and Ninja isn't applicable in Bazel because Bazel requires listing the deps explicitly.
      
      This CL removes the uses of depfile property and explictly declare the implicit deps in tool_files. The motivation behind this change is to eventually deprecate depfile (aosp/2120835) in gensrcs to ensure all gensrcs modules are convertable to Bazel.
      
      Test: CI
      Test: m framework-cppstream-protos && m framework-javastream-protos
      Bug: 179452413
      Change-Id: Iec6b61b4194d3f1e728449ee63b879818d9c958a
      61e69fab
  15. Mar 07, 2022
    • Aaron Huang's avatar
      Fix proto invalid write type · 623fe199
      Aaron Huang authored
      While dumpProtoLocked is called, InvalidProtocolBufferException
      occurred because types are mismatched between platform side and
      module side.
      
      netstats.proto was moved into connectivity module, both the
      platform(incident.proto) and the module uses protoc-gen-javastream
      to generate the Java classes from it. It should be fine since
      platform includes the source of the proto, and jarjar the generated
      classess in the module to avoid conflict with platform.
      
      Bug: 218566849
      Test: adb shell incident 3001
            adb shell dumpsys netstats --proto
            atest CtsIncidentHostTestCases:IncidentdTest#testIncidentReportDumpAuto
      Change-Id: I4654350a59dc1ca1a925785ad37f34aa7b481235
      Merged-In: I4654350a59dc1ca1a925785ad37f34aa7b481235
      623fe199
    • Tyler Dewey's avatar
      Update build target names & code location for roleservice.proto usages · 4c5d89e6
      Tyler Dewey authored
      in framework.
      
      Bug: 217406624
      Test: built and flashed
      Change-Id: Ibcb924df059af5d518b7f6f80487a3fb57bd6623
      4c5d89e6
  16. Mar 04, 2022
    • Aaron Huang's avatar
      Fix proto invalid write type · d87c9cb2
      Aaron Huang authored
      While dumpProtoLocked is called, InvalidProtocolBufferException
      occurred because types are mismatched between platform side and
      module side.
      
      netstats.proto was moved into connectivity module, both the
      platform(incident.proto) and the module uses protoc-gen-javastream
      to generate the Java classes from it. It should be fine since
      platform includes the source of the proto, and jarjar the generated
      classess in the module to avoid conflict with platform.
      
      Bug: 218566849
      Test: adb shell incident 3001
            adb shell dumpsys netstats --proto
            atest CtsIncidentHostTestCases:IncidentdTest#testIncidentReportDumpAuto
      Change-Id: I4654350a59dc1ca1a925785ad37f34aa7b481235
      Merged-In: I4654350a59dc1ca1a925785ad37f34aa7b481235
      d87c9cb2
  17. Feb 15, 2022
    • Aaron Huang's avatar
      Fix proto invalid write type · 746f2aa0
      Aaron Huang authored
      While dumpProtoLocked is called, InvalidProtocolBufferException
      occurred because types are mismatched between platform side and
      module side.
      
      netstats.proto was moved into connectivity module, both the
      platform(incident.proto) and the module uses protoc-gen-javastream
      to generate the Java classes from it. It should be fine since
      platform includes the source of the proto, and jarjar the generated
      classess in the module to avoid conflict with platform.
      
      Bug: 218566849
      Test: adb shell incident 3001
            adb shell dumpsys netstats --proto
            atest CtsIncidentHostTestCases:IncidentdTest#testIncidentReportDumpAuto
      Change-Id: I4654350a59dc1ca1a925785ad37f34aa7b481235
      746f2aa0
  18. Jun 19, 2021
    • Cole Faust's avatar
      Use enabled: false to disable errorprone · 2fd661b2
      Cole Faust authored
      Enabled: false is more performant than -XepDisableAllChecks,
      as normally the module is built twice, once with and once
      without errorprone. Enabled: false will entirely remove
      the second build.
      
      Bug: 190944875
      Bug: 72714520
      Change-Id: Ie393f41a33e59dc4fd36b98ca2fd87f53c0f9785
      Test: Presumbits
      2fd661b2
  19. Apr 14, 2021
    • Dichen Zhang's avatar
      enum migration · 3e5dae9d
      Dichen Zhang authored
      Move proto messages out of enum/ directory.
      
      Test: make
      Bug: b/184754707
      Change-Id: Ia240c2608227c34d8caa0fa89d62a00bf2bb6908
      Merged-In: Ia240c2608227c34d8caa0fa89d62a00bf2bb6908
      3e5dae9d
  20. Apr 13, 2021
    • Dichen Zhang's avatar
      enum migration · c2ae00b8
      Dichen Zhang authored
      Move proto messages out of enum/ directory.
      
      Test: make
      Bug: b/184754707
      Change-Id: Ia240c2608227c34d8caa0fa89d62a00bf2bb6908
      c2ae00b8
  21. Apr 12, 2021
    • Anton Hansson's avatar
      Move framework proto build rules to separate file · 31fb58bd
      Anton Hansson authored
      The proto build rules are quite large and makes the top-level Android.bp
      file difficult to navigate. Move them to a separate file.
      
      Bug: 185128417
      Test: m
      Change-Id: I5719ba0fa8e03dcfca0cc32dc30db3f87ea4e3cd
      31fb58bd
    • Anton Hansson's avatar
      Move framework proto build rules to separate file · 92b6c725
      Anton Hansson authored
      The proto build rules are quite large and makes the top-level Android.bp
      file difficult to navigate. Move them to a separate file.
      
      Bug: 185128417
      Test: m
      Merged-In: I5719ba0fa8e03dcfca0cc32dc30db3f87ea4e3cd
      Change-Id: I5719ba0fa8e03dcfca0cc32dc30db3f87ea4e3cd
      92b6c725
Loading