1. 05 Jun, 2016 1 commit
  2. 04 Jun, 2016 1 commit
  3. 03 Jun, 2016 2 commits
    • John Eckerdal's avatar
      Stop the recurring alarm if no scansettings are available · 0d0a4c33
      John Eckerdal authored
      This will fix an NPE whenever no scansettings are available.
      The stop of the recurring alarm should not introduce a permanent
      stop though since the whole processPendingScans function is dependant
      on mPendingBackgroundScanSettings != null.
      
      Anyway, as soon as mPendingBackgroundScanSettings is changed,
      the processPendingScans function will be called, either directly
      or indirectly through handleScanPeriod().
      
      Crash call stack:
      java.lang.NullPointerException: Attempt to read from field
      'int com.android.server.wifi.WifiNative$ScanSettings.base_period_ms'
      on a null object reference
      
      at com.android.server.wifi.scanner.SupplicantWifiScannerImpl.processPendingScans
      (SupplicantWifiScannerImpl.java:395)
      
      Bug: 29113658
      Author: Ola Olsson <ola.olsson@sonymobile.com>
      Change-Id: Ibf08c9d6c5e476052449ef11d82ce005e50bd4fd
      0d0a4c33
    • Jack Tian's avatar
      DO NOT MERGE: Repeatedly prompting when no internet connection · 3ea09e08
      Jack Tian authored
      When internet connection is not avaiable there is always
      a prompt even if user has checked "never ask again" on the
      dialog prompt.
      This is caused by noInternetAccessExpected reset while reloading
      network configuration and this patch puts noInternetAccessExpected
      into network history so that its value is not lost.
      
      Bug: 29085788
      Bug: 29111340
      
      (cherry picked from commit 4854de88)
      
      Change-Id: I407a5c60e89d7da4ac7fe30df08087fe24039f98
      3ea09e08
  4. 01 Jun, 2016 1 commit
    • Glen Kuhne's avatar
      Remove chatty log from WiFiNative · d722d068
      Glen Kuhne authored
      When verbose debugging is enabled, every beacon frame generates a log
      stating the DTIM value. This was left behind from development of DTIM
      tracking.
      
      BUG=29055049
      TEST=unit tests
      Change-Id: I3923536094b1894b940754101123f38518a5d519
      d722d068
  5. 29 May, 2016 1 commit
  6. 27 May, 2016 1 commit
  7. 26 May, 2016 3 commits
  8. 25 May, 2016 5 commits
  9. 24 May, 2016 3 commits
    • Randy Pan's avatar
      Wifi: local log size reduction · 15941215
      Randy Pan authored
      Cut down the max number of lines allowed in Wifi LocalLogs.
      Currently LocalLog checks the number of lines in its buffer
      instead of total size in number of bytes. The buffer being
      used can grow really big if some lines are lengthy.
      
      Bug: 28865103
      Change-Id: I7f77de1048bb465b79265b3ecb3a925e3a2659d9
      Test: Wifi Framework Unit Tests
      15941215
    • Randy Pan's avatar
      WifiConnectivityManager: enforce minimum single scan interval · c2963eb0
      Randy Pan authored
      Instead of always starting a single scan when the device enters
      screen on state, we now keep track of how long it has been since
      last periodic single scan and defer the new scan request.
      
      Bug: 28887789
      Tests: Wifi Unit Tests, manual tests
      Change-Id: Iba5b5b7db897d3227d87f8d989246a1942525b9c
      c2963eb0
    • The Android Automerger's avatar
  10. 23 May, 2016 2 commits
  11. 22 May, 2016 1 commit
  12. 21 May, 2016 1 commit
  13. 20 May, 2016 6 commits
  14. 19 May, 2016 4 commits
    • Roshan Pius's avatar
      Change clock for time interval/elapsed measurments · ee0ab818
      Roshan Pius authored
      1. Use the clock retrieved from WifiInjector in more modules: QNS,
      Scanner, WifiConfigManager.
      2. Use |elapsedRealtime| for time interval/elapsed measurments. Things
      like scan results, config elements still continue to use
      |currentTimeMillis|
      
      Also,
      1. Had to make |tryEnableQualifiedNetwork| public to prevent mockito from
      calling the real method in WifiConfigManager.
      2. Move keystore also into WifiInjector.
      
      BUG: 28299258
      BUG: 28824635
      Change-Id: I91272aa5665abb741da7530d8920d09c8c5ea41f
      TEST: Compiles & unit-test passes
      ee0ab818
    • The Android Automerger's avatar
    • mukesh agrawal's avatar
      WifiLogger: fetch packet fate on dump() · 1bf15571
      mukesh agrawal authored
      We've observed that it's tricky to detect when a connection
      fails. Consequently, even if the user is careful to generate
      a bugreport while the device is in the failed state, the
      bugreport will not include packet fate data for the most
      recent connection.
      
      Improve the utility of packet fate, by fetching the most
      recent fate on the call to dump(). With this change in place,
      we'll get packet fates for the most recent connection
      attempt (even if it's still in progress).
      
      BUG=28849396
      TEST=unit tests, manual
      
      Manual test
      - configure bullhead for open network
      - configure bullhead for wpa-2 network, wrong password
      - let bullhead fail connecting to wpa-2 network
      - let bullhead succeed connecting to open network
      $ adb dumpsys > /tmp/dumpsys
      $ grep 'fates ---' /tmp/dumpsys
      --------------------- Last failed connection fates ----------------------
      --------------------- Latest fates ----------------------
      
      Change-Id: Iaeb2584020f70ac5d2f3139bac72ea07a7ddce81
      1bf15571
    • Mukesh Agrawal's avatar
  15. 18 May, 2016 8 commits