Commit Graph

8520 Commits

Author SHA1 Message Date
Hall Liu
72fec6d370 Add setSystemSelectionChannels API
Add setSystemSelectionChannels as a SystemApi, connecting to the
identically-named HAL method.

Fixes: 144595103
Test: manual through the testapp, atest TelephonyManagerTest
Change-Id: I52ff09258af772e272937dd137813d0d63c50cb5
2020-01-21 14:52:17 -08:00
Shuo Qian
c3de6ca956 Merge "Support always reporting signal strength phone state listener" 2020-01-21 22:40:55 +00:00
Daniel Bright
e9a4f02315 Merge "Changed ApnSetting mappings to constants" 2020-01-21 21:39:38 +00:00
Alex Lin
3087e3d69e Merge "Add public API for EuiccService log dump" 2020-01-21 19:31:52 +00:00
Automerger Merge Worker
a2fc38e471 Merge "Publish ImsMmtelManager API for better debugging" am: 09a87d3f9f am: cacdf69470 am: 7cc1436284
Change-Id: I8326658287662a5c503ff6ba2cbc2457fba5d829
2020-01-20 17:35:29 +00:00
Shi Lu
cacdf69470 Merge "Publish ImsMmtelManager API for better debugging"
am: 09a87d3f9f

Change-Id: Ib04eff33de8a6816520fa5fb0d0a2cc418394c3a
2020-01-20 09:10:07 -08:00
Shi Lu
09a87d3f9f Merge "Publish ImsMmtelManager API for better debugging" 2020-01-20 16:56:37 +00:00
Calvin Pan
2ffecdb9fd Merge "Redesign the setPreferredNetworkType" 2020-01-20 08:00:05 +00:00
easoncylee
8f58243483 Fix typo from @see : to @see.
This was introduced in https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/10119408 and caused a doc build failure

Bug: 147979711

Change-Id: I69825a4063fc2ebbcbc25a7fea0e38e56fb51acd
2020-01-20 03:31:57 +00:00
Daniel Bright
d47f1c439d Changed ApnSetting mappings to constants
* Changed ApnSetting to use constants instead of hardcoded strings for clarity.
* Made isDataCapable a public api.
* Removed feature flag android.hardware.telephony.data and opted for a resource
config setting instead.

Bug: 146206136
Test: FrameworkBaseTests, FrameworkOptTests
Change-Id: I19ac83f5865e8763cd9414c41d4609f79d0db164
2020-01-19 14:05:46 -08:00
Zoey Chen
23048ad7d1 Merge "[Settings] To avoid use APIs in IccCard directly, moving APIs into TelephonyManager." 2020-01-19 14:38:35 +00:00
Daniel Bright
19264bbcd5 Merge "Created typed class pin result in keyguard" 2020-01-19 07:37:18 +00:00
zoey chen
16a1821f9c [Settings] To avoid use APIs in IccCard directly, moving APIs into TelephonyManager.
IccCard#changeIccLockPassword
IccCard#setIccLockEnabled
IccCard#getIccLockEnabled
Bug: 146983487
Test: manual

Change-Id: I1a3c3b15063ea00d0ca59bd5395f2bca8cdfe391
2020-01-19 00:02:10 +08:00
Zoey Chen
aca9fccf06 Merge "[Settings] Expose @hide #setDataAllowedDuringVoiceCall and #isDataAllowedInVoiceCall as @SystemApi" 2020-01-18 14:09:39 +00:00
Shuo Qian
93642d4433 Support always reporting signal strength phone state listener
We should not allow other stack (such as Bluetooth) to directly control
 modem indication reporting. The hidden API
 TelephonyManager.setRadioIndicationUpdateMode added before do not
 support multiple clients and do not support the case when clients'
 process die.

The new solution would be adding a new listener
 PhoneStateListener.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH and let
 telephony registry (which is running under system process) to tell
 telephony whether to always turn on signal strength update if any client
 is listening to this event.

Introduce a new system API for TelephonyRegistry
to tell Telephony module this listening mechanism.

Introduce a new permision for this function

Test: WIP (Have this CL out to try to catch up the API deadline)
Bug: 147322848

Change-Id: Iaee832c75b29d89dbc9e5c6659e1a7e89c4a467f
2020-01-17 22:25:46 -08:00
Daniel Bright
b663fcbfae Created typed class pin result in keyguard
* The initial goal was to remove PhoneConstants.
But in doing so, it made sense to replace an int[] array as a
return type with a strongly typed class called PinResult.
* In this push, the @SystemAPI is being defined.
The modification to keyguard will come in a following commit.

Bug: 147854704
Test: make
Change-Id: I0d1354fadda4143260f377ff8ff868b99b9c53d8
2020-01-17 20:48:10 -08:00
Daniel Bright
8f2e272094 Merge "Make isDataCapable a public API" 2020-01-18 00:37:26 +00:00
Daniel Bright
2f7dc20d92 Merge "Make string version of APN_TYPEs a @SystemApi" 2020-01-17 23:38:56 +00:00
Daniel Bright
8528eef2c7 Using PhoneTypes in TelephonyManager
am: c8fb6e0efe

Change-Id: I60e1077eb07c37460b6bb4c17967b91e0b607715
2020-01-17 15:16:53 -08:00
Hall Liu
d982f6c3bb Merge changes from topic "phone-constants-telecom"
* changes:
  Move PhoneConstants constants to TelecomManager
  Using PhoneTypes in TelephonyManager
2020-01-17 22:44:25 +00:00
shilu
61c965388f Publish ImsMmtelManager API for better debugging
Bug: 141928367

Test: manaual
Change-Id: I71fbc5c49f966b349d52db2d7befda6ad71e888f
2020-01-17 14:40:13 -08:00
Automerger Merge Worker
23f94ed67f Merge "Expose proprietary extras Bundle in ImsCallProfile" am: 8804a86b87 am: be898cce4f am: 4f800c4ce5
Change-Id: I66ab61dc36657d31f0514b6ca3c8cf826a604b53
2020-01-17 22:33:00 +00:00
Automerger Merge Worker
39e2fdf7b6 Merge "Add UCE Call Composer + enriched calling tags" am: feaed68912 am: 8e637e628f am: cedaa4b578
Change-Id: I83fed5453b5033ea2cc2e9d15b7a9614b2718cab
2020-01-17 22:30:57 +00:00
Tom Taylor
086de218b9 Merge "Let sms app pass a logging id to telephony" 2020-01-17 22:11:53 +00:00
Automerger Merge Worker
cbe20fe9e6 Merge "Expose ImsFeature#getFeatureState as @SystemApi" am: 40cae1c0c9 am: 9ffe0e8fd6 am: 6eeecb51a4
Change-Id: I7fc2edacc7c9080561b4ece8c4092b741a1b4695
2020-01-17 21:59:58 +00:00
Alex Lin
2fb59151dc Add public API for EuiccService log dump
Add public APi to EuiccService which allows the connected LPA to dump
out the logs when a bug report is triggered.
Bug: 62881779
Test: manually tested by extracting bug report to see if the logs are
present and atest EuiccServiceTest

Change-Id: I0869b95d12ab87a5e2a255015549191040d9daa7
2020-01-17 13:59:16 -08:00
Automerger Merge Worker
b19ac730a9 Merge "Exposing NetworkRegistrationInfo for PS service" am: 3ae8d12fe6 am: 4e34673c9a am: dbb66deae3
Change-Id: Id16673fea38c05bfa93d6a0459a5ae383ca0a04d
2020-01-17 21:56:50 +00:00
Automerger Merge Worker
782b1edcb7 Merge "Add call barring constants to ImsUtImplBase" am: 87cf4b146e am: c27cece2a5 am: 80191c2775
Change-Id: I5b476a1e0af70d65ba6b04d775ef54ae812d198d
2020-01-17 21:48:58 +00:00
Automerger Merge Worker
193072d699 Merge "Expose TelephonyManager constants as SystemApi" am: 15720f61d9 am: 14676c2053 am: 86973d1b60
Change-Id: I7ae58e7bbd97420d91c825c92993620495b4ccfa
2020-01-17 21:48:18 +00:00
Automerger Merge Worker
8cdcce294a Merge "Expose MMS constants" am: 9681a661ae am: 102bafea2f am: bccd39ed28
Change-Id: I857db2796c0a712ac19ecee21dbe5ccabbd50e18
2020-01-17 21:47:59 +00:00
Automerger Merge Worker
2d16d37253 Merge "Add mTimeStamp to SignalStrength" am: aa5b09f6ad am: 7a3082f680 am: 5cdde8b871
Change-Id: I30420d209d39b112c9569525355895d6f1924277
2020-01-17 21:47:34 +00:00
Brad Ebinger
be898cce4f Merge "Expose proprietary extras Bundle in ImsCallProfile"
am: 8804a86b87

Change-Id: I1c8dbf6944bd5713d34486029d6f9deb95e8f2ff
2020-01-17 13:41:16 -08:00
Treehugger Robot
8804a86b87 Merge "Expose proprietary extras Bundle in ImsCallProfile" 2020-01-17 21:15:34 +00:00
Daniel Bright
b5fe6f5f15 Make isDataCapable a public API
This is part of the larger network attributes change

Bug: 147342211
Bug: 146206136
Test: make
Change-Id: I4f5dd3440e403b96112bf2e848bffb5aac299732
2020-01-17 12:58:41 -08:00
Brad Ebinger
8e637e628f Merge "Add UCE Call Composer + enriched calling tags"
am: feaed68912

Change-Id: I68fd63dda5545f013f23bceada0e8822f1b8a329
2020-01-17 12:51:07 -08:00
Brad Ebinger
a21832405f Merge "Properly catch ServiceSpecificException if IMS isn't available"
am: ba0576ee28

Change-Id: I929859652a436c507c6c2af73afad3ea9292b981
2020-01-17 12:44:47 -08:00
Automerger Merge Worker
9ffe0e8fd6 Merge "Expose ImsFeature#getFeatureState as @SystemApi" am: 40cae1c0c9
Change-Id: Iec1ea80a9a3b41c9cbe7fabb861a79aa2d094548
2020-01-17 20:07:43 +00:00
Automerger Merge Worker
400ee161ad Merge "Add NR to ServiceState#isLte and rename to isPsOnlyTech" am: ad189b5e60
Change-Id: I213587114b84db9a5faed350d2fda5df3f4d8c7a
2020-01-17 20:03:38 +00:00
Automerger Merge Worker
663cc563a4 Merge "[Telephony Mainline] Removed IPackageManager reference" am: b114707641
Change-Id: Ibd8f24213dd1aee50274456554edfaabcad58630
2020-01-17 20:01:39 +00:00
Automerger Merge Worker
4e34673c9a Merge "Exposing NetworkRegistrationInfo for PS service" am: 3ae8d12fe6
Change-Id: If4b4569ec6e09dad4d2bbcf675f318ba577dc608
2020-01-17 20:00:09 +00:00
Automerger Merge Worker
c27cece2a5 Merge "Add call barring constants to ImsUtImplBase" am: 87cf4b146e
Change-Id: I847cbce27c37731798809503c95152db0d1c6b69
2020-01-17 19:58:26 +00:00
Automerger Merge Worker
14676c2053 Merge "Expose TelephonyManager constants as SystemApi" am: 15720f61d9
Change-Id: Ib60e17d1a753688315e1418d3860cc793c5e71c0
2020-01-17 19:56:27 +00:00
Automerger Merge Worker
102bafea2f Merge "Expose MMS constants" am: 9681a661ae
Change-Id: I7f5fa3cd13087a3f0422c5d1d961fdcb5120baed
2020-01-17 19:55:46 +00:00
Automerger Merge Worker
7a3082f680 Merge "Add mTimeStamp to SignalStrength" am: aa5b09f6ad
Change-Id: I3f967b8eb3687550ada6b83ec18383ef92267017
2020-01-17 19:55:12 +00:00
Nathan Harold
ccb8121268 Merge "Make SignalStrength constructor system APIs"
am: e9f4fe3c02

Change-Id: Iadb03832b61c78da84ab34fee29e8a7be6105a3d
2020-01-17 11:52:57 -08:00
Treehugger Robot
feaed68912 Merge "Add UCE Call Composer + enriched calling tags" 2020-01-17 19:10:12 +00:00
Sarah Chin
ac5ff7ea6d Merge "Expose getLteOnCdmaMode as isGlobalModeEnabled" 2020-01-17 18:34:19 +00:00
Treehugger Robot
ba0576ee28 Merge "Properly catch ServiceSpecificException if IMS isn't available" 2020-01-17 17:52:39 +00:00
Brad Ebinger
d57ff4a221 Expose proprietary extras Bundle in ImsCallProfile
Fixes: 147726367
Test: atest CtsTelephonyTestCases:ImsCallProfileTest
Change-Id: I5a2aee142b77c86f00967fc1092c219d0d164a39
2020-01-17 09:18:38 -08:00
Tom Taylor
66afc8fab2 Let sms app pass a logging id to telephony
Bug: 135755360

Test: manually test sending and receiving sms's and mms's via the
Messaging app and verify the messageId is passed back and forth.
Change-Id: I5a0d2cd9b8e5e75062cc895512da1a3357c57dbf
2020-01-17 08:01:05 -08:00