OSDN Git Service
Colin Cross [Mon, 21 May 2018 21:51:40 +0000 (14:51 -0700)]
Merge "Use AAPT2 for modules with manifest validation errors"
am:
59fa1bcf69
Change-Id: I1ae5e646a5c519860450ef1bbef72aacb2c1e915
Colin Cross [Mon, 21 May 2018 21:40:05 +0000 (14:40 -0700)]
Merge changes from topic "aapt2-warn-manifest-validation"
am:
61f92e7e13
Change-Id: Idb04f6750abd4dbdce62979794f68833a39e4c3b
Adam Lesinski [Mon, 21 May 2018 21:35:28 +0000 (14:35 -0700)]
AAPT2: Better error messages for ManifestFixer
am:
b2b20f26db
Change-Id: I1d661e2d11e929ae0930863d5ed2e344c97a9e28
Adam Lesinski [Mon, 21 May 2018 21:30:41 +0000 (14:30 -0700)]
AAPT2: Differentiate between Android and Java package names
am:
ef506c73bb
Change-Id: I7b5dd69303106eba5959684dc3b6a4af24876c94
Adam Lesinski [Mon, 21 May 2018 21:24:37 +0000 (14:24 -0700)]
Merge "Change ownership of AAPT2 and libandroidfw"
am:
1e0a5d397d
Change-Id: I3a3dcce247b9eae100df4b3b6a89b02ef163e87d
Jordan Liu [Mon, 21 May 2018 21:20:34 +0000 (14:20 -0700)]
Merge "Change directory where apns-conf.xml is stored"
am:
d25198f62f
Change-Id: I33db5a97978e17d82da98344c25788fc3bb42e89
Treehugger Robot [Mon, 21 May 2018 19:53:38 +0000 (19:53 +0000)]
Merge "Use AAPT2 for modules with manifest validation errors"
Colin Cross [Fri, 18 May 2018 16:50:29 +0000 (09:50 -0700)]
Use AAPT2 for modules with manifest validation errors
Add LOCAL_AAPT_FLAGS += --warn-manifest-validation to the modules
that have manifests that AAPT2 can't parse.
Bug:
79755007
Test: m checkbuild
Change-Id: I357fcba75909495ba2b46b9ed1b532e65fee3fe1
Colin Cross [Mon, 21 May 2018 19:52:24 +0000 (19:52 +0000)]
Merge changes from topic "aapt2-warn-manifest-validation"
* changes:
AAPT2: treat manifest validation errors as warnings when asked
AAPT2: Better error messages for ManifestFixer
AAPT2: Differentiate between Android and Java package names
Izabela Orlowska [Tue, 19 Dec 2017 16:22:42 +0000 (16:22 +0000)]
AAPT2: treat manifest validation errors as warnings when asked
Bug:
65670329
Test: updated
Change-Id: Ic554cc20134fce66aa9ddf8d16ddffe0131c50e9
Merged-In: Ic554cc20134fce66aa9ddf8d16ddffe0131c50e9
(cherry picked from commit
ad9e1324ff2c459d0ee6ee571d4a3e458c02cc81)
Adam Lesinski [Thu, 2 Nov 2017 19:07:08 +0000 (12:07 -0700)]
AAPT2: Better error messages for ManifestFixer
AAPT2 will now print the XML hierarchy where it found an unexpected
element.
Test: make aapt2_tests
Change-Id: Iac7918b2f344fab874f0a3e7aa9c6936ecde8913
Merged-In: Iac7918b2f344fab874f0a3e7aa9c6936ecde8913
(cherry picked from commit
ed37f4842ad838792b16bf19768ed9b2519b0194)
Adam Lesinski [Mon, 6 Nov 2017 18:44:46 +0000 (10:44 -0800)]
AAPT2: Differentiate between Android and Java package names
Android package names are more strict (ASCII only) than Java package names.
Also fixed an issue where trailing underscores were disallowed in Android
package names.
(cherry picked from commit
96ea08f1e737e0d19e274e9a29f71c387d81b09a)
Also includes part of I357fb84941bfbb3892a8c46feb47f55b865b6649 to remove
usage of FindNonAlphaNumericAndNotInSet.
Bug:
79481102
Test: make aapt2_tests
Change-Id: I1052e9e82b6617db6065ce448d9bf7972bb68d59
Merged-In: I1052e9e82b6617db6065ce448d9bf7972bb68d59
Treehugger Robot [Mon, 21 May 2018 19:46:00 +0000 (19:46 +0000)]
Merge "Change ownership of AAPT2 and libandroidfw"
Jordan Liu [Mon, 21 May 2018 19:06:54 +0000 (19:06 +0000)]
Merge "Change directory where apns-conf.xml is stored"
Andreas Gampe [Mon, 21 May 2018 18:17:24 +0000 (11:17 -0700)]
Merge "ActivityManager: Fix slow-app ANR dumping"
am:
923208e8c9
Change-Id: Ifed1ed567587b7616880f3b640d3162c57a40644
Treehugger Robot [Mon, 21 May 2018 16:59:17 +0000 (16:59 +0000)]
Merge "ActivityManager: Fix slow-app ANR dumping"
Niklas Lindgren [Fri, 18 May 2018 12:48:43 +0000 (14:48 +0200)]
Change directory where apns-conf.xml is stored
When apns are downloaded OTA they are stored directly under data/misc
by system server. Files created there gets assigned with file context
system_data_file which TelephonyProvider cannot read.
In order to make sure that downloaded apns gets a file context TelephonyProvider
can read we create an apns sub directory in init where radio_data_file:s are
created. The data path to where apns-conf is stored is here changed from /data/misc/
to /data/misc/apns/.
This change is aligned with other files that ConfigUpdateInstallReceiver writes.
Test: Trigger Apn update via intent UPDATE_APN_DB
Go to settings/apn-list and verify that newly downloaded are present
Bug:
79948106
Change-Id: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
Bernie Innocenti [Mon, 21 May 2018 16:40:29 +0000 (09:40 -0700)]
Merge changes from topic "apf-read-ram"
am:
b5dda0e316
Change-Id: I80d70e5bce6d1a0903599e98d2d251459df1292a
Treehugger Robot [Mon, 21 May 2018 15:33:28 +0000 (15:33 +0000)]
Merge changes from topic "apf-read-ram"
* changes:
apf: Add counters for dropped / passed packets
Add support for reading a snapshot of the APF data
Tyler Gunn [Sat, 19 May 2018 01:36:54 +0000 (18:36 -0700)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state."
am:
b1b864cee2
Change-Id: I50a4fd925f22ffd1f255e8876e714b836948726d
Tyler Gunn [Sat, 19 May 2018 00:13:15 +0000 (00:13 +0000)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 23:10:47 +0000 (16:10 -0700)]
Merge "Add carrier config for partial sms raw message expiration."
am:
54bd56d6c5
Change-Id: I23978e4efee3c25027f126b724946227cb6870a2
Xiangyu/Malcolm Chen [Fri, 18 May 2018 22:15:52 +0000 (15:15 -0700)]
Merge "Fix UiccSlotInfo equals method."
am:
147dc32b0b
Change-Id: I29992b5d61f70086d15464cb7d5692cae31604cc
Tyler Gunn [Thu, 26 Apr 2018 21:43:31 +0000 (14:43 -0700)]
Require READ_CALL_LOG permission to see phone numbers in phone state.
Incoming and outgoing call phone numbers are visible in the phone state
broadcast and via the PhoneStateListener. To enhance user privacy, change
to require the READ_CALL_LOG permission in order to receive the call
phone numbers.
This means to see phone numbers:
1. android.intent.action.PHONE_STATE - requires READ_PHONE_STATE and
READ_CALL_LOG permission.
2. PhoneStateListener#onCallStateChanged - now required READ_CALL_LOG
permission.
To support this new behavior, added sendBroadcastAsUserMultiplePermissions
method to context to allow sending the broadcast to all users while
requiring the two permissions.
Bug:
78650469
Test: Created PHONE_STATE broadcast receiver in test app and verified that
when no permissions are granted, the phone number is empty for incoming
and outgoing calls.
Test: Granted Phone state permission to test app and verified that phone
number is not populated.
Test: Granted test app read call log permission and verified that phone
number is populated.
Test: Created PhoneStateListener in test app and verified that when no
permissions are granted, phone number is empty for incoming and outgoing.
calls.
Test: Granted read call log permission to test app and verified that both
the incoming and outgoing numbers are populated.
Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
Xiangyu/Malcolm Chen [Fri, 18 May 2018 21:05:55 +0000 (21:05 +0000)]
Merge "Add carrier config for partial sms raw message expiration."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 21:05:43 +0000 (21:05 +0000)]
Merge "Fix UiccSlotInfo equals method."
Adam Lesinski [Fri, 2 Mar 2018 20:10:25 +0000 (12:10 -0800)]
Change ownership of AAPT2 and libandroidfw
toddke@ is now the new owner of these projects.
Exempt-From-Owner-Approval: setting new owners
Test: none
Change-Id: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1
Merged-In: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1
(cherry picked from commit
a95e841846c3add37cab0ca228e1e1a4eb0a1455)
Remi NGUYEN VAN [Fri, 18 May 2018 03:40:35 +0000 (20:40 -0700)]
Merge changes Ieb0a5d24,I44df6668
am:
646dfc7703
Change-Id: Icb2a3df0de05012e3627807a5bf710b43de9b111
nharold [Fri, 18 May 2018 02:32:16 +0000 (19:32 -0700)]
Merge "Add toString() method to PhysicalChannelConfig"
am:
71c11daaf5
Change-Id: Ida6f578d12ea16877763ad19dbdfc696ed93bbc6
Remi NGUYEN VAN [Fri, 18 May 2018 01:44:44 +0000 (01:44 +0000)]
Merge changes Ieb0a5d24,I44df6668
* changes:
Fix SntpClientTest failures with no active network
Allow specifying a network for SNTP time sync
nharold [Fri, 18 May 2018 01:15:48 +0000 (01:15 +0000)]
Merge "Add toString() method to PhysicalChannelConfig"
Malcolm Chen [Mon, 16 Apr 2018 22:20:38 +0000 (15:20 -0700)]
Add carrier config for partial sms raw message expiration.
Everytime at boot-up, we check Sms raw table, and delete the rows
with any partial message that is too old. By default the expiration
age is 30 days, but we want to make it configurable.
Bug:
77910620
Test: sanity-test
Change-Id: Ibd2374324be5513cbd09c04889e7b96051c26fb4
Merged-In: Ibd2374324be5513cbd09c04889e7b96051c26fb4
Malcolm Chen [Sat, 14 Apr 2018 02:33:08 +0000 (19:33 -0700)]
Fix UiccSlotInfo equals method.
In UiccSlotInfo#equals method, it's comparing Strings incorrectly.
Bug:
78033760
Test: GTS test
Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
Merged-In: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
Nathan Harold [Tue, 24 Apr 2018 22:41:17 +0000 (15:41 -0700)]
Add toString() method to PhysicalChannelConfig
We need to be able to print the PhysicalChannelConfig
for debugging/dumping, so adding a toString() method
to print in a format that we can easily digest and
is consistent with other Telephony log formatting.
Bug:
78791811
Test: manual / TelephonyDebugMenu
Merged-In: Ieb12f78a821369072ca9f03d28b28759836f84b4
Change-Id: Ieb12f78a821369072ca9f03d28b28759836f84b4
(cherry picked from commit
2636dd435a7054b3101b041ef1570573c04afe96)
Nicolas Geoffray [Thu, 17 May 2018 16:05:33 +0000 (09:05 -0700)]
Merge "Add a new dalvik.vm.jitpthreadpriority option."
am:
d27a9f4465
Change-Id: Iaea7eca7b6535933da0af6b45453e7aba10ff1c8
Nicolas Geoffray [Thu, 17 May 2018 15:08:01 +0000 (15:08 +0000)]
Merge "Add a new dalvik.vm.jitpthreadpriority option."
Eric Schwarzenbach [Thu, 17 May 2018 02:42:41 +0000 (19:42 -0700)]
Merge "Add constant for PhysicalChannelConfig UNSOL"
am:
6ca9d3d97e
Change-Id: Iede552d63ec1ee1285f6e60ca1da11f20477cf2e
Remi NGUYEN VAN [Wed, 16 May 2018 08:29:32 +0000 (17:29 +0900)]
Fix SntpClientTest failures with no active network
The last change is using getActiveNetwork to run the queries, which
results in an NPE if there is no network on the device. Using network 0
causes no socket tagging and allows queries to the local test SNTP
server to go through as previously.
Also migrating to JUnit4 and moving mServer and mClient initializers to
setUp().
Test: SntpClientTest now passes
Change-Id: Ieb0a5d247129bcad89c1add0e9c1c504f516e2a9
Treehugger Robot [Thu, 17 May 2018 01:08:13 +0000 (01:08 +0000)]
Merge "Add constant for PhysicalChannelConfig UNSOL"
Eric Schwarzenbach [Tue, 15 May 2018 19:53:53 +0000 (12:53 -0700)]
Add constant for PhysicalChannelConfig UNSOL
Bug:
78791811
Test: compilation
Change-Id: I48404342daaaf74d81386aa64cac99ae1a5dfa8b
(cherry picked from commit
ef44f95cd42bf422c89718b447bc863b8a31f429)
Colin Cross [Wed, 16 May 2018 21:05:09 +0000 (14:05 -0700)]
Merge "Disable AAPT2 for modules that use missing features"
am:
87dc8d6576
Change-Id: I0b745f8f9bd0af7eaa4a395a7f024b981f4193c3
Treehugger Robot [Wed, 16 May 2018 19:31:42 +0000 (19:31 +0000)]
Merge "Disable AAPT2 for modules that use missing features"
Colin Cross [Wed, 16 May 2018 16:21:18 +0000 (09:21 -0700)]
Disable AAPT2 for modules that use missing features
Use LOCAL_USE_AAPT2 := false to disable AAPT2 for modules that
use features that are not implemented in AAPT2.
Fixes:
frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:46: error: unexpected element <package> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:82: error: unexpected element <package> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_verifier_bad/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_verifier_good/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>.
frameworks/base/packages/CtsShim/build/shim/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>.
frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>.
out/target/common/obj/APPS/CtsShimPriv_intermediates/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>.
frameworks/base/core/tests/coretests/AndroidManifest.xml:26: error: unexpected element <meta-data> found in <manifest><permission>.
...
Bug:
79755007
Test: m FORCE_AAPT2=true java
Change-Id: I393b697c521ab2a4fbc00b29a43aed6b4729b9a8
Nicolas Geoffray [Wed, 16 May 2018 16:22:37 +0000 (17:22 +0100)]
Add a new dalvik.vm.jitpthreadpriority option.
To dynamically play with JIT thread priorities.
bug:
79570024
Test: m
Change-Id: I84c691fb57b37e699429b9f511b2e235259d718a
Pete Gillin [Wed, 16 May 2018 15:12:15 +0000 (08:12 -0700)]
Merge "Stop using Arrays.checkOffsetAndCount."
am:
ca3450b524
Change-Id: I9652cdbab5e0b5e0777611ebd013df6c30fc61c5
Android Build Merger (Role) [Wed, 16 May 2018 15:00:12 +0000 (15:00 +0000)]
Merge "Stop using Arrays.checkOffsetAndCount. am:
60f55a255f" into stage-aosp-master
Pete Gillin [Wed, 16 May 2018 14:11:54 +0000 (07:11 -0700)]
Stop using Arrays.checkOffsetAndCount.
am:
60f55a255f
Change-Id: Ic9f894d8fe813d0bb6e3776790ff113d2826d881
Android Build Merger (Role) [Wed, 16 May 2018 14:09:18 +0000 (14:09 +0000)]
Merge "Merge "Update Android.bp for api-stubs in order to do api-check." am:
001d2aed31" into stage-aosp-master
Nan Zhang [Wed, 16 May 2018 14:08:44 +0000 (07:08 -0700)]
Merge "Update Android.bp for api-stubs in order to do api-check."
am:
001d2aed31
Change-Id: Ic7500b86c150b2c5f5870374a6ab5b0215278814
Pete Gillin [Wed, 16 May 2018 13:04:13 +0000 (13:04 +0000)]
Merge "Stop using Arrays.checkOffsetAndCount."
Kurt Marcinkiewicz [Mon, 5 Mar 2018 22:45:04 +0000 (14:45 -0800)]
Allow specifying a network for SNTP time sync
Permits syncing over a specific network instead of the default for
the process. This was causing an issue with Android Wear devices
paired with iOS where the default network is bluetooth
(see b/
32663274).
This CL is in support of ag/
3776564
Bug:
32663274
Test: adb shell am instrument -e class android.net.SntpClientTest -w \
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
(cherry-pick of pi-dev Ic9fc169cf75457810d4992121d85d7642e350b90)
Merged-In: I339c77063c72a9d76a5c4cb17052e20fb6e045a6
Merged-In: I8dfd1cad99c63efdc14c174c19f094a61cdfc44f
Change-Id: I44df66688292b144ec7dfcdd9ae5d82489f82774
Nan Zhang [Wed, 16 May 2018 02:47:02 +0000 (19:47 -0700)]
Merge "Update Android.bp for api-stubs in order to do api-check."
am:
001d2aed31
Change-Id: I6db802857405e61b96c9f1863f96584d43bcbc9a
Nan Zhang [Wed, 16 May 2018 01:40:53 +0000 (01:40 +0000)]
Merge "Update Android.bp for api-stubs in order to do api-check."
Colin Cross [Wed, 16 May 2018 00:04:43 +0000 (17:04 -0700)]
Merge "Fix errors caught by aapt2"
am:
6d78fe0385
Change-Id: Ie8e1374011a8494842efcae6881239d2f3728c3a
Nan Zhang [Sat, 5 May 2018 01:36:45 +0000 (18:36 -0700)]
Update Android.bp for api-stubs in order to do api-check.
Bug: b/
78034256
Test: m clean && m checkapi
Change-Id: Ifbda8825f95e26bb79aac9b1bb73c5e43f12d1fb
Merged-In: Ifbda8825f95e26bb79aac9b1bb73c5e43f12d1fb
Treehugger Robot [Tue, 15 May 2018 22:21:56 +0000 (22:21 +0000)]
Merge "Fix errors caught by aapt2"
Dan Willemsen [Tue, 15 May 2018 22:00:18 +0000 (15:00 -0700)]
Merge "Convert to Soong"
am:
acbd94d76f
Change-Id: Ib04e6936303b53cf4d919ad07a27a9b8dda86168
Xiangyu/Malcolm Chen [Tue, 15 May 2018 21:28:05 +0000 (14:28 -0700)]
Merge "Unhide constructors of DataService and NetworkService."
am:
272769c41a
Change-Id: I9c892244ef457a00e59700eb634cdef08b749046
Jordan Liu [Tue, 15 May 2018 20:22:56 +0000 (13:22 -0700)]
Merge "Update documentation of ApnSetting with V5 example"
am:
1c0ef18c39
Change-Id: I36cdf4d62fe7a482fef1e7d30e011d12c19695c3
Treehugger Robot [Tue, 15 May 2018 19:35:04 +0000 (19:35 +0000)]
Merge "Convert to Soong"
Xiangyu/Malcolm Chen [Tue, 15 May 2018 18:54:50 +0000 (18:54 +0000)]
Merge "Unhide constructors of DataService and NetworkService."
Jordan Liu [Tue, 15 May 2018 18:16:33 +0000 (18:16 +0000)]
Merge "Update documentation of ApnSetting with V5 example"
Jiyong Park [Tue, 15 May 2018 06:57:56 +0000 (23:57 -0700)]
Merge "Add api txt files for nfc-extras"
am:
be7959bb10
Change-Id: Iea39dee06752e13bb659f5f31f555b089ca4b90d
Colin Cross [Tue, 15 May 2018 05:42:30 +0000 (22:42 -0700)]
Fix errors caught by aapt2
Fixes:
frameworks/base/tests/LotsOfApps/AndroidManifest.xml:10: error: attribute 'android:name' in <activity> tag must be a valid Java class name.
frameworks/base/tests/LotsOfApps/AndroidManifest.xml:17: error: attribute 'android:name' in <activity> tag must be a valid Java class name.
frameworks/base/tests/LotsOfApps/AndroidManifest.xml:24: error: attribute 'android:name' in <activity> tag must be a valid Java class name.
...
Bug:
79481102
Test: m java FORCE_AAPT2=true
Change-Id: Ib00f277d251497942ad53f1ba1f8f5e12b2f7ba9
Jiyong Park [Tue, 15 May 2018 05:30:41 +0000 (05:30 +0000)]
Merge "Add api txt files for nfc-extras"
Bernie Innocenti [Mon, 23 Apr 2018 16:25:42 +0000 (01:25 +0900)]
apf: Add counters for dropped / passed packets
ApfFilter maintains separate counters for each reason why a packet was
passed or dropped by the filter logic.
There's also a total which should match the individual counters,
*unless* the APF interpreter aborted execution early due to an illegal
instruction or an out-of-bounds access.
Test: both on APFv2 and APFv4-capable device:
runtest -x tests/net/java/android/net/ip/IpClientTest.java
runtest -x tests/net/java/android/net/apf/ApfTest.java
manual tests connected to an AP
Bug:
73804303
Change-Id: I54b17fcbb95dfaea5db975d282314ce73d79d6ec
Merged-In: I54b17fcbb95dfaea5db975d282314ce73d79d6ec
(cherry picked from commit
3cc40ea6c50c976dd4e6485574a8be899867f610)
Bernie Innocenti [Mon, 16 Apr 2018 11:15:12 +0000 (20:15 +0900)]
Add support for reading a snapshot of the APF data
No functional change yet, since startReadPacketFilter() has no callers
at this time. In the future, this new hook will be used to take
periodic snapshots of the APF memory (for instance, when the device
wakes up).
Design note: WifiStateMachine grabs the APF data synchronously
from another thread, but then the data snapshot is delivered to IpClient
via an asynchronous reply, following the same pattern used by other
commands. This means that there's no (practical) way for IpClient to
read the APF data just before replacing the APF program.
Even with this limitation, it's still possible to reliably decode packet
counters and compute deltas relative to the last snapshot, provided that
the address range isn't cleared when installing a new APF filter.
Bug:
73804303
Test: Manual - called the new code and inspected 'dumpsys wifi' output.
Change-Id: Ia0923d71cf3ee4128fb1c381557316300adac1a3
Merged-In: Ia0923d71cf3ee4128fb1c381557316300adac1a3
Merged-In: I3b940f5a3b795f85d244882eaa7eca56bd9e167d
Merged-In: I283fd5fb71f8a679911e58c487a4ac12a5190049
(cherry picked from commit
bb2193bf5877b7a93aebefdb74a8c7f410a17907)
nharold [Tue, 15 May 2018 03:55:41 +0000 (20:55 -0700)]
Merge "Use INetd Constant for IpSec Interface Prefix"
am:
05a16e8a04
Change-Id: If5a0507e6aa2dfa2af7c69d1ec26ff9b48f3baf7
nharold [Tue, 15 May 2018 02:46:05 +0000 (02:46 +0000)]
Merge "Use INetd Constant for IpSec Interface Prefix"
Colin Cross [Tue, 15 May 2018 00:55:51 +0000 (17:55 -0700)]
Merge "Fix errors caught by aapt2"
am:
5d58a302e3
Change-Id: Icf8a601da34c92af6f82afbbdf87468db6387049
Colin Cross [Tue, 15 May 2018 00:00:08 +0000 (17:00 -0700)]
Merge "Fix errors caught by aapt2"
am:
ed90a673d4
Change-Id: I91c38a3b05338d280d4b5050f28f8f3c1f2481a2
Dan Willemsen [Thu, 10 May 2018 03:30:33 +0000 (20:30 -0700)]
Convert to Soong
See build/soong/README.md for more information.
Test: m libframeworks_coretests_jni
Test: m FrameworkCoreTests_install
Test: m libshim_jni
Test: m CtsShimPrivUpgrade
Test: m libfilterfw
Test: m PMTest_Java_dual
Test: m libdefcontainer_jni
Test: m libperftestscore_jni
Test: m libpmtest32 libpmtest64
Test: m libprintspooler_jni
Test: m libsmartcamera_jni
Test: m idmap
Test: m libdrmframework_jni
Test: m libdvr_loader com.google.vr.platform com.google.vr.platform.xml
Test: m libfilterpack_imageproc libfilterpack_base
Test: m libwebviewchromium_loader
Test: m shared_mem_test
Test: m test-touchlag
Change-Id: I868561dd237fa28647896d59049ab9260373ada1
Malcolm Chen [Tue, 3 Apr 2018 18:48:56 +0000 (11:48 -0700)]
Unhide constructors of DataService and NetworkService.
DataService and NetworkService are System level classes. We shouldn't
hide their constructors otherwise their System level sub-class
can't be instantiated properly.
Test: gts
Bug:
77531655
Change-Id: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
Merged-In: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
Colin Cross [Mon, 14 May 2018 22:42:03 +0000 (22:42 +0000)]
Merge "Fix errors caught by aapt2"
Colin Cross [Mon, 14 May 2018 22:41:42 +0000 (22:41 +0000)]
Merge "Fix errors caught by aapt2"
Nathan Harold [Thu, 26 Apr 2018 18:47:14 +0000 (11:47 -0700)]
Use INetd Constant for IpSec Interface Prefix
Convert to using a constant in INetd to ensure
that there is a consistent tunnel prefix between
Java and native code.
Bug:
74560705
Test: atest FramworksNetTest; atest CtsNetTestCases
Change-Id: Ida233aac2e6c6b26567463964e0ebac9d52eff1e
(cherry picked from commit
649df5e07a968ac98b41a1da60a04d59149d2385)
Jordan Liu [Wed, 9 May 2018 22:51:49 +0000 (15:51 -0700)]
Update documentation of ApnSetting with V5 example
ApnSetting#fromString has had 2 version bumps since the documentation
was written. Users of the resource overlay can mix and match versions,
so this documentation gives an example of a V5 format ApnSetting with a
V3 one.
Bug:
70172263
Test: manual; no behavior change
Change-Id: I20ff199fb60304fbb7c2a8b837869bfd143eba16
Merged-In: I20ff199fb60304fbb7c2a8b837869bfd143eba16
Android Build Merger (Role) [Mon, 14 May 2018 18:16:52 +0000 (18:16 +0000)]
Merge "Merge "When suid_dumpable == 2, set dumpable to 0 for apps" am:
659a13121c" into stage-aosp-master
Victor Hsieh [Mon, 14 May 2018 18:16:30 +0000 (11:16 -0700)]
Merge "When suid_dumpable == 2, set dumpable to 0 for apps"
am:
659a13121c
Change-Id: I02d210fd4d9e13a3f548411cea57a4f2e37c7481
Pirama Arumuga Nainar [Mon, 14 May 2018 18:13:01 +0000 (11:13 -0700)]
Merge "For Win32, don't cast ssize_t while printing"
am:
aaf8d7aa2e
Change-Id: I820a020b76bee2777435f685087378e436afb35b
Nicolas Geoffray [Mon, 14 May 2018 16:40:50 +0000 (09:40 -0700)]
Merge "Bugreport greylist updates."
am:
a4d61d0529
Change-Id: Iecee8399b64f8f9afb29e69aeb7218e02f4a6ab9
Treehugger Robot [Mon, 14 May 2018 16:28:51 +0000 (16:28 +0000)]
Merge "When suid_dumpable == 2, set dumpable to 0 for apps"
Pirama Arumuga Nainar [Mon, 14 May 2018 16:17:35 +0000 (16:17 +0000)]
Merge "For Win32, don't cast ssize_t while printing"
Nicolas Geoffray [Mon, 14 May 2018 15:28:35 +0000 (15:28 +0000)]
Merge "Bugreport greylist updates."
David Brazdil [Mon, 14 May 2018 12:13:26 +0000 (05:13 -0700)]
Merge "Include in hidden API dark greylist based on package name"
am:
248db48254
Change-Id: If38ba9e9743fe4615d8da6f865f69927db4be3ce
Nicolas Geoffray [Mon, 14 May 2018 10:29:56 +0000 (11:29 +0100)]
Bugreport greylist updates.
Monday edition.
Manual as it looks the tables haven't been populated yet.
bug:
79630776
bug:
79577968
bug:
79604623
Test: m
Change-Id: I569b827821ed5651afab409a66704ba61a572a7c
Merged-in: I569b827821ed5651afab409a66704ba61a572a7c
David Brazdil [Mon, 14 May 2018 10:23:10 +0000 (10:23 +0000)]
Merge "Include in hidden API dark greylist based on package name"
Jiyong Park [Sat, 12 May 2018 13:36:10 +0000 (22:36 +0900)]
Add api txt files for nfc-extras
java_sdk_library now does the apicheck by default. Not-yet-released
version of API txt files for the nfc-extras library are added by running
`m update-api'
Bug:
77575606
Test: m -j
Test: m -j checkapi
Change-Id: I1a9141c71e085be8944943b4df7d3695237f7c69
Myles Watson [Sat, 12 May 2018 01:09:10 +0000 (18:09 -0700)]
Merge "BluetoothManager: Continue when BLE not supported"
am:
7e8c166d8e
Change-Id: I6bacffc9d9ed18e44b2c7c70a62d6c40a2835c30
Pirama Arumuga Nainar [Fri, 11 May 2018 22:52:49 +0000 (15:52 -0700)]
For Win32, don't cast ssize_t while printing
Bug: http://b/
69933068
This is a partial revert of
https://android-review.googlesource.com/c/platform/frameworks/base/+/109433
so we can use Clang for windows cross compilation.
Clang does not allow a cast to 'signed size_t' and both Clang and
current MinGW accept a ssize_t to the '%zd' format specifier.
Test: m native-host, m native-host-cross with both MinGW and Clang
Change-Id: I5366622b91be1433f6c533c55a9ae429b57c7a27
Treehugger Robot [Fri, 11 May 2018 23:13:23 +0000 (23:13 +0000)]
Merge "BluetoothManager: Continue when BLE not supported"
Myles Watson [Fri, 11 May 2018 15:47:24 +0000 (08:47 -0700)]
BluetoothManager: Continue when BLE not supported
Bluetooth should turn on completely (without GATT) when the chip
does not support Bluetooth Low Energy.
Bug:
77495521
Test: Remove vendor/etc/permissions/android.hardware.bluetooth_le.xml
Reboot
Toggle Bluetooth
Change-Id: I9314ee473b4a5a158196bab3037b1452247ba466
fionaxu [Fri, 11 May 2018 18:52:27 +0000 (11:52 -0700)]
Merge "add install action for carrier id to system API"
am:
87a7c657bd
Change-Id: I5a3534bc791b44be092bfae2c07b2415886e4ed8
Treehugger Robot [Fri, 11 May 2018 17:36:24 +0000 (17:36 +0000)]
Merge "add install action for carrier id to system API"
Jordan Liu [Fri, 11 May 2018 17:04:19 +0000 (10:04 -0700)]
Merge "Add Carriers.APN_SET_ID and NO_SET_SET"
am:
cdb29f97db
Change-Id: I6b004476c47e105b35ec0d3884c660f6b10b8697
Jordan Liu [Fri, 11 May 2018 15:57:16 +0000 (15:57 +0000)]
Merge "Add Carriers.APN_SET_ID and NO_SET_SET"
fionaxu [Tue, 8 May 2018 18:57:53 +0000 (11:57 -0700)]
add install action for carrier id to system API
Bug:
79426800
Test: Manual
Change-Id: Icd3e9ae527dc17ab5762aa57df596f058de08d5b
(cherry picked from commit
2776ed56b846ff34e45467f7618a679049d16f3f)
Merged-in: Icd3e9ae527dc17ab5762aa57df596f058de08d5b
David Brazdil [Thu, 10 May 2018 14:50:02 +0000 (15:50 +0100)]
Include in hidden API dark greylist based on package name
Dark greylist has so far been populated with the remaining class
members of classes listed on the light greylist. This patch changes
the rule to include all remaining classes and class members in the
same package (sub-packages not included).
Bug:
64382372
Test: make -j64 out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Icf3f60f1e776f092103c612fc3995ce0e66617ea
Merged-In: Icf3f60f1e776f092103c612fc3995ce0e66617ea
(cherry picked from commit
4c3c03129ba95dccab30ba7579dc91b97843271f)
Nicolas Geoffray [Fri, 11 May 2018 12:49:06 +0000 (05:49 -0700)]
Merge "Add static analysis data."
am:
1c5811d34d
Change-Id: I0e648c528b0e8749ecd1ee22e0d156354750427b
Treehugger Robot [Fri, 11 May 2018 11:41:40 +0000 (11:41 +0000)]
Merge "Add static analysis data."