Commit Graph

5460 Commits

Author SHA1 Message Date
Jeff Davidson
644c763b0d Merge "Factor out telephony permission checks into a helper class." am: fc5d8c8f31
am: 5275c0b123

Change-Id: Ieedbcc2f40f70beb43cfb4d0e677d72f6b3ff8f5
2018-02-23 21:33:07 +00:00
Jeff Davidson
fc5d8c8f31 Merge "Factor out telephony permission checks into a helper class." 2018-02-23 20:00:15 +00:00
Jack Yu
09da9870d0 Merge "Fixed service state CTS test failing" am: ab5bc3be50
am: f535f8108d

Change-Id: Ia3e1e58acda7aa3099c93f1f6c2bef9f53828e4d
2018-02-23 17:27:20 +00:00
Treehugger Robot
ab5bc3be50 Merge "Fixed service state CTS test failing" 2018-02-23 15:41:32 +00:00
Cassie
b1b06cbaf5 Merge "Add comments according to the API review process." am: e9a215b238
am: b3b458b9ad

Change-Id: Ie9c3ce9bc67c08d99ea1c1ebfce5fbc78575baea
2018-02-23 06:56:56 +00:00
Treehugger Robot
e9a215b238 Merge "Add comments according to the API review process." 2018-02-23 05:32:35 +00:00
Jack Yu
7d20eae135 Fixed service state CTS test failing
Added missing member variables in copyFrom().

Bug: 73298491
Test: atest CtsTelephonyTestCases:ServiceStateTest#testServiceState CtsTelephonyTestCases:TelephonyManagerTest#testGetServiceState
Change-Id: I750816a13801a911d68e0a774fd59602c81c5687
2018-02-22 14:35:43 -08:00
Cassie
e1c880242b Add comments according to the API review process.
* Explain what developers should use instead in the @deprecated note for Telephony#BEARER
 * Please add more documentation for network type bitmask - reference to just TelephonyManager is not sufficient because it has so much stuff in it.
 * Also remove the @hide tag for private constants in ServiceState.

Bug: 73751228
Test: Basic telephony sanity
Change-Id: Ie7405a961db4494104750bf406f20b1b4fb8191a
2018-02-22 09:08:48 -08:00
Pengquan Meng
bfb00f97af Merge "Cleanup TelephonyManager's log" am: 033de4676b
am: 22f61111bd

Change-Id: Icaff0e2cc4ebeb1f36b8597ee11457779aeca06f
2018-02-22 07:14:43 +00:00
Pengquan Meng
033de4676b Merge "Cleanup TelephonyManager's log" 2018-02-22 05:19:11 +00:00
Hall Liu
2a08ccdd8b Merge "EMBMS API tweaks" am: 47e1d11b47
am: 3b40c709a3

Change-Id: I8b281f717d3862a9f7a5de3d834dcded4ac436dc
2018-02-22 03:54:18 +00:00
Jeff Davidson
d7bf38ad00 Factor out telephony permission checks into a helper class.
The aim is to cut down on duplicate code (for a particularly high-risk
area) and make it easier to expand READ_PHONE_STATE access to
carrier-privileged apps in a follow-up CL.

No major functional changes are intended, although some logging will
change slightly (different tag / less verbose carrier privilege
logging without DBG flag).

Bug: 70041899
Test: bit FrameworksTelephonyTests:*, nothing visibly broken on boot
Merged-In: I3b2aa9b8d6177a25d532060009508ef31baea69c
Change-Id: I3b2aa9b8d6177a25d532060009508ef31baea69c
2018-02-21 17:30:41 -08:00
Hall Liu
47e1d11b47 Merge "EMBMS API tweaks" 2018-02-22 00:35:51 +00:00
Hall Liu
9b31dd86da Merge "Check for location access on TelephonyRegistry" am: 31230bb193
am: f581580fdb

Change-Id: Ic13eacf7dafc96359bd607cb4e2a5c024f9bb607
2018-02-22 00:34:03 +00:00
Hall Liu
31230bb193 Merge "Check for location access on TelephonyRegistry" 2018-02-21 22:42:08 +00:00
Pengquan Meng
dd056c9b8e Cleanup TelephonyManager's log
Don't log success calls to TelephonyManager.setTelephonyProperty.

Bug: 71514398
Test: manual test
Change-Id: I2383f1e2925bff959c3d925d7fdc8be891630c61
2018-02-20 19:09:14 -08:00
Hall Liu
5b844876ba EMBMS API tweaks
Make changes per API council recommendations
Also clean up the download flow -- provide option for app to specify a
destination as long as it's on the same filesystem.

Bug: 72837388
Fixes: 72231372
Test: CTS and testapp

Change-Id: Ia2a68a73e6d61f426b55068542a66995afc20407
2018-02-20 17:08:47 -08:00
Brad Ebinger
e73631c161 Merge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc
am: ffe0e51f47

Change-Id: I9b706c18b2d184b303adb526ee7adf86dd7e9ee9
2018-02-20 23:20:48 +00:00
Pankaj Kanwar
44b27e486a Merge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false" am: 8343a47035
am: de9585fe28

Change-Id: I11bcc2948e8efeea731299c5b8d642e155c1a2d5
2018-02-20 23:13:33 +00:00
Brad Ebinger
4122fd23dc Merge "Add new reason code for call failed by unobtainable number" 2018-02-20 21:00:08 +00:00
pkanwar
84a8bb80a1 Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false
Bug: 73609752
Test: compile

Change-Id: Ie9615e63d136f40ee301504b3e2b3b7ea4aec129
2018-02-19 10:35:57 -08:00
haoyu li
f492faf405 Add new reason code for call failed by unobtainable number
To show the "Invalid number" on the end call screen when user makes a
IMS call with unobtainable number, this reason code is used.

Test: manual - Checked that "Invalid number" is shown when make the IMS
MO call to unobtainable number.
Bug: 69940434

Change-Id: If3c54e6f55850141efad56ad7712db3c82a14f43
2018-02-19 08:33:55 +00:00
Brad Ebinger
b8d25ed3a4 Merge "MSIM support for hidden IMS capability and registration query APIs." 2018-02-16 20:35:45 +00:00
Nathan Harold
22a4780b5f Merge "Fix LTE Timing Advance Doc String" am: 3df127aefe
am: c52bec3acb

Change-Id: I352f5d1e72b48d7a4944b0f0935fe03d4c5979c1
2018-02-16 03:19:43 +00:00
TreeHugger Robot
7c24845ab3 Merge "MSIM support for hidden IMS capability and registration query APIs." into oc-mr1-dev-plus-aosp 2018-02-16 00:10:35 +00:00
Xiangyu/Malcolm Chen
58bb4ccd4b Merge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c
am: 6576ed3d5b

Change-Id: I02efc2c7dceb775a5ce2eb3e3f2696e098cef046
2018-02-15 23:50:31 +00:00
Brad Ebinger
f7976437e7 Merge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef
am: fee59fac7b

Change-Id: Ieb1f9465eaec47f51d3e62a15c7d4f6fd0970dd0
2018-02-15 21:46:48 +00:00
Nathan Harold
e227065214 Fix LTE Timing Advance Doc String
The Doc string for LTE timing advance incorrectly
lists the range based on the maximum size of an
incremental TA command rather than the cumulative
timing advance. The spec reference is correct, but
the range was wrong.

Bug: 66751464
Test: compilation (docstring only change)
Change-Id: I0242cae7af40a7d9ed5ae9a2a509592076e5b6a3
2018-02-15 13:07:59 -08:00
Xiangyu/Malcolm Chen
9f92ed943c Merge "Add NetworkRegistrationState into SS's list." 2018-02-15 19:01:59 +00:00
Brad Ebinger
1da6f542ef Merge "Add new owners files for Telephony/Telecom frameworks files." 2018-02-15 17:23:31 +00:00
Tyler Gunn
6b067bc879 Add new owners files for Telephony/Telecom frameworks files.
Test: N/A
Bug: 73373651
Change-Id: Ia0e19018d6cd72923f9f20b372d303fa532409b0
2018-02-14 16:13:39 -08:00
Malcolm Chen
574b41a1bd Add NetworkRegistrationState into SS's list.
Add hidden API to add NetworkRegistrationState into SS's
NetworkRegistrationState list.

Bug: 73305596
Test: unittest
Change-Id: Ief7f22632c1f3400c01663d13b990dc9b0d59e2e
2018-02-14 14:32:29 -08:00
Chen Xu
ddf41d99f3 Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117
am: 9fce67f50f

Change-Id: Ia8dbd47c1c4cf775f7597e7e93c8315bf004e9e0
2018-02-14 21:09:29 +00:00
Brad Ebinger
64afdd9376 MSIM support for hidden IMS capability and registration query APIs.
Modifies TelephonyManager APIs to better support MSIM devices
and adds a method to query MMTEL IMS Registration technology.

Test: Manual, telephony unit tests.
Bug: 35128252
Merged-In: Ie37185bd3477635094a0db998918ba5ad59842be
Change-Id: Ie37185bd3477635094a0db998918ba5ad59842be
2018-02-14 18:36:17 +00:00
Brad Ebinger
8c13414d07 MSIM support for hidden IMS capability and registration query APIs.
Modifies TelephonyManager APIs to better support MSIM devices
and adds a method to query MMTEL IMS Registration technology.

Test: Manual, telephony unit tests.
Bug: 35128252
Merged-In: Ie37185bd3477635094a0db998918ba5ad59842be
Change-Id: Ie37185bd3477635094a0db998918ba5ad59842be
2018-02-14 18:27:19 +00:00
fionaxu
58278bed65 add a current table in CarrierIdProvider
restructure CarrierIdProvider into two tables
1. All - a private table which stores a complete mapping of all carriers
2. Current - a public table only stores the carrier identification of the
current active subs. require no permission to query.
expose the content url to public so that apps could be
notified on carrier identity change either on background or foreground.

Bug: 72571475
Test: runtest --path CarrierIdProviderTest.java
Test: Manual
Change-Id: If2a20288e63d25343f5bb582b35564d769a4e13b
(cherry picked from commit 3d00d698d7)
Merged-in: If2a20288e63d25343f5bb582b35564d769a4e13b
2018-02-13 23:46:19 -08:00
Holly Jiuyu Sun
02d43443d0 Merge "Public EuiccManager APIs." am: 42339c464f
am: cddc0c12cc

Change-Id: I01d436c16df678292c8aec1f3ea2d7a65f3e10dd
2018-02-14 00:24:46 +00:00
Holly Jiuyu Sun
42339c464f Merge "Public EuiccManager APIs." 2018-02-13 22:56:08 +00:00
Qingxi Li
0f804fa225 Merge "Add interfact to get phone ID from UiccSlotInfo" am: 909e9d3e49
am: feba71b4ef

Change-Id: I4c65138fd4283c2023737c294f92d82346943157
2018-02-13 22:19:02 +00:00
Holly Jiuyu Sun
052fbabc35 Public EuiccManager APIs.
Public EuiccManager and other related necessary files.
Mark EuiccCardManager and other related necessary files as @SystemApi.
Solve lint errors and warnings.

Bug: 35851809
Test: test on phone
Change-Id: I8a2c78804cae56b679d311d613edca5be4bc2522
Merged-In: I68853e134e1e31fa9b91a83af6c491a2a8cca971
2018-02-13 12:53:45 -08:00
Qingxi Li
4d7025fc1d Add interfact to get phone ID from UiccSlotInfo
Bug: 72753162
Test: TreeHugger
Merged-In: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
Change-Id: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
2018-02-13 19:29:00 +00:00
Jack Yu
7532fc8bb9 Merge "Added owners" am: 492f249dbb
am: ea014edb58

Change-Id: I6c7ff430af33899c534a9f70139ef7cf6cc1cfbf
2018-02-13 00:49:42 +00:00
Jack Yu
492f249dbb Merge "Added owners" 2018-02-12 22:39:00 +00:00
Jordan Liu
de387f3298 Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6
am: 22189a729a

Change-Id: I9d8182751f5303258083e0b0d0825902d06225d1
2018-02-12 20:19:37 +00:00
Jack Yu
5424174152 Added owners
Test: Build
Change-Id: I95104f646bc054e4ad9a6807d6e3df69f1e00d75
2018-02-12 12:07:34 -08:00
Jordan Liu
f27242dbd6 Merge "Overload setTelephonyProperty without phone ID" 2018-02-12 18:17:24 +00:00
Tyler Gunn
cb64e33660 Merge "Add Connection Event for supplementary service notifications." am: efccc1babe
am: 4d2dae8f0c

Change-Id: Ide105970d9c91f2fa5e2ec14410da011918d92ec
2018-02-10 00:11:19 +00:00
Tyler Gunn
ea72eacc45 Add Connection Event for supplementary service notifications.
These are passed up to the UI with an optional charsequence message which
the UI can choose to display to the user.

Test: Manual, added new unit tests
Bug: 65534165
Change-Id: Icdf2738ac4dfd3a65e9eacac2caa4d4a44348ab4
2018-02-08 21:34:13 +00:00
goneil
bdfb401070 Merge "Make TelephonyManager#getNai() public" am: 4c8fa81d17
am: b731583b7a

Change-Id: Ia251ab0241f2e365556dbd4db663ead53af22d92
2018-02-08 02:40:21 +00:00
Pooja Jain
ac48eed9c0 Merge "IMS: Add support in frameworks for call deflection feature" am: ba0f9d2973
am: f39bef4801

Change-Id: I843ae3caed5b066398e76825ea4e2753904b1f54
2018-02-08 01:27:45 +00:00