379583 Commits

Author SHA1 Message Date
Leland Miller
efc16ab0d8 Merge "Add getOrCreateCanonicalAddressId" 2019-02-12 08:54:04 +00:00
markchien
0b5950781d Support multi-SIM entitlement check
1. Trigger entitlement recheck when perferred SIM switch.
2. Get resources from preferred SIM's subId to build
   TetheringConfiguration.

Bug: 120069528
Bug: 122108346
Test: -atest FrameworksNetTests
      -build, flash, booted
      -manual hotspot hotspot with DSDS switch

Change-Id: Icbfa8e84d675c95c0c5563087490ca8e36d91b73
Merged-in: Icbfa8e84d675c95c0c5563087490ca8e36d91b73
2019-02-12 08:20:27 +00:00
Remi NGUYEN VAN
749dfc3083 Merge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack" 2019-02-12 04:47:43 +00:00
Remi NGUYEN VAN
e765e8b7aa Merge "Remove hard-coded NetworkStack package name" 2019-02-12 03:58:09 +00:00
Treehugger Robot
f5a0e41e18 Merge "Grant Shell ability to clear instant app" 2019-02-12 03:42:40 +00:00
Treehugger Robot
a217211cc9 Merge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs" 2019-02-12 03:36:58 +00:00
Pengquan Meng
0beb397fa5 Merge "Add get/set PreferredNetworkTypeBitmap" 2019-02-12 03:08:57 +00:00
Kiyoung Kim
1470f025f5 Schematize ADB system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I654c0e1f234d097a66f79ba8c019b8bebc794816
Merged-In: I654c0e1f234d097a66f79ba8c019b8bebc794816
2019-02-12 02:58:22 +00:00
Steven Moreland
a4912bd4a4 Remove ParcelFileDescriptor.aidl
This is now a built-in type in AIDL.

Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0
2019-02-11 18:54:32 -08:00
Treehugger Robot
db5c59214f Merge "Schematize Display system properties" 2019-02-12 02:50:08 +00:00
Treehugger Robot
190ff7457c Merge "Convert Android.mk file to Android.bp" 2019-02-12 01:24:44 +00:00
Steven Moreland
771478ca17 Remove duplicate networkstack-aidl-interfaces-java
Bug: N/A
Test: N/A
Change-Id: Id34a25e54f742d20e7d451e88d2712c9ed9cdd05
2019-02-11 17:11:54 -08:00
Nazanin Bakhshi
55faf37439 Merge "Make isRebootRequiredForModemConfigChange SystemApi" 2019-02-12 00:37:43 +00:00
Treehugger Robot
c7ec1a8961 Merge "Convert Android.mk file to Android.bp" 2019-02-12 00:33:34 +00:00
Joseph Pirozzo
87d1cdd45e Merge "Check PBAP Server before disconnecting" 2019-02-12 00:29:30 +00:00
Treehugger Robot
bbbeba3c02 Merge "Add owners for accessibility" 2019-02-12 00:07:59 +00:00
Jordan Liu
69a0fb35a6 Merge "Clarify PhoneStateListener documentation" 2019-02-11 23:57:49 +00:00
Michele Berionne
31e933cf78 Merge "Add API to check if a SIM card matches carrier restrictions." 2019-02-11 23:47:25 +00:00
Xiangyu/Malcolm Chen
52a31598e7 Merge changes from topics "118348832", "120945564"
* changes:
  Adding validationBeforeSwitchSupported in phoneCapability.
  Add API to handle user's subscription selection changes.
2019-02-11 23:19:17 +00:00
Sasha Smundak
31754eb5df Convert Android.mk file to Android.bp
See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I52416790e1e4493dd4fe57404095351b8d37ea22
2019-02-11 14:58:20 -08:00
Sasha Smundak
3b988d1782 Convert Android.mk file to Android.bp
See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d
2019-02-11 14:29:27 -08:00
Sahin Caliskan
231a9cb709 Merge "Unhide RcsMessageStore APIs" 2019-02-11 22:25:16 +00:00
Xiangyu/Malcolm Chen
cfe727628d Merge "Adding READ_PRECISE_CALL_STATE permission in phone app." 2019-02-11 22:18:41 +00:00
Jack Yu
0ab3258763 Removed unused variables in cat service
Test: build
Change-Id: I62448494ffddbf2a578302873c8758321766e3d7
2019-02-11 13:48:58 -08:00
Jordan Liu
91b2555e8c Clarify PhoneStateListener documentation
onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.

Fixes: 124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee
2019-02-11 11:41:45 -08:00
Nazanin Bakhshi
0e3e93a07c Make isRebootRequiredForModemConfigChange SystemApi
Bug: 124074656
Test: build
Change-Id: I32c6b0786d32b05d690cea862e977e6a2b756c90
2019-02-11 10:37:45 -08:00
Joseph Pirozzo
cdbab12707 Check PBAP Server before disconnecting
Update disconnect logic to ensure that the proxy to the PBAP server
exists before issueing disconnect.  This brings the code in line with
several of the connect calls.

Bug: 123700890
Test: Disable PBAP server from config, and disconnect a paired device.
Change-Id: Ie14feb5c0fb70f1ed68ba21bc12b4d3349933cc6
2019-02-11 18:31:51 +00:00
Leland Miller
7b378ab803 Add getOrCreateCanonicalAddressId
This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.

Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0
2019-02-11 10:02:22 -08:00
Sahin Caliskan
74ebff87b5 Unhide RcsMessageStore APIs
This change unhides the RcsMessageStore APIs

Test: Existing tests pass. Repo upload didn't complain about anything
API related

Bug:109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc
2019-02-11 16:42:30 +00:00
Paul Duffin
8a99661282 Merge "Deprecate ref... methods in MethodHandleInfo" 2019-02-11 15:25:55 +00:00
Andrei-Valentin Onea
deb35fb00b Merge "Fix regression in Dalvik:HEAP_TOTAL" 2019-02-11 11:26:46 +00:00
Howard Chen
1eb4c54294 Add DynamicAndroidClient
DynamicAndroidClient is the SystemApi to invoke DynamicAndroid
installation service. It also provides a listener for status update.

Bug: 122440941
Test: Compile and run on internal target
Change-Id: I1ea5e861ecaca1647b445eac57ed15a144be68e8
Merged-In: I1ea5e861ecaca1647b445eac57ed15a144be68e8
2019-02-11 14:02:46 +08:00
Jack Yu
0d6bbfd5fb Merge "Added handover support in the factory" 2019-02-09 20:22:03 +00:00
Jack Yu
758a6a7ecd Added handover support in the factory
Test: Manual
Bug: 73659459
Merged-In: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
Change-Id: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
(cherry picked from commit 5f1186eca98a1c5b0de29b1e69a400f8c42e84f0)
2019-02-08 23:29:15 -08:00
Treehugger Robot
1d9ca12d91 Merge "Atom: add more information to BluetootSocketConnectionStateChanged" 2019-02-09 04:09:45 +00:00
Treehugger Robot
9fdd759e40 Merge "WebView: propose myself as OWNER" 2019-02-09 01:59:29 +00:00
Colin Cross
c07f3823d7 Unzip offline-sdk-docs for m offline-sdk-docs or m docs
offline-sdk-docs is the most useful target for local developers
verifying documentation changes.  Unzip offline-sdk-docs.zip
into out/target/common/docs/offline-sdk/ whenever the offline-sdk-docs
or docs targets are built.

Fixes: 124115897
Test: m offline-sdk-docs
Change-Id: I92ce65742e7475cc64a688f2b1893c96ecfd2a52
2019-02-08 11:36:08 -08:00
Paul Duffin
1af02739be Deprecate ref... methods in MethodHandleInfo
These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.

Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d
2019-02-08 14:59:46 +00:00
Mathieu Chartier
e396fe4a02 Merge "Disable view compiler for protected storage" 2019-02-08 13:34:08 +00:00
Mathieu Chartier
5b4264823b Disable view compiler for protected storage
Protected storage has selinux restrictions that currently prevent
views being generated there.

(cherry picked from commit c8aa8ff300761a2d8b1c4770bf38a4b30fe566cd)

Bug: 111895153
Bug: 123778117
Test: manual
Exempt-From-Owner-Approval: cherry-pick

Merged-In: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
Change-Id: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
2019-02-08 13:33:52 +00:00
Paul Duffin
6bb71b0322 Merge "Add TEST_MAPPING for api specifications" 2019-02-08 11:51:39 +00:00
Amit Mahajan
56a6b65322 Merge "Fallback to other format for decoding pdu if needed." 2019-02-08 06:56:37 +00:00
Remi NGUYEN VAN
9c5d964902 Remove hard-coded NetworkStack package name
Have the network stack pass its package name in
showProvisioningNotification instead.

Bug: 124033493
Test: flashed, WiFi and captive portal works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1f3312768ba1fb34e99a827e1fcdaf7510e318a8
2019-02-08 12:12:57 +09:00
Remi NGUYEN VAN
c205f33bc4 Check NetworkStack UID and perms before binding
This ensures that the NetworkStack that is used on the device has a
signature that matches the NetworkStackPermissionsStub.

Test: flashed, WiFi working
Bug: 124033493
Change-Id: Ia1413a4e127e01ab707d3f4887cd39df72c751e3
2019-02-08 11:57:28 +09:00
Malcolm Chen
6ae9f49d3f Adding validationBeforeSwitchSupported in phoneCapability.
Bug: 118348832
Test: sanity
Change-Id: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
Merged-In: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
2019-02-07 17:48:26 -08:00
Jack He
e4ae0e7516 Atom: add more information to BluetootSocketConnectionStateChanged
* Add server_port field to track the server port number of a socket
* Add socket_role field to track whether the socket is a server listener
  or a connection socket
* Add uid field to track the owner of the socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I0c86b724c748844009b8120befd454fb96137a61
2019-02-07 17:44:46 -08:00
Malcolm Chen
77b2b559e1 Add API to handle user's subscription selection changes.
When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.

Bug: 120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Merged-In: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
2019-02-07 17:42:34 -08:00
Malcolm Chen
b8f1b10871 Adding READ_PRECISE_CALL_STATE permission in phone app.
This is needed if internal component wants to listen to
precise call state change.

Bug: 117980553
Test: unittest
Change-Id: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Merged-In: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
2019-02-07 17:37:36 -08:00
Nathan Harold
f199334e3e Merge "Update CellInfo Documentation on Updates" 2019-02-08 01:24:22 +00:00
Nathan Harold
fde347156d Merge "Coerce Unreported BER from ASU=99 to UNAVAILABLE" 2019-02-08 01:22:52 +00:00