Commit Graph

375239 Commits

Author SHA1 Message Date
chen xu
3d59fdb70d new SystemAPI for setCarrierDataEnabled
Bug: 116138716
Test: Telephony unit test
Change-Id: I6fba04dab8fd067f49b17afa2a640b7d00092a3f
Merged-in: I6fba04dab8fd067f49b17afa2a640b7d00092a3f
2018-10-18 15:32:48 -07:00
Hall Liu
0c9254ee66 Merge "Add dynamic support for 4G/LTE/LTE+ icons" 2018-10-18 20:36:06 +00:00
Brad Ebinger
4133a00a10 Merge "Expose ImsExternalCallState constructor as @SystemApi" 2018-10-18 16:54:38 +00:00
Treehugger Robot
aa3970209e Merge "CEC: Make TV try to dispatch the message first" 2018-10-18 15:25:30 +00:00
Treehugger Robot
e31990f54c Merge "Change handling logic in SystemAudioAutoInitiationAction" 2018-10-18 15:04:30 +00:00
David Brazdil
7d044566c6 Merge "Add entries to hidden api greylist" 2018-10-18 13:34:59 +00:00
Xiangyu/Malcolm Chen
1b59a1673a Merge "Define EVENT_DEVICE_PROVISIONING_DATA_SETTING_CHANGE in DctConstants" 2018-10-18 04:41:04 +00:00
Treehugger Robot
f3b7821fbd Merge "AudioService: Add Hearing Aid Switch Control" 2018-10-18 04:24:05 +00:00
weichinweng
c30a3e8d1c AudioService: Add Hearing Aid Switch Control
1) Add setBluetoothHearingAidDeviceConnectionState interface to control
suppressNoisyIntent flag.
2) Add check to confirm the previous device is active or not when want
to clean it.

Bug: 112279820
Test: Build Pass, BT off/on when play A2DP, Switch active device
Change-Id: I73f1236d44213c6cf4a2708f3c96144416cfa67d
2018-10-18 07:28:39 +08:00
Treehugger Robot
7b9184bff4 Merge "audio: apply volume upon hearing aid device connection" 2018-10-17 23:26:26 +00:00
Shuo Qian
a9d551ca7b Merge "Compare Emergency number display priority" 2018-10-17 22:12:02 +00:00
Malcolm Chen
a68019b55b Define EVENT_DEVICE_PROVISIONING_DATA_SETTING_CHANGE in DctConstants
Test: unittest
Bug: 112020101
Change-Id: Icdbda89fb103a4312855d14ab3a365b37564f164
2018-10-17 14:40:21 -07:00
Treehugger Robot
ea008f1429 Merge "AudioService: log hearing aid connection and BECOMING_NOISY" 2018-10-17 20:30:02 +00:00
Hall Liu
c6b2c9df68 Merge "Add new carrier configs for RTT" 2018-10-17 19:58:53 +00:00
Treehugger Robot
1006d271cc Merge "Move bpf project to system/bpf" 2018-10-17 19:39:39 +00:00
Jean-Michel Trivi
f6b5ef92c3 AudioService: log hearing aid connection and BECOMING_NOISY
Bug: 112279820
Test: adb shell dumpsys audio, look under "device connection"
Change-Id: Ibaf77a43649a7dd2bc1b9d9df34ba79fd88ef5be
(cherry picked from commit cc11d500b6)
Merged-In: Ibaf77a43649a7dd2bc1b9d9df34ba79fd88ef5be
2018-10-17 17:43:58 +00:00
Treehugger Robot
95a384daf7 Merge "AudioService: history of A2DP commands" 2018-10-17 17:43:07 +00:00
Brad Ebinger
9a6c675da2 Expose ImsExternalCallState constructor as @SystemApi
1) Expose the ImsExternalCallState constructor as @SystemApi
so that vendors can use this class correctly.
2) Change the call ID from int->String to comply with RFC 4235.

Bug: 117555643
Bug: 115697579
Test: Manual
Change-Id: I980ec091c69d2b3179843bd8485955377b88712e
2018-10-17 10:18:47 -07:00
Jack Yu
1e4f6fbe23 Merge "Supported v1.3 data profile" 2018-10-17 15:56:41 +00:00
David Brazdil
cd8f6ca5ab Add entries to hidden api greylist
Bug: 116509788
Test: m appcompat
Change-Id: I5a1977fdeacab3f4aa3a7104c26931a2fcb21b20
2018-10-17 13:46:51 +01:00
Mathew Inwood
5037a7eb93 Merge "Merge hidden API metadata into a single CSV file." 2018-10-17 09:20:04 +00:00
Jean-Michel Trivi
9d7c28f440 AudioService: history of A2DP commands
Keep history of command coming from A2dpService in AudioService
  logger.

Bug: 110186160
Test: connect/disconnect A2DP device and take bugreport,
      or run $ adb shell dumpsys audio

Change-Id: Ice65c20e91aa2675fbacb1c326a53d5b02bba3e5
(cherry picked from commit 3bf75781ca)
Merged-In: Ice65c20e91aa2675fbacb1c326a53d5b02bba3e5
2018-10-17 05:49:08 +00:00
Eric Laurent
9318aacbfe audio: apply volume upon hearing aid device connection
make sure hearing aid device volume is applied to music stream upon
hearing aid device connection.

Bug: 116145308
Test: repro steps in bug
Change-Id: Iccf6a78a0199c3a0b2aa80a39e7143bf715b261f
2018-10-16 22:05:45 -07:00
Treehugger Robot
23ccecc4ca Merge "Fix Connect State message in Device details for Hearing Aids" 2018-10-17 04:48:36 +00:00
Chen Xu
354fc35005 Merge "refactor radioPowerstate" 2018-10-17 04:10:47 +00:00
Chenbo Feng
5bb4fea967 Move bpf project to system/bpf
The bpf project now have a new project directory in system/bpf instead
of inside netd. The network related bpf library is renamed to
libnetdbpf. Fix the dependency issue in framework to make sure no
regression.

Test: -m CtsNetTestCases -t android.net.cts.TrafficStatsTest
Bug: 112334572
Change-Id: Ibd477bf17d18d516aa520fb1569f4a395ef9abf0
2018-10-17 03:46:35 +00:00
Treehugger Robot
22fe21df93 Merge "iorap: Remove blank newline in TEST_MAPPING" 2018-10-17 01:50:35 +00:00
Shuo Qian
719310cd2c Merge "Make SubscriptionManager.getSlotIndex public" 2018-10-17 00:37:35 +00:00
Treehugger Robot
a8f2601d28 Merge "Stop using DIST_DIR directly, use dist-for-goals instead" 2018-10-17 00:18:07 +00:00
Treehugger Robot
e568805209 Merge "audioservice: fix a2dp connection race condition" 2018-10-16 23:49:35 +00:00
Eric Laurent
07f582189a audioservice: fix a2dp connection race condition
In case of fast (< 1 second) A2DP disconnect/connect sequence, there
is a potential race condition where the delayed disconnection message
(due to becoming noisy intent) is received after the not delayed
connection message.

- Make sure all messages related to device connection/disconnection
(including MSG_A2DP_DEVICE_CONFIG_CHANGE and MSG_BTA2DP_DOCK_TIMEOUT)
are handled by queueMsgUnderWakeLock().
- Make sure messages are processed in the same order as API calls.
- Add check for null address in makeA2dpDeviceUnavailableNow().

Bug: 109903807
Bug: 78837311
Test: repro steps in bugs. A2DP connection and playback

Change-Id: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0
(cherry picked from commit 3c4636c712)
Merged-In: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0
2018-10-16 15:29:25 -07:00
Treehugger Robot
7cbabff3f0 Merge "iorap: Add presubmit/postsubmit support" 2018-10-16 22:21:33 +00:00
Igor Murashkin
e53713c514 iorap: Remove blank newline in TEST_MAPPING
Change-Id: I378e86327951daa05512efd2ac491d27f9995ddd
2018-10-16 15:15:21 -07:00
sqian
5660149817 Compare Emergency number display priority
Define the rules for emergency numbers that may have higher display
priority, and make Emergency number comparable for these values. This
is also essential for sorting the list so that an emergency number with
higher display priority should be listed in a lower index.

Test: Treehugger, unit test
Bug: 112657134
Change-Id: I46fb009ce862ec3c593a05b4b04e180faf198fc4
2018-10-16 14:44:53 -07:00
Jack Yu
72e3077715 Supported v1.3 data profile
1. Supported IRadio v1.3 data profile.
2. Do not send data profile list when the list is empty.
3. Only set profile id when the data profile must persist on the
   modem.

Test: Manual and unit tests
Bug: 73659459

Change-Id: I1414b5346cec1d617f7093c3761dbd77fe594a8b
2018-10-16 14:21:58 -07:00
Peiyong Lin
fde18facba Merge "[Graphics] Align Display P3 transfer function coefficients." 2018-10-16 17:49:00 +00:00
Treehugger Robot
2579dcd17e Merge "Remove libcore/io members from light grey list" 2018-10-16 17:31:33 +00:00
Peiyong Lin
7a45d2c310 [Graphics] Align Display P3 transfer function coefficients.
The transfer function of Display P3 should be sRGB transfer function,
previously we defined f as 0.039, however, the sRGB transfer function defines f
as 0.04045. This patch fixes it.

BUG: 116726537
Test: Build, flash and boot

Change-Id: I247092d8ce939aa743f23a1f8688cbaf0874fb99
Merged-In: I247092d8ce939aa743f23a1f8688cbaf0874fb99
2018-10-16 16:50:25 +00:00
Nathan Harold
9ec58ff433 Merge "Move SDK Check for getNeighboringCellInfo" 2018-10-16 16:50:22 +00:00
Treehugger Robot
f943c52105 Merge "Fix issue with sort_api.sh" 2018-10-16 16:47:08 +00:00
Treehugger Robot
3e7d810a2f Merge "Start on DexBuilder" 2018-10-16 15:53:18 +00:00
Treehugger Robot
127421b2d0 Merge changes I66e40b4b,I599a2ff9,I7c210623
* changes:
  [PT16] Simplification of sendProxyBroadcast.
  [PT15] Tiny bugfix in setGlobalProxy
  [PT14] No-op refactoring of sendProxyBroadcast
2018-10-16 14:48:33 +00:00
Paul Duffin
7826c7afa3 Remove libcore/io members from light grey list
These members are now specified using the d.a.c.UnsupportedAppUsage
annotation on the members themselves.

Test: ensured that generated light grey list did not change
Bug: 117818301
Change-Id: I51c2f9544517b46d0b8821fbeb5b008342b99770
2018-10-16 14:30:18 +01:00
Paul Duffin
c78bea41c6 Fix issue with sort_api.sh
Should use -ne not -neq.

Test: run script manually
Bug: 115609023
Change-Id: I337ed43be1f9250e6c2b2c88d97c68a5c9e8941c
2018-10-16 14:30:01 +01:00
Treehugger Robot
08667cc9c1 Merge "Fix flaky ScheduleCalendarTest" 2018-10-16 11:43:58 +00:00
Mathew Inwood
ea14c0c36f Merge hidden API metadata into a single CSV file.
Add a python script to merge the CSV files, dealing with the fact that the
source columns may differ due to the annotation properties present in the
source.

Add this new file and the existing greylist.txt files as dependencies of
the 'dist' target, so that they appear as artifacts on the build server.
This allows them to be processed later by reading them from the build
server.

Test: m out/target/common/obj/PACKAGING/hiddenapi-greylist.csv
Bug: 117314178
Change-Id: Ib9e5da90e4c32333a3f4f02ee7f159f77086ae5e
2018-10-16 12:12:27 +01:00
Mathew Inwood
adbc7dfc28 Merge "Add new "max-sdk-p blacklist"." 2018-10-16 10:01:39 +00:00
Luke Huang
9b20115264 Merge "Network-related commands porting" 2018-10-16 07:44:37 +00:00
Nathan Harold
cb1c5ad25d Move SDK Check for getNeighboringCellInfo
Move the SDK check for getNeighboringCellInfo() to
inside the phone process for security.

Bug: 117520186
Test: atest CtsPermissionTestCasesSdk28
Change-Id: I9ca059dad0ed5d2107af154e0a63c282133aba3d
2018-10-15 20:15:51 -07:00
chen xu
760729c33e refactor radioPowerstate
1. new System API for getRadioPowerState with permision check
2. new System API for onRadioPowerStateChanged in PhoneStateListener
3. replace radioState enum in CommandsInterface to telephonyMgr defined
int.

Bug: 117349311
Test: telephony unit test
Change-Id: I502568280fbf9213ca6bf1f7fb204d0d4ce86580
Merged-in: I502568280fbf9213ca6bf1f7fb204d0d4ce86580
2018-10-15 16:56:04 -07:00