Skip to content
Snippets Groups Projects
  1. Nov 02, 2020
  2. Oct 31, 2020
  3. Oct 30, 2020
  4. Oct 29, 2020
    • Rahul Sabnis's avatar
      Introduce a BluetoothConnectionCallback that will fire off events when a · 79ce82f8
      Rahul Sabnis authored
      device is connected or disconnected.
      
      Tag: #feature
      Bug: 171902843
      Test: Manual
      Change-Id: I194a35a69fe0c5d960ea88a1a0fa52c8df7738e2
      79ce82f8
    • Sarah Chin's avatar
      Update NETWORK_TYPE_NR docs · 39d60aaa
      Sarah Chin authored
      Clarify that NR is for NR NSA and LTE is for NR SA
      
      Test: build
      Fix: 165204098
      Change-Id: I48259a0dce53b7a6a02c5e211b0ef7fc3d2aea30
      Merged-In: I48259a0dce53b7a6a02c5e211b0ef7fc3d2aea30
      39d60aaa
    • Sarah Chin's avatar
      Add local logs for TelephonyDisplayInfo changed · 62822a92
      Sarah Chin authored
      Bug: 170360865
      Test: manually check dumpsys
      Change-Id: Ib4a3a7a14d7d0e544aadf1bfb21ad390f1ba76a7
      Merged-In: Ib4a3a7a14d7d0e544aadf1bfb21ad390f1ba76a7
      62822a92
    • Benedict Wong's avatar
      Merge "Add shell VcnManagementService" · fa2c588a
      Benedict Wong authored
      fa2c588a
    • Tobias Thierer's avatar
      Backup platform: Update OWNERS. · e00178d6
      Tobias Thierer authored
      Strictly speaking other owners for SettingsProvider/test/...
      should exist but there aren't any right now, so it's not
      worth keeping a per-file rule since I don't think that
      those can be combined with include.
      
      Bug: 159055442
      Test: Treehugger
      Change-Id: I38c9c227e16c91f72ee0fc761670f82160e46ae2
      e00178d6
    • Anton Hansson's avatar
      Move non-updatable-api/ to core/api/ · 7bfceb87
      Anton Hansson authored
      This achieves two things:
      - it's been noted that non-updatable-api is a confusing term as it has
        to be updated every time the API changes
      - the api-review logic trigers on txt files in subdirs named 'api',
        which non-updatable-api does not trigger on
      
      I will (less urgently) try to get rid of the term "non-updatable" from
      other places too, perhaps going for "non-module" or "core" as a
      replacement.
      
      Bug: 171029603
      Test: m checkapi
      Change-Id: I843efb4880b6caaf3872e9b0918fd710fb93d979
      Merged-In: I843efb4880b6caaf3872e9b0918fd710fb93d979
      7bfceb87
    • Anton Hansson's avatar
      Remove the module-lib-api target · 43cc8bf5
      Anton Hansson authored
      This target existed just to track the "full" module lib API surface,
      until the individual pieces had the same standards. However, now:
      - the full current.txt file is available as a build target
      - all the individual .txt files are API reviewed, checked against
      last api, linted, and changes result on API council bug updates
      
      The .txt files will be removed in a separate CL.
      
      Bug: 171029603
      Test: m checkapi
      Change-Id: Ib8ec547871045f77fb73aa82f192b5a7767d0c33
      43cc8bf5
    • Lais Andrade's avatar
      Fix VibratorService waveform accumulated delay · 6569dc0d
      Lais Andrade authored
      Change VibrateWaveformThread logic around delays while playing a
      waveform to amortize processing/scheduling delays into the sleep part of
      the thread. This should make the actual waveform duration closer to the
      requested one.
      
      Bug: 171133221
      Test: manually check waveform vibration durations with dumpsys
      Change-Id: I0ac88baf4127e9aebe56041a3a334ef8a2f8d43d
      Merged-In: Iafe7f031444f68cd2cdc16883812874f385cba8e
      6569dc0d
    • Treehugger Robot's avatar
      7b9e2bd1
    • Mathew Inwood's avatar
      Add trackingBug to code used by tests. · 421ad3d1
      Mathew Inwood authored
      INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH appears to be used by espresso.
      
      Bug: 171972397
      Merged-In: Ic9df340620bf6c4e2cdd0dff077548f5807fa8e3
      Change-Id: I4515f3029e86b63d2b05aa737243318ad20549ea
      421ad3d1
    • Mathew Inwood's avatar
      Add trackingBug to SharedMemory.getFd() · 0f9429be
      Mathew Inwood authored
      Bug: 171971817
      Change-Id: Ib8367f9b310903d63eb000e4cce238693c1544b2
      0f9429be
    • Treehugger Robot's avatar
      081f27d8
    • Mathew Inwood's avatar
      Add trackingBug to Process.myPpid. · 4c2bef7b
      Mathew Inwood authored
      Bug: 171962076
      Change-Id: Id2e731f471199a368b5a22046e0899d7b37f7337
      4c2bef7b
    • Chalard Jean's avatar
    • Chalard Jean's avatar
      Fix a bug where modern network agents start in UNKNOWN · 6e61ad71
      Chalard Jean authored
      Modern network agents are supposed to have the following
      lifecycle :
      • Construct the agent
      • Declare itself to connectivity by calling #register()
      • Possibly do some setup
      • Declare connected by calling #markConnected()
      • Declare disconnected by calling #unregister()
      
      Internally ConnectivityService still manages the state
      with deprecated NetworkInfo, which has a lot of possible
      detailed states, most of which are now unused. Internally,
      the steps above translate to the states below :
      • When the agent calls #register() it starts in state
        CONNECTING
      • When it calls #markConnected() it goes to CONNECTED
      • When it calls #unregister() it goes to DISCONNECTED which
        triggers the flow that disconnects it immediately
      • ConnectivityService also synthesizes the SUSPENDED state
        under some situations, but that's not relevant here.
      
      The translation above is done by the NetworkAgent class,
      which translates #register(), #markConnected() and
      The only valid lifecyle for new agents is thus :
      
      CONNECTING → CONNECTED → disconnect
                       :arrow_up_down:         ↑
                   SUSPENDED ───┘
      
      Note that in the above scheme, there is no space for the
      UNKNOWN state, which is only used by legacy network agents.
      However, the constructor for NetworkInfo still starts with
      UNKNOWN. Ideally the constructor for NetworkInfo would set
      the info to CONNECTING instead, but this would be a very
      visible change in behavior affecting many apps (especially
      their tests), so for backward compatibility we can't do
      that.
      
      New network agents however don't expose their NetworkInfo
      to the client code, so they can just be made to start in
      CONNECTING the way it was meant.
      
      Note that this didn't really have a concrete impact beyond
      printing some logs as by and large the ConnectivityService
      code handles UNKNOWN and CONNECTING the same way, or more
      exactly it handles transitions to CONNECTED from UNKNOWN
      and CONNECTING in the same way. The exception to this is
      VPNs, which are not using the new agent API yet, and the
      upcoming conversion is why this fix is actually needed now.
      
      Bug: 170904131
      Test: FrameworksNetTests NetworkStackTests
      Test: new test in aosp/1460705
      Change-Id: Ib7d906a7b29a0b9f000b90bc78558a7402852fa3
      6e61ad71
    • Snild Dolkow's avatar
      Expose Image and Plane for testing · 2e686f16
      Snild Dolkow authored
      Test: cts builds
      Test: the new cts tests run
      Bug: 170981222
      Reference: I39921ef80c62cc331bb2d72a8d614986d3166eb9
      Change-Id: I82d9581c2892eff282de02ce5810cf819a35d1d4
      2e686f16
    • Chalard Jean's avatar
      Merge changes I623e2983,I8b95e020 · ec1966e3
      Chalard Jean authored
      * changes:
        Fix comments from aosp/1455975
        Manage VPN legacy state separately from NetworkInfo
      ec1966e3
Loading