438535 Commits

Author SHA1 Message Date
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
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
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
Betty Chang
e74c1f1278 Merge "[Telephony Mainline] Add SimInfo.CONTENT_URI instead SubscriptionManager.CONTENT_URI for mainline" 2019-12-17 02:53:41 +00: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
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
James Lin
6a1d13f58e Merge "[RCS] Add IMS service into system service registry" 2019-12-16 23:28:44 +00:00
Meng Wang
46e185031a Merge "Telephony module will staticlly link IState.java" 2019-12-16 22:47:52 +00:00
Jack Yu
d8513243aa Merge "Make IMS supported Call Barring MMI codes customizable" 2019-12-16 21:56:08 +00:00
Chen Xu
0bc81e1d23 Merge "expose APIs for mainline telephony-sdk" 2019-12-16 20:51:04 +00:00
Meng Wang
8532de9d05 Telephony module will staticlly link IState.java
to avoid hidden API dependency.

Bug: 137202333
Test: make
Merged-In: I5a9ddbebadcf6226402f6e4a37ced168fe07d55b
Change-Id: I5a9ddbebadcf6226402f6e4a37ced168fe07d55b
2019-12-16 12:22:01 -08:00
Treehugger Robot
09c87c5587 Merge "zygote: fix mprotect range for non-page-aligned segments" 2019-12-16 20:19:05 +00:00
Treehugger Robot
322f00e30f Merge "Update AccessNetworkType for NR" 2019-12-16 19:38:41 +00:00
Neil Fuller
41c13aa123 Merge "Fix TimeZoneDetectorStrategyTest" 2019-12-16 18:42:17 +00:00
Treehugger Robot
58ea8819f5 Merge "Expose the onCarrierPrivilegedAppsChanged as SystemApi" 2019-12-16 18:40:50 +00:00
Brad Ebinger
07ba9c6fff Merge "Move RCS UCE out of Telephony Mainline" 2019-12-16 17:53:31 +00:00
Jack Yu
8409679749 Merge "Added read phone state permission for getNetworkCountryIso" 2019-12-16 17:29:15 +00:00
Neil Fuller
6d84974246 Fix TimeZoneDetectorStrategyTest
Fix TimeZoneDetectorStrategyTest#testFirstPlausiblePhoneSuggestionAcceptedWhenTimeZoneUninitialized.
A test that isn't run by treehugger. Broken by commit
9a81291281f16e1adbc2b260bebed91306649c83.

Test: atest com.android.server.timezonedetector
Bug: 140712361
Change-Id: Id1c867caf45055c22d6b8462534624cc82032293
2019-12-16 17:17:18 +00:00
Anton Hansson
3ede866f2e Merge "Restrict visibility into the sdkext package" 2019-12-16 16:23:17 +00:00
Anton Hansson
4c1f4c2bc6 Merge "Add stubs and an sdk definition for sdkext" 2019-12-16 16:00:43 +00:00
Treehugger Robot
e1b61141f9 Merge "Notify ClockChangedListeners on main thread" 2019-12-16 15:39:28 +00:00
Treehugger Robot
7da7428409 Merge "Get clock title on demand" 2019-12-16 14:45:23 +00:00
Treehugger Robot
b65218c561 Merge "Add aurimas as the owners of the android.annotation package" 2019-12-16 14:25:59 +00:00
Anton Hansson
d5a308938e Merge "Add stubs_defaults for framework modules" 2019-12-16 12:59:13 +00:00
Anton Hansson
2337daf1c5 Restrict visibility into the sdkext package
Only the stubs should be visible to the outside world. However,
the sources also need to be exposed for now.

Bug: 137191822
Test: m
Change-Id: Id051cc928c2c5050a6df6470e9ee221f178fd835
2019-12-16 11:55:04 +00:00
Treehugger Robot
2cf7b94daf Merge "Update TelephonyManager#getNai docs for new device ID requirements" 2019-12-16 09:07:50 +00:00
paulhu
741e513050 Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission
Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to phone
package in privapp permission list.

Bug: 146222771
Test: build, flash, boot to home
Change-Id: I1c88b892b1d2f50856b139a5cad5dc8b07a006be
2019-12-16 09:02:36 +00:00
Jayachandran Chinnakkannu
706ac54f75 Merge "Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED" 2019-12-16 07:03:43 +00:00
Jiyong Park
da70947b3e Add aurimas as the owners of the android.annotation package
Bug: N/A
Test: N/A
Change-Id: I5feb978f8390c35d87a2b8b9fb82a3f63de936f2
2019-12-16 11:38:32 +09:00
Treehugger Robot
81491a1265 Merge "Replaced Build.IS_DEBUGGABLE" 2019-12-16 02:32:58 +00:00
Treehugger Robot
775540c6d6 Merge "Pipe featureId from app to noteOp in BT code" 2019-12-14 17:36:47 +00:00
Andrew Chant
1aab035706 Merge changes from topic "dec13_netrevert"
* changes:
  Revert "[NS A24] Add an object to represent changes in assignment"
  Revert "[NS A25] Send all listen callbacks after all rematches"
  Revert "[NS A26] Move available callbacks out of the rematch computation"
  Revert "[NS A27] Remove useless logs and a useless var"
2019-12-14 07:10:08 +00:00
Chen Xu
c0fa362e1b Merge "remove API RoleManager.getFinancialSms" 2019-12-14 06:57:48 +00:00
Daniel Bright
60b37c37f0 Replaced Build.IS_DEBUGGABLE
Changed Build.IS_DEBUGGABLE to TelephonyUtils.IS_DEBUGGABLE and
Build.IS_USER to TelephonyUtils.IS_USER.

Bug: 145952396
Test: Telephony unit tests

Change-Id: If3ca3171f8c09552642e797fb0ce2d00ccacc999
Merged-In: If3ca3171f8c09552642e797fb0ce2d00ccacc999
2019-12-13 21:41:12 -08:00
Chen Xu
435d1c1a53 remove API RoleManager.getFinancialSms
getFinancialSms is not functional and not used today, thus
remove it to avoid future confusion

Bug: 138745655
Bug: 140908357
Test: atest android.telephony.cts.SmsManagerTest
Change-Id: Ib57d0fc189b6c894227894ee02b592f7ee46f22f
(cherry picked from commit d6b2673181e2976dffc6ed9a493968e678aa30c0)
Merged-in: Ib57d0fc189b6c894227894ee02b592f7ee46f22f
2019-12-13 20:48:41 -08:00
Chen Xu
b25174e9d0 Merge changes from topic "cpcpcp"
* changes:
  move encodeException to non-updatable framework/base/telephony/common
  move IApnSourceService.aidl to android.service.carrier
  use SmsCbMessage.MESSAGE_FORMAT_3GPP to replace hidden SmsMgr APIs
  apply correct @SystemAPI for PackageManager
2019-12-14 04:16:54 +00:00
Jack Yu
fd5241f120 Merge changes I5c5c4eb3,I36712447,I5b78d449
* changes:
  Throw illegal argument exception when slot index is invalid
  Code clean up
  Improved debug message
2019-12-14 04:15:39 +00:00
Andrew Chant
884ab0e195 Revert "[NS A24] Add an object to represent changes in assignment"
This reverts commit 5c18198aae4f2aba47c0d16de7960f1a4da26f61.

Reason for revert: Toggling wifi on/off causes networking to
 stop working with these four patches applied.
Bug: 146230156

Change-Id: Ie0217796c89abf0dc86e6a4f8324811155dc57cd
2019-12-14 03:35:07 +00:00
Andrew Chant
9bea6e4d36 Revert "[NS A25] Send all listen callbacks after all rematches"
This reverts commit 336d25f744616d59831414668bcc56784c7af1b3.

Reason for revert: Toggling wifi on/off causes networking to
 stop working with these four patches applied.
Bug: 146230156

Change-Id: Icd368df5ef76991dd2b4c1fa530cbc5fae2f61fa
2019-12-14 03:33:51 +00:00
Andrew Chant
9d26869e6a Revert "[NS A26] Move available callbacks out of the rematch computation"
This reverts commit e63d4bb92b497d13cec30e68125e4b636b1b6cbb.

Reason for revert: Toggling wifi on/off causes networking to
 stop working with these four patches applied.
Bug: 146230156

Change-Id: I9af7f8b9af1a6279f2b9f1249824da705164c6b5
2019-12-14 03:32:41 +00:00
Andrew Chant
8db7d76b54 Revert "[NS A27] Remove useless logs and a useless var"
This reverts commit 04ea217324d0250568b9c3f1cd8ef61ad0ee1630.

Reason for revert: Toggling wifi on/off causes networking to
 stop working with these four patches applied.
Bug: 146230156

Change-Id: I6c75ac179bcc08cc5979194eea69525b333e2ba7
2019-12-14 03:31:20 +00:00
Treehugger Robot
07b7384007 Merge "Move TelephonyUtils to base/telephony" 2019-12-14 01:35:53 +00:00
Chen Xu
4c0941420e move encodeException to non-updatable framework/base/telephony/common
Bug: 140908357
Test: Build
Change-Id: I9be6b41fe4af0eb4eb56debffc020735509dc407
(cherry picked from commit 3a7dfca8db0185ce0683e22c11b7906215a96a51)
Merged-in: I9be6b41fe4af0eb4eb56debffc020735509dc407
2019-12-13 17:07:50 -08:00