Skip to content
Snippets Groups Projects
  1. Jan 24, 2024
    • Suprabh Shukla's avatar
      Restricting network for low-priority proc-states · e4a44bb9
      Suprabh Shukla authored
      Outside of power saving modes like battery saver and doze, network
      is freely available to any app that is in memory and can run code on
      the processor. However, networking is a power expensive resource and
      needs to be used judiciously.
      
      The platform policy will now restrict any apps that are in cached or
      nearby process-states that are not important to the user. Any user
      critical networking task must be done while being in active and valid
      lifecycle states only.
      The system will allow a grace period of few seconds to reduce any churn
      from quick proc-state transitions but apps should ideally not rely on
      this implementation detail.
      
      Apps that are in any of the power allowlists will be exempt from this
      restriction.
      
      Refactored some code to use more inclusive language.
      
      Test: atest FrameworksServicesTests:com.android.server.net
      Test: atest CtsHostsideNetworkTests
      
      BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing code
      
      Bug: 304347838
      Change-Id: I02d82dc88c46ee7eec7e428fd46d0a538481494d
      Merged-In: I02d82dc88c46ee7eec7e428fd46d0a538481494d
      e4a44bb9
    • Treehugger Robot's avatar
  2. Jan 23, 2024
  3. Jan 22, 2024
  4. Jan 21, 2024
  5. Jan 20, 2024
  6. Jan 19, 2024
  7. Jan 18, 2024
Loading