Commit Graph

28502 Commits

Author SHA1 Message Date
Leon Scroggins III
6a0cdd24df Deprecate Path#isConvex
Bug: 133807397
Test: No change in behavior, no new tests

isConvex is unreliable. We may change how we compute it from release to
release, and it could change based on various factors like a rotation.

Change-Id: Ib76246fc24f09bd13cf63b4b96b56afa613d0bc9
2020-01-23 12:41:08 -05:00
Sarah Chin
5819cbcbe3 Merge changes from topics "nr_band", "nw_sel"
* changes:
  Manual network selection by RAN type
  Added NR band support
2020-01-22 20:03:33 +00:00
TreeHugger Robot
4b7531b05b Merge "Add TestApi to get UserHandle from URI." 2020-01-22 19:49:27 +00:00
Xiangyu/Malcolm Chen
8697e36b55 Merge "Expose RESULT_RECEIVER_CONTROLLER_KEY as @SystemApi." 2020-01-22 19:29:21 +00:00
Danning Chen
5ff476a902 Merge "Add isConversation() API to NotificationRecord and a corresponding key in Adjustment" 2020-01-22 19:15:26 +00:00
Automerger Merge Worker
5f695d5d00 Merge "Expose intent broadcasted when IMS registration for WFC fails" am: d2ee60f378 am: bae6f6941b am: 3ee27a2d7b
Change-Id: Ia067fc1fb37ae166a848ab7959f94b69fcdb8074
2020-01-22 19:05:08 +00:00
Wonsik Kim
d9e6d584ef Merge "media: MediaCodec buffer API revision" 2020-01-22 19:02:00 +00:00
Brad Ebinger
bae6f6941b Merge "Expose intent broadcasted when IMS registration for WFC fails"
am: d2ee60f378

Change-Id: I70835ed57abd55e20e7f884711c2c423f556fe49
2020-01-22 10:50:54 -08:00
Mike Ma
cc7c338c48 Merge "Make ProtoOutputStream public"
am: 566f8f0195

Change-Id: Id322686c850a1aa273d31c60c86e4fe052390d21
2020-01-22 10:33:00 -08:00
Ying Xu
6fc642806f Merge "[Telephony Mainline] Telephony uses own user activity notification" 2020-01-22 18:30:06 +00:00
Amit Mahajan
77129e43f2 Merge changes from topics "npm-add-rm-listener-api", "rename-override-constants"
* changes:
  NetworkPolicyManager: Add @SystemApi for mainlne module
  Use Context.NETWORK_POLICY_SERVICE to get network policy service
  Add setSubscriptionPlans() and getSubscriptionPlans() @SystemApi
  Add setSubscriptionOverride() to system API
2020-01-22 18:26:49 +00:00
Sarah Chin
e50a22c95c Merge "Multi-Plmn and CSG Support For CellInfo" 2020-01-22 18:26:37 +00:00
Brad Ebinger
d2ee60f378 Merge "Expose intent broadcasted when IMS registration for WFC fails" 2020-01-22 18:19:54 +00:00
Perumaal Shanmugam
9f22c5356f Merge "Change provideContextImage() API to accept Bitmap" 2020-01-22 18:19:34 +00:00
Mike Ma
566f8f0195 Merge "Make ProtoOutputStream public" 2020-01-22 18:14:00 +00:00
Alex Kershaw
ba014acec8 Add TestApi to get UserHandle from URI.
I've added this to ContentProvider since it's where all of the existing
hidden logic where userinfo = userid lives.

Bug: 136249261
Test: atest CtsProviderTestCases:android.provider.cts.DocumentsContractTest
Change-Id: I3a815f2c8dd738140aec6937ce0d3b763bf49fba
2020-01-22 18:07:18 +00:00
TreeHugger Robot
177318a092 Merge "Change method to PackageManager#getBackgroundPermissionOptionLabel" 2020-01-22 18:06:29 +00:00
TreeHugger Robot
1992ebada9 Merge "Make cN0Db and basebandCn0Db ranges consistent with HAL" 2020-01-22 18:04:30 +00:00
Automerger Merge Worker
8248661d25 Merge "New system API to create SMS PDU and expose copyMessageToIcc()" am: ca45896352 am: 57eefb695e am: bf98945d31
Change-Id: I0a4b1df54e6097b5436c0ffea2b22f39db40ed1e
2020-01-22 17:26:59 +00:00
Taesu Lee
57eefb695e Merge "New system API to create SMS PDU and expose copyMessageToIcc()"
am: ca45896352

Change-Id: I0a71827058f5ef75e164135516c6228649cfe072
2020-01-22 09:17:14 -08:00
Treehugger Robot
ca45896352 Merge "New system API to create SMS PDU and expose copyMessageToIcc()" 2020-01-22 16:57:44 +00:00
Brad Ebinger
be1c2969a8 Expose intent broadcasted when IMS registration for WFC fails
Expose ImsManager.ACTION_WFC_IMS_REGISTRATION_ERROR for WFC IMS
registration failure cases.

Fixes: 147835819
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: If3e175f560845388e6de4e57047564cef349f6b1
2020-01-22 08:53:09 -08:00
TreeHugger Robot
351e3b3627 Merge "Update NetworkInfo public API." 2020-01-22 16:38:59 +00:00
Automerger Merge Worker
44d70123be Merge "Add API for CaptivePortalData" am: 144519f45d am: f3011f77d1 am: 36337e9ae1
Change-Id: I951f2eb2a0e2550f65ac87a84b76ea68c2449423
2020-01-22 16:27:53 +00:00
Remi NGUYEN VAN
f3011f77d1 Merge "Add API for CaptivePortalData"
am: 144519f45d

Change-Id: Iaf58a9dbba5fd5fbe45ec4d795585efe9e3a9e2a
2020-01-22 08:05:11 -08:00
Oli Lan
14f52544cd Merge "Allow ModuleInfo to be retrieved using apex name." 2020-01-22 16:04:36 +00:00
Yogisha Dixit
648a443653 Merge "Add APIs in PowerManager for suppressing ambient display." 2020-01-22 16:01:42 +00:00
Automerger Merge Worker
f6d194648e Merge "Add NetworkCapabilities#getSSID to SystemApi" am: 385afc999e am: 3a8c533d65 am: c6ac75035c
Change-Id: I9bc5d535a809f4873786edbd126ee6ab7a1a293d
2020-01-22 16:01:10 +00:00
Remi NGUYEN VAN
144519f45d Merge "Add API for CaptivePortalData" 2020-01-22 15:55:17 +00:00
Automerger Merge Worker
ac3c3256aa Merge "Add new module-lib APIs for MTS testing" am: b9e3e9e34c am: 876c59823e am: 8c4c7d0039
Change-Id: I37488a81d4066d240bdc0a22dbd3c72cafd55749
2020-01-22 15:35:36 +00:00
Remi NGUYEN VAN
3a8c533d65 Merge "Add NetworkCapabilities#getSSID to SystemApi"
am: 385afc999e

Change-Id: I56b30b2719d30660e2efb32a01ab0ce4f7b30236
2020-01-22 07:30:49 -08:00
Sarah Chin
ccb14fbe63 Manual network selection by RAN type
Support new API for setNetworkSelectionModeManual with ran parameter

Bug: 68116277
Test: atest FrameworksTelephonyTests
Change-Id: I0e8b78b1b16d4bf6a6c0f39eedc48b253ca7a810
2020-01-22 07:28:29 -08:00
Treehugger Robot
385afc999e Merge "Add NetworkCapabilities#getSSID to SystemApi" 2020-01-22 15:23:07 +00:00
Neil Fuller
876c59823e Merge "Add new module-lib APIs for MTS testing"
am: b9e3e9e34c

Change-Id: I3acc8118e444ba3255f393a622ea8405c03ffe03
2020-01-22 07:09:25 -08:00
Neil Fuller
b9e3e9e34c Merge "Add new module-lib APIs for MTS testing" 2020-01-22 15:02:23 +00:00
Aaron Huang
9204f468b0 NetworkPolicyManager: Add @SystemApi for mainlne module
1) Add NetworkPolicyManager.registerSubscriptionCallback and
   NetworkPolicyManager.unregisterSubscriptionCallback for
   registering and unregister.
2) Create SubscriptionCallback to support new @SystemApi
   so that caller could use this object to register and
   unregister.

Bug: 138306002
Test: FrameworksNetTests
      FrameworksTelephonyTests

Change-Id: I56833254a93383e8054c96d296bcb54b777a6e33
2020-01-22 23:35:24 +09:00
Oli Lan
425dd66c95 Merge "Add ApexContext API including methods to get paths for data directories." 2020-01-22 14:13:41 +00:00
Chalard Jean
c4bcf75ff7 Update NetworkInfo public API.
Wifi needs to create these objects so it can include them
in the broadcasts.

Bug: 135998869
Test: FrameworksWifiTests
Change-Id: Ic50d9b5c65e8771708620badc3bc242a8ffbb5cc
2020-01-22 06:07:00 -08:00
Aaron Huang
58d9559369 Add setSubscriptionPlans() and getSubscriptionPlans() @SystemApi
Add two interfaces to communicate with NetworkPolicyManagerService
and make them @SystemApi for mainline support.

Bug: 138306002
Test: atest FrameworksNetTests
      atest FrameworksTelephonyTests

Change-Id: I9f1168bbc70dce9b2b107e1f946737b1d85599c7
2020-01-22 23:03:28 +09:00
Aaron Huang
2d471ca1e1 Add setSubscriptionOverride() to system API
Add new API setSubscriptionOverride() in NetworkPolicyManager
and rename constants OVERRIDE_* to SUBSCRIPTION_OVERRIDE_*.
Make them @SystemApi for mainline support.

Bug: 138306002
Test: atest FrameworksNetTests
      atest FrameworksTelephonyTests

Change-Id: I56c777aa66d6f455695f133f9889979c13cd1bc8
2020-01-22 23:01:47 +09:00
Remi NGUYEN VAN
aa4c511696 Add NetworkCapabilities#getSSID to SystemApi
setSSID was added to the API, so it makes sense to have getSSID be part
of the API as well.

Test: m
Bug: 139268426
Change-Id: I6fa9c513ce4fb8ce1e3530776ce8fd5b2e77055e
2020-01-22 22:52:53 +09:00
Remi NGUYEN VAN
ead1ef41ee Add API for CaptivePortalData
CaptivePortalData will be used to hold data advertised by the network
following RFC7710bis.

To fetch the CaptivePortalData, the API URL is added to LinkProperties,
to be provided by the NetworkAgent.

Because CaptivePortalData can be used to guess user location (especially
from the URLs provided by the portal), it is only exposed to
applications that have privileged permissions.

Test: atest FrameworksNetTests
Bug: 139269711
Change-Id: I341175b5fece8ee00e19898af5e8eabe66cefbf3
2020-01-22 22:27:44 +09:00
Yogisha Dixit
9c20afa9d0 Add APIs in PowerManager for suppressing ambient display.
Added 4 methods:
boolean isAmbientDisplayAvailable()
void suppressAmbientDisplay(String token, boolean suppress)
boolean isAmbientDisplaySuppressedForToken(String token)
boolean isAmbientDisplaySuppressed()

This CL simply adds the API to toggle SUPPRESS_DOZE. The code for
actually turning off doze when the secure setting is updated will be
implemented in a follow-up CL.

Test: manual, atest FrameworksServicesTests:PowerManagerServiceTest
Bug: 147584235, 147587449
Change-Id: I54f46f75fb84aae2ae806690e73eeb427ad8e8e1
2020-01-22 13:20:06 +00:00
TreeHugger Robot
a263d01c44 Merge "Rename PacProcessor#makeProxyRequest to PacProcessor#findProxyForUrl." 2020-01-22 12:35:03 +00:00
Eran Messeri
d0d2a86995 Merge "Mark storage encryption functions as deprecated." 2020-01-22 10:25:12 +00:00
Jack Yu
7125d3ba10 Added NR band support
Added band info in cell identity.

Test: Telephony sanity tests
Bug: 131061889
Change-Id: I0fb0e7e466a0188f04db595b8e417870666005ba
2020-01-22 00:52:04 -08:00
Nathan Harold
ac37b6344d Multi-Plmn and CSG Support For CellInfo
Add CellIdentity support for HAL 1.5

-Add new constructors for HAL 1.5
-Add APIs to get additional PLMNs advertised
 by the cell beyond the first, for MOCN networks.
-Add support for CSG info in WCDMA, TD-SCDMA, and LTE

Bug: 135921133
Test: wip
Change-Id: Iffd9351d2170a496639eced2c4618819f522494c
2020-01-22 00:03:25 -08:00
TreeHugger Robot
5561857cc7 Merge "Revert "Adds a new ACCESS_CONTEXT_HUB permission"" 2020-01-22 07:59:31 +00:00
Jack Yu
26a8cbe1ed Merge "API changes for IPv6 MTU support" 2020-01-22 07:38:53 +00:00
Automerger Merge Worker
49161ea048 Merge "Merge "Expose ImsConfig constants as part of API." am: 48f7f07d52 am: 7bb16100a4 am: 969feb570e" 2020-01-22 07:37:16 +00:00