Commit Graph

438512 Commits

Author SHA1 Message Date
Meng Wang
66972daf11 Remove PhoneStateLister#onOtaspChanged
and replace with Registrant in Phone, since the callback is only used
inside telephony.

Bug: 140908357
Test: make
Change-Id: Ia86e9885f85d7f6b3698e96653add00e9b8670ed
2019-12-16 15:10:43 -08: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
9a81291281.

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
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 d6b2673181)
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 5c18198aae.

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 336d25f744.

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 e63d4bb92b.

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 04ea217324.

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 3a7dfca8db)
Merged-in: I9be6b41fe4af0eb4eb56debffc020735509dc407
2019-12-13 17:07:50 -08:00
Chen Xu
2a03dd50ce move IApnSourceService.aidl to android.service.carrier
Bug: 140908357
Test: Build & Manual
Change-Id: I21b83798f5ecd819627a7168c167cf3cfe99dd68
(cherry picked from commit 478ba408d3)
Merged-in: I21b83798f5ecd819627a7168c167cf3cfe99dd68
2019-12-13 17:04:23 -08:00
Michael Groover
265bb44569 Update TelephonyManager#getNai docs for new device ID requirements
Bug: 131188555
Test: Build
Change-Id: I99aa929ce7c734d9449fe23f6f483af4463fed19
Merged-in: I99aa929ce7c734d9449fe23f6f483af4463fed19
2019-12-14 01:03:53 +00:00
Chen Xu
125e446c18 use SmsCbMessage.MESSAGE_FORMAT_3GPP to replace hidden SmsMgr APIs
Bug: 135956699
Test: unit test
Change-Id: Id631875ba6639ebf4fa569696a982c49d9c93e8f
(cherry picked from commit dd79281f97)
Merged-in: Id631875ba6639ebf4fa569696a982c49d9c93e8f
2019-12-13 16:48:29 -08:00
Chen Xu
34cb2ad45e apply correct @SystemAPI for PackageManager
Bug: 138772432
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSuspendPackage
Change-Id: I93441ed2dba933946aeaeabcfdb65e41bfccc447
(cherry picked from commit 6dcc20e79a)
Merged-in: I93441ed2dba933946aeaeabcfdb65e41bfccc447
2019-12-13 16:46:22 -08:00
Treehugger Robot
ac335868bf Merge "Remove "import JobService" to remove build time dependency" 2019-12-13 23:51:39 +00:00
Xiangyu/Malcolm Chen
c937749b18 Merge "Allow addSubscriptionsIntoGroup with grouUuid that isn't assigned." 2019-12-13 23:43:50 +00:00
Jack Yu
5def2c6004 Throw illegal argument exception when slot index is invalid
Test: Manual
Bug: 144097779
Merged-In: I5c5c4eb313fd42317a2b0feed0946b8e4003ad62
Change-Id: I5c5c4eb313fd42317a2b0feed0946b8e4003ad62
(cherry picked from commit 0d75aee571)
2019-12-13 15:34:33 -08:00
Jack Yu
45811ecc85 Code clean up
Remove database version 1~11 support since the format hasn't changed
in the past 7 years.

Bug: 135956699
Test: Manual
Merged-In: I367124471f16073bb47a31c094d161d36969acc1
Change-Id: I367124471f16073bb47a31c094d161d36969acc1
(cherry picked from commit 21effc8643)
2019-12-13 15:34:01 -08:00
Jack Yu
35eed63424 Improved debug message
Printed out polygon information

Test: Manual
Merged-In: I5b78d4494418f07dd0a4340c7ef4bd1e499af536
Change-Id: I5b78d4494418f07dd0a4340c7ef4bd1e499af536
(cherry picked from commit 3b6b57b685)
2019-12-13 15:32:11 -08:00
Treehugger Robot
c5480019ce Merge "Use TelephonyManager API to check if device is voice capable." 2019-12-13 23:26:40 +00:00
Jack Yu
92203589f1 Added read phone state permission for getNetworkCountryIso
The slot based version of getNetworkCountryIso is a system API.
So it needs to be gaurded by permission.

Bug: 141646066
Test: Telephony sanity tests
Merged-In: I810ff0b77b93870ae3f62769977c7094789d0a5a
Change-Id: I810ff0b77b93870ae3f62769977c7094789d0a5a
(cherry picked from commit 105f65068c)
2019-12-13 15:20:21 -08:00
Treehugger Robot
8d02aac547 Merge "Define permission GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS" 2019-12-13 22:54:21 +00:00
Xiangyu/Malcolm Chen
dcb71dfaad Merge "Define ril request for enableUiccApplications." 2019-12-13 22:32:34 +00:00
Brad Ebinger
000bec9fbe Move RCS UCE out of Telephony Mainline
Telephony Mainline does not interact with UCE,
therefore it should not be included as mainline.

Test: build taimen; build coral; manual test uce
Change-Id: I743228939e648689ff9e73d9af2ffb7b90feb3b2
2019-12-13 22:17:30 +00:00