Commit Graph

5812 Commits

Author SHA1 Message Date
Holly Jiuyu Sun
eafc952dbe Add hashCode() in UiccAccessRule.
hashCode() and equals() should appear together.

Bug: 73785903
Test: test on phone
Change-Id: I7f9d8943f6a0e1039815e21ff6dfe035bd674639
2018-02-22 15:47:27 -08:00
Jeff Davidson
3c94405a6a Merge "Factor out telephony permission checks into a helper class." 2018-02-22 16:48:53 +00:00
Pengquan Meng
62747fee15 Merge "Cleanup TelephonyManager's log" am: 033de4676b am: 22f61111bd
am: bfb00f97af

Change-Id: Iccc3d497bf28906f4da54eef3acbd72dc04bfd3c
2018-02-22 15:53:27 +00:00
Hall Liu
a433bdc9e8 Merge "EMBMS API tweaks" am: 47e1d11b47 am: 3b40c709a3
am: 2a08ccdd8b

Change-Id: I617e2bca44d52b55f2d032db0fe59aa0a9f88e24
2018-02-22 15:38:26 +00: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
Hall Liu
017afff112 Merge "Check for location access on TelephonyRegistry" am: 31230bb193 am: f581580fdb
am: 9b31dd86da

Change-Id: Icd2feab82a9350fa2b6539617863ad91a44e5208
2018-02-22 00:43:12 +00: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
Jeff Davidson
d4ddd4caee 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
Change-Id: I3b2aa9b8d6177a25d532060009508ef31baea69c
2018-02-21 23:48:37 +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
f48a40d1e2 Merge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc am: ffe0e51f47
am: e73631c161

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

Change-Id: I2849ed28eaff8666364dbb9848b4a08c952f5d17
2018-02-20 23:29:10 +00: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
1bc6a761e5 Merge "Fix LTE Timing Advance Doc String" am: 3df127aefe am: c52bec3acb
am: 22a4780b5f

Change-Id: I1a32863add6f7b12f9ee6b3fea7895b53ffe61a2
2018-02-16 03:37:09 +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
Xiangyu/Malcolm Chen
4171a8c186 Merge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c am: 6576ed3d5b
am: 58bb4ccd4b

Change-Id: I1c7a6e8675f237d68d027cd1304e4a7c4b901556
2018-02-16 00:12:00 +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
f6965c9c0f Merge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef am: fee59fac7b
am: f7976437e7

Change-Id: I2911891f579358427d5535b26ae9759058773b42
2018-02-15 22:36:05 +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
f9a02975ea Merge "MSIM support for hidden IMS capability and registration query APIs." 2018-02-15 18:31:32 +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
Brad Ebinger
76e48f8a60 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
Change-Id: Ie37185bd3477635094a0db998918ba5ad59842be
2018-02-14 10:10:42 -08: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
fc7423bcba Merge "Added owners" am: 492f249dbb am: ea014edb58
am: 7532fc8bb9

Change-Id: Ia27fa85e62aa0aff1e63a4eda308f1f491d6f7a3
2018-02-13 01:05:28 +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
Qingxi Li
ceb94979e3 Merge "Public EuiccManager APIs." 2018-02-12 22:09:53 +00:00
Jordan Liu
e2bafdcb10 Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a
am: de387f3298

Change-Id: I479c3220cd9f9aef1bdf4184a6a268240218657e
2018-02-12 20:39:41 +00:00