Commit Graph

438584 Commits

Author SHA1 Message Date
Treehugger Robot
ea0124cddf Merge "Changes in OWNERS of app integrity component." 2019-12-18 11:31:39 +00:00
Neil Fuller
c5725ad0a7 Merge "Tidy up changes for TimeZoneDetectorStrategy" 2019-12-18 10:00:17 +00:00
Treehugger Robot
f65e0e3181 Merge "framework is not available to APEXes" 2019-12-18 08:24:49 +00:00
Treehugger Robot
e6d84c0d97 Merge "Don't depend on annotation processors XmlWriter." 2019-12-18 08:17:32 +00:00
Jiyong Park
6316f348e7 Merge "unique_fd is passed by value in AIDL interfaces" 2019-12-18 06:14:38 +00:00
Treehugger Robot
65303aa385 Merge "vibrator: Support Always-On Effects" 2019-12-18 06:10:18 +00:00
Jiyong Park
79242c2d2d framework is not available to APEXes
The modules 'framework', 'framework-minus-apex', 'framework-all' contain
private symbols that shouldn't be accessible to Mainline modules.
Restrict the access by making the framework modules to be accessible
only to the platform (the non updatable part).

Bug: 145796956
Test: m
Merged-In: I08cb61a67aef88ffe04ef52670144e1cbeff3cf9
Change-Id: I08cb61a67aef88ffe04ef52670144e1cbeff3cf9
2019-12-18 05:45:46 +00:00
Jiyong Park
573fd3dfe0 unique_fd is passed by value in AIDL interfaces
FileDescriptor type in AIDL was translated into const unique_fd& in C++.
Now, it is unique_fd, i.e. passed by value, to make it easier to keep it
beyond the scope of the call.

Bug: 144943748
Test: m

Exempt-From-Owner-Approval: cherry-pick from internal

Merged-In: I2b87761401361f9cf96cdda070f26e70a5c6c935
(cherry picked from commit b8ba23418a)
Change-Id: I2b87761401361f9cf96cdda070f26e70a5c6c935
2019-12-18 05:32:25 +00:00
Meng Wang
b713828c17 Merge "Statically link util classes into Telephony module." 2019-12-18 00:28:34 +00:00
Mark Chien
b04cf17d71 Merge "[Tether11] Grant privileged permissions for tethering" 2019-12-18 00:11:43 +00:00
Xiangyu/Malcolm Chen
fbfe850906 Merge "Define a telephony database column for uicc applications enabled or not." 2019-12-17 23:56:41 +00:00
Tyler Gunn
1017905980 Merge "Telephony: Get SIM card capacity count of SMS" 2019-12-17 23:31:15 +00:00
Treehugger Robot
7339d1743c Merge "Add IntDef annotation to SIM state constants." 2019-12-17 22:16:55 +00:00
Meng Wang
0d7a5dc2ea Merge "Remove PhoneStateLister#onOtaspChanged" 2019-12-17 21:14:06 +00:00
Tyler Gunn
fc72e79558 Merge "IMS-VT: Add config to control holding a video call" 2019-12-17 21:11:54 +00:00
Tyler Gunn
ffd2e964c1 Merge "User cannot reject a waiting call after a switch call fails" 2019-12-17 21:09:56 +00:00
Patrick Huang
a5e2fee8a3 Add IntDef annotation to SIM state constants.
Bug: 141227564
Test: Test build on device. Test calling affected TelephonyManager methods.
Change-Id: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3
Merged-In: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3
2019-12-17 12:38:25 -08:00
Peter Wang
23019528ec Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" 2019-12-17 19:10:24 +00:00
Treehugger Robot
56fcc024bc Merge "Mainline Network Policy constants public" 2019-12-17 18:59:04 +00:00
Anton Hansson
dc3e45c584 Merge "Give IAE for invalid sdk a message" 2019-12-17 18:37:27 +00:00
Benedict Wong
0ce0c59535 Merge "Add new Credential prefix for platform VPNs" 2019-12-17 18:35:51 +00:00
Shuo Qian
c107c3a958 Merge "Introduce Radio Shutdown System APIs for Mainline" 2019-12-17 18:17:34 +00:00
Treehugger Robot
a91708379f Merge "Include linux/fsverity.h and remove inlined definition" 2019-12-17 18:15:59 +00:00
Shuo Qian
65943dbc41 Merge "Deprecate Data Command in Android" 2019-12-17 17:17:34 +00:00
markchien
840abdc14c [Tether11] Grant privileged permissions for tethering
Since tethering is moved from systemServer to networkStack
process, it would lose privileged capability. Grant privileged
permissions for tethering individually. Grant MANAGE_USB to control
usb rndis function. Grant MODIFY_PHONE_STATE to know whether DUN
is required. Grant READ_NETWORK_USAGE_HISTORY to update tethering
usage. Grant UPDATE_APP_OPS_STATS to check WRITE_SETTINGS permission.

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

Change-Id: Id6e71b58e027d6ba90551084367ef881652c2555
2019-12-18 01:06:36 +08:00
Neil Fuller
46869e5ab6 Tidy up changes for TimeZoneDetectorStrategy
Tidy up changes for TimeZoneDetectorStrategy that were noticed while
debugging / making changes to TimeDetectorStrategyImpl.

Bug: 140712361
Test: manual / treehugger
Change-Id: I17a5d91f6864d702599834058694ae3de53173d0
2019-12-17 16:53:43 +00:00
Omer Nebil Yaveroglu
636e0e082f Changes in OWNERS of app integrity component.
Test: None
Change-Id: I7e9d569e03cc73dcb2970aa4577ce2cee0124d5f
2019-12-17 16:48:09 +00:00
Mathew Inwood
5249eca1bd Don't depend on annotation processors XmlWriter.
The annotation processor is being modified to produce an intermediate
output that will then be processed to produce the config that ends up on
device. As such, using XmlWriter in frameworks test code no longer makes
sense.

Instead, hard-code XML config in the test to break this problematic
dependency.

Test: atest CompatConfigTest
Change-Id: I371ba32bd83d6a84de94d594169dbb5c63f3d9be
Merged-In: I371ba32bd83d6a84de94d594169dbb5c63f3d9be
2019-12-17 16:33:09 +00:00
Luke Huang
a960204edf Merge "Add new configuration loading path for apex module Cronet" 2019-12-17 15:57:11 +00:00
Anton Hansson
70aa04d409 Give IAE for invalid sdk a message
Easier to debug issues, probably.

Bug: 137191822
Test: SdkExtensionsTestApp
Change-Id: Iec7d03165e94b52ea48a73e4a1de9344de8d4301
2019-12-17 15:49:27 +00:00
Luke Huang
5c4040ce24 Add new configuration loading path for apex module Cronet
Add an additional loading path which is used for libs permission
xml providing from Cronet apex module.

Bug: 145474221
Bug: 139397529
Test: build
Test: manual test with Cronet
Change-Id: I103539a45fe9182f84a79bfe45a6172d94068690
Merged-In: I02541eb2d4808d69ab8cb2d6a48cf8aaa39c86dc
2019-12-17 14:02:20 +00:00
vichang
6658c31b4e Merge "Regenerate LocaleDataTables.cpp" 2019-12-17 11:28:19 +00:00
Anton Hansson
630e3ac68d Merge "Re-submit "Add genrule for the current sdk proto"" 2019-12-17 11:10:56 +00:00
Oli Lan
e340ecdc89 Merge "Pass ApexSessionParams when submitting sessions to apex service." 2019-12-17 10:31:26 +00:00
Yan Yan
bedcf85eee Merge changes from topics "api-address", "api-change-ike"
* changes:
  IKE Session API changes in setting CA cert and retrieving vendor ID
  Child Session API changes in configuring and retrieving internal address
2019-12-17 08:06:06 +00:00
Treehugger Robot
b430d57705 Merge "Change APIs related to carrier actions." 2019-12-17 07:06:36 +00:00
Benedict Wong
048e248537 Add new Credential prefix for platform VPNs
Platform VPN profiles keyed by apps must use a different key prefix to
prevent the Settings app from seeing them (and thus exposing potentially
sensitive credential information). Thus, the profiles will be
partitioned as follows:

Custom (Settings-app) based profiles continues using VPN_* prefix
App provisioned profiles will use the new PLATFORM_VPN_* prefix

Bug: 144245359
Test: Compiles, FrameworksNetTests passing
Change-Id: If8762e468c6cbbeb80738f14b066ebbad5cc665f
2019-12-17 06:02:51 +00:00
Kevin Chyn
36af0dc32e Merge "Add OWNERS to biometrics projects" 2019-12-17 04:24:42 +00:00
Paul Hu
8893c6f9ac Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission" 2019-12-17 03:13:50 +00:00
Malcolm Chen
b7c6ee3856 Define a telephony database column for uicc applications enabled or not.
Bug: 141018421
Test: unittest
Change-Id: I5d4f1ec1bc3832c471fd43f3024cd79383d8d3d6
Merged-In: I5d4f1ec1bc3832c471fd43f3024cd79383d8d3d6
2019-12-16 19:07:11 -08:00
Betty Chang
e74c1f1278 Merge "[Telephony Mainline] Add SimInfo.CONTENT_URI instead SubscriptionManager.CONTENT_URI for mainline" 2019-12-17 02:53:41 +00:00
Mengjun Leng
db15271ae7 Telephony: Get SIM card capacity count of SMS
Add an API to get the capacity of the stored SMS on ICC card.

Bug:37289947
Change-Id: Ic9383b3605ce450b3dc32ccc0c283789c12fabf7
2019-12-17 10:44:36 +08:00
Treehugger Robot
f14e2e1e1a Merge "Resolve BluetoothA2dpSink APIs used by Settings" 2019-12-17 02:31:59 +00:00
Jaewan Kim
7e8dffc582 Merge changes from topic "msm_callback"
* changes:
  MediaSessionManager: Split abstract class Callback into interfaces
  MediaSessionManager: Use Executor instead of Handler
  Allow to register multiple callbacks in MediaSessionManager
2019-12-17 02:29:33 +00:00
Kevin Chyn
d856937569 Add OWNERS to biometrics projects
Test: Builds

Change-Id: I5979d2d22bb84cb7ada7c431a64343af9a55a4b8
2019-12-16 18:21:41 -08:00
Treehugger Robot
a33dfe1e7b Merge "Refactor BluetoothPbap APIs used by Settings" 2019-12-17 01:53:24 +00:00
Shuo Qian
5c4e7b81b5 Deprecate Data Command in Android
Please use adb shell cmd phone data enable/disable instead.

Bug: 145553588
Test: adb shell commands; manual
Change-Id: I7d1ab779bd6c08dc8c564dc5f3f5d9e165ae39ed
2019-12-16 17:09:54 -08:00
Treehugger Robot
59b88e0e6a Merge "Fix for Telephony Manager API javadoc inconsistencies" 2019-12-17 00:53:08 +00:00
evitayan
1785e06281 IKE Session API changes in setting CA cert and retrieving vendor ID
This commit:
  - makes serverCaCert @Nullable
  - adds interface to retrieve vendor ID of the remote server

Bug: 145276978
Bug: 146168441
Test: atest FrameworksIkeTests(all passed)
Test: make update-api && make
Change-Id: If55a0a70c99a98287933a6d134413ab1329ff402
2019-12-16 16:24:19 -08:00
evitayan
7dd731a114 Child Session API changes in configuring and retrieving internal address
This commit:
- creates separate methods for requesting IPv4 and IPv6 internal
  address
- removes method to request internal subnet
- removes methods to request specific DNS and DHCP server
- uses IpPrefix to represent subnet

Bug: 145453636
Bug: 145454043
Bug: 145451419
Bug: 145454818
Test: atest FrameworksIkeTests(all passed)
Test: make update-api && make
Change-Id: Ic3fdccc12e7f2c361637e004e34b27e09d7900a0
2019-12-16 15:42:57 -08:00