This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Updated .
  1. 11 Feb, 2018 1 commit
    • Steve Kondik's avatar
      appops: Privacy Guard for O · a604f39c
      Steve Kondik authored
      Squashed commit of all PG-related features including superuser
      
         Authors:
         - Sam Mortimer
         - Danesh Mondegarian
         - Jorge Ruesga
         - Diogo Ferreira
         - Roman Birg
         - Adnan Begovic
         - Chirayu Desai
         - Lars Greiss
         - Steve Kondik
         - CodeAurora
      
      Pulled together from:
      
      Author: Danesh M <daneshm90@gmail.com>
      Date:   Thu Sep 5 19:23:15 2013 -0700
      
          Privacy Guard : Reimplement backed by AppOps
      
          Re-implements privacy guard to use appops.
      
          Change-Id: I2b52e8cf0d6e126fb156f83df885b5551503cd9d
      
      Author: Shashank Mittal <mittals@codeaurora.org>
      Date:   Fri Aug 16 01:09:28 2013 -0700
      
          AppOpsService: Add MODE_ASK support to AppOps.
      
          Add support for new mode(MODE_ASK) in AppOpsService to show a permission
          dialog box to user to confirm user permission before allowing or ignoring
          that operation.
      
          All strict operations (defined in AppOpsManager) are going to be in
          MODE_ASK by default.
      
          Operations will be moved to MODE_ALLOWED or MODE_IGNORED according to
          user's choice.
      
          Change-Id: I1314125a2b8be558e422e4a9eea0ff066c21bf94
      
      Author: Shashank Mittal <mittals@codeaurora.org>
      Date:   Tue Sep 3 19:23:10 2013 -0700
      
          wifi: Confirm user permission before toggling wifi.
      
          Check user permissions before enabling/disabling wifi.
      
          Change-Id: I1ddae6e47f42b6d3fc831c2c135ece75cf9e935d
      
      Author: Shashank Mittal <mittals@codeaurora.org>
      Date:   Thu Sep 5 17:24:44 2013 -0700
      
          AppOps: Add Bluetooth enable control into AppOps
      
          Check user permission before enabling bluetooth.
      
          Change-Id: Iefa4ea3319b33b2639beaf38d261d83649bbcf85
      
      Author: Sam Mortimer <sam@mortimer.me.uk>
      Date:   Wed Oct 2 22:06:42 2013 -0700
      
          [2/2] AppOps: Add per Op allowed and ignored counters
      
          Change-Id: Ifb3d25e17dbab082b816a0a655b4796a83af336b
      
      Author: Sam Mortimer <sam@mortimer.me.uk>
      Date:   Sun Oct 20 23:48:00 2013 -0700
      
          AppOps: track op persistence by name instead of id
      
          On XML write, include the op name.  On XML read, map
          the name back to op id (if it exists).
      
          Persistent AppOp state now follows the op name instead
          numeric id.  This allows upgrades between versions of
          android that have different code<>name mappings.
      
          Change-Id: Iffc02095b6838a34ff999f8db51c2c6739dd0db8
      
      Author: Jorge Ruesga <jorge@ruesga.com>
      Date:   Sat Jan 4 01:34:39 2014 +0100
      
          privacyguard: Share privacy package name between activity stacks
      
          AOSP 4.4 now has a stack supervisor with differents activity stacks for home and focus activities.
          Every ActivityStack instance has a ref to this supervisor. Just share the privacy guard package name
          throught the supervisor.
      
          JIRA: CYAN-2874
          Issue: https://jira.cyanogenmod.org/browse/CYAN-2874
      
      Author: Steve Kondik <shade@chemlab.org>
      Date:   Sun Feb 23 19:23:31 2014 +0100
      
          Use MODE_ASK as the default ops mode in Privacy Guard
      
          * Prompting the user is far more useful as a default behavior. The
            choice will be remembered after the first request.
      
      Author: Steve Kondik <shade@chemlab.org>
      Date:   Tue Feb 25 13:11:12 2014 +0100
      
          Relocate and cleanup new app ops features and PGify it
      
      Author: Shashank Mittal <mittals@codeaurora.org>
      Date:   Wed Dec 4 12:32:12 2013 -0800
      
          [2/2] Framework AppOps: Add BOOT_COMPLETED operation.
      
          Add BOOT_COMPLETED operation in AppOps.
      
          This operation is used to allow user to control auto start of
          applications and services at bootup.
      
          Change-Id: Ie8488ec1b4683c8617ca569cfc858709f0d35ba2
      
      Author: Sam Mortimer <sam@mortimer.me.uk>
      Date:   Mon Dec 8 13:51:02 2014 -0800
      
          Frameworks: Redirect appops strings to string references
      
          adapted to reflect new permission indices and codes
      
          Change-Id: Iba9a45838ee8eb7f5cb6ec6d29776574c86e84b6
      
      Author: Kun Liang <kunliang@codeaurora.org>
      Date:   Thu May 15 14:52:15 2014 +0800
      
          AppOps: Add nfc enable control into AppOps
      
          Check user permission before enabling nfc.
      
          Change-Id: Ia84e33c299e4fdecfd66ee933d9e7d37ed29c340
      
      Author: Shashank Mittal <mittals@codeaurora.org>
      Date:   Wed Jul 16 17:31:22 2014 -0700
      
          AppOps: Add support for AppOps policy file
      
          Add support to read AppOps policy file.
          AppOps policy file can be used to configure Ops default policy.
      
          Change-Id: Idb4e3501ff9f58e491b06e74152342aa9574afbf
      
      Author: Kun Liang <kunliang@codeaurora.org>
      Date:   Thu Dec 11 12:57:33 2014 +0800
      
          AppOps: fix deadlock issue when showing dialog
      
          WindowManagerService need call PowerManagerService to release
          wakelock. The Notifier in PowerManagerService need call AppOpsService
          to notify holding wakelock ops is finished.  Meanwhile, AppOpsService
          may need call WindowManagerService to show dialog. This scenario
          will lead to deadlock issue.
          To move showing dialog action out of lock section to fix this issue.
          Since only UI work is moved out of lock area, it is supposed to be
          safe.
      
          Change-Id: I3f2bf4b9c9d81914cfd3c0fc3fc76d0b4a06a1f6
          CRs-fixed: 786466
      
      Author: Diogo Ferreira <defer@cyngn.com>
      Date:   Mon Dec 15 12:07:42 2014 +0000
      
          appops: Add support for SU
      
          This patch adds support for superuser app-ops control. The end-goal
          is to better prepare superuser for the multi-user experience while
          also replacing the superuser app with existing components.
      
          Change-Id: I52acf98a39f18f12a23f4f902a39ae3f7c5b4895
      
      Author: Diogo Ferreira <defer@cyngn.com>
      Date:   Wed Dec 17 17:16:16 2014 +0000
      
          su: Add an indicator when a 'su' session is active
      
          This adds an indicator to the statusbar that is visible whenever a root
          session is active, akin to the fine location icon.
      
          Change-Id: I669fcc87e2b7a3201308170d7727ec5fb0e00e2b
      
      Author: Diogo Ferreira <defer@cyngn.com>
      Date:   Wed Jan 14 08:44:03 2015 +0000
      
          appops: Disassociate appops requests from notification broadcasts
      
          The AppOpsService is essentially a manager for a set of counters
          and permissions. Each operation request has the potential to change
          the state and, as such, access to such state is synchronized.
      
          We are whitnessing deadlocks caused by the broadcast and, in fact,
          while we want to notify superuser changes eventually, it does not
          have to be synchronous with the app ops request. This patch uses the
          request to schedule the notification on a handler, leaving the locking
          semantics of appops intact.
      
          Change-Id: I94f6dd2c66b9492f95d3c9ffb438b3e6417007d7
      
      Author: Lars Greiss <kufikugel@googlemail.com>
      Date:   Sat Apr 25 03:01:35 2015 +0300
      
          Launch app privacy settings when tapping on PG notification (1/2)
      
          Based on https://github.com/SlimRoms/frameworks_base/commit/97ccae06cd0ad1aa366c3a70e8e744277c409b06
      
          JIRA: CYAN-6077
          Change-Id: I8632e8c944c1d5d7ad2fb2a2276bae5fe2d4a0a0
      
      Author: Roman Birg <roman@cyngn.com>
      Date:   Tue Oct 27 11:52:53 2015 -0700
      
          AppOps: fix wifi scan op
      
          There's no direct permission tied to it and fix the op-to-switch entry.
      
          Change-Id: I661ef6707ba50adb371e3223a91880c4838df669
      Signed-off-by: 's avatarRoman Birg <roman@cyngn.com>
      
      Author: Roman Birg <roman@cyngn.com>
      Date:   Tue Oct 27 13:44:57 2015 -0700
      
          AppOps: add a default constructor
      
          Change-Id: I4229a65c362fe4915e62684e5ebc209525c9f9d3
      Signed-off-by: 's avatarRoman Birg <roman@cyngn.com>
      
      Author: Roman Birg <roman@cyngn.com>
      Date:   Thu Oct 29 12:59:14 2015 -0700
      
          add missing app ops to string array
      
          Also added op codes to prevent further mismatches.
      
          Change-Id: I6e20cc5bcabe6a3216cec47d984768bf12cf4311
      Signed-off-by: 's avatarRoman Birg <roman@cyngn.com>
      
      Author: Roman Birg <roman@cyngn.com>
      Date:   Mon Nov 2 09:50:47 2015 -0800
      
          AppOps: relax some system appops for systemui
      
          Grant wifi, bt, boot_complete, nfc, and data changes for systemui.
      
          Also remove the bluetooth permission tied to the bluetooth_change op -
          it is not always directly tied to BLUETOOTH or BLUETOOTH_ADMIN, so we
          can't force one there.
      
          Change-Id: Ib042dc34b0763b2d84a57baa71dc9fa995724d64
      Signed-off-by: 's avatarRoman Birg <roman@cyngn.com>
      
      Author: Chirayu Desai <cdesai@cyanogenmod.org>
      Date:   Mon Dec 7 14:10:44 2015 -0800
      
          Allow disabling the privacy guard notification - port from cm-12.1 (2/3)
      
          Change-Id: Iab0288f50685220c8be0c11ea5075f91ec1bbe32
      
      Author: Michael Bestas <mikeioannina@gmail.com>
      Date:   Sun Jan 3 04:36:26 2016 +0200
      
          Revert "AppOps: add a default constructor"
      
          * Not needed after http://review.cyanogenmod.org/126381
      
          This reverts commit 19e0ce07.
      
          Change-Id: I12bfe4f7d119627a3fe08d01e8ae5b065b0f709a
      
      Author: Gabriele M <moto.falcon.git@gmail.com>
      Date:   Wed Jan 6 18:27:32 2016 +0100
      
          Align checkbox and description in permission confirmation dialog
      
          Change-Id: I9a9ab3a3f59e3d56fc774174ba37d9e191698fe5
      
      Author: Adnan Begovic <adnan@cyngn.com>
      Date:   Mon May 23 16:06:10 2016 -0700
      
          appops: Implement concept of delayedcount.
      
           High frequency request ops will be delayed until their ignore count
           ceiling is met. This is to mitigate the overloading the main activity
           manager service handler and having watchdog kill our service.
      
           Google play services likes to share its uid with numerous packages to avoid
           having to grant permissions from the users perspective and thus is the worst
           example of overloading this queue -- so, to not encourage bad behavior,
           we move them to the back of the line. NOTE: these values are magic, and may need
           tuning. Ideally we'd want a ringbuffer or token bucket here to do proper rate
           limiting.
      
          Change-Id: I5c3e88807abc80f9700dd68dcecd87dac4626de7
          TICKET: CYNGNOS-2869
      
      Author: Adnan Begovic <adnan@cyngn.com>
      Date:   Tue May 24 18:17:03 2016 -0700
      
          appops: Respect screen interactivity before creating dialogs.
      
            If the device's screen is currently off, do not queue ask
            runnables who cannot be interacted with. Since these events
            are gating mechanisms for closing an IPC loop, they need to
            happen when the user is interacting with the device.
      
            Likewise, on screen off, clear the queue of every op as they
            become unnecessary.
      
          Change-Id: Ie930d200839c9408e882510c6bc3ede37ea889ef
          TICKET: CYNGNOS-2869
      
      Author: Gabriele M <moto.falcon.git@gmail.com>
      Date:   Sun Aug 6 13:08:33 2017 +0200
      
          Change visibility of the Privacy Guard ops set
      
          Change-Id: Iafcf058f5e2074982bf45f8c82ef8d027b9358f0
      
      Author: Unpublished <unpublished@gmx.net>
      Date:   Tue Oct 24 21:09:31 2017 +0200
      
          We don't want to feel deprecated...
      
          use official api instead of deprecated internal method that prints an
          error everytime we call it
      
          Change-Id: Ie00efe5f514ff8db2b82eeade3a588a17af8cfb4
      
      Author: Jane Manchun Wong <jane@wongmjane.com>
      Date:   Wed Mar 1 23:37:58 2017 -0500
      
          Remove Cid from PrivacyGuard's notification icon
      
          Change-Id: I5dfe6c2d10e9dd1a022e50e02f72151b1b8a520e
      
      Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
      Date:   Tue Sep 6 21:33:57 2016 +0800
      
          core: Import some PG string improvements from CM 13.0
      
          This commit partially squashes the following commits:
      
          c682ba59
          core: String improvements from cm-12.1
      
          7450f849
          String update, change wording from "Mobile" to "Cellular"
      
          Change-Id: I0616eb06f48813814b4005e9b60358669f69b0c8
      
      Change-Id: I5414dd0be6a81e143f5035e58709ac4258c93616
      a604f39c
  2. 25 Oct, 2017 1 commit
  3. 27 Sep, 2017 1 commit
    • Beverly's avatar
      In-call-notif doesn't use AUDIBILITY_ENFORCED flag · ab804f05
      Beverly authored
      Audibilty enforced flag should only be used to make sure system
      sounds are audible when this is mandated by a given country regulation.
      Here, it was used incorrectly.  Also, adjusted in-call notification
      sound to be less loud.
      
      Fixes: 66808711
      Test: manual
      
      Change-Id: I119a718fb5fc605b6f6b3e387e5e9f956cfd5fff
      ab804f05
  4. 25 Sep, 2017 1 commit
  5. 21 Sep, 2017 1 commit
    • Neil Fuller's avatar
      Move non-public intent out of the public namespace · f24394f1
      Neil Fuller authored
      Move a non-public intent out of the public android.intent.action
      namespace. The new name is
      com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK.
      
      Bug: 65991376
      Test: CTS: run -m CtsIntentSignatureTestCases
      Test: PTS: run -m PtsTimeZoneTestCases
      Change-Id: I619b564aa6262108ab2d1c95ba6e288efd8cc9f2
      f24394f1
  6. 06 Sep, 2017 1 commit
  7. 30 Aug, 2017 1 commit
  8. 25 Aug, 2017 1 commit
  9. 16 Aug, 2017 1 commit
    • Michael Wright's avatar
      Make default brightness ramp rates multiples of 60. · cbadfaf6
      Michael Wright authored
      If ramp rates aren't even multiple of 60 then we're more likely to get
      brightness changes that differ each frame, which can show up as a
      stuttering in the animation.
      
      Bug: 64514692
      Test: made change, took systrace, saw smooth ramping
      Change-Id: Iada2f1de684d94fe790ab8d5cf03bea5ba1a2ca5
      cbadfaf6
  10. 15 Aug, 2017 1 commit
    • Michael Plass's avatar
      Wifi connection hysteresis · f3a08e49
      Michael Plass authored
      Introduce a separate RSSI threshold for entry so there can be some
      hysteresis between entry and exit.
      
      Default to no gap for now, to avoid breaking older devices.
      
      Bug: 64422319
      Test: Unit tests
      Change-Id: Ib0a9930e143061e3f18558e8cd934ab7226a1e95
      f3a08e49
  11. 12 Aug, 2017 1 commit
    • Ian Pedowitz's avatar
      Revert "Add (disabled) time zone update system server impl" · 3f0122b5
      Ian Pedowitz authored
      This reverts commit 328532ab.
      
      Fixes: 64606807
      Test: Grab the cts binaries(android-cts.zip) from OC Release
      Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
      Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
      Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
      Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
      Change-Id: Iab0fd111803ae9e7615a3b2c825bbe8d84e29edf
      Merged-In: I2600dd4bee22a571b9eb7303733591b60d1a8b2a
      3f0122b5
  12. 10 Aug, 2017 2 commits
    • Beverly's avatar
      Pleasant sound implemented for in-call notif. · 5d463b6c
      Beverly authored
      Replacing tone generator with an audio file for in-call notifications from text messages.
      
      Fixes: 38194285
      Test: runtest -x frameworks/base/services/tests/notification/src/com/android/server/notification/BuzzBeepBlinkTest.java
      Change-Id: I9ec28ff54ae259ae906b3db08ece7059707c7edb
      5d463b6c
    • Justin Klaassen's avatar
      Remove config_demoModePackage resource · 96c8ac84
      Justin Klaassen authored
      Bug: 62712426
      Test: lunch walleye-eng && make -j19
      Change-Id: Ifa1080d85222a43871598eaf0fe9813625d9115d
      96c8ac84
  13. 08 Aug, 2017 1 commit
  14. 02 Aug, 2017 1 commit
    • Jeremy Joslin's avatar
      NetworkRecommendationProviders require the location permission. · 59502ebc
      Jeremy Joslin authored
      Any NetworkRecommendationProvider bound to by the system must have
      access to location (i.e. it holds the location permission and
      location is enabled on the device).
      
      If the location permission is revoked then the binding will be
      disconnected and the system will revert to the default network
      recommendation provider (if set and valid). If location access
      is disabled on the device then the binding will be disconnected
      but the system won't fall back to the default provider (because
      it won't have location either), instead the current provider will
      be re-enabled when location access is enabled again.
      
      BUG:62263953
      Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
      Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest
      Change-Id: I93c37eeda47840d92f3ca52767e878dc19b46740
      (cherry picked from commit d816abe9)
      59502ebc
  15. 31 Jul, 2017 1 commit
    • Fyodor Kupolov's avatar
      Added setIdleConnectionTimeout method · cf97b6b7
      Fyodor Kupolov authored
      It allows apps to set time SQLite connection is allowed to be idle
      before it is closed and removed from the pool.
      
      Test: manual + DatabaseGeneralTest
      Bug: 63398887
      Change-Id: Ie09eeb4dc2b9e52ba67d9355b1f9bd869b148613
      cf97b6b7
  16. 26 Jul, 2017 4 commits
    • Michael Wright's avatar
      Add new config to tell us whether brightness is bucketed or continuous · 65d3e705
      Michael Wright authored
      If we know brightness is bucketed rather than continuous, then we skip
      the brightness animation and just go straight to the expected brightness
      level.
      
      Bug: 64007419
      Test: manual
      Merged-In: I2ac0c5f45cc2ec1e758bb84a29d2ecda2c6d5b0d
      Change-Id: I2ac0c5f45cc2ec1e758bb84a29d2ecda2c6d5b0d
      65d3e705
    • Michael Wright's avatar
      Report the display is off when the hardware blanks itself. · 410fd1b8
      Michael Wright authored
      Some hardware will blank itself coming out of doze to avoid artifacts
      from being shown. In order to perform a graceful transition from doze to
      on, tell window manager policy that the display turned off and then
      turned on without actually telling the display to enter the off state,
      in order to keep the screen on latency low.
      
      Bug: 63531607
      Test: manual
      Merged-In: I4362905e47d5fb47b639c8701c91d69b50aa1232
      Change-Id: I4362905e47d5fb47b639c8701c91d69b50aa1232
      410fd1b8
    • Michael Wright's avatar
      Add new config to tell us whether brightness is bucketed or continuous · 63a40069
      Michael Wright authored
      If we know brightness is bucketed rather than continuous, then we skip
      the brightness animation and just go straight to the expected brightness
      level.
      
      Bug: 64007419
      Test: manual
      Change-Id: I2ac0c5f45cc2ec1e758bb84a29d2ecda2c6d5b0d
      63a40069
    • Michael Wright's avatar
      Report the display is off when the hardware blanks itself. · c3e6af87
      Michael Wright authored
      Some hardware will blank itself coming out of doze to avoid artifacts
      from being shown. In order to perform a graceful transition from doze to
      on, tell window manager policy that the display turned off and then
      turned on without actually telling the display to enter the off state,
      in order to keep the screen on latency low.
      
      Bug: 63531607
      Test: manual
      Change-Id: I4362905e47d5fb47b639c8701c91d69b50aa1232
      c3e6af87
  17. 25 Jul, 2017 2 commits
  18. 22 Jul, 2017 1 commit
  19. 21 Jul, 2017 1 commit
  20. 20 Jul, 2017 2 commits
    • Michael Wright's avatar
      Add config to force display to transition to off after doze · 05e76fe3
      Michael Wright authored
      Some display hardware can't do the transition from doze display states
      to the on display state cleanly, so in order to hide any janky-ness of
      the transition we force the display off and cover the screen with a
      black surface. This lets us keep the screen black until SystemUI and the
      display are both ready.
      
      Bug: 63531607
      Test: manual
      Change-Id: I66bd483e5f01e1dbd5069465aa122828af5f1903
      05e76fe3
    • Ahmed ElArabawy's avatar
      Add Configuration to APF Policy · 8537c58c
      Ahmed ElArabawy authored
      in b/37702435 battery was drained due to reception of
      Ethernet frames with Eth-type < 0x600 (non ehternet II frames)
      
      This change adds an XML file to drop/allow these frames
      Dropping helps tp avoid acquiring a wakelock for the
      reception of these packets, while allowing them may be needed
      for some protocols
      The Change allow the OEM to override the system settings
      
      Bug: 37702435
      Test: runtest frameworks-net
      Merged-In: Idb6c215896ef230a8136ff4ecefc90ccdc5c1c6d
      Merged-In: I16346bb98a0b9259f7c3f51e318c472cfc1bb492
      Signed-off-by: 's avatarAhmed ElArabawy <arabawy@google.com>
      
      (cherry pick from commit 4dd7c58f)
      
      Change-Id: Ie466baf1e6395d6c28245e41179232ea8e523845
      8537c58c
  21. 19 Jul, 2017 1 commit
    • Ningyuan Wang's avatar
      Add traffic thresholds to prevent wifi network changes · b7670831
      Ningyuan Wang authored
      This parameters are used for refraining from changing
      network when RSSI is good and there is heavy traffic
      implying streaming.
      
      A typical video streaming will move the tx above 20 pps
      and rx above 40 pps.
      A typical voice call will move both tx and rx rate above
      16 pps.
      With that being said, this patch sets both thresholds to
      16 pps.
      
      Bug: 62428282
      Test: compile, unit tests, manual test
      Change-Id: Id2a7546b7ca9a1370c37d3f26f3da28231757c19
      b7670831
  22. 18 Jul, 2017 1 commit
  23. 17 Jul, 2017 1 commit
    • Julia Reynolds's avatar
      Send less ranking reconsiderations and updates · eb3dca71
      Julia Reynolds authored
      - NotificationIntrusivenessExtractor does not need to reconsider
      ranking for non intrusive notifications
      - All adjustments (by group helper and the assistant) have been moved to
      extractors so we can selectively send ranking updates instead of always
      sending them.
      
      Fixes: 62827235
      Test: runtest systemui-notification
      Change-Id: I2ea746c3883049abac0752788a3f4c2fa50c8064
      eb3dca71
  24. 12 Jul, 2017 1 commit
  25. 11 Jul, 2017 1 commit
    • Ahmed ElArabawy's avatar
      Add Configuration to APF Policy · 4dd7c58f
      Ahmed ElArabawy authored
      in b/37702435 battery was drained due to reception of
      Ethernet frames with Eth-type < 0x600 (non ehternet II frames)
      
      This change adds an XML file to drop/allow these frames
      Dropping helps tp avoid acquiring a wakelock for the
      reception of these packets, while allowing them may be needed
      for some protocols
      The Change allow the OEM to override the system settings
      
      Bug: 37702435
      Test: runtest frameworks-net
      Merged-In: Idb6c215896ef230a8136ff4ecefc90ccdc5c1c6d
      
      Change-Id: Idb6c215896ef230a8136ff4ecefc90ccdc5c1c6d
      Signed-off-by: 's avatarAhmed ElArabawy <arabawy@google.com>
      4dd7c58f
  26. 07 Jul, 2017 1 commit
    • Roshan Pius's avatar
      wifi: Params for SAR limits · aa85acc8
      Roshan Pius authored
      Add 2 new config.xml values for setting TX power limits for SAR
      requirements. The first boolean enables/disables the whole feature, the
      second value sets the max power that OEM's can set if they want the tx power
      to be limited.
      Also, added the new HAL feature set enum value in WifiManager.
      
      Bug: 62437848
      Test: Compiles
      Change-Id: Iab3ffad8df2fccd0ea2beac95fbf8458e268f21b
      aa85acc8
  27. 06 Jul, 2017 1 commit
    • Joel Scherpelz's avatar
      Wakeup packet mark/mask configuration option · 0593502a
      Joel Scherpelz authored
      Rules will only be installed if a device specific config.xml overrides
      the default values of mark and mask.
      
      This change also fixes a bug where wakeup rules added by the wakeup
      controller would never be removed because updateInterfaces() is not
      invoked on wifi network change or disable.
      
      Test: as follows
          - built
          - flashed
          - booted
          - Manually verified that mask/mark is set correctly
      Bug: 28806131
      
      (cherry picked from commit 668370b9)
      
      Change-Id: I95e75b11b973707bcb428ea6498fbfd8e717b855
      0593502a
  28. 05 Jul, 2017 1 commit
  29. 03 Jul, 2017 1 commit
    • Neil Fuller's avatar
      Configure the package name of the updater app · 9c1f436f
      Neil Fuller authored
      Configure the package name of the updater app;
      the package name is now decided and can be defaulted.
      
      Bug: 31008728
      Test: make droid
      Change-Id: I2fe215d34600ce16f902b4e285edcb345423104b
      9c1f436f
  30. 30 Jun, 2017 1 commit
    • Joel Scherpelz's avatar
      Wakeup packet mark/mask configuration option · 668370b9
      Joel Scherpelz authored
      Rules will only be installed if a device specific config.xml overrides
      the default values of mark and mask.
      
      This change also fixes a bug where wakeup rules added by the wakeup
      controller would never be removed because updateInterfaces() is not
      invoked on wifi network change or disable.
      
      Test: as follows
          - built
          - flashed
          - booted
          - Manually verified that mask/mark is set correctly
      Bug: 28806131
      
      Change-Id: I2380b2383a593da35880d81cbade6eae4f79a776
      668370b9
  31. 29 Jun, 2017 2 commits
  32. 23 Jun, 2017 2 commits
    • Julius D'souza's avatar
      DO NOT MERGE: Remove continuous sampling logic. This was added for · d4410c0d
      Julius D'souza authored
      dogfooding purposes in order to determine power usage. However,
      this feature has since been moved to the G release.
      
      Bug: 62210406
      
      Change-Id: I3c6049688912a4b31be009343bf50c86e03c62be
      d4410c0d
    • Jack Yu's avatar
      Refactored area update info support · 93c42856
      Jack Yu authored
      1. Refactored area update information support so it
         is not limited to channel 50 and Brazil.
      2. Added channel 60 for India.
      
      Test: Manual
      bug: 37746109
      Merged-In: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
      Change-Id: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
      93c42856