432081 Commits

Author SHA1 Message Date
Treehugger Robot
97757aa697 Merge "Adds ToBits helper method to convert instructon opcode enum to bits" 2019-11-06 11:12:46 +00:00
Treehugger Robot
52218ffa3b Merge "Add disclaimer to Debug.getRuntimeStat()" 2019-11-06 11:06:43 +00:00
Orion Hodson
c2348fa906 Merge "Switch to slicer DEX opcode definitions" 2019-11-06 07:42:40 +00:00
liulvping
e7dade153c BugFix: add synchronized protection
Test: manual

Change-Id: I1e8b4756e435c13cead2b21619a0c72a399117f7
Signed-off-by: liulvping <liulvping@xiaomi.com>
2019-11-06 15:15:10 +08:00
Jordan Liu
30adc04701 Add CDMA SCP message handling to CellBroadcast module
SCP messages are used to turn on/off categories of emergency handling.

Bug: 135956699
Test: manual
Change-Id: I4729cb98dec46560aefee570af58ff4a737cacf3
Merged-In: I4729cb98dec46560aefee570af58ff4a737cacf3
2019-11-05 16:56:40 -08:00
Jordan Liu
efa3cc419c Merge "Move cell broadcast service module directory" 2019-11-06 00:41:51 +00:00
Jing Ji
54edb41f94 Merge "Add MAP_ANONYMOUS to OsConstants" 2019-11-05 23:54:28 +00:00
Brad Ebinger
7370458ca9 Fix new registration APIs as per API council guidelines
Bug: 143653269
Bug: 143653007
Test: atest FrameworksTelephonyTests GtsTelephonyTestCases
Merged-In: I634cbf2b9cd91bfa53729ccc4bfc92e9c4808976
Change-Id: I634cbf2b9cd91bfa53729ccc4bfc92e9c4808976
2019-11-05 23:44:05 +00:00
Dheeraj Shetty
82280a6d10 Fix APN build
ApnSetting builder does not consider non-wildcardable APNs. Add a new
type that includes all APNs.

Test: Manual
Bug: 142369363, 142829281
Change-Id:I38886aad2bc605f879816835c8b1499754b29c04
2019-11-05 13:53:25 -08:00
Treehugger Robot
7516db2ec2 Merge "AudioService: fix step rescaling." 2019-11-05 19:42:45 +00:00
Jordan Liu
776242c0c6 Move cell broadcast service module directory
Update the permissions and resource to reflect this move.

Bug: 135956699
Test: manual
Change-Id: I8c798f48e3a342cc2ce29d1f7f199ae1337ff2d0
Merged-In: I8c798f48e3a342cc2ce29d1f7f199ae1337ff2d0
2019-11-05 11:28:53 -08:00
Meng Wang
e777c27788 Merge "Do not use hidden API ParcelableException" 2019-11-05 18:12:37 +00:00
Artur Satayev
19305b4f0e Plumb @TestApi enforcement policy to runtime.
By default access to test APIs would be allowed for instrumented processes only.

Bug: 133832325
Test: manual
Change-Id: Iaaa54a3fe04624a7b5b9f4304d39fc37580568c8
2019-11-05 18:08:44 +00:00
Mathieu Chartier
d2408367f3 Merge "Add test for system server method sampling" 2019-11-05 17:00:57 +00:00
Jack Yu
300a0262b9 Merge "Have isValidPhoneId and isValidSlotIndex based on activeModemCount." 2019-11-05 16:38:47 +00:00
Adrian Roos
c58832221c Merge "API Lint: Ignore CallbackInterface in platform" 2019-11-05 16:17:43 +00:00
Malcolm Chen
a43e23fb38 Have isValidPhoneId and isValidSlotIndex based on activeModemCount.
Bug: 142514392
Test: sanity and unittest
Merged-In: Ia66ee24151d1ec8ecde2dcb4c824a19b4d2cd172
Change-Id: Ia66ee24151d1ec8ecde2dcb4c824a19b4d2cd172
(cherry picked from commit dde04f8f4afe453dd844a8b012320b7757cdf67c)
2019-11-05 06:52:25 -08:00
Mark Chien
5d6eea1bc5 Merge "[Tether06] Migrate tether offload controller into module" 2019-11-05 12:48:46 +00:00
Meng Wang
1e486d9b4a Do not use hidden API ParcelableException
ParcelableException, when written into Parcel, just keeps the
excaption class name and its string representation. So we
pass the same across AIDL and compose the Exception class
on the other side, following how a ParcelableException
is read from Parcel.

Bug: 141315988
Test: make
Change-Id: I92083c8a22e58c07a3537d11b1e1c143ece99031
Merged-In: I92dd527aad1e174871c330d1c043189407e136cb
2019-11-04 21:56:24 -08:00
markchien
77c17be6f3 [Tether06] Migrate tether offload controller into module
The tether offload JNI library in this patch still have many dependencies
with internal libraries. Will have follow up changes to cut the
dependencies to let it be a unbundled library.

Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests
      -atest FrameworksNetTests

Change-Id: Iacf8e0b94135e35672de3ee77c474ee39a00c591
2019-11-05 12:49:50 +09:00
Xiangyu/Malcolm Chen
0549e43f1d Merge "Add a carrier config to specify validation timeout for data switch." 2019-11-04 23:42:29 +00:00
Chen Xu
386027afdd Merge "new telephony annotation class" 2019-11-04 23:29:39 +00:00
Amit Mahajan
4ae457ad9d Merge "Create @SystemApi CarrierMessagingServiceWrapper." 2019-11-04 22:54:58 +00:00
Rahul Sabnis
644d3dd923 Refactor BluetoothAdapter APIs used by Settings
Bug: 143238544
Test: Manual
Change-Id: Ia831d2b4b628b746493602857bcb54b585f13e12
2019-11-04 21:55:54 +00:00
Mathieu Chartier
f34532e53a Add test for system server method sampling
Verify that the package manager constructor is in the profile.

Bug: 139883463
Test: atest BootImageProfileTest
Change-Id: I53350be972771c246c95f623eeb1289c59c9ba84
2019-11-04 13:53:35 -08:00
Treehugger Robot
8e34d95a22 Merge changes from topic "tethering-systemapi"
* changes:
  Clarify JavaDoc for SoftAP APIs
  Promote @hide APIs to @SystemApi for tethering
2019-11-04 21:42:38 +00:00
Chen Xu
7631ff7c48 new telephony annotation class
This is a preparatory work for mainline. since Intdef is hidden, so we
have to move some annotations (applied in SDK/system API) to a separate
annotation class and having other module statically link to it.

TODO: include telephony annotation in framework-non-updatable-sources

Bug: 140908357
Test: Build
Change-Id: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1
(cherry picked from commit c9d4ee112e5441ae01502d597f6661f0feecc363)
Merged-in: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1
(cherry picked from commit 4712711d3d91621083bf92f5a1647b92c20a8b81)
2019-11-04 21:26:50 +00:00
Malcolm Chen
448b51d41d Add a carrier config to specify validation timeout for data switch.
Bug: 142884903
Test: manual test
Change-Id: Id8dc2da05efdf4dd53d03b133cc9f47efd196e02
Merged-In: Id8dc2da05efdf4dd53d03b133cc9f47efd196e02
2019-11-04 13:22:21 -08:00
Brad Ebinger
87f76cc002 Merge "Add new API for call line identification query responses" 2019-11-04 21:07:29 +00:00
Amit Mahajan
02e56cc0ba Create @SystemApi CarrierMessagingServiceWrapper.
This is primarily a wrapper over ICarrierMessagingService
that to create a stable API to communicate with CarrierMessagingService.

Test: basic messaging sanity
Bug: 143609473
Merged-in: I67fda8bab3902b358c483f992633dbdfe3a8cda2
Change-Id: I67fda8bab3902b358c483f992633dbdfe3a8cda2
(cherry picked from commit 92642659e81b2358dce0969661003287564ace03)
2019-11-04 12:44:01 -08:00
Amit Mahajan
c7f1b38dcd Merge "Move MmsManager and IMms to frameworks/base/mms" 2019-11-04 20:25:14 +00:00
Jordan Liu
234ede4445 Merge "Pass bearerData and serviceCategory to CB module for CDMA" 2019-11-04 20:14:15 +00:00
Jordan Liu
08a94a2236 Merge "Expose Context.sendOrderedBroadcast with appop" 2019-11-04 19:59:28 +00:00
Treehugger Robot
dc51e5ef21 Merge "Store elapsedRealtimeNs as int64 instead of long" 2019-11-04 19:51:29 +00:00
Adrian Roos
a90de2e13d API Lint: Ignore CallbackInterface in platform
It is okay to use callback interfaces because with Java 8 default interface
methods avoid the extensibility issue interfaces had previously.

Test: make checkapi
Change-Id: I7c931af638b83b4242f03dde9bc460b0981f66cd
2019-11-04 19:44:57 +00:00
Adrian Roos
6c089ac042 Merge "API Lint: update baseline for new checks" 2019-11-04 19:43:20 +00:00
Amit Mahajan
153d31bc37 Move MmsManager and IMms to frameworks/base/mms
Test: basic sanity
Bug: 140763963
Merged-in: Ib2cffce98f62913c3e50c59b63012c39d595d9ce
Change-Id: Ib2cffce98f62913c3e50c59b63012c39d595d9ce
(cherry picked from commit 6237a6b35cd127cc39973b640e25d198466229a7)
2019-11-04 11:27:49 -08:00
Jack Yu
4d854986f3 Merge "Added slot index version of getNetworkCountryIso" 2019-11-04 19:02:04 +00:00
Brad Ebinger
a3e3c595ff Add new API for call line identification query responses
The old API was not well documented and took a Bundle although
all parameters are exposed in ImsSsInfo. Creates a new API
that uses ImsSsInfo. Also add @Deprecated SystemApi definition
for older implementations that still use the old method.

Bug: 122098288
Test: atest FrameworksTelephonyTests
Merged-In: I37c2e643296d82312c9d4ba6e196118260009233
Change-Id: I37c2e643296d82312c9d4ba6e196118260009233
2019-11-04 18:41:13 +00:00
Chen Xu
7a79194fcb Merge "new TelephonyRegistryManager" 2019-11-04 18:21:51 +00:00
Amit Mahajan
987d1d04d7 Merge "Make APIs in the base CellInfo class public." 2019-11-04 18:21:36 +00:00
Orion Hodson
cc8b8ca466 Adds ToBits helper method to convert instructon opcode enum to bits
Bug: 142948359
Test: atest dex-builder-test
Change-Id: Ic1c02e74dd787107c08bd34ca861eee89d6d1423
2019-11-04 16:58:26 +00:00
Adrian Roos
60b98071ed API Lint: update baseline for new checks
Test: make checkapi
Change-Id: Ie55af30767936c1cc1c1543a0b5838a732b82c59
2019-11-04 17:56:17 +01:00
Adrian Roos
8fa64738e9 Merge "Revert "Revert "API Lint: Enable for TestApi""" 2019-11-04 16:22:21 +00:00
Treehugger Robot
28c3ca2d41 Merge "Remove libcore implementation source from hiddenapi-mappings" 2019-11-04 15:43:10 +00:00
Adrian Roos
d1715e8cee Revert "Revert "API Lint: Enable for TestApi""
This reverts commit 718428355f5ab75d1a3ef890f86abc52fe018ce8.

Fixes: 139833475
Test: make droid
Change-Id: I61316a8f314dccb7718bf8ab159e167d554d2525
Merged-In: I61316a8f314dccb7718bf8ab159e167d554d2525
2019-11-04 16:33:39 +01:00
Paul Duffin
1e0342fd2c Remove libcore implementation source from hiddenapi-mappings
There is an overlap between the source code provided by the
metalava-api-stubs-default and that provided by the
non_openjdk_java_files and openjdk_java_files filegroups. That causes
problems when switching the API generation from libcore implementation
code to libcore stubs code.

Removing the libcore implementation sources will remove any mappings
from class/member signatures to source location for any files from
libcore but that should not be a problem as that was only used for
batch addition of UnsupportedAppUsage annotations and that has alreadu
been done.

Bug: 143864733
Test: m hiddenapi-mappings && m checkbuild
Change-Id: Id47dcb8fc497c9bafa6f501cb2debb835a5f6942
2019-11-04 14:11:04 +00:00
James.cf Lin
2bc9cd4c6c [RCS] Create AIDL layer for RcsUceAdapter, create RCS UCE controller implementation in Telephony.
Bug: 139260938
Test: Manual
Change-Id: I9f70c8fe4167b51fa82bfb68ae9eacc422194309
2019-11-04 21:04:01 +08:00
Martijn Coenen
ef6fe13c77 Merge "Don't hold sProxyLock while retrieving interface descriptors." 2019-11-04 07:51:11 +00:00
Amit Mahajan
f7aec5de09 Merge "Move SmsApplication to telephony/common." 2019-11-03 22:39:39 +00:00