Skip to content
Snippets Groups Projects
  1. May 17, 2018
    • Remi NGUYEN VAN's avatar
      Fix SntpClientTest failures with no active network · 6657d426
      Remi NGUYEN VAN authored
      The last change is using getActiveNetwork to run the queries, which
      results in an NPE if there is no network on the device. Using network 0
      causes no socket tagging and allows queries to the local test SNTP
      server to go through as previously.
      
      Also migrating to JUnit4 and moving mServer and mClient initializers to
      setUp().
      
      Test: SntpClientTest now passes
      Change-Id: Ieb0a5d247129bcad89c1add0e9c1c504f516e2a9
      6657d426
  2. May 16, 2018
    • Kurt Marcinkiewicz's avatar
      Allow specifying a network for SNTP time sync · 7a4ff644
      Kurt Marcinkiewicz authored
      Permits syncing over a specific network instead of the default for
      the process. This was causing an issue with Android Wear devices
      paired with iOS where the default network is bluetooth
      (see b/32663274).
      
      This CL is in support of ag/3776564
      
      Bug: 32663274
      
      Test: adb shell am instrument -e class android.net.SntpClientTest -w \
      com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
      (cherry-pick of pi-dev Ic9fc169cf75457810d4992121d85d7642e350b90)
      Merged-In: I339c77063c72a9d76a5c4cb17052e20fb6e045a6
      Merged-In: I8dfd1cad99c63efdc14c174c19f094a61cdfc44f
      
      Change-Id: I44df66688292b144ec7dfcdd9ae5d82489f82774
      7a4ff644
  3. May 07, 2018
  4. May 05, 2018
  5. May 04, 2018
  6. May 03, 2018
  7. May 02, 2018
  8. May 01, 2018
    • Chenbo Feng's avatar
      Remove the unused file parsing function · b815c978
      Chenbo Feng authored
      With the new xt_bpf support for iface stats. We no longer need to parse
      the per interface stats from /proc/net/dev. And since the old xt_qtaguid
      code path also not depend on it, we can completly remove that helper
      function since no caller is depending on it now.
      
      Bug: 72111305
      Test: runtest frameworks-net -c com.android.internal.net.NetworkStatsFactoryTest
      Change-Id: Icb7eaeef0eeb9fdffd32a90316c76ee05bafffbe
      b815c978
    • Chenbo Feng's avatar
      Use eBPF map data for per iface stats · dcc56783
      Chenbo Feng authored
      After adding the xt_bpf module and ifaceStatsMap, eBPF tool can now
      support reading per interface data. So networkStatsFactory should move
      away from parsing proc/net/dev and use the eBPF map stats instead.
      
      Bug: 72111305
      Test: atest com.android.server.net.NetworkStatsServiceTest
      Change-Id: Ibcc6150d00835b3bd33af22a72e4a86e172581cf
      dcc56783
    • Andreas Gampe's avatar
      Framework: Restrict warning message · f13e473e
      Andreas Gampe authored
      Only print the message of the cache wasn't pruned.
      
      Bug: 26978865
      Test: manual
      Change-Id: I564ecddf6c8fafcc9699ec6bfbd622214edf79c8
      f13e473e
    • Anton Hansson's avatar
      frameworks/base: Update a few more references to android.jar. · 0c703900
      Anton Hansson authored
      These files are moving. Update the paths so that the old files can be
      deleted.
      
      Bug: 77525052
      Test: ./build for one of these scripts
      Change-Id: Iacca1f1930d6a2614866f6503a2b4c1eba4d4018
      0c703900
    • Chalard Jean's avatar
    • android-build-prod (mdb)'s avatar
      Merge changes Ie4709b6e,I57980ccb · 9b1c3e00
      android-build-prod (mdb) authored
      * changes:
        com.android.nfc_extras is built with java_sdk_library
        Fix link-type check warning on com.android.nfc_extras
      9b1c3e00
  9. Apr 30, 2018
Loading