Commit Graph

448919 Commits

Author SHA1 Message Date
Shuo Qian
cb1c40c826 Add permission QUERY_ALL_PACKAGES into WAPPushManager
Test: Sanity
Bug: 161319976
Change-Id: I931c5a7c5e9c5ee3fd72fa2c0a29df48073fd90c
Merged-In: I931c5a7c5e9c5ee3fd72fa2c0a29df48073fd90c
(cherry picked from commit 11bbbee915)
(cherry picked from commit 647d9fb723)
2020-07-22 17:59:05 +00:00
Elliott Hughes
4a724fc1ee Merge "Remove the watchdog's fd tracker." 2020-07-22 17:15:46 +00:00
Anton Hansson
6b54515b61 Merge "Add bp-based disting of android stubs" 2020-07-22 17:12:42 +00:00
Anton Hansson
a920550096 Add bp-based disting of android stubs
This used to be done in Make, but with bp-based dist now supporting
tags we can convert these java_library { hostdex: true } libraries
to dist their classes.jar rather than dex jar.

Bug: 161214753
Test: diff results of `m sdk dist`
Merged-In: Id54507e297b5c57d1ce58f14eb347e7661a5328d
Change-Id: Id54507e297b5c57d1ce58f14eb347e7661a5328d
2020-07-22 16:20:46 +00:00
Anton Hansson
20b012282e Merge "Add explicit dep on services.backup" 2020-07-22 15:55:41 +00:00
Anton Hansson
b2fb9636b9 Add explicit dep on services.backup
android_robolectric_test is having some implicit deps removed
from it, so add in what we depend on directly.

Test: m RunFrameworksServicesRoboTests
Change-Id: Ice2abeb3f4d031cfe15ce919b750d6de59316c1f
Merged-In: Ice2abeb3f4d031cfe15ce919b750d6de59316c1f
2020-07-22 15:38:33 +01:00
Treehugger Robot
71b90ae022 Merge "Add carrier config for NR timer reset" 2020-07-22 10:06:59 +00:00
Sergey Nikolaienkov
e3548b2259 Merge "Make Shell require permission for a new CTS test" 2020-07-22 06:17:36 +00:00
Treehugger Robot
3e21dc8b70 Merge "Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE" 2020-07-21 20:48:06 +00:00
Yifan Hong
b888b08ffe Merge changes Iefd5b12b,I6907880a
* changes:
  Add *_dlkm notice files.
  Change LicenseHtml search path from product_services -> system_ext
2020-07-21 19:26:43 +00:00
Yifan Hong
6c0406f7a0 Add *_dlkm notice files.
Two new partitions are created in Android. New notice files are placed
in these new partitions.

Test: none
Bug: 156020364
Change-Id: Iefd5b12b3bbb449b189ade313157e80f36d99c88
2020-07-21 19:26:14 +00:00
Aman Gupta
6c984953ea Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE
From https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h,
KEY_SUBTITLE is near the TV codes. Note that 0x172 == 370.

  #define KEY_CHANNEL		0x16b
  #define KEY_FAVORITES		0x16c
  #define KEY_EPG			0x16d
  #define KEY_PVR			0x16e	/* Media Select Home */
  #define KEY_MHP			0x16f
  #define KEY_LANGUAGE		0x170
  #define KEY_TITLE		0x171
  #define KEY_SUBTITLE		0x172
  #define KEY_ANGLE		0x173
  #define KEY_FULL_SCREEN		0x174	/* AC View Toggle */
  #define KEY_ZOOM		KEY_FULL_SCREEN

You can also see on https://www.kernel.org/doc/html/v4.9/media/uapi/rc/rc-tables.html it is listed in the "Movie play control" section:

  KEY_SUBTITLE	Allow changing the subtitle

Change-Id: I7690269cddd00b787a939f87ba651db38f1160ac
Signed-off-by: Aman Gupta <aman@tmm1.net>
2020-07-21 12:09:52 -07:00
Max Spector
01e469da99 Merge "Fuzzer for libandroidfw" 2020-07-21 17:44:23 +00:00
vichang
3bd9f08ae5 Merge "Use DateFormatSymbols directly instead of using LocaleData" 2020-07-21 16:14:26 +00:00
Treehugger Robot
1710dbd097 Merge "Add KEYCODE_LAST_CHANNEL mapping to LKC KEY_LAST" 2020-07-21 15:32:16 +00:00
Anton Hansson
58095aa504 Merge "Remove service stub dep on default libs" 2020-07-21 15:16:44 +00:00
Eduardo Rocha
935178e2fd Fuzzer for libandroidfw
Bug: 161463861
Test: Builds and runs on host and device.

Change-Id: I78b19376275dc5a29afcab48c70eea479bff8728
2020-07-21 13:51:37 +00:00
Anton Hansson
4304e60655 Remove service stub dep on default libs
Not specifying any sdk_version defaults the library to building
against the platform internals. We do not want to build the stubs
against the platform internals, as that risks leaking internals
in the stubs.

Follow what the other stubs are doing, which is to build against
no default libs, and compiling with java version 1.8.

Bug: 158850553
Test: m
Change-Id: I310842747422b108ac2a1fcf11afac5c323ed5b1
2020-07-21 14:37:25 +01:00
vichang
3db0441e5c Merge "Remove the duplicated constant declaration in DateUtilsBridge" 2020-07-21 09:11:09 +00:00
vichang
6e706c4cee Merge changes from topic "DateIntervalFormat"
* changes:
  Make a copy of DateIntervalFormat from libcore - part 2
  Make a copy of DateIntervalFormat from libcore
2020-07-21 08:59:57 +00:00
Victor Chang
c744bd5f64 Use DateFormatSymbols directly instead of using LocaleData
Bug: 160606356
Test: atest FrameworksCoreTests:android.text.format
Change-Id: Id5d70328ab146d439ed45135e0fa9d1b9cc95257
2020-07-20 21:09:40 +01:00
Victor Chang
6a691eeec7 Remove the duplicated constant declaration in DateUtilsBridge
Bug: 160606356
Test: m droid FrameworksCoreTests
Change-Id: Ifa79b2a29c6fc0c767337efe569da2d2ba29f959
2020-07-20 21:09:40 +01:00
Victor Chang
3a3a8ada42 Make a copy of DateIntervalFormat from libcore - part 2
Bug: 160606356
Test: atest FrameworksCoreTests:android.text.format
Change-Id: I4c4253c707211f2a5ee0a11da107ab1dd6c4fab8
2020-07-20 21:09:40 +01:00
Michael Wright
e1c169c983 Merge "Fix color mismatch of pointers" 2020-07-20 17:28:16 +00:00
SongFerngWang
a88f75d097 Add carrier config for NR timer reset
KEY_NR_TIMERS_RESET_IF_NON_ENDC_AND_RRC_IDLE_BOOL:
Whetherdevice reset all of NR timers when device camped on a
network that haven't 5G capability and RRC currently in IDLE state.

Bug: 160365713
Test: build pass.
Change-Id: I9802b8712798054a85307e549fb665bc85166311
Merged-In: I9802b8712798054a85307e549fb665bc85166311
2020-07-20 12:59:30 +08:00
Treehugger Robot
8857e6b645 Merge "Enable clang-format for frameworks/base" 2020-07-18 02:24:02 +00:00
Garfield Tan
4c2d3daf6a Enable clang-format for frameworks/base
Copy and paste internal setup to AOSP. Not include folders not in AOSP
yet.

Bug: None
Test: repo upload
Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
Merged-In: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
2020-07-17 18:43:18 -07:00
Jeongik Cha
a12966975c Change LicenseHtml search path from product_services -> system_ext
product_services partition is not used anymore, its name is changed to
system_ext, so following this, change path in LicenseHtml

Test: m
Bug: 134359158
Change-Id: I6907880ab8af456358fb3420b74dcd3e409b41f3
(cherry picked from commit 2f2fe4f72a)
Merged-In: I6907880ab8af456358fb3420b74dcd3e409b41f3
2020-07-17 16:01:36 -07:00
Elliott Hughes
6e75720db3 Remove the watchdog's fd tracker.
The existence of both fdtrack and the older OpenFdMonitor is confusing
to partners, and not obviously useful because the fdtrack limit is so
much lower than the OpenFdMonitor limit (now that the default
RLIMIT_NOFILE is 32Ki).

Bug: https://issuetracker.google.com/161199049
Test: builds
Change-Id: I86436f287d0e25d1dfae95b915beb78c88dccce2
Merged-In: I86436f287d0e25d1dfae95b915beb78c88dccce2
2020-07-17 21:15:07 +00:00
Elliott Hughes
285dfb3126 Merge "Zygote: Add Arm pointer authentication keychange support." 2020-07-17 18:01:19 +00:00
Anton Hansson
88a03065a2 Merge "Remove always-empty variable" 2020-07-17 08:51:29 +00:00
Treehugger Robot
3846b1e2c2 Merge "[DO NOT MERGE] Rollup changes from R related to CertInstaller and KeyChain" 2020-07-17 08:28:38 +00:00
Aaron Huang
d8b9f9fc07 Merge "Remove ProxyInfo(String) and update callers to use ProxyInfo(Uri)" 2020-07-17 05:40:31 +00:00
Aman Gupta
48a06806f1 Add KEYCODE_LAST_CHANNEL mapping to LKC KEY_LAST
Change-Id: Idcf987c6e5541e29cac1b8a89263580bfcdc9636
Signed-off-by: Aman Gupta <aman@tmm1.net>
2020-07-16 18:27:02 -07:00
Nathan Harold
83cbf59a70 Merge "Migrate LTE_CA flag to NRI from DSRI" 2020-07-16 16:59:34 +00:00
Makoto Onuki
def1e68ead Merge "Merge module-lib-api-stubs-docs and -non-updatable" 2020-07-16 16:12:52 +00:00
Victor Chang
8ee3807a01 Make a copy of DateIntervalFormat from libcore
It allows the removal of @CorePlatformApi in libcore.icu

Bug: 160606356
Test: n/a
Change-Id: Id0ed2d212b6cd84ff73edc70794e002ea5f63cd0
2020-07-16 16:23:58 +01:00
Makoto Onuki
8c61de6ddf Merge module-lib-api-stubs-docs and -non-updatable
Test: build / treehugger
Bug: 146727827
Merged-in: I9e8038b3899270ada12ed4cc057aeace2a36902d
Change-Id: I9e8038b3899270ada12ed4cc057aeace2a36902d
2020-07-16 15:12:05 +00:00
Treehugger Robot
c7b4009f3e Merge "Fully remove startPacSystem() and stopPacSystem()" 2020-07-16 13:29:42 +00:00
Treehugger Robot
88f47d4d32 Merge "Attribute data usage to virtual RAT type for 5G non-standalone mode" 2020-07-16 11:43:51 +00:00
junyulai
20b027ed2b Attribute data usage to virtual RAT type for 5G non-standalone mode
Test: atest NetworkStatsSubscriptionsMonitorTest#test5g
Bug: 160727498
Change-Id: I8753e68140c0993773017c9a49bd8a666a364071
Merged-In: I8753e68140c0993773017c9a49bd8a666a364071
(cherry-picked from ag/12167624)
2020-07-16 18:22:09 +08:00
Peter Wang
65f6068c8a Merge "Add a null check for EuiccProfileInfo access rules at creation" 2020-07-16 09:01:52 +00:00
Mark Chien
c6cab2d5e8 Merge "Add tethering privileged test" 2020-07-16 04:12:58 +00:00
markchien
05071c1e13 Add tethering privileged test
Create TetheringPrivilegedTests which have MAINLINE_NETWORK_STACK
permission, the test can perform various network-related operations
which need CAP_NET_RAW and CAP_NET_ADMIN capabilities.

Bug: 145490751
Test: make TetheringPrivilegedTests
Change-Id: Ic205e5183e066766377c63336d9c5171d4875c6a
2020-07-16 04:12:01 +00:00
Treehugger Robot
6478559721 Merge "Show subId info for getMessagesFromIntent log if it available only" 2020-07-16 00:49:12 +00:00
Peter Wang
548f34b47d Add a null check for EuiccProfileInfo access rules at creation
Bug: 158780604
Fix: 158780604
Test: Build
Change-Id: I6432499309115c7ca29f4704e0f5cfc871eb4d00
Merged-In: I6432499309115c7ca29f4704e0f5cfc871eb4d00
2020-07-15 17:34:27 -07:00
Makoto Onuki
06b1ba180d Merge "Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs" 2020-07-15 15:26:06 +00:00
Rubin Xu
ac51bf8a40 [DO NOT MERGE] Rollup changes from R related to CertInstaller and KeyChain
This change includes the following commits that are related to
CertInstaller and KeyChain:

7a5c8fe4afd KeyChain: Unify manual and programmatic key installation flows
a894225c7da Added functionality to select type of certificate to be installed from the Settings app
a9131939a35 Add KeyChain.KEY_ALIAS_SELECTION_DENIED constant.
485be505f19 Fix KeyChain.KEY_ALIAS_SELECTION_DENIED

Bug: 161347472
Test: builds & manual testing
Change-Id: I560bade479b41a5b88f81ea6dfdecba689c2f4ad
2020-07-15 15:50:14 +01:00
Anton Hansson
215c5ee28d Remove always-empty variable
This has been empty since Ibdfe1cbf34d97c43f4857c2c5d7604fa72d5b5a4.

Test: m
Change-Id: I7ac973f82dc07fb74e0aae80c10a68d3ae6e1d72
2020-07-15 13:02:35 +01:00
Makoto Onuki
a13287f573 Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs
Test: build / treehugger
Bug: 146727827
Exempt-From-Owner-Approval: Cherry-picking from goog/master to aosp/master
Merged-in: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
Change-Id: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
2020-07-15 01:36:38 +00:00