OSDN Git Service
Tej Singh [Tue, 6 Mar 2018 00:50:33 +0000 (00:50 +0000)]
Merge "DO NOT MERGE Dummy StatsLog class"
am:
84bda3a709 -s ours
Change-Id: If6a663dc3b9abe19a2cfb18ab5688b401bd2f624
Chen Xu [Tue, 6 Mar 2018 00:40:19 +0000 (00:40 +0000)]
Merge "API review: rename CarrierIdentification to Carrier id"
am:
f01600d5f9
Change-Id: Ic75f2037d277ccce95b24003b152159c9c37e4fc
Jack He [Tue, 6 Mar 2018 00:35:28 +0000 (00:35 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices"
am:
6ec103c746
Change-Id: I65f257023b7cdc245236e9804f2c0859f4ee1601
Evan Laird [Tue, 6 Mar 2018 00:32:49 +0000 (00:32 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"
am:
2fa0f7964f
Change-Id: Id4b60a36c89736fe49e84d4748b4ed643cd21816
Treehugger Robot [Mon, 5 Mar 2018 23:14:48 +0000 (23:14 +0000)]
Merge "DO NOT MERGE Dummy StatsLog class"
Chen Xu [Mon, 5 Mar 2018 22:59:21 +0000 (22:59 +0000)]
Merge "API review: rename CarrierIdentification to Carrier id"
Treehugger Robot [Mon, 5 Mar 2018 20:32:37 +0000 (20:32 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices"
Treehugger Robot [Mon, 5 Mar 2018 20:10:37 +0000 (20:10 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"
Erik Kline [Mon, 5 Mar 2018 15:05:08 +0000 (15:05 +0000)]
Merge "Fail if the interface is not available when starting"
am:
b331b02da9
Change-Id: If9a8b1bc88b7358919d67f0ebaf01115bd1af69e
Erik Kline [Mon, 5 Mar 2018 12:39:28 +0000 (12:39 +0000)]
Merge "Fail if the interface is not available when starting"
Erik Kline [Fri, 2 Mar 2018 07:51:13 +0000 (16:51 +0900)]
Fail if the interface is not available when starting
Addresses a long-standing TODO. Now, when calling IpClient's
startProvisioning(), the interface has to be available (i.e.
InterfaceParams#getByName() must return non-null).
Also:
- add a test
- refactor for testability
- delete some constructors no longer used
- properly handle passed-in null IpClient.Callback
- some more IpManager -> IpClient renaming
- permit recording metrics before starting a provisioning
attempt (logging immediate errors) without Log.wtf().
Test: as follows
- built
- flashed
- booted
- runtest frameworks/opt/net/wifi/tests/wifitests/runtests.sh passes
- runtest frameworks-net passes
- basic WiFi IpClient connections works fine
Bug:
62476366
Bug:
73487570
Change-Id: Ic83ad2a65637277dcb273feb27b2d1bb7a11eb2b
Lorenzo Colitti [Mon, 5 Mar 2018 09:46:59 +0000 (09:46 +0000)]
Merge "Add DNS_TETHER to the list of UIDs in the framework."
am:
0b8d55e633
Change-Id: I2162a009968c1bcfbfc32a41f14c0e7cad81a8a7
Treehugger Robot [Mon, 5 Mar 2018 07:40:36 +0000 (07:40 +0000)]
Merge "Add DNS_TETHER to the list of UIDs in the framework."
Jack He [Wed, 28 Feb 2018 03:34:49 +0000 (19:34 -0800)]
Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices
* Set config_bluetooth_max_connected_audio_devices to 5
Bug:
64767509
Test: runtest -j32 bluetooth
connect and disconnect to multiple headsets and car kits
TestTracker/146725
Change-Id: I211c5683490fd4be00d3379e11e843081c6fb3a6
Masaho Nishikawa [Sat, 3 Mar 2018 06:39:45 +0000 (06:39 +0000)]
Merge "Add config to show an alert dialog for video charges"
am:
1451124f86
Change-Id: Idf89d421f3716dc00af97877d19d81445dd63f44
nharold [Sat, 3 Mar 2018 04:55:01 +0000 (04:55 +0000)]
Merge changes from topics "cdma-null-island", "cdma-signal-strength"
am:
d5ba391425
Change-Id: I1cd2ae9a3110f6c49cacfc3137c009a1e04227ea
Treehugger Robot [Sat, 3 Mar 2018 03:30:19 +0000 (03:30 +0000)]
Merge "Add config to show an alert dialog for video charges"
nharold [Sat, 3 Mar 2018 03:14:22 +0000 (03:14 +0000)]
Merge changes from topics "cdma-null-island", "cdma-signal-strength"
* changes:
Set CDMA Location to Invalid if on Null Island
Fix Range-Checking in CellSignalStrengthCdma
Fix CDMA Range Checks for SignalStrength
nharold [Sat, 3 Mar 2018 02:33:59 +0000 (02:33 +0000)]
Merge "Expose Carrier Name Override CarrierConfig Values"
am:
a60e42cc2d
Change-Id: I38b27197171009958ed362a83a119b9de3af2adf
nharold [Sat, 3 Mar 2018 00:11:29 +0000 (00:11 +0000)]
Merge "Expose Carrier Name Override CarrierConfig Values"
Cassie Han [Fri, 2 Mar 2018 23:55:58 +0000 (23:55 +0000)]
Merge "Expand use of 'Str' suffix in CellIdentity to 'String'"
am:
d622eacb9e
Change-Id: Ibe0c44df14dfa60855d513a85e76d8eef63d25a8
Pavel Maltsev [Fri, 2 Mar 2018 23:52:18 +0000 (23:52 +0000)]
Merge "Extend network request to query networks w/o capabilites"
am:
d846adac83
Change-Id: Id1d86938fa2d5aff4dbf9cde87548d80c76674d9
fionaxu [Wed, 28 Feb 2018 19:18:45 +0000 (11:18 -0800)]
API review: rename CarrierIdentification to Carrier id
Bug:
73953797
Test: unit test
Change-Id: Id89c9100e8963a3cb890ebec347e4aabcd5fd4b8
Holly Jiuyu Sun [Fri, 2 Mar 2018 23:21:13 +0000 (23:21 +0000)]
Merge "Add result code for eUICC card not found."
am:
45277c7aca
Change-Id: Ib3ee5ff8cfcc18ac6a9e616e34ef778fe59b111c
Cassie Han [Fri, 2 Mar 2018 22:15:56 +0000 (22:15 +0000)]
Merge "Expand use of 'Str' suffix in CellIdentity to 'String'"
Tej Singh [Fri, 2 Mar 2018 02:22:55 +0000 (18:22 -0800)]
DO NOT MERGE Dummy StatsLog class
This is a dummy class that provides StatsLog.write methods and
appropriate constants to log atoms in aosp.
Test: build success on Marlin
Change-Id: I606bc8a96337ced842eb7a2bcba8c4969c9d4748
Treehugger Robot [Fri, 2 Mar 2018 19:04:31 +0000 (19:04 +0000)]
Merge "Extend network request to query networks w/o capabilites"
Holly Jiuyu Sun [Fri, 2 Mar 2018 19:01:41 +0000 (19:01 +0000)]
Merge "Add result code for eUICC card not found."
Chalard Jean [Fri, 2 Mar 2018 13:10:45 +0000 (13:10 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."
am:
6001f72478
Change-Id: Iab9c8df6071e6dec35b5f492eb8344ba370e0036
Chalard Jean [Fri, 2 Mar 2018 12:34:25 +0000 (12:34 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space"
am:
20013384dc
Change-Id: Icd1466c79d2593fcab5bd2e31a1acb3a36a705da
Chalard Jean [Fri, 2 Mar 2018 11:52:15 +0000 (11:52 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."
Chalard Jean [Fri, 2 Mar 2018 11:18:10 +0000 (11:18 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space"
Chalard Jean [Wed, 21 Feb 2018 09:43:54 +0000 (18:43 +0900)]
Give apps with NETWORK_SETTINGS right to see any VPN.
...not only the ones that apply to them.
Bug:
73217368
Test: runtest frameworks-net and CTS
Change-Id: I436972a3e51e98bdd815771b451bcedadf684763
Chalard Jean [Mon, 26 Feb 2018 02:52:46 +0000 (11:52 +0900)]
Give VPNs the INTERNET capability when they route most of the IP space
Test: manual, plus wrote some new tests for this
Bug:
72765718
Change-Id: I9759da72b752fd8eeb1d0647db9ab341f04c0528
Nathan Harold [Wed, 28 Feb 2018 22:57:54 +0000 (14:57 -0800)]
Expose Carrier Name Override CarrierConfig Values
These CarrierConfig values are needed for a
CC app to override the SPN dynamically. Since
Carrier names are very complicated, it's extra
important that these values be exposed so that we
can properly enforce correct behavior through CTS.
Bug:
73734601
Test: compilation (no functional change)
Change-Id: I26dab1bd32d1d5273f707a37026cffca7fd639a3
Hall Liu [Fri, 2 Mar 2018 02:18:16 +0000 (02:18 +0000)]
Merge "Remove cell info from legacy apps without location on"
am:
6b0e7370e2
Change-Id: I6f0b5391b7a49232fc8bebd38047af0d77e333e1
Pavel Maltsev [Thu, 1 Feb 2018 19:16:02 +0000 (11:16 -0800)]
Extend network request to query networks w/o capabilites
Add another bit mask into NetworkCapabilities class that represents
unwanted capabilities and corresponding methods to add and remove them.
Bug:
72828388
Bug:
68762530
Test: runtest -x frameworks/base/tests/net/
Change-Id: Ie291167eb74fdb696c7ee145c8cc46ea8115d6ba
Hall Liu [Fri, 2 Mar 2018 00:49:33 +0000 (00:49 +0000)]
Merge "Remove cell info from legacy apps without location on"
Jack Yu [Thu, 1 Mar 2018 21:26:34 +0000 (21:26 +0000)]
Merge "Added indication update mode support"
am:
03664c94ae
Change-Id: I17685418cc44e78e3bdbd69d68591efe7d2922e5
Ajay Panicker [Thu, 1 Mar 2018 21:15:29 +0000 (21:15 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
am:
2cd2a6aef0
Change-Id: I133d1167c01d6f8433bdc63fba21f113e8098d8e
Holly Jiuyu Sun [Thu, 22 Feb 2018 22:58:44 +0000 (14:58 -0800)]
Add result code for eUICC card not found.
Bug:
38206971
Test: test on phone
Merged-In: Ia783fe68389d950b664ad312d98c7e3aa200b471
Change-Id: Ia783fe68389d950b664ad312d98c7e3aa200b471
Masaho Nishikawa [Mon, 18 Dec 2017 05:33:38 +0000 (14:33 +0900)]
Add config to show an alert dialog for video charges
Add config to show an alert dialog for video charges when user starts
a video call. The default value is false.
Test: manual - Verified that a warning dialog about charges when a
video call is started if KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL
is true.
Bug:
67832837
Test: manual
Change-Id: I11ab3ea9a8971a9d76b47714638f1fe0a9c980c2
Jack Yu [Thu, 1 Mar 2018 20:04:29 +0000 (20:04 +0000)]
Merge "Added indication update mode support"
Treehugger Robot [Thu, 1 Mar 2018 19:41:12 +0000 (19:41 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
Ajay Panicker [Wed, 28 Feb 2018 19:36:07 +0000 (11:36 -0800)]
Bluetooth: Remove adjustAvrcpAbsoluteVolume
The AudioManager now handles all calculations for volume stepping now
and no longer uses adjustAvrcpAbsoluteVolume.
Bug:
68812037
Test: Compile
Change-Id: I9cbf7989e49738c7a43fe3142aced5803111271e
Jack Yu [Tue, 27 Feb 2018 23:15:14 +0000 (15:15 -0800)]
Added indication update mode support
Adde the indication update mode support so that a system
component can control the behavior of indication update. This
will be used by the bluetooth stack when some BT devices such like
carkit is connected, modem will continue update the signal strength
even when the screen is off.
Test: Manual
Bug:
65112388
Merged-In: I4bb4894eaaba401f655e5dc25138275f5e8498e1
Change-Id: I4bb4894eaaba401f655e5dc25138275f5e8498e1
(cherry picked from commit
1a1c35750b2612e040c9392b4d0d6f4e1a2b3b8a)
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 16:37:13 +0000 (16:37 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."
am:
093c509c40
Change-Id: I562562c1abc3a5a64820ca5eaa244f00a75c4200
Evan Laird [Sat, 10 Feb 2018 17:36:55 +0000 (09:36 -0800)]
Move SignalDrawable to SettingsLib so every can enjoy it
Anyone with a dependecy on SettingsLib should be able to create and use
a platform SignalDrawable.
Test: runtest systemui; visual
Change-Id: I65caa2ac69cae52b6ad798937df3f3399ab406af
Merged-In: I65caa2ac69cae52b6ad798937df3f3399ab406af
Fixes:
72511183
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 15:11:14 +0000 (15:11 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."
Lorenzo Colitti [Thu, 1 Mar 2018 12:06:11 +0000 (21:06 +0900)]
Add DNS_TETHER to the list of UIDs in the framework.
It has been reserved in android_filesystem_config.h since
aosp/245632 in 2016, but was never included in the list of UIDs
in Process.java.
Bug:
29881876
Test: builds, boots
Change-Id: I6d36d7d15634445d992a10087b5ba31b480f9f20
Anton Hansson [Thu, 1 Mar 2018 11:46:29 +0000 (11:46 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
am:
c164c83191
Change-Id: Icd753634a498a9c1a2d2e27ad4e6cd788e7b9e1f
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 10:35:57 +0000 (10:35 +0000)]
Tweak DateFormat.is24HourFormat javadoc to be more explicit.
Bug:
32761394
Test: make docs
Change-Id: If10da5b9d63e6e88774e333d5c266e423e6bc7c8
Anton Hansson [Thu, 1 Mar 2018 10:25:12 +0000 (10:25 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Chalard Jean [Thu, 1 Mar 2018 05:48:14 +0000 (05:48 +0000)]
Merge "Fix up NetworkCapabilities' toString"
am:
7959e70ef2
Change-Id: I21e66bc78a763f9e37725f50ca8b406ac7259518
Eric Schwarzenbach [Thu, 1 Mar 2018 05:38:49 +0000 (05:38 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."
am:
44d13875ff
Change-Id: I37f039ea44114b48b44bce7174deb3d55b2667fc
Chalard Jean [Thu, 1 Mar 2018 04:01:16 +0000 (04:01 +0000)]
Merge "Fix up NetworkCapabilities' toString"
Treehugger Robot [Thu, 1 Mar 2018 03:48:32 +0000 (03:48 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."
Joe Maples [Wed, 28 Feb 2018 23:49:49 +0000 (23:49 +0000)]
Merge "pm: Fix typo in error"
am:
a12e18bcd1
Change-Id: I924eef635de153a0277da49c804f2c7dc1c97a4d
Treehugger Robot [Wed, 28 Feb 2018 22:38:24 +0000 (22:38 +0000)]
Merge "pm: Fix typo in error"
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:24:08 +0000 (20:24 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
am:
4b5680b6fa
Change-Id: I7e3542edd0d092d6b0a7bc10b80b0565dfefda7e
Cassie [Wed, 28 Feb 2018 19:45:29 +0000 (11:45 -0800)]
Expand use of 'Str' suffix in CellIdentity to 'String'
Expand use of 'Str' suffix in CellIdentity to 'String' to match general
usage across Android according to the API Review.
Bug:
73751308
Test: Unit test
Change-Id: Ib25a06056832be610ff1fb9c025467259eb543ed
Joe Maples [Thu, 11 Jan 2018 16:09:46 +0000 (11:09 -0500)]
pm: Fix typo in error
instnat -> instant
Change-Id: Ie2f06840575fc266e3510252635ad17be65945b8
Signed-off-by: Joe Maples <joe@frap129.org>
Holly Jiuyu Sun [Wed, 28 Feb 2018 18:18:04 +0000 (18:18 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
Robert Sesek [Wed, 28 Feb 2018 18:07:09 +0000 (18:07 +0000)]
Merge "Delay starting the webview_zygote until first use."
am:
6d9d717ab7
Change-Id: I7a2c485fcf04a5728081f99610435a970dc4bb1b
Anton Hansson [Fri, 23 Feb 2018 12:57:51 +0000 (12:57 +0000)]
frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug:
73535841
Change-Id: Ibcffec873a693d1c792ca210fb597d2bf37e9068
Merged-In: I4233b9091d9066c4fa69f3d24aaf367ea500f760
Treehugger Robot [Wed, 28 Feb 2018 16:02:58 +0000 (16:02 +0000)]
Merge "Delay starting the webview_zygote until first use."
Steven Moreland [Wed, 28 Feb 2018 13:51:44 +0000 (13:51 +0000)]
Merge "Don't use cutils/Atomic.h"
am:
07735797a2
Change-Id: Ie56fadea498f35c7e820f9fadac1b64697565a78
Treehugger Robot [Wed, 28 Feb 2018 12:37:50 +0000 (12:37 +0000)]
Merge "Don't use cutils/Atomic.h"
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:11:39 +0000 (11:11 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
am:
e8b557bc08 -s ours
Change-Id: I2a1805375252b56209ac9d18da0f1771f5b6187b
Chalard Jean [Mon, 26 Feb 2018 10:00:45 +0000 (19:00 +0900)]
Fix up NetworkCapabilities' toString
Test: manual
Change-Id: I3bcec6a6873e8ec7ced0820d3d5b92249b19fe0a
Treehugger Robot [Wed, 28 Feb 2018 10:03:02 +0000 (10:03 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
Alexandru-Andrei Rotaru [Tue, 18 Jul 2017 15:49:22 +0000 (16:49 +0100)]
Notify the user and turn off tethering when the service is disallowed.
Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering. Added notification
about
tethering being turned off. Also added Unit Tests to test the
functionality
of the UserRestrictionListener added.
Bug:
27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.
Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: I4a57137a7ad592ca186d9508d5cc2fad3f1bc985
Pavel Maltsev [Wed, 28 Feb 2018 08:14:48 +0000 (08:14 +0000)]
Merge "Add OEM_PAID network capability"
am:
4c00edd361
Change-Id: I2fb8825bc1038783ef45907846b52192b6fe5d18
Treehugger Robot [Wed, 28 Feb 2018 07:06:00 +0000 (07:06 +0000)]
Merge "Add OEM_PAID network capability"
Holly Jiuyu Sun [Thu, 22 Feb 2018 04:34:22 +0000 (20:34 -0800)]
Mark EUICC_PROVISIONED as @SystemApi.
Bug:
35851809
Test: test on phone
Merged-In: I1627aeaf6846e889767fb4223c46fa278a751b23
Change-Id: I1627aeaf6846e889767fb4223c46fa278a751b23
fionaxu [Wed, 28 Feb 2018 04:45:25 +0000 (04:45 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"
am:
8c32954906
Change-Id: Ia770310f6135df041bc1d84b09cfbdcda1debd2f
Brad Ebinger [Wed, 28 Feb 2018 04:33:28 +0000 (04:33 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy"
am:
59391aa4a0
Change-Id: Iaf27b98f03c363ca23989c251f9e5d66bae394ba
Cassie [Wed, 28 Feb 2018 04:25:25 +0000 (04:25 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process."
am:
e6691d8e89
Change-Id: I0832ce666883a9054a9252ef93d50e615a64bc79
Treehugger Robot [Wed, 28 Feb 2018 03:14:45 +0000 (03:14 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"
Treehugger Robot [Wed, 28 Feb 2018 03:02:27 +0000 (03:02 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy"
Treehugger Robot [Wed, 28 Feb 2018 02:30:44 +0000 (02:30 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process."
fionaxu [Tue, 27 Feb 2018 05:11:40 +0000 (21:11 -0800)]
Don't throw exception if phone process is dead for carrier ID APIs
Bug:
73772776
Test: Build
Change-Id: I81638f52d5d8ccf1005878ba4f3967e07169284b
(cherry picked from commit
331965e5d6f753cd061303607cdfbe9dff4be896)
Merged-in: I81638f52d5d8ccf1005878ba4f3967e07169284b
Jordan Liu [Wed, 28 Feb 2018 01:39:58 +0000 (01:39 +0000)]
Merge "Use 4 thresholds instead of 6"
am:
fdebcf1ae2
Change-Id: Ie2d1ab2e79d0d3cc79815da7af4022e58838e5cd
Nathan Harold [Tue, 27 Feb 2018 04:31:04 +0000 (20:31 -0800)]
Set CDMA Location to Invalid if on Null Island
If the reported CDMA location is ~= (0, 0), which
is in the middle of the Gulf of Guinea, assert that
there are no CDMA cell towers within range (there
are not) and force the location to a saner default
value of Integer.MAX_VALUE which is out of the range
of valid lats+longs.
Bug:
32364031
Test: runtest frameworks-telephony
Change-Id: I3f50054dd37cf7cef56b1bd16c3313c02da34c31
Nathan Harold [Tue, 27 Feb 2018 03:14:18 +0000 (19:14 -0800)]
Fix Range-Checking in CellSignalStrengthCdma
The CellSignalStrengthCdma class previously allowed
the values in the class to be kept as negative ints
but expected them to be parceled as positive ints.
This led to a confusing mess that is best unwound
by calling the actual constructor for the class and
letting the parcel values be an implementation detail.
This CL removes all of the parcel-time coersion and
instead expects that the class be constructed using
a constructor rather than by manually parceling and
then using the class to un-parcel. In addition, the
range checking for inputs is now done only once, and
values are no longer mutated in the parcel/unparcel
process.
Bug:
32364031
Test: runtest frameworks-telephony
Change-Id: I59ce8c9df1bd99547f3de941a30d6c3cea8f2b8f
Nathan Harold [Tue, 27 Feb 2018 03:08:23 +0000 (19:08 -0800)]
Fix CDMA Range Checks for SignalStrength
-Allow zero as a valid value for CDMA ECIO. Zero
is allowed for EVDO ECIO and is equally valid for
CDMA. Making them consistent by allowing zero here.
-Set EVDO ECIO to -160 if unreported rather than
setting it to -1. The "unreported" value is
undocumented, and since -1 is well within the range
of valid values, makes no sense. Since CDMA ECIO was
setting an unreported value to a very low number,
again making them the same.
-Allow 0 for EVDO SNR. This value has a range that is
documented both in the RIL and in SignalStrength to
include zero, but we were previously disallowing 0.
Making the range check inclusive in line with the
existing documentation, which was self-consistent.
Bug:
32364031
Test: runtest frameworks-telephony
Change-Id: Ie0ca5abb4998d1b0b5abdbff9d51f364fe6db858
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:00:01 +0000 (00:00 +0000)]
Merge "Fix: Double-free error on RemoteFillService"
am:
5b04f89343
Change-Id: I7e8872a28ee01f29710945ac692236fa94f3c13a
Jordan Liu [Tue, 27 Feb 2018 23:44:03 +0000 (23:44 +0000)]
Merge "Use 4 thresholds instead of 6"
Treehugger Robot [Tue, 27 Feb 2018 22:51:21 +0000 (22:51 +0000)]
Merge "Fix: Double-free error on RemoteFillService"
Jordan Liu [Sat, 24 Feb 2018 01:05:13 +0000 (17:05 -0800)]
Use 4 thresholds instead of 6
Min and max thresholds are fixed.
Bug:
73775507
Bug:
70698348
Test: manual and ServiceStateTrackerTest
Change-Id: Ie7fbda0627615f49b6205142c22ad48e88735f80
Merged-In: Ie7fbda0627615f49b6205142c22ad48e88735f80
Ajay Panicker [Tue, 27 Feb 2018 20:07:49 +0000 (20:07 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"
am:
affa54f01c
Change-Id: I48e7236ea475674b9e67defa6814e2d9fbb4cc2b
Andreas Gampe [Tue, 27 Feb 2018 19:07:49 +0000 (19:07 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test"
am:
4d9bec6b4a
Change-Id: I0c684a434a0f43fcae1a766c6c84a756115d9dcb
Treehugger Robot [Tue, 27 Feb 2018 18:44:23 +0000 (18:44 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"
Treehugger Robot [Tue, 27 Feb 2018 17:30:23 +0000 (17:30 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test"
Ajay Panicker [Tue, 27 Feb 2018 00:04:15 +0000 (16:04 -0800)]
AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume
Use setAvrcpAbsoluteVolume() instead of adjustAvrcpAbsoluteVolume in
adjust stream volume in order to better sync device volume and remote
Bluetooth device volume. This will allow Bluetooth to avoid calculating
its own volume step size.
Bug:
68812037
Test: Connect to device that supports Absolute Volume and see that
volume changed occur when changing volume on device.
Change-Id: I26d5812ee1a5953b6527561ce5ad1c5d944c244d
Todd Poynor [Tue, 27 Feb 2018 16:33:11 +0000 (16:33 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present"
am:
e90cba2115
Change-Id: I451ea71fe64e3c309a8722a3d155453b1a609a8f
Treehugger Robot [Tue, 27 Feb 2018 15:24:28 +0000 (15:24 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present"
Neil Fuller [Tue, 27 Feb 2018 12:04:25 +0000 (12:04 +0000)]
Merge "Remove icu4j dependency."
am:
6963081c5b
Change-Id: Ifc8cd0946bd069837fb46f3f8f9d85df715ab4de
Treehugger Robot [Tue, 27 Feb 2018 10:41:12 +0000 (10:41 +0000)]
Merge "Remove icu4j dependency."
Jack He [Tue, 27 Feb 2018 09:54:44 +0000 (09:54 +0000)]
Merge "Bluetooth: Add config value for max connected audio devices"
am:
5a8339c9a5
Change-Id: I87d763899661fa0f4c1eb32ed0c2fac9a88355a3