Commit Graph

9755 Commits

Author SHA1 Message Date
Nathan Harold
ae87a963b8 Merge "Add warning about TelephonyManager Reliability" into rvc-dev 2020-04-09 16:38:41 +00:00
Tyler Gunn
724896dff5 Merge "Hide car barring with password API." am: be8256ea76
Change-Id: Ia31f2457cb17a0b092c1a4f622b74ed443895243
2020-04-09 16:03:09 +00:00
Tyler Gunn
9a3201583a Hide car barring with password API.
Not needed in R.

Test: Build APIs
Bug: 148184879
Change-Id: I036980c2e565bf4f84e51b028d0b6938b7afff97
2020-04-08 15:42:39 -07:00
Jordan Liu
1486437ad2 Implement #equals in Geometries subclasses
Bug: 148482334
Test: atest CbGeoUtilsTest
Change-Id: Ifc9aeaf378ac3221fc25690ed6ce33108cf2f56f
2020-04-08 14:42:02 -07:00
Nathan Harold
9ec1a993c6 Add warning about TelephonyManager Reliability
Add a warning that TelephonyManager methods may not behave
in a consistent way on devices that do not implement
FEATURE_TELEPHONY.

Methods may succeed, may fail loudly, may silently fail, depending
on underlying device support and manufacturer-specific decisions.
When FEATURE_TELEPHONY is not declared, CTS does not enforce any
particular behavior.

Bug: 150006590
Test: compilation (docstring-only change)
Change-Id: I80f5031a43ccc8e5af97d341cf00e48afb80f63a
2020-04-08 14:37:16 -07:00
Tyler Gunn
bf6b30d27a Merge "Add carrier config to support local disconnect of empty IMS conference." into rvc-dev am: 9b82cceb59
Change-Id: If6fb25b669a74e7e586736c04101a42ab6adcffe
2020-04-08 20:25:29 +00:00
Tyler Gunn
9b82cceb59 Merge "Add carrier config to support local disconnect of empty IMS conference." into rvc-dev 2020-04-08 20:15:32 +00:00
Cody Kesting
64a717ff7d Merge "Make UiccAccessRule certificate utils accessible." am: 7badb011b3
Change-Id: I971e4fe6ac9f3a75749b07a03d7c8ebbd5b6deb7
2020-04-08 16:43:26 +00:00
Cody Kesting
7badb011b3 Merge "Make UiccAccessRule certificate utils accessible." 2020-04-08 16:19:38 +00:00
Tyler Gunn
c766cf8e36 Merge "Add carrier config to indicate if cep is supported on peer." into rvc-dev am: edb826c298
Change-Id: I47b5e49acf08e085ea23e21a5f6b2d5a5d00bc09
2020-04-08 15:04:45 +00:00
Tyler Gunn
edb826c298 Merge "Add carrier config to indicate if cep is supported on peer." into rvc-dev 2020-04-08 15:02:11 +00:00
Tyler Gunn
4eb1891b56 Add carrier config to support local disconnect of empty IMS conference.
Adding carrier config key to support ability to locally disconnect an
empty IMS conference.  The network normally does this, but there             are some
carriers which rely on the device to do it.

Test: Add unit test to verify local disconnect when participant count is
zero.
Test: Use conference event package test cmd/intents to inject test CEP to
simulate a conference dropped to 0 participants.  Verify IMS conference is
disconnected.
Fixes: 151707520

Change-Id: Id7238bc668e6d6d2d7a04a8696263b260d6b6fd8
2020-04-07 19:01:15 -07:00
Xiangyu/Malcolm Chen
f4804c9e92 Merge "multiSimAllowed should be consistent with max active modem property." am: 2641543774
Change-Id: Ica601a83a63c10f7c6403634e0fd5a4db63b3865
2020-04-08 01:07:20 +00:00
Xiangyu/Malcolm Chen
2641543774 Merge "multiSimAllowed should be consistent with max active modem property." 2020-04-08 00:50:17 +00:00
Hall Liu
0a5365b9c0 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
Merged-In: I4d6681d90705b68c3349f4124e434a29b50fd3a2
2020-04-07 17:13:19 -07:00
Xiangyu/Malcolm Chen
d7f6c21b19 Merge "Remove @ModemCount enum definitions." am: 349a19d904
Change-Id: I4671d85bdb5b3e2ea9a56902e2ac9eeea5d1785d
2020-04-08 00:05:34 +00:00
Xiangyu/Malcolm Chen
d27d90453d Merge "Hide APIs exposed for Telephony mainline which is no longer needed in R." am: beccb937dd
Change-Id: I0a7420ff72fc27d14ac8ba88f5839a7a28e092b2
2020-04-08 00:05:14 +00:00
Xiangyu/Malcolm Chen
349a19d904 Merge "Remove @ModemCount enum definitions." 2020-04-07 23:45:33 +00:00
Xiangyu/Malcolm Chen
beccb937dd Merge "Hide APIs exposed for Telephony mainline which is no longer needed in R." 2020-04-07 23:45:00 +00:00
Malcolm Chen
c6910afb5d multiSimAllowed should be consistent with max active modem property.
Bug: 153023231
Test: manual - using test app
Change-Id: I2d38dd9a0a860ee451fe51372a62c2910b88c88f
Merged-In: I2d38dd9a0a860ee451fe51372a62c2910b88c88f
2020-04-07 15:43:24 -07:00
James Lin
12dd15688d Merge "[RCS] Add apis to register and unregister UCE publish state changed." am: 9f4da761af am: 8c5c4b55a9
Change-Id: Ieaf763cbe8b5df54e17923966d89f69082b2a0fc
2020-04-07 17:42:37 +00:00
James Lin
8c5c4b55a9 Merge "[RCS] Add apis to register and unregister UCE publish state changed." am: 9f4da761af
Change-Id: I8edee149e6a53ba180abc510f64ca1405b781307
2020-04-07 17:26:20 +00:00
James Lin
9f4da761af Merge "[RCS] Add apis to register and unregister UCE publish state changed." 2020-04-07 17:10:41 +00:00
Treehugger Robot
d65e5d7f8b Merge "Use an original text for next force 7bit encoding" am: d72172d5de am: f61540d482
Change-Id: Ifcfeae5477074c163224b242ab93a894efee3baa
2020-04-07 03:16:11 +00:00
Treehugger Robot
f61540d482 Merge "Use an original text for next force 7bit encoding" am: d72172d5de
Change-Id: Iebf62e4fc4f8618e3b92fd79de527bc70972ddaf
2020-04-07 02:52:41 +00:00
Treehugger Robot
d72172d5de Merge "Use an original text for next force 7bit encoding" 2020-04-07 02:32:15 +00:00
Tyler Gunn
60e5f7ca9c Add carrier config to indicate if cep is supported on peer.
Adding new carrier config option to indicate if conference event package
data is supported on the conference peer.  We already have an option for
the conference host.  This new option is used to indicate when the peer
can or cannot support the CEP data.  When not supported, even if the
network provides CEP data, it is ignored by the device.

Test: Manual testing using test intents.
Test: Added unit tests for these cases.
Fixes: 150860282
Change-Id: Ib8d8f171699f21f45b0ce2eec2dbe75d7466b76a
2020-04-06 15:07:48 -07:00
Nathan Harold
a84db5e5f7 Merge "Check HIDL Discriminator for CSG Info" am: 3a87f98eb6
Change-Id: Ie8bf079b3df835b7f1fe42a2079a585a881d4826
2020-04-03 23:41:01 +00:00
Nathan Harold
8f19e4f21f Check HIDL Discriminator for CSG Info
ART throws an exception if an unpopulated safe union element
is accessed at runtime, so instead we have to check the
hidl_discriminator to see whether the element is populated
before trying to access it (and thus we skip the null check).

Bug: 152486447
Test: atest testCellIdentityLte_1_5_CsgInfo \
        testCellIdentityWcdma_1_5_CsgInfo \
        testCellIdentityTdscdma_1_5_CsgInfo
Merged-In: I08dc0d2050a9f4d4b574178e1c68a23d015768e4
Change-Id: I08dc0d2050a9f4d4b574178e1c68a23d015768e4
(cherry picked from commit f85a2e9220)
2020-04-03 15:25:03 -07:00
Treehugger Robot
bfa4799c06 Merge "Throw RuntimeException/ImsException when binder is null." am: afa19b5208
Change-Id: Ic623b6bdc3e15ff026be51f6cf0914ec11c55281
2020-04-03 22:05:26 +00:00
Treehugger Robot
afa19b5208 Merge "Throw RuntimeException/ImsException when binder is null." 2020-04-03 21:41:30 +00:00
Nathan Harold
1d51a842dc Merge "Check HIDL Discriminator for CSG Info" into rvc-dev am: 4af4402121
Change-Id: I79758e8b428a8b785556656a716f41c492e0e0b4
2020-04-03 19:18:47 +00:00
James.cf Lin
c111ead0c5 [RCS] Add apis to register and unregister UCE publish state changed.
Provide register and unregister callback apis for clients to receive the UCE publish state changed.

Bug: 139262111
Test: atest UserCapabilityExchangeImplTest
Change-Id: I3248e78d3146be5e966876b80f76d47014694b33
2020-04-03 19:12:44 +00:00
Nathan Harold
4af4402121 Merge "Check HIDL Discriminator for CSG Info" into rvc-dev 2020-04-03 18:56:45 +00:00
Sarah Chin
6b120b122c Merge "Add rebroadcast extra to CARRIER_CONFIG_CHANGED" into rvc-dev am: d58849abe2
Change-Id: I68d00ab9eccd68fdacc9e0fe54a4212d5e40b6f0
2020-04-03 17:15:34 +00:00
Sarah Chin
d58849abe2 Merge "Add rebroadcast extra to CARRIER_CONFIG_CHANGED" into rvc-dev 2020-04-03 17:06:22 +00:00
Tyler Gunn
ffcfaa7476 Merge "Update EmergencyNumber API docs to indicate they can throw." into rvc-dev 2020-04-03 17:02:24 +00:00
Taesu Lee
6568f8f20a Use an original text for next force 7bit encoding
If config_sms_force_7bit_encoding is true, an original text will be
translated based on 7-bit ASCII table for CDMA. But if the translated
text can not be encoded as single-part SMS, the original text should be
used for next try instead and it will be translated based on GSM 7-bit
alphabet for ENCODING_GSM_7BIT_ALPHABET.

Bug: 151061215
Test: Manual

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: I679786b96d19c6f3f30ec3e2037221110f5d3f84
2020-04-03 10:35:55 +09:00
Xiangyu/Malcolm Chen
8c3fee86ff Merge "multiSimAllowed should be consistent with max active modem property." into rvc-dev am: e025fcef40
Change-Id: I0a650dca2cc96298fd8e1135ea233ea56af3dc25
2020-04-03 00:50:04 +00:00
Xiangyu/Malcolm Chen
e025fcef40 Merge "multiSimAllowed should be consistent with max active modem property." into rvc-dev 2020-04-03 00:43:30 +00:00
Malcolm Chen
4c96811356 Remove @ModemCount enum definitions.
Per API council's feedback, they are not needed. Replacing enums
with integers 0, 1, 2, 3.

Bug: 143652732
Test: build
Change-Id: Id9e87ea28a2f31e1aa842424770096e16f1cb208
Merged-In: Id9e87ea28a2f31e1aa842424770096e16f1cb208
2020-04-02 15:33:57 -07:00
Automerger Merge Worker
031f56f2bc Update EmergencyNumber API docs to indicate they can throw.
Adding @throws tags for EmergencyNumber APIs so that callers are aware
that they can throw.
Test: Build; docs only change.
Bug: 134100020
Fixes: 152231444

Merged-In: Ic6bcd32ab93a97a8d075e720acb5fc17612a3984
Change-Id: Ic6bcd32ab93a97a8d075e720acb5fc17612a3984
(cherry picked from commit 5fe27428f0)
2020-04-02 18:24:50 +00:00
Malcolm Chen
ba874c6827 multiSimAllowed should be consistent with max active modem property.
Bug: 153023231
Test: manual - using test app
Change-Id: I2d38dd9a0a860ee451fe51372a62c2910b88c88f
2020-04-02 10:54:50 -07:00
Sarah Chin
53ae60d0de Add rebroadcast extra to CARRIER_CONFIG_CHANGED
Test: manual verify broadcast sent with/without extra
Bug: 152149072
Change-Id: Ib5d9c6f645f1b9b8deb9f896ecd67c68cb29dc17
2020-04-01 16:38:13 -07:00
Xiangyu/Malcolm Chen
b56feb4ae6 Merge "Add documentation for ACTION_MULTI_SIM_CONFIG_CHANGED" am: 44bb826ce8
Change-Id: I7b58c2b75d9d1584e6473ba760caa6c909fbabf4
2020-04-01 23:30:55 +00:00
Xiangyu/Malcolm Chen
44bb826ce8 Merge "Add documentation for ACTION_MULTI_SIM_CONFIG_CHANGED" 2020-04-01 23:06:00 +00:00
Brad Ebinger
2a2cad3c71 Merge "@hide some APIs that will not be used in Android R" am: 31486405f8
Change-Id: I5f04dd96dcee70d67ba4898744bfe14314f7c00e
2020-04-01 20:12:08 +00:00
Malcolm Chen
1cae35384b Hide APIs exposed for Telephony mainline which is no longer needed in R.
The APIs were added in b/144351078, b/148097978 and b/148116922.
b/151665796 is used to revert them.

Bug: 151665796
Bug: 144351078
Bug: 148097978
Bug: 148116922
Test: build
Change-Id: I08db8c5c0161747a7e775a8de0daa7077b513f10
Merged-In: I08db8c5c0161747a7e775a8de0daa7077b513f10
2020-04-01 12:46:51 -07:00
Malcolm Chen
d5349e23b0 Add documentation for ACTION_MULTI_SIM_CONFIG_CHANGED
Bug: 143652732
Test: build
Change-Id: Id27e6edc82a48ece4a94c8bc7aadbc5e1acf08d7
Merged-In: Id27e6edc82a48ece4a94c8bc7aadbc5e1acf08d7
2020-04-01 12:29:25 -07:00
Brad Ebinger
c1d954c78e @hide some APIs that will not be used in Android R
Bug: 147319232
Bug: 148123085
Bug: 147732815
Test: atest CtsTelephonyTestCases
Merged-In: I623e52432fc820d302fcdbdb9a88a37deed455ae
Change-Id: I623e52432fc820d302fcdbdb9a88a37deed455ae
2020-04-01 10:58:42 -07:00