Skip to content
Snippets Groups Projects
  1. Mar 18, 2021
    • Anthony Stange's avatar
      Revert "Expose uids related APIs in NetworkRequest and NetworkCa..." · 43b606da
      Anthony Stange authored
      Revert "Add shims for NetworkRequest"
      
      Revert submission 1626206-replaceUidRange
      
      Reason for revert: Breaking build - b/183106405
      Reverted Changes:
      I0b79c73e8:Add shims for NetworkRequest
      I4bc0daf5a:Replace the usage of UidRange
      I4e5aec6ef:Replace the usage of UidRange
      I107c329d4:Expose uids related APIs in NetworkRequest and Net...
      
      Change-Id: I45e08f89533af0d6851add38fecb5c6c114615ae
      43b606da
  2. Mar 17, 2021
  3. Mar 16, 2021
  4. Mar 15, 2021
    • paulhu's avatar
      Replace interal okhttp APIs · 405d8911
      paulhu authored
      Connectivity is becoming a mainline module in S but mainline
      modules are not allowed to use non-formal APIs. Thus, replace
      internal okhttp APIs to stable libcore APIs which are created for
      using HttpURLConnectionFactory.
      
      Bug: 182238821
      Test: atest FrameworksNetTests
      Change-Id: I56ba1b9e6e94f9c6519c3f1c8f0c5993fccbe185
      405d8911
    • Lorenzo Colitti's avatar
    • Aaron Huang's avatar
      Merge changes from topic "pacproxy-service" · c8e73fa9
      Aaron Huang authored
      * changes:
        Make PacProxyService be a system service
        Revert^2 "Refactor setCurrentProxyScriptUrl to a void method"
      c8e73fa9
    • Sorin Basca's avatar
      Merge changes from topic "jni-errno-exception" · 3a810d37
      Sorin Basca authored
      * changes:
        Using jniThrowErrnoException in android_util_Process
        Using jniThrowErrnoException in android_os_SharedMemory
        Using jniThrowErrnoException in android_net_NetworkUtils
      3a810d37
    • lucaslin's avatar
      Add comments to describe the value of converting hex to decimal · 0cdcea18
      lucaslin authored
      Bug: 172183305
      Test: N/A
      Change-Id: Id274295d6c8c97d3014214f875168ff968f79bb6
      0cdcea18
    • Chalard Jean's avatar
      [NS01] Add NetworkScore · 2801857f
      Chalard Jean authored
      As attested by numerous TODOs in the code, a new way of
      representing network quality and policy is needed instead
      of an int.
      
      An int representing the quality of the network requires
      all parties using it to know how all other parties are
      using it, and implementation details about the decision
      algorithm. For all intents and purposes, the selection
      is left to individual network factories who try to
      achieve a desired result while piecing together all
      possible states of the system.
      
      As the number of such cases and desires increases, this
      becomes both intractable and unmaintainable. Indeed, at
      this time in the codebase nobody can really predict exactly
      how a given change in score will affect selection across
      the board, and it is essentially impossible to figure out
      the behavior of network selection by inspecting the code
      because the moving parts are scattered throughout the
      entire codebase.
      
      Having an object encapsulating policy and quality values
      will let us centralize the selection and make it again
      possible to maintain without knowledge of all behaviors
      of all network factories. It will also provide better
      guarantees of respecting policy, and allow bugfixes that
      were not possible before because they'd touch too many
      parts of the code.
      
      Test: FrameworksNetTests FrameworksWifiTests NetworkStackTests
      Change-Id: I3185a6412b9b659798faf0c6882699e9c63cc115
      2801857f
    • Frank Li's avatar
      8ccc6abe
    • Remi NGUYEN VAN's avatar
    • Remi NGUYEN VAN's avatar
      Revert "Remove connectivity dependency on Preconditions" · 5086c295
      Remi NGUYEN VAN authored
      This reverts commit 62b1df44.
      
      Reason for revert: Build broken: b/182721112
      
      Change-Id: Ibc84ec6d7900fdcf0bc14cd7036f9c08287711db
      5086c295
Loading