277918 Commits

Author SHA1 Message Date
Paul Duffin
9e99b9ee45 Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
am: 78a20be77a

Change-Id: I6f32dc27f70e4c22d25ec6bd2eec715700ebbd89
2017-02-08 18:14:50 +00:00
Paul Lawrence
1201ce98dd Merge "Expand seccomp whitelist"
am: fd77a331eb

Change-Id: I824c984b907e43248d6eba6259f31f4aab7d64db
2017-02-08 18:10:28 +00:00
Paul Duffin
78a20be77a Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate" 2017-02-08 18:06:08 +00:00
Paul Lawrence
fd77a331eb Merge "Expand seccomp whitelist" 2017-02-08 17:57:42 +00:00
Tyler Gunn
a3b4985ad4 Merge "Add support for wait-on-handlers command."
am: da6d683caa

Change-Id: I71bee35ec1bf6ff4100f6515ea87dcc89312a689
2017-02-08 17:17:30 +00:00
Paul Lawrence
76c20442cf Expand seccomp whitelist
Bug: 35059702
Test: Device boots, app no longer produces SIGSYS failures
Change-Id: I020b625bd7529ad9806c0b23a1ca70bc87906dad
2017-02-08 08:38:45 -08:00
Tyler Gunn
da6d683caa Merge "Add support for wait-on-handlers command." 2017-02-08 16:09:09 +00:00
Paul Duffin
4929aafc1d Merge "Fix problem with JavaDoc"
am: 8f33fcdc4b

Change-Id: I25fd01b35a2c1299304401a1333f737ee9252317
2017-02-08 11:31:15 +00:00
Treehugger Robot
8f33fcdc4b Merge "Fix problem with JavaDoc" 2017-02-08 11:21:29 +00:00
Paul Duffin
b5c09b5487 Fix problem with JavaDoc
Test: make checkbuild
Change-Id: Ia321e0a57ff63aa62adee16d611c063a22807176
2017-02-08 09:16:18 +00:00
Peter Qiu
322c9a9ec5 Merge changes from topic 'Passpoint API Rename'
am: 93d66c83cf

Change-Id: Ibff6d79c8ca51b760932909e89b21e8c843acc89
2017-02-07 23:38:35 +00:00
Peter Qiu
b898025e8c hotspot2: expose Passpoint APIs as public
am: bffe405e1f

Change-Id: I86065439f5902b6ce7b0ceec3f295e14f0dff47f
2017-02-07 23:32:08 +00:00
Peter Qiu
7fec249699 hotspot2: fix class/function/variable names to comply with API guideline
am: da8a67e8a6

Change-Id: I48f7b3ab747c0323aec5208c7a0afa123ff68729
2017-02-07 23:31:02 +00:00
Peter Qiu
c4f4a1ac9e hotspot2: rename classes to comply with API guideline
am: a77809766c

Change-Id: Iaaf34a5ec744775e472d1b3eb8673ebf610b1c61
2017-02-07 23:30:19 +00:00
Treehugger Robot
93d66c83cf Merge changes from topic 'Passpoint API Rename'
* changes:
  hotspot2: expose Passpoint APIs as public
  hotspot2: fix class/function/variable names to comply with API guideline
  hotspot2: rename classes to comply with API guideline
2017-02-07 23:25:04 +00:00
Paul Lawrence
0ab0d47516 Merge "Expand seccomp whitelist"
am: 10e7aed13f

Change-Id: I8060b31a8ac20ddd77b7139c5a3bbd8d146dbc27
2017-02-07 22:59:34 +00:00
Paul Lawrence
10e7aed13f Merge "Expand seccomp whitelist" 2017-02-07 22:50:44 +00:00
Brad Ebinger
3d6f878b75 Merge "Perform camera permission and app ops check when setting camera for VT."
am: ed5c217fc0

Change-Id: I0fd4ed2260a9654e2889121022192f62f86a3d0c
2017-02-07 22:33:05 +00:00
Brad Ebinger
ed5c217fc0 Merge "Perform camera permission and app ops check when setting camera for VT." 2017-02-07 22:26:44 +00:00
Peter Qiu
bffe405e1f hotspot2: expose Passpoint APIs as public
Bug: 34862444
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh

Change-Id: I8bf5c715b9088c673e59a73a78e18f6e6b64d1d1
2017-02-07 13:34:47 -08:00
Peter Qiu
da8a67e8a6 hotspot2: fix class/function/variable names to comply with API guideline
Bug: 34862444
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworsk/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ide425c06be46bc41c8f601e732dca0543de096b1
2017-02-07 13:34:46 -08:00
Peter Qiu
a77809766c hotspot2: rename classes to comply with API guideline
This is purely a file rename operation.

Bug: 34862444
Test: None
Change-Id: I297a228f3ee7e09c9cce5ca9f677eb1db478fd46
2017-02-07 13:34:46 -08:00
Paul Duffin
3e5fbca0c5 Replace com.android.internal.util.Predicate with java.util.function.Predicate
Bug: 35089332
Bug: 30188076
Test: make checkbuild
Merged-In: I0a5b4bf520fc39b59d8d790b01e9cff0d54e6d21
Change-Id: I58e4e35e7b7315033d893748f7c79e1ba6732f39
2017-02-07 16:57:54 +00:00
Paul Lawrence
c47dd7cf0c Expand seccomp whitelist
Bug: 34979910
Test: System boots, app runs
Change-Id: I8b60a24ac855679251e73edcdec57eb4af4a5610
2017-02-07 08:21:29 -08:00
Tyler Gunn
18dfc36012 Add support for wait-on-handlers command.
Add support for wait on handlers adb telecom command.  Used in CTS
tests to ensure work is completed once all Telecom handlers have finished
their current work.

Test: CTS, Manual
Bug: 34159263
Change-Id: I14acc0a04710b445c172629c2327813ee73a5a55
2017-02-06 20:47:04 -08:00
Andreas Huber
0bae9b1406 Merge "Fixes Treble marshaling of strings embedded in structures from Java"
am: 97fca8c035

Change-Id: Iac2492ccc736b83d6ae46022b643fd229c2c307e
2017-02-06 23:45:53 +00:00
Treehugger Robot
97fca8c035 Merge "Fixes Treble marshaling of strings embedded in structures from Java" 2017-02-06 23:41:28 +00:00
Pavlin Radoslavov
cd6e0ee19d Merge "Add a mechanism to configure the default A2DP codec priorities"
am: acf34d8b62

Change-Id: I8a97b344bb09f4bded076ea81875b3b78dc50bea
2017-02-06 23:12:23 +00:00
Jason Monk
4e82bf6c51 Merge "Hotspot Tile: longclick should open Tethering settings"
am: 96c4f1a21e

Change-Id: I42b701c8d390333f6d121bea2ee6c3284e646e9c
2017-02-06 23:03:24 +00:00
Treehugger Robot
acf34d8b62 Merge "Add a mechanism to configure the default A2DP codec priorities" 2017-02-06 22:59:51 +00:00
Miao Wang
eebd7d7970 Merge "Remove uncessary dependency of libhwui"
am: df36be5f17

Change-Id: I5ccce1f195a43ff00b9bd7fc350d7ae915c566d7
2017-02-06 22:56:58 +00:00
Jason Monk
96c4f1a21e Merge "Hotspot Tile: longclick should open Tethering settings" 2017-02-06 22:53:59 +00:00
Tyler Gunn
bf9c6fdb43 Perform camera permission and app ops check when setting camera for VT.
When a calling InCallService attempts to use the setCamera API on the
VideoCall, Telecom will perform a permission check to ensure that the
caller has the correct camera permission and passes the app-ops camera
check.  A failure to set the camera will result in a callback via the
call session event API.

This got a little messy as the app ops package name needs to come from the
InCallService, and handler usage in the VideoProvider API means we had to
pass around the uid/pid of the caller, obtained before we trampoline onto
the handler.

Test: Unit tests added, manual testing performed.
Bug: 32747443
Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
2017-02-06 14:49:03 -08:00
Miao Wang
df36be5f17 Merge "Remove uncessary dependency of libhwui" 2017-02-06 22:47:17 +00:00
Jack Yu
7eac8ec7c1 Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"
am: 84f97e21b2

Change-Id: Ib35393c60b0800d21507bd5d8ffe35345e6e6926
2017-02-06 22:47:05 +00:00
Treehugger Robot
84f97e21b2 Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" 2017-02-06 22:41:11 +00:00
Tyler Gunn
6bd991b3d2 Merge "Self managed CS implementation."
am: d736a6b2c2

Change-Id: I9c1a84cade87a208f2e509fb0f32457c64014147
2017-02-06 22:40:39 +00:00
Tyler Gunn
d736a6b2c2 Merge "Self managed CS implementation." 2017-02-06 22:32:14 +00:00
Brad Ebinger
b9f4a2d6c1 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
am: ed839943e0

Change-Id: Ib8ed5dbf927300503aba1d97af25703b380c56a4
2017-02-06 22:10:26 +00:00
Jack Yu
4dfa6d3630 Renamed voiceNetworkStateChanged and dataNetworkStateChanged
The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: Build
Merged-In: Icf20ceb3718794f7aa62650816714ac8679d101a
Change-Id: Icf20ceb3718794f7aa62650816714ac8679d101a
2017-02-06 14:05:26 -08:00
Brad Ebinger
ed839943e0 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." 2017-02-06 22:03:29 +00:00
Pavlin Radoslavov
2199339c39 Add a mechanism to configure the default A2DP codec priorities
Previously, the relative codec priorities were hard-codec internally.
The new mechanism uses the following configurable resources in
packages/apps/Bluetooth/res/values/config.xml to re-assign the
default codec priorities per device, or to explicitly disable a codec.

 - a2dp_source_codec_priority_sbc
 - a2dp_source_codec_priority_aac
 - a2dp_source_codec_priority_aptx
 - a2dp_source_codec_priority_aptx_hd
 - a2dp_source_codec_priority_ldac

Those values are assigned on startup.
Also, they can be changed per device by using an overlay:
device/<VENDOR>/<DEVICE>/overlay/packages/apps/Bluetooth/res/values/config.xml

Test: Manually streaming to a headset
Change-Id: Ic4da3a51ac73f00cbae731156cb7878c8fadee06
2017-02-06 13:07:23 -08:00
Paul Lawrence
bff26f4bf1 Merge "Expand whitelist"
am: 006065fee4

Change-Id: I8e370c7afddc4911e3860d62809fd007bac40a0b
2017-02-06 20:52:49 +00:00
Treehugger Robot
006065fee4 Merge "Expand whitelist" 2017-02-06 20:43:02 +00:00
Tyler Gunn
cd6ccfd23c Framework fixes to support VoLTE conf calls via RemoteConnectionServices.
Fixing some issues with the addExistingConnection and addConference APIs
on ConnectionService.  When a connection manager relays the addition of
an existing connection or a conference to Telecom, it will assign a new
ID to the new connection/conference.  Due to how RemoteCSes work, the
Connection/Conf will be added directly via TelephonyConnectionService and
also via the connection manager's connection service.  Because the ID
changes, we ended up adding these twice. Conferences weren't a problem in
the GSM conference case because the TElephonyConnectionService's
ConnectionServiceWrapper didn't know of the IDs for the children of the
conference.  However, due to how the existing connections work its not the
case for VoLTE conferences.  To mitigate this, I'm passing the original
connection/conference ID to the connection manager via extras (ugh) and
using this to ensure that when the new existing connection/conference is
added to telecom that the same ID is used.  This ensures that we can
properly de-dupe the requests from TelephonyConnectionService and the
connection manager.

Also, there was some missing code in RemoteConnectionService which would
cause it to not properly track existing connections.

Bug: 31464792
Change-Id: I436f4438fd000ea48ebea7ceb75105bd3f456e46
2017-02-06 12:31:53 -08:00
Miao Wang
6addd61ff8 Remove uncessary dependency of libhwui
- libRS.so is not directly used. It is accessed by libRScpp.so.

Test: mm, and boot-up test on sailfish
Change-Id: I5742d2ee3b34ef09bcb997524408affce1ace8fd
(cherry picked from commit 629fd3d48ba1dbedc6e84e91a26f72fb1fba0e22)
2017-02-06 11:57:31 -08:00
Andreas Huber
7e60311162 Fixes Treble marshaling of strings embedded in structures from Java
Bug: 35038064
Test: hidl_test_java
Change-Id: Ibfdeae06fdf3982d226a7fa87d4c23feeb8e766e
2017-02-06 11:49:26 -08:00
Josh Gao
ce0722f344 Merge changes from topic 'debuggerd_ambient'
am: 0784e51163

Change-Id: I842b682377d92f1b140fe442073d7b97d5090208
2017-02-06 18:53:04 +00:00
Josh Gao
0f2a0b9908 zygote: make all capabilities inheritable.
am: 45dab78e98

Change-Id: I1983899a771bb82f644c75c0fe3e38342aab8402
2017-02-06 18:44:46 +00:00
Josh Gao
c75e4153cf Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
am: 0a2d61505a

Change-Id: I38d9ec4b7be41b5ed7b3d9c30bce1c09315a5135
2017-02-06 18:44:03 +00:00