Commit Graph

425136 Commits

Author SHA1 Message Date
Jerome Gaillard
a56124379c Merge "Use Metalava to get SDK metadata for devtools" 2019-10-21 09:32:12 +00:00
Chen Xu
80e531234f Merge "Cellbroadcast util lib" 2019-10-20 05:16:38 +00:00
Chen Xu
0e9d6756bc Cellbroadcast util lib
Bug: 135956699
Test: Build
Change-Id: I247bfb3d877334fe822332275e37f015e10a566e
(cherry picked from commit 4fea79cc58)
Merged-in: I247bfb3d877334fe822332275e37f015e10a566e
2019-10-20 03:59:57 +00:00
Treehugger Robot
30b3905091 Merge "Remove unnecessary dependencies on ART internal libraries." 2019-10-19 12:20:47 +00:00
Treehugger Robot
edadd4e303 Merge "Add sarahchin to OWNERS" 2019-10-19 01:16:06 +00:00
Sarah Chin
8c71d38a64 Add sarahchin to OWNERS
Test: no test
Change-Id: Ia2f1c59046904c059e8edcbed19abf9f46a01f50
2019-10-18 16:35:24 -07:00
Jordan Liu
6af905e0fe Merge "[DO NOT MERGE] Add CellBroadcastService and related permissions" 2019-10-18 23:22:12 +00:00
Jordan Liu
7aea30267c [DO NOT MERGE] Add CellBroadcastService and related permissions
CellBroadcastService is bound to by the platform to handle cell
broadcasts.

Bug: 135956699
Test: manual
Change-Id: I865c09d6d246779b706c06371df685d415618699
2019-10-18 14:20:50 -07:00
Sarah Chin
1cbe1249fb Merge "Add disconnect causes for WFC use cases." 2019-10-18 19:15:14 +00:00
Tyler Gunn
b6377c0bf1 Merge "Telecom API updates for mainline support." 2019-10-18 18:12:13 +00:00
Tyler Gunn
ca3bd1aba6 Add disconnect causes for WFC use cases.
Add new disconnect cause used when an attempt is made to place an
emergency call over WFC but the service is unavailable.
Add new disconnect cause when WFC is not available in an area.

Bug: 128993720
Test: Unit tests added to confirm remapping.
Change-Id: I15dcff8fabc06b5d469d083b0970fe0e77e7d318
Merged-In: I8c452c8e12f6ac3549480635132eab9d2ba03e2c
2019-10-18 18:07:40 +00:00
Jimmy Chen
8a9a9adaeb Merge "p2p: mirgrate p2p into tethering modes" 2019-10-18 05:42:31 +00:00
Aaron Huang
7b98130570 Merge "Expose MacAddress methods to public API" 2019-10-18 03:45:40 +00:00
Marco Nelissen
147d162e10 Merge "Move JetPlayer implemention and JNI" 2019-10-18 00:28:31 +00:00
Martin Stjernholm
969ad1d1c0 Remove unnecessary dependencies on ART internal libraries.
Bug: 133140750
Test: atest FrameworksNetTests
Change-Id: Id6817a2ae09eb6ecfc4c5c8dc08ade44a16d710b
2019-10-17 23:29:57 +01:00
Marco Nelissen
f0ef85669c Move JetPlayer implemention and JNI
The JetPlayer implementation in libmedia was only used by the
JetPlayer JNI code in libandroid_runtime. This change moves
both implementation and JNI to libmedia_jni. This reduces
libandroid_runtime's dependency on libmedia, and results in
a net size reduction of the libraries involved.

Test: atest JetPlayerTest
Change-Id: I028c774fdea167924b064855267254c15f22fddb
Merged-In: I028c774fdea167924b064855267254c15f22fddb
2019-10-17 21:33:07 +00:00
Tyler Gunn
c63f9082a6 Telecom API updates for mainline support.
Moving some Telecom APIs into public since they are harmless to expose.
Moving some other Telecom APIs into the System API space since they're
API details specific to the TelephonyConnectionService so don't need to
be exposed in the public API.

Bug: 141576016
Test: Manual smoke test.
Test: Run unit tests.
Test: Run CTS tests.
Change-Id: Iaf75b9d671712d791f501c11536e73436908f7de
Merged-In: Iaf75b9d671712d791f501c11536e73436908f7de
2019-10-17 10:05:44 -07:00
Tom Cherry
8facba4326 Merge "Use sizeof(android_log_header_t) instead of sizeof its components" 2019-10-17 13:41:42 +00:00
Jerome Gaillard
b59a1cd637 Use Metalava to get SDK metadata for devtools
Metalava, not Doclava, should be used to extract the metadata used in
devtools. The files created then need to be copied into the SDK.

Bug: 142480924
Test: m sdk
Change-Id: I7eb15341fde9520d51a696a6416a63e6c19c71f9
2019-10-17 13:33:10 +01:00
Hall Liu
22027a86e2 Merge "Add SDK compatibility code for new call states" 2019-10-16 23:11:58 +00:00
Brad Ebinger
637c07424f Merge "Add CarrierConfig of voicemail number for roaming and IMS unregistered" 2019-10-16 22:54:54 +00:00
Tom Cherry
937e1bdc1f Use sizeof(android_log_header_t) instead of sizeof its components
Particularly because sizeof_log_id_t is a misnomer and is going away.

Test: build, liblog and logcat unit tests
Change-Id: I7978bf83e44336a334229753ff1e11a07134e8fc
2019-10-16 15:48:56 -07:00
Treehugger Robot
ebe03edac6 Merge "Re-enable the following tests in pre-submit: cts.AlarmManagerTest#testSetRepeating, cts.SystemFeaturesTest#testSensorFeatures" 2019-10-16 20:30:25 +00:00
Raman Tenneti
8bc14a4acc Re-enable the following tests in pre-submit:
cts.AlarmManagerTest#testSetRepeating,
  cts.SystemFeaturesTest#testSensorFeatures

These above two tests were already marked as Flaky and thus removing the unnecessary exclude-filters.

Bug: 139535125
Bug: 142677497
Bug: 142679048
Test: Forrest runs - L31100000373321096

Change-Id: I06aa4d28f00862d21d954a5069aba3327b5b1483
Merged-In: Iffec912af4ee9dd3de2090a31bd475abc5016854
Exempt-From-Owner-Approval: Re-enabling known working test in TEST_MAPPING
for aosp-master.
2019-10-16 17:45:38 +00:00
Riddle Hsu
0d5b27b2db Merge "Fix: Recent Apps not closing" 2019-10-16 14:43:19 +00:00
Treehugger Robot
0d1847aecb Merge "Add ATV Core Framework team as owners of TV status bar" 2019-10-16 14:08:02 +00:00
Adrian Roos
4b5bcc1cb2 Merge "API Lint: Fix system-lint-baseline.txt" 2019-10-16 12:07:52 +00:00
Andrei-Valentin Onea
3914defb43 Merge "Revert "Example for disabling changes at test time"" 2019-10-16 10:29:59 +00:00
Andrei-Valentin Onea
64d5222a95 Revert "Example for disabling changes at test time"
This reverts commit 12765612f3.

Reason for revert: http://b/142758681 

Change-Id: I3e844bf1794e355187934a0370cdc94ece44deb8
2019-10-16 10:10:36 +00:00
Treehugger Robot
ae48da3c55 Merge "Add ITelephony setCepEnabled command line command." 2019-10-16 06:13:47 +00:00
Treehugger Robot
f7cf0dfa55 Merge "[frameworks][base][hwui] fix -Wimplicit-int-float-conversion" 2019-10-16 03:48:23 +00:00
Lucas Lin
931234b451 Merge "Remove the network capabilities which are added twice" 2019-10-16 03:17:48 +00:00
Hall Liu
15ddba32e0 Merge changes from topics "add-certs-cp", "feature_BusyTone_for_DisconnectCause"
* changes:
  Add new carrier config to extend DisconnectCause to play busy tone
  add certs to carrier configs and store them as UiccAccessRules
2019-10-15 23:46:17 +00:00
Nathan Harold
994f656312 Merge "[DO NOT MERGE] Check CellInfoCallback Detail for Null" 2019-10-15 22:29:52 +00:00
Xiangyu/Malcolm Chen
6ddfde96fd Merge "Remove isActivePhoneId as it's moved to PhoneConfigurationManager." 2019-10-15 20:15:24 +00:00
Nathan Harold
fff052067c [DO NOT MERGE] Check CellInfoCallback Detail for Null
In cases where the source of the CellInfo fails
but does not generate a Throwable, the detail info
will not be provided and should be null. Inside the
user process, we need to check for null before
dereferencing the detail object. Oops. :-(

Bug: 142706765
Bug: 142421696
Test: manual
Change-Id: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
2019-10-15 12:49:37 -07:00
Xiangyu/Malcolm Chen
50c4313058 Merge changes from topic "141388730"
* changes:
  In CarrierTextController replace getPhoneCount with getMaxPhoneCount.
  Replace getPhoneCount with getMaxPhoneCount upon object allocation.
2019-10-15 17:57:49 +00:00
Andrei-Valentin Onea
f39e53882c Merge "Example for disabling changes at test time" 2019-10-15 17:38:52 +00:00
Treehugger Robot
1cec587b1a Merge "libmedia_jni: separate codeclist from libmedia" 2019-10-15 16:58:00 +00:00
vincent.cw_lee
f59b813536 Fix: Recent Apps not closing
Root Cause: notifyTaskStackChanged() will be invoked on activity pause
state or finishing an activity from recents.
However, launcher and recent apps are the same activity on android Q
by default, so close an app with back button(activity has been finished)
and open recent apps from launcher(activity lifecycle does not change)
will not notify listeners of task stack changes.
Solution: Notify task stack changes directly when user swipe an app away
from recent apps.

Test:
1. Close an app with back button
2. Go to recent apps and close the same app by swipe it away
3. Exit recent apps with back button
4. Open recent apps again and the app should be removed from the list.

Bug: https://issuetracker.google.com/issues/140142873

Change-Id: I1f58747d5164c45d66d53843e0b5b8c54662cdc3
2019-10-15 14:21:13 +00:00
Aaron Huang
f857470625 Expose MacAddress methods to public API
To support mainline modules, adding the methods which
are used by wifi.

Bug: 139268426
Bug: 135998869
Bug: 138306002
Test: atest android.net.cts
      atest android.net.wifi.cts
      atest FrameworksNetTests
      atest NetworkStackTests
      ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh

Change-Id: I49856863c15b6b3b59aa867a77b0f137003149ef
2019-10-15 17:33:05 +08:00
lucaslin
3302cfc6dd Remove the network capabilities which are added twice
Remove the network capabilities which are added twice in
createDefaultNetworkCapabilitiesForUid() and
createDefaultInternetRequestForTransport(). In the constructor
of NetworkCapabilities, it will add the DEFAULT_CAPABILITIES
which includes the NOT_RESTRICTED.

Bug: 142370233
Test: 1. Build pass.
      2. atest FrameworksNetTests
Change-Id: I7159909aec8faa7f25cef94195bdaea0fea55840
2019-10-15 17:13:45 +08:00
Xiangyu/Malcolm Chen
7d099030de Merge "Allow notifyCarrierNetworkChange on grouped oppt subscriptions." 2019-10-15 04:38:14 +00:00
Amit Mahajan
1656b2b201 Merge "Move nist-sip from ext.jar to voip-common.jar" 2019-10-15 02:56:40 +00:00
Yi Kong
d6e30691e5 Merge "[hwui] Remove -Wno-missing-braces" 2019-10-15 01:21:56 +00:00
Saki Oomori
a70040841a Add new carrier config to extend DisconnectCause to play busy tone
This carrier config is used to specify additional DisconnectCause for
playing busy tone.

Bug: 116189822
Test: manual - Checked that busy tone is played according to
"KEY_DISCONNECT_CAUSE_PLAY_BUSYTONE_INT_ARRAY".
Change-Id: I58afb08ddc718bfb23d6c8b4f248c4c05d084829
2019-10-14 18:20:54 -07:00
Nazanin Bakhshi
693cec2025 add certs to carrier configs and store them as UiccAccessRules
Bug: 138388637
Test: tested with local override and made sure they are read and parsed
Change-Id: I50fb11444f0da33ae48683b834e6ca50941ad1b7
Merged-In: I50fb11444f0da33ae48683b834e6ca50941ad1b7
2019-10-14 18:17:12 -07:00
Amit Mahajan
ecbc5f5ee9 Move nist-sip from ext.jar to voip-common.jar
No component other than voip-common uses it.

Test: basic sanity
Bug: 140872785

Merged-in: Ie8c9a7266d1ed9ea67b43c9267610e236b6e547a
Change-Id: Ie8c9a7266d1ed9ea67b43c9267610e236b6e547a
(cherry picked from commit 18f5877436)
2019-10-14 17:30:11 -07:00
Treehugger Robot
6afb115dea Merge "Allow protoc-gen-javastream to build statically" 2019-10-14 23:42:23 +00:00
Xiangyu/Malcolm Chen
f918b0dc57 Merge "Check Carrier Privilege on Hidden Subs" 2019-10-14 23:14:43 +00:00