Skip to content
Snippets Groups Projects
  1. Apr 03, 2024
  2. Jan 24, 2024
  3. Dec 22, 2023
  4. Dec 21, 2023
  5. Nov 30, 2023
    • Peiyong Lin's avatar
      [Reland] Add API support for GPU work duration report in ADPF. · 70de085b
      Peiyong Lin authored
      Previously we introduced the reportActualWorkDuration API without
      specifying the work duration for each components, this patch introduces
      a separate API that allows clients to send work duration with each
      component to allow fine grained scheduling strategy.
      
      Bug: b/284324521
      Test: atest PerformanceHintNativeTestCases
      Test: atest PerformanceHintManagerTest
      Test: atest HintManagerServiceTest
      Change-Id: I7c6712267dc90ca2ce9b2cc54c640820343f6931
      70de085b
  6. Nov 20, 2023
  7. Nov 15, 2023
  8. Nov 11, 2023
    • Peiyong Lin's avatar
      Add API support for GPU work duration report in ADPF. · c35d1f8d
      Peiyong Lin authored
      Previously we introduced the reportActualWorkDuration API without
      specifying the work duration for each components, this patch introduces
      a separate API that allows clients to send work duration with each
      component to allow fine grained scheduling strategy.
      
      Bug: b/284324521
      Test: atest PerformanceHintNativeTestCases
      Test: atest PerformanceHintManagerTest
      Test: atest HintManagerServiceTest
      Change-Id: Id7261b9b5779cf618d1a611e66240602c36e06d0
      c35d1f8d
  9. Oct 30, 2023
  10. Sep 28, 2023
  11. Sep 12, 2023
  12. Aug 28, 2023
  13. Aug 23, 2023
  14. Aug 18, 2023
  15. Aug 17, 2023
  16. Aug 09, 2023
  17. Aug 08, 2023
    • Matt Buckley's avatar
      Add plumbing for ADPF Power Efficiency hint · 423c1b36
      Matt Buckley authored
      These patches introduce a new power efficiency mode for hint sessions
      to the public API, and internally expose a new setMode API for hint
      sessions that resembles the setMode API for iPower, to control
      different session operating modes.
      
      This set of patches:
       - Updates the PowerHAL AIDL to version 5, and updates relevant bp files
       - Exposes new setPreferPowerEfficiency(bool enabled) method from the
       SDK and NDK
       - Exposes new setMode(int mode, bool enabled) method from PowerHAL AIDL
       and HintManagerService
       - Adds support for new setMode call in PowerHAL
      
      Bug: b/288117936
      Test: atest cts/tests/tests/os/src/android/os/cts/PerformanceHintManagerTest.java
      Test: atest HintManagerServiceTest
      Change-Id: Ia1349e1bd8c4c85276788892b69897b5ef267c03
      423c1b36
  18. Jul 31, 2023
  19. Jul 26, 2023
  20. Jul 20, 2023
  21. Jul 10, 2023
  22. Jul 05, 2023
  23. Jun 01, 2023
    • Nate Fischer's avatar
      WebView: remove OWNERS · 0c5296c6
      Nate Fischer authored
      No change to logic. This updates the WebView team's OWNERS files. This
      also adds our buganizer component (this was already visible in
      cts/tests/tests/webkit/OWNERS).
      
      Test: N/A
      Change-Id: I65dca15fd5f312cb401e0ab556d146f73b14cdf7
      0c5296c6
  24. May 26, 2023
  25. May 02, 2023
    • Prabir Pradhan's avatar
      Clean up KeyEvent JNI APIs · f5c06a17
      Prabir Pradhan authored
      Directly return a KeyEvent from KeyEvent_toNative, and change the
      KeyEvent parameter from a pointer to a reference in KeyEvent_fromNative.
      
      Bug: 279927189
      Bug: 245989146
      Test: Presubmit
      Change-Id: I9c98700ea4645c6c4cb975fabfa25d1ff959bfc3
      f5c06a17
  26. Apr 29, 2023
    • Austin Borger's avatar
      UidObserver / Camera: Track the OOM adj of a uid via UidObserver. · 690c1ed1
      Austin Borger authored
      Previously, onUidProcAdjChanged merely signaled that the OOM adj of a
      uid changed, but did not provide the actual OOM adj score. Having this
      information allows the camera service to cut out redundant calls to
      onCameraAccessPrioritiesChanged and avoid overwhelming apps.
      
      The number of calls to onCameraAccessPrioritiesChanged is reduced by
      only signaling when it's likely the uid owning a camera would lose
      access to it if another uid tried to open that camera. This is opposed
      to the status quo, which signals every time a watched uid changes its
      OOM adj, which is highly inefficient.
      
      Bug: 274486653
      Test: -- on physical device:
            -- testCamera2AccessCallbackInSplitMode x10
            -- ActivityManagerServiceTest
            -- ActivityManagerProcessStateTest
            -- ActivityManagerFgsBgStartTest
            -- UidObserverControllerTest
            -- Alternate focus in split screen between Camera2 + GCA x20
      Change-Id: I994bf56d8e1687460149626a3a658851ca9513c4
      690c1ed1
  27. Apr 12, 2023
  28. Mar 30, 2023
  29. Mar 28, 2023
  30. Mar 24, 2023
  31. Mar 16, 2023
  32. Mar 14, 2023
    • Sam Gao's avatar
      Remove usage of mFileName in ObbInfo · 5a4db981
      Sam Gao authored
      
      This field was not being set but was used in storage_manager.cpp:89,
      which constructed a String16 using the nullptr. This internally
      calls strlen on the null pointer, which causes a seg fault. Since
      mFileName is not being set and getFileName has no other callsites,
      remove the field altogether so nobody else tries to use it and pass
      in the expected value at its only callsite.
      
      Test: Calling AStorageManager_mountObb from NDK does not result in
      a crash.
      
      Signed-off-by: default avatarSam Gao <ssgao@meta.com>
      
      Upstream from Meta.
      
      Change-Id: I4374148f466dacd62c659d3c94fd309674cb2d34
      5a4db981
  33. Mar 10, 2023
  34. Mar 03, 2023
  35. Feb 14, 2023
  36. Feb 07, 2023
    • Matt Buckley's avatar
      Revert "Use "SessionHint" enum in ndk API" · 712f58a6
      Matt Buckley authored
      Revert submission 21161765-sessionhint_api
      
      Reason for revert: this broke the main-finalization-1 build... somehow. see b/268111957
      
      Reverted changes: /q/submissionid:21161765-sessionhint_api
      
      Change-Id: I23ca8da4957aa030d7788d22fc946259e34ee3cf
      712f58a6
Loading