Commit Graph

30240 Commits

Author SHA1 Message Date
Zoey Chen
59fd41fbfc Merge "[TelephonyMainline] @hide @SystemApi and revisit them in S. - CarrierColumns" into rvc-dev am: 3312226652
Change-Id: I28b36b7a7bb207dbe5241bf3da73cfc1ce2f5547
2020-03-18 09:56:06 +00:00
Zoey Chen
3312226652 Merge "[TelephonyMainline] @hide @SystemApi and revisit them in S. - CarrierColumns" into rvc-dev 2020-03-18 09:39:12 +00:00
TreeHugger Robot
2e22678e04 Merge "Make parameters parser-implementation independent" into rvc-dev am: 6beb092933
Change-Id: I943ed77404e4cddae4db86ddad20282ce8e86b83
2020-03-18 08:40:24 +00:00
TreeHugger Robot
6beb092933 Merge "Make parameters parser-implementation independent" into rvc-dev 2020-03-18 08:29:38 +00:00
TreeHugger Robot
24466c4924 Merge changes from topic "code_sync_from_aosp" into rvc-dev
* changes:
  Change naming to be more specific
  Update preferred payment related APIs
2020-03-18 08:17:36 +00:00
Roshan Pius
bc3a014a78 Merge "WifiMigration: Add new API's for migrating config store data" into rvc-dev am: 9144141d32
Change-Id: I44e9b7893679755ebd7998ed52cf1ce297fb069d
2020-03-18 05:24:11 +00:00
Roshan Pius
9144141d32 Merge "WifiMigration: Add new API's for migrating config store data" into rvc-dev 2020-03-18 05:20:04 +00:00
Roshan Pius
5cdc892562 WifiMigration: Add new API's for migrating config store data
The new API's should be modified by the OEM's to convert their existing
config store file to AOSP format. wifi mainline module will
delete/rename the file after migrating data out of it. Subsequent
invocations of these API's should return null.

Bug: 149418926
Test: Compiles
Change-Id: I9ef0986fd38ea5ba9555c7c4652b90cf2ac2fb91
2020-03-17 19:37:21 -07:00
Alex Lin
20faafc483 Update EuiccService encodeSmdxSubjectAndReasonCode am: 2c3cc82819 am: 1fb2e3e4fc
Change-Id: I54d7779e0def1eda1b96edb2ae07d4f131e10871
2020-03-17 23:43:27 +00:00
Shuo Qian
23f2dd76fc Merge "Hide several System APIs" into rvc-dev am: 0d4f4e464e
Change-Id: I19bc9b430f84ecea69d4094c5b3a97b4db5bb97c
2020-03-17 23:36:37 +00:00
junyulai
000612686a [SP25] Rename functions that add Entry conditionally am: 32fb2a0e7c
Change-Id: I5f9924cf5b3eccfcdaa6dda991a102b97cebd11a
2020-03-17 23:35:57 +00:00
Alex Lin
1fb2e3e4fc Update EuiccService encodeSmdxSubjectAndReasonCode am: 2c3cc82819
Change-Id: I5a8c7c0e088a01755f67a1f20d1b5a92caadfb66
2020-03-17 23:20:11 +00:00
Alex Lin
d6e6578aab Rename ErrorCode am: 4888d9aca2
Change-Id: Ib3c4e0732359196bd3fdf15a88c71a328d8c85cd
2020-03-17 23:20:02 +00:00
Alex Lin
abba583f62 Add public error codes to Euicc public API am: e61b636a61
Change-Id: I92af20dde36ebdeb00cabaa2558351293ec9c1d1
2020-03-17 23:19:53 +00:00
Junyu Lai
3a6a98f5bb Merge changes from topics "am-ad04c8ad832c4674be35bfc5fe4280dd-rvc-dev", "sp21-api-review-feedback", "sp25-networkstats-rename" into rvc-dev
* changes:
  [SP25] Rename functions that add Entry conditionally
  [SP24] Rename functions that add Entry unconditionally
  [SP23] Address misc API review comment about NetworkStats
  [SP21] Address comments for API council review about aosp/1172143
  [SP20] Check signature permission when accessing network stats provider
2020-03-17 23:11:34 +00:00
Shuo Qian
0d4f4e464e Merge "Hide several System APIs" into rvc-dev 2020-03-17 23:09:31 +00:00
Beverly Tai
c6e6e8f9b2 Merge "Give mConsolidatedPolicy a default value" into rvc-dev am: 552d491f63
Change-Id: Id6d9626be3d3c4ae7ad9f87ff495b82021e4c697
2020-03-17 21:40:17 +00:00
Beverly Tai
552d491f63 Merge "Give mConsolidatedPolicy a default value" into rvc-dev 2020-03-17 21:19:25 +00:00
Daniel Bright
9c8f70aae8 Merge "Undo isDataCapable as Public API" into rvc-dev am: d9e5f80d4b
Change-Id: I48226964a13c14ba81ac7ff9518724dac9809f3c
2020-03-17 20:34:38 +00:00
Daniel Bright
d9e5f80d4b Merge "Undo isDataCapable as Public API" into rvc-dev 2020-03-17 20:13:57 +00:00
Cody Kesting
35cba128cb Merge "Update ConnectivityDiagnosticsCallback function name." 2020-03-17 19:00:39 +00:00
Automerger Merge Worker
aaffb453b0 Merge "Move tuner constants to Tuner.java" into rvc-dev am: db95fd7845
Change-Id: I4c60e027443da88e618003e9e8a184af893e7230
2020-03-17 18:10:14 +00:00
TreeHugger Robot
db95fd7845 Merge "Move tuner constants to Tuner.java" into rvc-dev 2020-03-17 17:55:17 +00:00
Automerger Merge Worker
b8be0626f7 Merge "Wrap exoplayer ParserException" into rvc-dev am: 1f448ea03c
Change-Id: If8898ad12d368cb83386e56c0e7ba6eb74b61979
2020-03-17 17:19:48 +00:00
Automerger Merge Worker
e371d5216a Merge "Make LauncherApps#ShortcutQuery#setLocusId() public" into rvc-dev am: bcaa266fa7
Change-Id: Ia363f9552ebeec80b2ab1490cc2200840f67412b
2020-03-17 17:19:32 +00:00
Santiago Seifert
1f448ea03c Merge "Wrap exoplayer ParserException" into rvc-dev 2020-03-17 17:12:54 +00:00
Cody Kesting
40f23ffb38 Update ConnectivityDiagnosticsCallback function name.
API Council feedback suggests renaming ConnectivityDiagnosticsCallback
'onConnectivityReport' function to be 'onConnectivityReportAvailable'.

Bug: 150598997
Test: atest FrameworksNetTests
Change-Id: Ieea727ecee6cf358a53a215fd4b06233dfe967ea
Merged-In: Ieea727ecee6cf358a53a215fd4b06233dfe967ea
2020-03-17 17:10:38 +00:00
Mehdi Alizadeh
bcaa266fa7 Merge "Make LauncherApps#ShortcutQuery#setLocusId() public" into rvc-dev 2020-03-17 17:02:39 +00:00
Automerger Merge Worker
f54c9cfa61 Merge "Update ConnectivityDiagnosticsCallback function name." into rvc-dev am: e09e0db478
Change-Id: I42c78c2626d1592bd5a0da215579f55bf04dc088
2020-03-17 15:48:00 +00:00
Cody Kesting
e09e0db478 Merge "Update ConnectivityDiagnosticsCallback function name." into rvc-dev 2020-03-17 15:29:55 +00:00
junyulai
32fb2a0e7c [SP25] Rename functions that add Entry conditionally
Currently, in NetworkStats, there are many methods to manipulate
the records. However, some methods are similar and ambiguous,
such as addEntry, addValues, setValues, addIfaceValues,
combineValues and combineAllValues.

Thus, properly grouping and renaming methods are necessary.
In this change, for methods that add one record conditionally,
name them addEntry.
  addValues -> addEntry

Test: atest FrameworksNetTests ImsPhoneCallTrackerTest TetheringTests
Fix: 148895143
Change-Id: I9495a198cf247e6c79100f7ac1edcea370b071de
2020-03-17 14:59:59 +00:00
junyulai
90a118d499 [SP23] Address misc API review comment about NetworkStats
This change add several javadoc for NetworkStats and its Entry
class. Also remove IFACE_ALL constant accordlingly.

Test: atest FrameworkNetTests
Test: m doc-comment-check-docs
Bug: 148895143

Change-Id: Id1b8f41be79f847ad73197ff0e18258b6ee8a730
Merged-In: Id1b8f41be79f847ad73197ff0e18258b6ee8a730
(cherry picked from aosp/1256351)
2020-03-17 14:58:59 +00:00
junyulai
ea8f185b52 [SP21] Address comments for API council review about aosp/1172143
Test: atest FrameworksNetTests ImsPhoneCallTrackerTest
Test: atest TetheringTests NetworkStackTests
Test: m doc-comment-check-docs
Fix: 148552904

Change-Id: I141393f229e772d2eb9f7c156849e379bd71b845
Merged-In: I141393f229e772d2eb9f7c156849e379bd71b845
(cherry picked from aosp/1253717)
2020-03-17 14:57:59 +00:00
Automerger Merge Worker
af8d85fa0c [SP20] Check signature permission when accessing network stats provider
Currently, registerNetworkStatsProvider requires the
UPDATE_DEVICE_STATS permission. This is a privileged permission
so it can be granted to preinstalled apps. Thus, apps like
GmsCore, or preinstalled apps will be able to update network stats.

This change checks for a new permission that would only allow
signature apps to declare that. Also check
MAINLINE_NETWORK_STACK permission to allow NetworkStack process
to use it.

Test: adb shell dumpsys netstats
Test: atest FrameworksNetTests
Bug: 149652079

Change-Id: Iaecbf10a7610461bd52e315659006c7332c416e6
Merged-In: Iaecbf10a7610461bd52e315659006c7332c416e6
Merged-In: Idfebd0a1988c3dcfd812d87e30f6a2034d6fbf6b
(cherry picked from commit e9e8d8f9ff)
2020-03-17 14:53:33 +00:00
Beverly
430b71a149 Give mConsolidatedPolicy a default value
- To align mConsolidatedPolicy with mConfig
- Update documentation for NotificationManager#getConsolidatedPolicy

Test: atest SystemUITests
Fixes: 151077630
Change-Id: I9a769ac6907c7cf19e00ca9134183e10f9f864f5
2020-03-17 10:35:46 -04:00
Automerger Merge Worker
1cc5aa4ecd Merge "Support static address configuration" am: 81ab487105 am: 33624ce0ed
Change-Id: Ia070e65d6a068cdab0b5338b1f6308465586aff0
2020-03-17 14:01:05 +00:00
Mark Chien
81ab487105 Merge "Support static address configuration" 2020-03-17 13:26:09 +00:00
Treehugger Robot
66a82eecd2 Merge "Removing some of the API don't have to be @SystemApi" 2020-03-17 12:51:25 +00:00
Automerger Merge Worker
3f018fc034 Merge "Move sensitive field parceling bool to constructor" am: ab5fdfa7cd am: 28c13929db
Change-Id: Ice332671a4b97dad595c79c8c42ce47dca52b8e2
2020-03-17 08:17:51 +00:00
Remi NGUYEN VAN
ab5fdfa7cd Merge "Move sensitive field parceling bool to constructor" 2020-03-17 07:49:38 +00:00
Cody Kesting
9347e33557 Update ConnectivityDiagnosticsCallback function name.
API Council feedback suggests renaming ConnectivityDiagnosticsCallback
'onConnectivityReport' function to be 'onConnectivityReportAvailable'.

Bug: 150598997
Test: atest FrameworksNetTests
Change-Id: Ieea727ecee6cf358a53a215fd4b06233dfe967ea
(cherry picked from commit 324b224cc48fcb12125bd1727be70ad2effbfce3)
2020-03-17 00:16:58 -07:00
Automerger Merge Worker
a021f250d6 Merge "Revert "Expose hidden resources used in telephony/common"" into rvc-dev am: b5e33cf663
Change-Id: Ib3c53f03e6e0ab44d8efe12b94edd59dd913e5d8
2020-03-17 05:58:51 +00:00
Sarah Chin
b5e33cf663 Merge "Revert "Expose hidden resources used in telephony/common"" into rvc-dev 2020-03-17 05:43:48 +00:00
Shuo Qian
1e154a345c Hide several System APIs
Test: Treehugger
Bug: 151241308
Change-Id: Ie611320f4651b83e0ced6f5c8fede34a8a0a41c1
2020-03-17 04:41:21 +00:00
Automerger Merge Worker
b52593c579 Merge "Run codegen v15 on inline suggestion data classes" into rvc-dev am: f931471bf4
Change-Id: I2db02d6bd90c071443781c6b6e3dfafc9d1ca039
2020-03-17 03:17:48 +00:00
Jack Yu
d5848b795d Merge "Removed permission check" 2020-03-17 03:15:32 +00:00
TreeHugger Robot
f931471bf4 Merge "Run codegen v15 on inline suggestion data classes" into rvc-dev 2020-03-17 03:13:25 +00:00
Zoey Chen
1724914c9f Merge "[TelephonyMainline] @hide system api since we'll revisit in S. - DataAllowed" 2020-03-17 02:45:25 +00:00
Remi NGUYEN VAN
ad7ddfd7f8 Move sensitive field parceling bool to constructor
This addresses API review comments recommending to use a copy
constructor with additional parameters instead of a dedicated method.
makeSensitiveFieldsParcelingCopy becomes LinkProperties(base, true).

Bug: 150877475
Test: atest FrameworksNetTests NetworkStackTests NetworkStackNextTests
Change-Id: Ib145ca7f36dcbee6ef47d09862a181fc04a28f03
2020-03-17 11:42:33 +09:00
Automerger Merge Worker
acec264b5f Merge "Remove FrontendSettings.Builder" into rvc-dev am: ca27edc930
Change-Id: If34ee3ee5717110bef2a9faebc0dede982ee6a2f
2020-03-17 01:34:03 +00:00