Skip to content
Snippets Groups Projects
  1. Jan 31, 2024
    • Aditya Choudhary's avatar
      [DON'T BLOCK] Test ownership migration rules · 01b5ede2
      Aditya Choudhary authored
      This CL is created as a best effort to migrate test targets
      to the new android ownership model. If you find incorrect or unnecessary
      attribution in this CL, please create a separate CL to fix that.
      
      For more details please refer to the link below,
      <add g3 doc link>
      
      Bug: 304529413
      Test: N/A
      Change-Id: I243f17b3f0ad7af9ffa15ca242456e36688733f5
      Merged-In: I243f17b3f0ad7af9ffa15ca242456e36688733f5
      01b5ede2
  2. Jan 05, 2024
  3. Dec 08, 2023
    • Ken Chen's avatar
      Reference DataSaver setting from BPF map on V+ only · 9e1865e4
      Ken Chen authored
      Only reference DataSaverEnabled map on V+ platform because the
      information in map before platform V is not time-precise. See comment in
      this commit for detail.
      
      Bug: 288340533
      Test: presubmit
      Change-Id: I0795e88e6006e6d24d27b63c31d0e3ed81d0262c
      9e1865e4
  4. Oct 31, 2023
    • Ken Chen's avatar
      Support Data Saver awareness in libcom.android.tethering.dns_helper.so · 006a3f15
      Ken Chen authored
      Make ADnsHelper_isUidNetworkingBlocked() to reference 'metered'
      information and Data Saver related BPF maps to make the final decision.
      
      Bug: 288340533
      Test: atest dns_helper_unit_test
      Change-Id: I51b1dadd56a8d6fda3f8b18d64740e52b76e1bfe
      006a3f15
    • Ken Chen's avatar
      [Test] for libcom.android.tethering.dns_helper.so · d4876dec
      Ken Chen authored
      Exercise the BpfReader::isUidNetworkingBlocked().
      
      Bug: 288340533
      Test: atest dns_helper_unit_test
      Change-Id: Icc889a6a9649e991cba222427f9b8d4f5ee3b325
      d4876dec
    • Ken Chen's avatar
      Add a library for DNS resolver to read bpf maps · ec0f7ac3
      Ken Chen authored
      The library provides an init function and an API for DNS resolver to
      query whether the application is allowed to send DNS query based on BPF
      maps settings.
      
      Bug: 288340533
      Test: atest dns_helper_unit_test (with test CL)
      Change-Id: Ibfb383bfb074da2104a25aa4f04ebc32b22d11da
      ec0f7ac3
Loading