277661 Commits

Author SHA1 Message Date
Hugo Benichi
5cd994ee9c Add fuzzing tests to ApfFilter RA processing
Test: added new unit tests

(cherry picked from commit 8acea76a2b7555b3bd5ca1170cca9d09e979fafc)

Change-Id: I847d7e4895766042043c0bba1c9b9a698a705d87
2017-01-26 18:50:27 +09:00
Erik Kline
95be623a27 Support timeouts for requestNetwork() invocations.
(cherry-pick of 06c3ef1367e850746eef0a5462bdce8674d74c30)
(cherry picked from commit 57faba9ec73fbb311d5ca1df3278aee9728589d5)

Bug: 21414325
Change-Id: I1a58823a372154589f972b98c4c428eab0e0523e
2017-01-26 18:50:23 +09:00
Pierre Imai
ccb0045f93 Silence the obnoxious MTU 0 error message that occur when no MTU is
specified for a given network.

Bug: 10705136

(cherry picked from commit 54f0d9edbf7f6ea6dd805dc77fdbf2c3848188e2)

Change-Id: I89e2fdfbbfa981d435a2974422d9d9c009872d76
2017-01-26 18:50:18 +09:00
Pavlin Radoslavov
b3f1eaa504 Merge "Fix wording ambiguity for Bluetooth LDAC Playback Quality selection"
am: 0645c21163

Change-Id: I66a7a5f8dc423c7999b4e0a39a272a837e66c847
2017-01-26 04:29:57 +00:00
Treehugger Robot
0645c21163 Merge "Fix wording ambiguity for Bluetooth LDAC Playback Quality selection" 2017-01-26 04:23:43 +00:00
Brad Ebinger
64057ab972 Merge "Adding Dynamic ImsService Binding (1/3)"
am: 8e6b13a1c0

Change-Id: I8534273da5579b7662e66f80a60348a4665dd65b
2017-01-26 01:41:38 +00:00
Treehugger Robot
8e6b13a1c0 Merge "Adding Dynamic ImsService Binding (1/3)" 2017-01-26 01:34:05 +00:00
Brad Ebinger
024aaf2388 Adding Dynamic ImsService Binding (1/3)
Adds support for dynamic ImsService Binding (change 1/3). Included
in this change:
- AIDLs for ImsServiceController
- ImsFeature/ImsServiceBase definitions
- KEY_CONFIG_IMS_PACKAGE_OVERRIDE CarrierConfig option

Test: Unit Tests in opt/telephony
Bug: 30290416
Change-Id: Ic4cb1d85a29681b08a6a525c588a72209862dcc3
2017-01-25 15:12:28 -08:00
Pavlin Radoslavov
79fdc5001d Fix wording ambiguity for Bluetooth LDAC Playback Quality selection
"Optimize for" -> "Optimized for"

Bug: 34687041
Test: UI Visual inspection
Change-Id: I112ed6451465750978181e6ee35f96fd76969e9c
2017-01-25 22:19:17 +00:00
Josh Gao
e801810553 Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
am: 273b886c49

Change-Id: I82c58cd03c8db78a1733ba5070d314607475cee7
2017-01-25 21:21:29 +00:00
Josh Gao
273b886c49 Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." 2017-01-25 21:16:58 +00:00
George Burgess IV
f77f2cb3e7 Merge "Fix a use-of-uninitialized-value warning."
am: 500cf67206

Change-Id: I8b171a90696e09c42a1506255bc4c0056f69f35c
2017-01-25 20:09:26 +00:00
Josh Gao
59972218f8 zygote: don't drop CAP_SYS_PTRACE from the bounding set.
crash_dump needs to acquire CAP_SYS_PTRACE to be able to ptrace
processes with capabilities. selinux should hopefully be sufficient for
restricting ptrace to processes that should do it.

Bug: http://b/34694637
Test: debuggerd `pidof system_server`
Change-Id: If46f0b9baa54529780f7767f309f76b102a42ab4
2017-01-25 12:03:02 -08:00
Treehugger Robot
500cf67206 Merge "Fix a use-of-uninitialized-value warning." 2017-01-25 20:01:34 +00:00
Ruchi Kandoi
e6cb2aa614 Merge "nfc: Make NDEF validation stricter"
am: f3a6269fed

Change-Id: If69e586c81e5926c0795af3689de67b260891eaa
2017-01-25 19:59:16 +00:00
Treehugger Robot
f3a6269fed Merge "nfc: Make NDEF validation stricter" 2017-01-25 19:54:01 +00:00
Ruchi Kandoi
2ed0b48abb nfc: Make NDEF validation stricter
- Check if the MB is not set for any record apart from the first one.
- If the record is chunked, first record must contain the type

Bug: 20722275
Test: Manual; write raw NDEF messages to a tag
Change-Id: I3e73fc5163bbcd8a1f23417e98f57b665f4f1fad
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-25 18:21:28 +00:00
Andre Eisenbach
36ce9b7ea0 Merge "Bluetooth: fix indentation, formatting in dumpsys"
am: 35c715332f

Change-Id: I7c603ab9f50921afb45e3d7181541260d8939089
2017-01-25 18:16:27 +00:00
Andre Eisenbach
35c715332f Merge "Bluetooth: fix indentation, formatting in dumpsys" 2017-01-25 18:05:11 +00:00
Marie Janssen
a95924da57 Bluetooth: fix indentation, formatting in dumpsys
Before
======
Enable log:
01-17 09:43:18   Enabled  by com.android.systemui
01-18 07:13:10  Disabled  by com.andorid.systemui

1 BLE Apps registered:
com.google.android.gms

After
=====
Enable log:
  02-06 07:49:07   Enabled  by system boot
  02-06 07:49:35  Disabled  by com.andorid.systemui

1 BLE App registered:
  com.google.android.gms

Test: run bugreport, see differences in dumpsys
Change-Id: I6086f7f97c1fcbdb860d70d9516fd5bf630a9f5e
2017-01-25 18:02:26 +00:00
Tobias Thierer
b8557c431d Merge "API: Update Collections to OpenJDK8u60"
am: 815fb54798

Change-Id: I97f0155ed743c7bc674f0241b2b07955e8d68e56
2017-01-25 11:35:11 +00:00
Tobias Thierer
815fb54798 Merge "API: Update Collections to OpenJDK8u60" 2017-01-25 11:29:43 +00:00
Peter Qiu
55d23d0829 Merge "hotspot2: add support for complete PerProviderSubscription/Credential subtree"
am: 123aa5d8b1

Change-Id: If8164839812728361fcd3d9b2f37c481ccf9b33c
2017-01-25 03:17:19 +00:00
Treehugger Robot
123aa5d8b1 Merge "hotspot2: add support for complete PerProviderSubscription/Credential subtree" 2017-01-25 03:09:09 +00:00
Peter Qiu
6570ce6c80 Merge "hotspot2: add support for complete HomeSP subtree"
am: 28c7afe578

Change-Id: If1b097fb5b9453d1e108534c1fb088dfc92b1b6e
2017-01-25 02:11:10 +00:00
Treehugger Robot
28c7afe578 Merge "hotspot2: add support for complete HomeSP subtree" 2017-01-25 02:02:59 +00:00
Peter Qiu
444dc5d099 hotspot2: add support for complete PerProviderSubscription/Credential subtree
Added missing fields in Credential subtree for supporting Release 2
and added parsing support for the new fields.

Bug: 34198926
Test: frameworks/base/wifi/test/runtests.sh
Change-Id: Ic3665c963ab77ddc4b9a03262517a3c7a4ec3ffc
2017-01-24 16:18:31 -08:00
Peter Qiu
e6e7baa600 hotspot2: add support for complete HomeSP subtree
Added missing fields in HomeSP subtree for supporting Release 2
and added parsing support for the new fields.

Bug: 34198926
Test: frameworks/base/wifi/test/runtests.sh
Change-Id: Id2766b6b48be8bd97b56eb7c57a0e8527f38e06c
2017-01-24 16:07:26 -08:00
George Burgess IV
2df0c67152 Fix a use-of-uninitialized-value warning.
Caught by clang's static analyzer:
frameworks/base/core/jni/android_hardware_SoundTrigger.cpp:660:20:
warning: Assigned value is garbage or undefined
        nHandle[0] = (jint)handle;

Given that we return an error code anyway, we can just set it to 0 and
move on.

Bug: None
Test: Still builds; static analyzer doesn't complain.
Change-Id: I9a5be562a0d96fd6c48bb98eca0867fc754bba63
2017-01-24 15:48:28 -08:00
Chris Tate
3a13bb43f6 Merge "unbindBackupAgent and initialize inFullBackup"
am: 36654ffef5

Change-Id: I5ba75075e2fb2dae0dcabbb0cee3b83c3d0c15ea
2017-01-24 23:38:12 +00:00
Chris Tate
36654ffef5 Merge "unbindBackupAgent and initialize inFullBackup" 2017-01-24 23:31:35 +00:00
Torbjorn Eklund
8e9cf51db3 Merge "Vodafone SIMs should treat Spain as roaming"
am: a9c27b348c

Change-Id: Ia57e460220a5f8e53f47f2454f5c1a005830a3e6
2017-01-24 22:49:27 +00:00
Treehugger Robot
a9c27b348c Merge "Vodafone SIMs should treat Spain as roaming" 2017-01-24 22:43:32 +00:00
Sanket Agarwal
aaa490025b Merge "Change HFP Client API to support multi device"
am: 01f2e67648

Change-Id: I887b83939581fe1fd4068f7a4a72a6910c994c74
2017-01-24 19:06:40 +00:00
Sanket Agarwal
01f2e67648 Merge "Change HFP Client API to support multi device" 2017-01-24 19:01:14 +00:00
Paul Duffin
a07f9d522b Merge "Prepare for removal of legacy-test from default targets (Part 2)"
am: 5a3a3d298a

Change-Id: I14fd4502454a98baf01f5ace83fe0c583005a52d
2017-01-24 16:08:26 +00:00
Paul Duffin
5a3a3d298a Merge "Prepare for removal of legacy-test from default targets (Part 2)" 2017-01-24 16:02:00 +00:00
Paul Duffin
4190f233f9 Prepare for removal of legacy-test from default targets (Part 2)
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Merged-In: If507b641624a2933e722f61e815890fcdf442265
Change-Id: Icdcad50f1cc32e900bc9e882f1db2867ea170fbf
2017-01-24 15:26:42 +00:00
Tobias Thierer
13fd56293c API: Update Collections to OpenJDK8u60
Bug: 29935305
Bug: 31896176
Test: make update-api
Change-Id: I94f0f8c6915fdc1c8151b816d0a988a07629e984
2017-01-24 12:52:11 +00:00
Joachim Sauer
5272231259 Merge "Expose more ICU4J APIs."
am: e5f0221f06

Change-Id: I77e300979bdfe781ad9ab7aff5241b92491e5660
2017-01-24 12:35:30 +00:00
Joachim Sauer
e5f0221f06 Merge "Expose more ICU4J APIs." 2017-01-24 12:30:12 +00:00
Erik Kline
555812a3e2 Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor"
am: c1987487a2

Change-Id: I2b7e0f63c8198c8fde52396f989c16d795e612a8
2017-01-24 08:00:48 +00:00
Treehugger Robot
c1987487a2 Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor" 2017-01-24 07:54:21 +00:00
Erik Kline
5645af4e2a All upstream mobile connection management is now in UpstreamNetworkMonitor
Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131

Change-Id: Ifbd430d5bf2d2191469c9810ad8f073506abde46
2017-01-24 14:11:51 +09:00
Chen Xu
ea55399ecc Merge "support suw and post-suw cases for default app"
am: 9fc8d99c76

Change-Id: I7a451bf2cfdfd6db65208a46db9d664039297ace
2017-01-24 02:39:55 +00:00
Chen Xu
9fc8d99c76 Merge "support suw and post-suw cases for default app" 2017-01-24 02:30:58 +00:00
fionaxu
72ee500527 support suw and post-suw cases for default app
- our default carrier actions might not compatible with suw since data might be disabled
without surfacing users with an option to activate inside SuW.
- instead, skip carrier actions during setupwizard and schedule a job to resume carrier actions if needed when exit suw.
- use jobscheduler to monitor provision bit instead of keep the app running and listen for content change asynchronously.

Bug: 30958215
Test: Manual

Change-Id: Ie4004b46405b914158f585059d332f4e694053f3
2017-01-23 16:28:39 -08:00
Jeremy Joslin
4fcc44dc9a Merge "Mark the INetworkScoreCache as oneway."
am: edadb3efc3

Change-Id: I3b71e154f49b354ead2bf734da4a94e332f87a33
2017-01-23 21:31:21 +00:00
Treehugger Robot
edadb3efc3 Merge "Mark the INetworkScoreCache as oneway." 2017-01-23 21:22:10 +00:00
Brad Ebinger
ee9a9babb1 Merge "Deprecate old TelecomManager actions"
am: d1ab15a1af

Change-Id: Id76db43d6cc4477a328698e049558ef936a4fe1d
2017-01-23 19:23:35 +00:00