Skip to content
Snippets Groups Projects
  1. May 10, 2024
  2. May 08, 2024
    • Gurpreet Singh's avatar
      Add a new feature flag in android.net.wifi · 28493b06
      Gurpreet Singh authored
      Add a new feature flag - "network_provider_battery_charging_status" in
      android.net.wifi package.
      It is the same flag which was added in ag/25092320 in the wifi module.
      
      framework-minus-apex depends on a flag defined in wifi_aconfig_flags
      but framework-minus-apex does not depend on the corresponding aconfig
      java lib wifi_aconfig_flags_lib. Therefore Soong doesn't know about
      the dependency -> Soong won't tell Metalava about the flag ->
      Metalava will default to reverting the API to the previous SDK
      snapshot -> API will not be present in the SDK and docs artifacts.
      
      Solution:
      1) define a new flag in frameworks/base
      2) Work with relteam to ramp it to next ASAP
      3) Move NetworkProviderInfo to use this new flag
      
      Bug: 339181644
      Test: N/A
      Change-Id: I358638546dc888a41498ec066d548c6612ea4f60
      28493b06
  3. Apr 19, 2024
  4. Apr 17, 2024
  5. Apr 08, 2024
  6. Mar 30, 2024
  7. Mar 29, 2024
    • Gabriel Biren's avatar
      Add unit tests for WifiKeystore. · e2229449
      Gabriel Biren authored
      These will be useful for verifying the
      cases where we fall back to Legacy KS.
      
      Bug: 304553176
      Test: atest WifiKeystoreTest
      Change-Id: Idb3905ce9e7ee091b00652217e8ab1c5149f064b
      e2229449
  8. Mar 27, 2024
  9. Mar 21, 2024
    • Gabriel Biren's avatar
      Use ConnectivityBlobStore as the main storage · bf26b946
      Gabriel Biren authored
      mechanism in WifiKeystore.
      
      See aosp/2859045 as an example of using
      ConnectivityBlobStore.
      
      The expected behavior per-API is:
      
       - put: Always write to ConnectivityBlobStore.
       - get: Attempt to get from ConnectivityBlobStore.
              If alias is not found there, try checking
              in LegacyKeystore.
       - remove: Remove alias from both ConnectivityBlobStore
                 and LegacyKeystore.
       - list: List aliases from both ConnectivityBlobStore
               and LegacyKeystore. Deduplicate before returning.
      
      Bug: 304553176
      Test: atest WifiKeyStoreTest
      Test: Manual test - Added test commands to WifiShellCommand
             to test all of the APIs.
      Change-Id: I30b7553bf0ca6a76f81f52aa06f67126fffc4127
      bf26b946
    • Oriol Prieto Gasco's avatar
      Export flags used in FlaggedApi annotations · 8f557865
      Oriol Prieto Gasco authored
      Before calling a flagged API, client code must check the value of the flag
      which gates it. Those flags must be exported in order to be accessible from
      containers other than the container where the flag and the API are hosted.
      
      Bug: 320984775
      Bug: 322839671
      
      Test: m all_aconfig_declarations
      Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true
      
      Ignore-AOSP-First: LSC
      Change-Id: I8c2d111fd4ffb23f3f52c9d00bf6bbd2456d7f05
      8f557865
  10. Mar 05, 2024
    • Oscar Shu's avatar
      Catch NullPointer caused by race of setting mWifiCond · a1168029
      Oscar Shu authored
      Similar to ag/25108489, but protecting all places where mWifiCond is
      used. Due to many places changed, uses catch exception instead of
      synchronized to minimize risk of breaking.
      
      Bug: 327918402
      Test: build and flash
      Change-Id: I1760a524ac0eedbf21cea84f893be6ffd618d9d9
      a1168029
  11. Feb 15, 2024
    • Nate Jiang's avatar
      Move to presubmit · b14462a4
      Nate Jiang authored
      Bug: 324961716
      Test: TH
      Change-Id: I6c2454aadcd2b7b1cdd85cc606751b3530434dae
      b14462a4
  12. Feb 13, 2024
    • Nate Jiang's avatar
      Add CtsWifiNonUpdatableTestCases to test mapping · 93478194
      Nate Jiang authored
      Bug: 324961716
      Test: TH
      Change-Id: Iec642d60ac8edbc7d6f73da46aa7d914b02f5786
      93478194
    • Gabriel Biren's avatar
      Upgrade WifiKeystore to @SystemApi. · f7be7833
      Gabriel Biren authored
      Previously, these APIs were annoted with
      @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES).
      
      Bug: 324601616
      Bug: 296077015
      Test: Manual test - create local shell command to
            write/read to WifiKeystore. Verify that
            all operations work as expected.
      Change-Id: I59259019ad631472a87ebd6bdad3bced983ac8ef
      f7be7833
  13. Jan 31, 2024
    • Sunil Ravi's avatar
      Get the device support for cross-akm roaming · 6b5104cf
      Sunil Ravi authored
      Read NL80211_ATTR_MAX_NUM_AKM_SUITES attribute from
      wiphy info to get the device support for cross-akm
      roaming feature.
      
      Bug: 313038031
      Test: Manual - STA connection
      Test: atest DeviceWiphyCapabilitiesTest
      Test: atest WifiNl80211ManagerTest
      Change-Id: Ib429a4826ed3110d128c7a6929c73b73d89f06a3
      6b5104cf
    • Nate Jiang's avatar
      Add aconfig for Wifi non-updatable part · 8a091a74
      Nate Jiang authored
      Bug: 301145404
      Test: Manual STA-AP connection & confirmed from the logs that cross-akm
            feature support is obtained via wificond
      Test: atest WifiNl80211ManagerTest DeviceWiphyCapabilitiesTest
      Change-Id: Ia1f2fe60c2e0044b65d9b6fb3d05b15638196980
      8a091a74
  14. Nov 07, 2023
  15. Oct 18, 2023
    • Andrew Sapperstein's avatar
      Flag new SharedConnectivity APIs added post-U. · 5c65ca5c
      Andrew Sapperstein authored
      isBatteryCharging/setBatteryCharging and getBroadcastReceiver()
      were added post-U.
      
      Fixes: 305067231
      Test: atest -c CtsWifiTestCases
      Change-Id: I6dbc979ab4a5711799208f6e56c5627296b1d5aa
      5c65ca5c
    • Gabriel Biren's avatar
      Add a lock around the wificond death handler and · e87e9302
      Gabriel Biren authored
      teardownInterfaces in WifiNl80211Manager.
      
      Prevents a specific race condition when the wificond
      service dies at the same time as the Vendor HAL (whose
      death handler calls into teardownInterfaces).
      
      No other race conditions have been observed in this file,
      so we can limit the locks to these 2 methods.
      
      Bug: 273175980
      Test: atest WifiNl80211ManagerTest
      Change-Id: Ib3936ed8ddb3c0dc5fb25a56e535ab27a28cfa65
      e87e9302
  16. Oct 06, 2023
  17. Sep 22, 2023
    • Matt Walliser's avatar
      Clean up SharedConnectivityManager on unbind. · 0c9b699e
      Matt Walliser authored
      mService is used by registerCallback as an indication of if the service is bound to. This was only being set to null when the service was unbound from the service side, not when unbound from the manager side.
      
      Bug: 301296167
      Test: atest -c android.net.wifi.sharedconnectivity.cts.app.SharedConnectivityManagerTest
      Change-Id: I2ef94cf0489b41a48a4279fbe3f9041ae0271280
      0c9b699e
  18. Sep 14, 2023
  19. Aug 17, 2023
    • Les Lee's avatar
      [DO NOT MERGE]wifi: scan enhancement · 0fd8ba40
      Les Lee authored
      Bug: 282660969
      Bug: 295775602
      Test: unit test & manual test
      
      Change-Id: I2b306b4d1793bffc3b0227043fd774018ba4e675
      Merged-In: I2f9cdb638dcb1f98113f39b60a96b0d1e8b22d8c
      Merged-In: I85b8c1e94d6270006cce866e13a1879f55161cd1
      0fd8ba40
  20. Aug 15, 2023
  21. Jul 29, 2023
    • Isaac Katzenelson's avatar
      Call onServiceConnected only after callback is saved in the service. · 1b9fd205
      Isaac Katzenelson authored
      Prevent the onServiceConnected to be called prematurely. Until now
      it was called in the manager and so that a client may rely on the
      callback being called before it was actually available to the service
      to use.
      
      Bug: 293511169
      Test: atest android.net.wifi.sharedconnectivity.cts
      Change-Id: I698378a057990bd8ea73974130fa29ab1cd7c738
      1b9fd205
  22. Jun 06, 2023
    • Les Lee's avatar
      [DO NOT MERGE]wifi: scan enhancement · 190061b7
      Les Lee authored
      Bug: 282660969
      Test: unit test & manual test
      
      Change-Id: I2b306b4d1793bffc3b0227043fd774018ba4e675
      Merged-In: I2f9cdb638dcb1f98113f39b60a96b0d1e8b22d8c
      Merged-In: I85b8c1e94d6270006cce866e13a1879f55161cd1
      190061b7
  23. May 31, 2023
    • Paul Chen's avatar
      WiFi: Modify OWNERS files · 02a386f2
      Paul Chen authored
      Add kumachang@ in OWNERS file
      
      Bug: 274850026
      Test: None
      Change-Id: I92ea3e9825461259ae96338868b8025cdbee54b7
      02a386f2
  24. May 09, 2023
    • Isaac Katzenelson's avatar
      Handle null fields when using parcels. · d02b24ab
      Isaac Katzenelson authored
      For fields that can be null, make sure they are stored
      correctly and read correctly when they are used in a parcel.
      
      Bug: 281487373
      Test: atest SharedConnectivitySettingsStateTest KnownNetworkTest
      Change-Id: I2f9cdb638dcb1f98113f39b60a96b0d1e8b22d8c
      d02b24ab
  25. Apr 25, 2023
  26. Apr 20, 2023
  27. Apr 14, 2023
  28. Apr 13, 2023
  29. Apr 12, 2023
  30. Apr 08, 2023
Loading