432081 Commits

Author SHA1 Message Date
Nicolas Geoffray
813b9e8cb4 Whitelist file descriptors created through memfd_create.
ART has the need of creating such a file descriptor.

Bug: 119800099
Test: Device boots
Change-Id: Iefeab88e9f1b2dcf963ea913e416863191a52e8f
2019-10-24 15:33:01 +01:00
Mark Chien
c7ed6b4fe5 Merge "[Tether02] Migrate TetheringConfiguration into module"
am: 72d5460dda

Change-Id: I8fa812a78f61976741bc06ccf4000f625b75ecbe
2019-10-24 06:38:24 -07:00
Mark Chien
ba2f29b80a Merge "[Tether01] Add Tethering App"
am: 8c26c38984

Change-Id: I060d5557d8cc01a7503292cccf6c636f3d4660c9
2019-10-24 06:34:11 -07:00
Mark Chien
72d5460dda Merge "[Tether02] Migrate TetheringConfiguration into module" 2019-10-24 13:10:24 +00:00
Mark Chien
8c26c38984 Merge "[Tether01] Add Tethering App" 2019-10-24 13:10:04 +00:00
Anna Trostanetski
443d3d0f11 Merge "Add userId to the package name API."
am: dcc401b7b7

Change-Id: Ib1b52a3f1082ce6f6d6087080e3e1bc5677f5026
2019-10-24 05:53:50 -07:00
Anna Trostanetski
dcc401b7b7 Merge "Add userId to the package name API." 2019-10-24 12:38:33 +00:00
Neil Fuller
eef56a4e6c Merge "Fix docs to be clearer and more maintainable"
am: 7e62a930a1

Change-Id: I9803c6c8dc78bfd2f86d7850368dfb9ad82ebbf6
2019-10-24 03:09:07 -07:00
Neil Fuller
7e62a930a1 Merge "Fix docs to be clearer and more maintainable" 2019-10-24 09:51:07 +00:00
Chiachang Wang
b862f54f41 Merge "Extend netlink class to fit the data structure"
am: 0825500b27

Change-Id: I8761a413249e5ba95f584e0a89c7acfa388d7f00
2019-10-24 00:45:37 -07:00
Chiachang Wang
0825500b27 Merge "Extend netlink class to fit the data structure" 2019-10-24 07:31:53 +00:00
Michele
e8eefec918 Merge "Removal of usage of hidden APIs"
am: 78b20d0d58

Change-Id: I81d1791744a419b1f0a38559335b83bab3b80512
2019-10-23 23:24:38 -07:00
markchien
08cc03051a [Tether03] Migrate IpServer into module
Add IpServer which is used to serve ip configuration, dhcp, dns proxy
and nat for downstream interface.

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

Change-Id: I23652ae0b9509abe7d38da96d523eb22ab00a343
2019-10-24 14:20:52 +08:00
Michele
56b33d2e93 Merge "Replace Rlog with Log in CarrierDefaultApp"
am: 2cbb5a9f2d

Change-Id: I58f3f18f1d701af9c98474660ee1653f06c31ec3
2019-10-23 23:20:34 -07:00
Treehugger Robot
78b20d0d58 Merge "Removal of usage of hidden APIs" 2019-10-24 06:03:26 +00:00
Treehugger Robot
2cbb5a9f2d Merge "Replace Rlog with Log in CarrierDefaultApp" 2019-10-24 06:03:06 +00:00
markchien
a6ba54d59d [Tether02] Migrate TetheringConfiguration into module
TetheringConfiguration is a utility class to encapsulate the various
configuration elements.

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

Change-Id: I9434ab213bc5e0fca59f14a6c8cea554abefc3a4
2019-10-24 14:00:05 +08:00
markchien
017fef23a0 [Tether01] Add Tethering App
This is initial patch that don't contain any service for now.

Bug: 136040414
Test: -build, flash, boot
Change-Id: I0b49d7e9c3fcba5af3025163f9cc9eafb0778116
2019-10-24 13:35:41 +08:00
Sarah Chin
9f9317bbcb Merge "Update SMS list"
am: 0aa93fca29

Change-Id: I6fde6c7b7cc04a236dded33d09afed83f89e197f
2019-10-23 22:17:20 -07:00
Treehugger Robot
0aa93fca29 Merge "Update SMS list" 2019-10-24 04:57:36 +00:00
Michele
db421f56e8 Removal of usage of hidden APIs
Moved RESOLUTION_ACTIONS from EuiccService to EuiccResolutionUiDispatcherActivity,
so that it does not need to be made public.

Bug: 137202333
Test: compilation
Change-Id: If8011bbe6af32c038f55d851acc2406eba208de6
Merged-In: If8011bbe6af32c038f55d851acc2406eba208de6
2019-10-24 00:26:22 +00:00
Michele
32d910ecc1 Replace Rlog with Log in CarrierDefaultApp
Bug: 140580260
Test: compilation
Change-Id: Ib7ba43701b1a22ada0d8f5954c57b96bfa9f0489
Merged-In: Ib7ba43701b1a22ada0d8f5954c57b96bfa9f0489
2019-10-24 00:26:13 +00:00
Michele
7d3017002f Expose APIs required by CarrierDefaultApp as system APIs.
Test: compilation
Bug: 140580265
Change-Id: I3c678522e70b5d89a6a5a8f6bdb1e3fd91ca8aee
Merged-In: I3c678522e70b5d89a6a5a8f6bdb1e3fd91ca8aee
2019-10-24 00:25:57 +00:00
Nathan Harold
1f10735831 Fix CellSignalStrengthNr to use SS-RSRP
SS-RSRP will be returned as the default implementation
of getDbm(). Becuase it's based on a broadcast signal rather
than a UE-specific signal, it's more universal, and it also
is consistent with other measure of SignalStrength.

Bug: 143171541
Test: atest CellSignalStrengthNrTest#testGetMethod
Change-Id: Ib4312c28629f2a22497b0292afcff38d9e2e08b6
2019-10-23 17:15:28 -07:00
shubang
7608ba3819 Add owners for TV related files
Test: N/A
Change-Id: I4d6d6fbe6d2301cf685ca85e15ce88e898277632
2019-10-23 15:53:52 -07:00
Myles Watson
31d16458cc Merge "Bluetooth doc: The is a -> This is a"
am: c8d3cde31e

Change-Id: Ibd5c32da0420d3b32f43bb3f14453d08e231ffa5
2019-10-23 15:52:31 -07:00
Treehugger Robot
c8d3cde31e Merge "Bluetooth doc: The is a -> This is a" 2019-10-23 22:32:54 +00:00
Sarah Chin
6ac90fe9e3 Update SMS list
Bug: 143238928
Test: none
Change-Id: Ia700a0dc507e2a58b9c9e1d7890f90cdb30f0af6
2019-10-23 15:25:46 -07:00
Mathieu Chartier
de49e23a3b Fix waiting for system server to be running for BootImageProfileTest
In the case where system server was not yet running, the invalid pid
would cause the test to fail instead of doing the 20 retry loop.
Fixed the logic to handle this case.

Presumably fixes test flakyness.

Bug: 143223380
Bug: 139883463
Test: atest ./tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java

Change-Id: I4bac03e7f377058479f75daaa0d57608614bf329
2019-10-23 14:06:40 -07:00
Myles Watson
1254da6333 Bluetooth doc: The is a -> This is a
Fixes: 142364826
Test: build
Change-Id: I9bde35140bdfc4d76df7e8c427ac6e8baceee611
2019-10-23 20:38:57 +00:00
TreeHugger Robot
bb326f9a80 Merge "Use language tags to store Configuration's locale list." into stage-aosp-master 2019-10-23 17:15:26 +00:00
Jean-Michel Trivi
933083b88c Merge "AudioService: handle errors when reconnecting mixes after server crash"
am: 0ac7e561e9

Change-Id: Iceadb2d9f5415ddc004cea99e2ae9c3800e1734b
2019-10-23 09:57:49 -07:00
Marco Nelissen
e399a7f824 Merge "Move MidiDeviceInfo to libamidi, its only user"
am: 7a2fb04c22

Change-Id: I1324481ce65836ac8fc2b53520b3cd368631bbc3
2019-10-23 09:48:02 -07:00
Treehugger Robot
0ac7e561e9 Merge "AudioService: handle errors when reconnecting mixes after server crash" 2019-10-23 16:40:09 +00:00
Marco Nelissen
7a2fb04c22 Merge "Move MidiDeviceInfo to libamidi, its only user" 2019-10-23 16:28:37 +00:00
Jean-Michel Trivi
d497edd979 AudioService: handle errors when reconnecting mixes after server crash
Log errors when reconnecting dynamic policy mixes after an audio
server crash.
  Add IntDef for AudioSystem errors, and conversion to String.
  Add support for notifying an AudioPolicy user that it was
unregistered.

Bug: 133279309
Test: connect DAP, kill audio server, verify no errors reported
Change-Id: I1dbfdac1873ed9c44c20ca9d25bbe01ce9904ee5
Merged-In: I1dbfdac1873ed9c44c20ca9d25bbe01ce9904ee5
2019-10-23 08:22:00 -07:00
Marco Nelissen
eab83b8080 Move MidiDeviceInfo to libamidi, its only user
This removes the libmedia dependency from libamidi, and reduces
overall size.

Test: build
Change-Id: I16b62ef8288bc68a46ae9ac6318efb95fa469e4f
Merged-In: I16b62ef8288bc68a46ae9ac6318efb95fa469e4f
2019-10-23 07:58:56 -07:00
Chiachang Wang
5d62167efc Extend netlink class to fit the data structure
In order to get the tcp_info via netlink socket from kernel,
NetworkStack needs to use netlink class to pack and parse the
InetDiagReq. Current design hardcodes ididag_ext field in
InetDiagReqV2. The structure is also not allowed to take null
id to not to specify certain socket. Update the constructor and
backward support exising constructor.

Bug: 136162280
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Id66da1797da183ae3d99073f80bad1df929946dc
2019-10-23 21:52:36 +09:00
Lucas Lin
eb24608dbc Merge "Better notification to user when DNS-over-TLS is broken"
am: 81852c8481

Change-Id: I8be963e35ed5e5ba914c6d3504a52ccb789aaf29
2019-10-23 02:51:56 -07:00
Lucas Lin
81852c8481 Merge "Better notification to user when DNS-over-TLS is broken" 2019-10-23 09:20:09 +00:00
Edward Savage-Jones
5771ca95ae [DO NOT MERGE] Get legacy recents working for secondary user
SystemUIWithLegacyRecents does not work correctly
for secondary user.

Bug: 143059739
Test: Manual
Change-Id: I0ca2d6a3c4e0ad2730bbd843733671ee221b1ec6
2019-10-23 05:57:13 +00:00
Hall Liu
737210b7bb Merge "Add logging values for new call states"
am: e87b7156c9

Change-Id: I142b6cf55c56063e1c9a031771dd354b9cd6d3be
2019-10-22 16:21:17 -07:00
Hall Liu
e87b7156c9 Merge "Add logging values for new call states" 2019-10-22 23:10:58 +00:00
Varun Shah
b53b34487b Use language tags to store Configuration's locale list.
Instead of storing each Locale within a Configuration object's locale
list by its language, country, variant, and script to proto, store the
entire locale list by its language tags representation which accurately
describes each locale.

Bug: 140197723
Test: atest ConfigurationTest
Test: atest UsageStatsDatabaseTest
Test: manually with bad data
Merged-In: I53946ed4e31de0ffe9c84875c391a7dec6f5375a
Change-Id: Idaae690f79a5c680ad0059a52be62160d9dfb5e7
(cherry picked from commit 5e67462971695e302d0ac9ffc4158d8e08385592)
2019-10-22 22:52:49 +00:00
Anna Trostanetski
4cfb3545d6 Merge "Add a native aidl API."
am: 577e3114da

Change-Id: I22c7963991747fe1e27dce432da3fc02c644bbef
2019-10-22 13:20:59 -07:00
atrost
5076854633 Add userId to the package name API.
The service would query package manager with the provided userId, and
will return true if the package is not visible.

Test: locally, b/143129258
Change-Id: Iab8ddaa76358d5fad63e10d7c4c3f92e2a0f51a2
Merged-In: I92ea650b49743c388bff9943a7ec620e3d61a5d6
2019-10-22 21:10:53 +01:00
Anna Trostanetski
577e3114da Merge "Add a native aidl API." 2019-10-22 20:06:19 +00:00
atrost
ff948d8a2f Add a native aidl API.
Introduce a platform_compat_native service that just calls the
platform_compat service.
The new service is needed as it needs a slightly different (more
limited, no ApplicationInfo in cpp) aidl API, and a class can only
extend one stub.

Test: Call the service from dumpsys.cpp (http://aosp/1142055)
Bug: 138275545
Change-Id: Ic46cc34b4c1dd4ebc6bcc996fb3f8503607214ac
Merged-In: Ic46cc34b4c1dd4ebc6bcc996fb3f8503607214ac
2019-10-22 18:54:13 +00:00
lucaslin
783f221065 Better notification to user when DNS-over-TLS is broken
Provide a specifc notification to let users know that device
has no internet is because it really doesn't have internet access
or it's caused by private DNS resolution failed.

Bug: 113242081
Test: atest FrameworksNetTests
Change-Id: I710c88a4742f5fd56c39fc797d7fa3ad36dba553
2019-10-22 18:27:33 +08:00
Chen Xu
fba9ca44a2 make CallerInfo as SystemAPI
1. move CallerInfo from telephony.internal to andorid.telephony package
2. expose APIs inside CallerInfo which are consumed by non-telephony
code.

Bug: 140908357
Test: Build
Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a
(cherry picked from commit b9a1eefec66e8c2cd5ab9dab512bb729ef2caae8)
Merged-in: Ie95897c77e97e40f5357c107aede82edfea44d5a
2019-10-21 21:39:58 -07:00