Commit Graph

9502 Commits

Author SHA1 Message Date
Cody Kesting
408de3f226 Merge "Make UiccAccessRule certificate utils accessible." into rvc-dev am: 64d3ed6006 am: cfcc098e21
Change-Id: I041a053e71f59de6eeccde3e676f5428e2d5dd9d
2020-03-31 18:16:56 +00:00
Cody Kesting
64d3ed6006 Merge "Make UiccAccessRule certificate utils accessible." into rvc-dev 2020-03-31 17:59:09 +00:00
James Lin
410b9b8fe0 Merge "Fix Telephony crash in the method ImsCallProfile#toString" into rvc-dev am: f5e5a8791c am: b04145b4da
Change-Id: Ia6f5995bcef5c0bda211fc044fec933fa98ac0b7
2020-03-31 00:18:58 +00:00
James Lin
f5e5a8791c Merge "Fix Telephony crash in the method ImsCallProfile#toString" into rvc-dev 2020-03-30 23:51:21 +00:00
TreeHugger Robot
93636ae765 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343 am: 0480d926a2
Change-Id: I61f9d33d17a74b643d2b29443ba72a5ac6acc64c
2020-03-30 22:51:13 +00:00
TreeHugger Robot
da50240343 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev 2020-03-30 22:24:30 +00:00
Michael Wright
eec778ccdd Remove replaced PreciseDataConnectionState methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
PreciseDataConnectionState had a couple methods that fell into this
category that had yet to be removed.

Bug: 152787887
Test: builds
Change-Id: Ib175b2530791cec7e31684a1d3f318c95e27f707
2020-03-30 20:39:27 +00:00
Mingming Cai
4a5b002793 Merge "Add global cell ID to all technologies" into rvc-dev am: dc087115c8 am: 1d269e04aa
Change-Id: Ie61e93138fd5520fee61b997f4a5d2704e6241a1
2020-03-30 19:07:39 +00:00
Mingming Cai
dc087115c8 Merge "Add global cell ID to all technologies" into rvc-dev 2020-03-30 15:33:10 +00:00
James.cf Lin
8fb76731ee Fix Telephony crash in the method ImsCallProfile#toString
According to the crash stack, the Telephony crash in the method ImsCallProfile#toString. Add the null check before assessing the class instance.

Bug: 148746493
Test: manual
Change-Id: I156c8ac9f8cd05e678cc38397e84e10f14ce7403
2020-03-30 13:59:17 +08:00
Hall Liu
dbfecb3dda Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: 952697b886 am: db8281ff75
Change-Id: Idc2c2537f2fd175f1d3fbba62935b463917dc420
2020-03-28 07:10:24 +00:00
Hall Liu
952697b886 Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev
* changes:
  Add gating, logging for PhoneStateListener's limit
  Institute limit on PhoneStateListener
2020-03-28 06:48:56 +00:00
Hall Liu
ed6d6e69a8 Add gating, logging for PhoneStateListener's limit
Add gating via PlatformCompat and DeviceConfig and logging via
PlatformCompat to the limit instituted on per-process listeners

Fixes: 152074216
Test: atest CtsTelephonyHostCases
Change-Id: I4d6681d90705b68c3349f4124e434a29b50fd3a2
2020-03-27 19:21:51 -07:00
TreeHugger Robot
976e8eab2c Merge "Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult" into rvc-dev am: ddcf560b4e am: 33ad367719
Change-Id: I642dbfaa3ad8b67881b73e3dafbd7a1da7598363
2020-03-28 00:06:55 +00:00
Rambo Wang
9aa54431d9 Merge "NR is lower priority than all other signal strengths" into rvc-dev am: 2939486f37 am: 3ef28f756c
Change-Id: If41282c11cf30f1125b3ed0d640141ff62c5fd10
2020-03-28 00:06:17 +00:00
TreeHugger Robot
ddcf560b4e Merge "Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult" into rvc-dev 2020-03-28 00:03:49 +00:00
Rambo Wang
2939486f37 Merge "NR is lower priority than all other signal strengths" into rvc-dev 2020-03-27 23:38:16 +00:00
Daniel Bright
ef5836157f Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult
Fully rolled back comments and signature to original state before change

Test: bootup phone
Bug: 147854704
Change-Id: I5fcd71e1569e6b0e16cff5392239b89259ee1790
2020-03-27 15:01:16 -07:00
Shuo Qian
81d2d3653e Merge "Add a hidden API for EXTRA_LAST_KNOWN_NETWORK_COUNTRY" into rvc-dev am: 00813b7648 am: 57fa34bd18
Change-Id: I8884321a24a45e5713faa86be2ecd8ccb0a23614
2020-03-27 20:14:51 +00:00
Shuo Qian
8d1791efc7 Add a hidden API for EXTRA_LAST_KNOWN_NETWORK_COUNTRY
Test: Treehugger; atest
Bug: 152246523
Change-Id: Id77b81e18b293d8d8c8e7b3127826fbd577d6117
2020-03-27 02:45:47 +00:00
Sarah Chin
2e7450f292 Merge "Update Bands API" into rvc-dev am: 5b2f94a0aa
Change-Id: I64ceb47277c6e397ea3d5934eef0fc5012b19e9b
2020-03-27 00:46:54 +00:00
Sarah Chin
5b2f94a0aa Merge "Update Bands API" into rvc-dev 2020-03-27 00:33:05 +00:00
Sarah Chin
0c93d99998 Merge "Un-deprecate SmsManager APIs" into rvc-dev am: 85e3140365
Change-Id: I8eab09ba005e338a285f1a9cd9cb6643368272a8
2020-03-26 22:05:16 +00:00
Sarah Chin
854fc2ca64 Update Bands API
Test: build
Bug: 151842542
Change-Id: Ib033758d469b9b485eb7cce6c026b5a649e6a6fa
2020-03-26 15:02:29 -07:00
Sarah Chin
85e3140365 Merge "Un-deprecate SmsManager APIs" into rvc-dev 2020-03-26 21:53:51 +00:00
Rambo Wang
8e56e11eab NR is lower priority than all other signal strengths
aosp/891956 introduced signal strengths support for NR. In the
method SignalStrength.getPrimary, NR is the lowest priority.
This is against the policy which is in the comment, saying
"prioritizing newer faster RATs".

Bug: 148634820
Test: atest com.android.internal.telephony.SignalStrengthTest
Change-Id: Ia9055c9e8cd8d09cdd3f101750c9f9cea983a9f8
2020-03-26 12:35:38 -07:00
Mingming Cai
c78abaad35 Add global cell ID to all technologies
Add global cell ID to CellIdentity and all technologies,
including GSM, CDMA, WCDMA, TDSCDMA, LTE, and NR.

Bug: 80159277
Test: CellIdentityTest, CellIdentityGsmTest, CellIdentityCDMATest,
CellIdentityWcdmaTest, CellIdentityTdscdmaTest, CellIdentityLteTest,
CellIdentityNrTest, CellIdentityNrTes, ServiceStateTrackerTest

Change-Id: I2174e8d8c286da200562ef77cff78c3fca26cee2
2020-03-26 18:30:26 +00:00
Tyler Gunn
8f8713148f Merge "Fix potential issue where sub info change listener is not registered." into rvc-dev am: f0d5687181
Change-Id: Ib032072dcfd2d3d5e700e380af08b7b3142ebb8e
2020-03-26 15:29:13 +00:00
Tyler Gunn
f0d5687181 Merge "Fix potential issue where sub info change listener is not registered." into rvc-dev 2020-03-26 15:02:15 +00:00
Sarah Chin
ac3eb46325 Un-deprecate SmsManager APIs
MmsManager methods were removed for mainline, so unexposing these

Test: build
Bug: 144004293
Change-Id: I9714719f2d922cb027fa42a1aa535006dce7342c
2020-03-25 23:33:15 -07:00
Tyler Gunn
cf2cd8dcd8 Fix potential issue where sub info change listener is not registered.
SubscriptionManager#addOnSubscriptionsChangedListener can fail to
register a listener if the TELEPHONY_REGISTRY system service is not up.
Currently this is just silently ignored.

Adding a callback method on the listener to notify the registrant that the
listener failed to be registered, and adding exponential backoff code in
TelecomAccountRegistry to retry registration.

Test: Manual; edited code in Subscriptionmanager to fail the first attempts
to add a listener for TelecomAccountRegistry.  Verified the backoff took
place and registration still occurred for the listener.
Test: Tried to write a mockito test but gave up because this code has
far too many intertwined dependencies and is not inherently testable
Fixes: 152217039

Change-Id: Icf3133cdeca526979cb621f29659b880127b680a
2020-03-25 18:11:56 -07:00
Mingming Cai
fa9bd571b9 Merge "Add comments to GSM and CDMA getDbm()" into rvc-dev 2020-03-26 01:05:36 +00:00
Cody Kesting
a010445028 Make UiccAccessRule certificate utils accessible.
UiccAccessRule includes functionality for getting Signatures from a
PackageInfo and hashing a cert. Instead of duplicating this code in
CarrierPrivilegesTracker, make it visible with @hide.

Bug: 147391402
Test: atest FrameworksTelephonyTests
Change-Id: I4f95ab512e94cd851a6928d8eb7918d5a04bfa60
2020-03-25 16:13:40 -07:00
Mingming Cai
e5befcbd28 Add comments to GSM and CDMA getDbm()
Bug: 148912739
Test: make
Change-Id: I9be4caeda8f50645bc742e95bfd7ba067a02883f
Merged-In: I9be4caeda8f50645bc742e95bfd7ba067a02883f
(cherry picked from commit b78e84c522)
2020-03-25 16:08:18 -07:00
Mingming Cai
3dccb439ff Merge "Add comments to GSM and CDMA getDbm()" am: a2bf158e3c am: 0a313ecc60
Change-Id: I6bb5e24020e74d6fe4f041d8373c085f2ec1b44a
2020-03-25 20:08:42 +00:00
Mingming Cai
0a313ecc60 Merge "Add comments to GSM and CDMA getDbm()" am: a2bf158e3c
Change-Id: Ia0d55df09d42cc6f1dee192e921bd0fb9e1cc2d5
2020-03-25 19:52:39 +00:00
Mingming Cai
b78e84c522 Add comments to GSM and CDMA getDbm()
Bug: 148912739
Test: make
Change-Id: I9be4caeda8f50645bc742e95bfd7ba067a02883f
2020-03-24 15:16:22 -07:00
Michael Groover
8750e08f48 Merge "Update SubInfo#getNumber docs to reflect permission requirement" into rvc-dev am: c55df5a4df
Change-Id: Ie759288ec8ae6975d10ad8ea0af344cf475ddb30
2020-03-24 16:32:18 +00:00
Michael Groover
c55df5a4df Merge "Update SubInfo#getNumber docs to reflect permission requirement" into rvc-dev 2020-03-24 16:26:34 +00:00
Sarah Chin
a71b527a82 Merge "Fix NPE in updateNrState" am: 3782fad894
Change-Id: If468d3f519cd65ae5fad9af99be730a1106027b8
2020-03-23 22:36:27 +00:00
Sarah Chin
3782fad894 Merge "Fix NPE in updateNrState" 2020-03-23 22:14:12 +00:00
TreeHugger Robot
f8d6165956 Merge "Add unit test for ClosedSubscriberGroupInfo" into rvc-dev am: 4f53d72e52
Change-Id: I684d2a8078eb7467003998a663a6f497e4b1b8bf
2020-03-23 22:03:30 +00:00
TreeHugger Robot
4f53d72e52 Merge "Add unit test for ClosedSubscriberGroupInfo" into rvc-dev 2020-03-23 21:50:07 +00:00
Xiangyu/Malcolm Chen
a7a00e9398 Merge "Fix bug that getBaseBandVersion() may write the value incorrectly." am: 074af36692
Change-Id: I56481e25cf459394be9683031e9066beda571a49
2020-03-23 21:49:54 +00:00
Michael Groover
52625d0adc Merge "Add method to clear out SubscriptionInfo#getCardString" into rvc-dev am: 6d4c98513b
Change-Id: Ifc9b808cbc57ac1c1ac7dbf93d748747abd0b9ed
2020-03-23 21:41:24 +00:00
Michael Groover
6d4c98513b Merge "Add method to clear out SubscriptionInfo#getCardString" into rvc-dev 2020-03-23 21:31:42 +00:00
Xiangyu/Malcolm Chen
074af36692 Merge "Fix bug that getBaseBandVersion() may write the value incorrectly." 2020-03-23 21:31:35 +00:00
Hunter Knepshield
f8e72f4605 Merge "Forward IBinder#dump to CarrierService#dump" am: b2a7f082e4
Change-Id: I47d4d2ac7608eb88685ea2b7f8135bbb919d6490
2020-03-23 20:43:49 +00:00
Brad Ebinger
1e87aa36d8 Merge "API Review: Clarify deprecated docs and rethrow from system server" am: 0fd00037ea
Change-Id: I582bad8060a9c6b7e7c236ae289d3da40b3e390f
2020-03-23 20:41:04 +00:00
Hunter Knepshield
b2a7f082e4 Merge "Forward IBinder#dump to CarrierService#dump" 2020-03-23 20:21:13 +00:00