4173 Commits

Author SHA1 Message Date
Jordan Liu
88c68423af Treat the mdn as an additional voicemail number
am: 360d5674bd

Change-Id: Idbfdf0086d101e6c246ecee7572c6dbf2702574e
2016-12-06 22:28:30 +00:00
Jordan Liu
7ba6d21aac Merge "Treat the mdn as an additional voicemail number" into nyc-mr2-dev 2016-12-06 22:23:26 +00:00
pkanwar
b65452c18f DO NOT MERGE: Add notification delay for when the user needs cannot register to a network and needs to be notified.
am: 34be302f2a

Change-Id: I18f1ed3a4e8b6a923e5733fe38566d4484d1c310
2016-12-06 20:41:50 +00:00
pkanwar
34be302f2a DO NOT MERGE: Add notification delay for when the user needs cannot register to a
network and needs to be notified.

BUG: 28572539
Change-Id: Iabf5e4476a1c5b02d1de38695f7125ee888dadd9
2016-12-06 10:52:59 -08:00
Chad Brubaker
48829f90d6 Merge "Add single use App specific incoming SMSes" 2016-12-06 18:06:26 +00:00
Jordan Liu
360d5674bd Treat the mdn as an additional voicemail number
Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.

Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Merged-In: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix: 29145323
Test: build and flash on device
2016-12-05 11:10:59 -08:00
Jordan Liu
408f695c98 Merge "Treat the mdn as an additional voicemail number" 2016-12-05 19:03:58 +00:00
Tyler Gunn
d69f90e0f9 Merge "Change prototype for "setCamera" in IMS VideoProvider." 2016-12-02 21:54:19 +00:00
Jordan Liu
35366bec53 Merge "Rename key declaration to start with "KEY"" 2016-12-02 04:46:38 +00:00
Robert Greenwalt
2232ac8c59 Merge "Get the correct operator name"
am: 297e9f9a32

Change-Id: Ic4c433e9b7e70427275fbbba785bb365e0ced8d5
2016-12-02 03:39:30 +00:00
Robert Greenwalt
297e9f9a32 Merge "Get the correct operator name" 2016-12-01 23:29:28 +00:00
Chad Brubaker
2900d4d155 Add single use App specific incoming SMSes
This allows applications to request that an upcoming incoming SMS be
routed directly to the calling application and to do so without
needing the RECEIVE_SMS permission.

This is especially important for ephemeral applications which we do not
want to have the ability to get the RECEIVE_SMS permission but do want
to support SMS based phone number verification. Ephemeral apps can use
this API to receive and SMS from their backend but will not be able to
access other SMSes on the device.

This is done by providing the app a token which when included in a
subsequent SMS message causes the application provided PendingIntent to
be sent with the SMS message data attached.

Test: Verified that an SMS containing the code is routed to the app.
Test: runtest --path GsmInboundHandlerTest.java
Test: cts-tradefed run cts -m CtsPermission2TestCases

Bug: 33047670
Change-Id: Iea60bfd1d3f9b8f013b34a82a480c65006416c4c
2016-12-01 14:25:07 -08:00
Zoran Jovanovic
fc36f2f260 Get the correct operator name
am: 67f579be19

Change-Id: Ia822adfdcfa47f7ec0b95cc44b48ab3a1bd75961
2016-12-01 21:57:44 +00:00
Zoran Jovanovic
47495ebad0 Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Merged-In: I4983ad708c57a650ce4a806e1f53837825bad2db
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 21:50:14 +00:00
Robert Greenwalt
6f8577e319 Merge "Get the correct operator name" 2016-12-01 21:46:51 +00:00
Jordan Liu
1ca2e31d82 Rename key declaration to start with "KEY"
CarrierConfigTeset validates carrier_config xmls by comparing them to
static fields starting with "KEY_" declared in CarrierConfigManager.
This commit renmaes the key so the test passes.

Change-Id: Iebb11739ae16e56fe1a0b2fdc9a3e005a71858dc
Test: runtest carrierconfig-unit
2016-12-01 11:41:57 -08:00
Zoran Jovanovic
6b6d5dadfa Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest extended on partner CL.
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 11:18:22 -08:00
Zoran Jovanovic
67f579be19 Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest.java exteneded in partner cl
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 10:36:21 -08:00
TreeHugger Robot
7075269195 Merge "Add READ_PHONE_NUMBER permission" 2016-12-01 18:27:07 +00:00
nharold
eb909ee096 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214 am: 8fabfd639e am: 64a8a387a4
am: 729a5ae511

Change-Id: Id046a2fbf946f7b42dd56763a8b403cbde802d7e
2016-12-01 00:26:27 +00:00
nharold
729a5ae511 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214 am: 8fabfd639e
am: 64a8a387a4

Change-Id: Iafad7ea7bd6a3bcc3aac28409f34b4f00008d828
2016-12-01 00:12:00 +00:00
nharold
64a8a387a4 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214
am: 8fabfd639e

Change-Id: I6d69cc6ce34ed1acf1f19e760631850b2cf2446c
2016-12-01 00:07:20 +00:00
Jordan Liu
a4b4e731d1 resolve merge conflicts of a578ae2 to stage-aosp-master am: cee0c941ed
am: 0672ea446d

Change-Id: I441ab7f8fd1fb71cc1bf38fe7450a0f9ecdccee0
2016-12-01 00:07:02 +00:00
Jordan Liu
0672ea446d resolve merge conflicts of a578ae2 to stage-aosp-master
am: cee0c941ed

Change-Id: I39f3256a13117c2afe6872f58f57c18c308eab30
2016-12-01 00:00:55 +00:00
nharold
8fabfd639e Merge "Expose GSM Timing Advance, Update LTE TA docstring"
am: 4134ccb214

Change-Id: Ic60953cebd3209b1320ed4b6723809d0421ebc27
2016-12-01 00:00:09 +00:00
Tyler Gunn
a6a0070ca7 Change prototype for "setCamera" in IMS VideoProvider.
Changing "setCamera" prototype to include the uid.

Test: Unit test, manual test.
Bug: 32747443
Change-Id: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
2016-11-30 15:14:26 -08:00
Jordan Liu
cee0c941ed resolve merge conflicts of a578ae2 to stage-aosp-master
Change-Id: I344ce44711edee385c64de4e6c52c64e6901820d
2016-11-30 15:08:13 -08:00
Chad Brubaker
73ec8f963d Add READ_PHONE_NUMBER permission
READ_PHONE_NUMBER allows only access to the phone number and not all the
other things that READ_PHONE_STATE allows access to. READ_PHONE_NUMBER
will be accessible to ephemeral apps while READ_PHONE_STATE will no
longer be.

Test: Verified that getLine1Number works with READ_PHONE_NUMBER from an
epemheral app
Test: cts-tradefed run cts -m CtsPermission2TestCases
Change-Id: I599c19227f886adbe8efe346a78d51e88ab46379
2016-11-30 10:34:15 -08:00
nharold
4134ccb214 Merge "Expose GSM Timing Advance, Update LTE TA docstring" 2016-11-30 18:00:35 +00:00
Jordan Liu
a578ae2aa1 Merge "Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY" 2016-11-30 17:42:31 +00:00
pkanwar
f6414d42e4 Allow Carriers to specify Wifi Networks.
am: 1ec8fe940f

Change-Id: I8bd0366bbbfd391af8328cf7bd1a2f81efb9a0d7
2016-11-30 00:40:22 +00:00
pkanwar
d0063aeb1b Allow Carriers to specify Wifi Networks.
Bug: 31003437
Test: No test required.
Change-Id: I661f8fc9924e677b9ac08c70500bd175d30834fa
2016-11-28 16:14:16 -08:00
pkanwar
1ec8fe940f Allow Carriers to specify Wifi Networks.
Bug: 31003437
Change-Id: I661f8fc9924e677b9ac08c70500bd175d30834fa
2016-11-28 09:18:02 -08:00
Jeff Davidson
1cea0c249d Merge "Expose TelephonyManager#{set,get}DataEnabled." am: 99d6227782 am: fa8e6c0f5a
am: b369ad4b19

Change-Id: I0ed5ac68a7974ade21b1d6aa2279fde179070c0c
2016-11-23 04:14:23 +00:00
Jeff Davidson
b369ad4b19 Merge "Expose TelephonyManager#{set,get}DataEnabled." am: 99d6227782
am: fa8e6c0f5a

Change-Id: I55d2e8ffcf70aad48acdf1fa97da5b2874d26925
2016-11-23 04:06:07 +00:00
Jeff Davidson
fa8e6c0f5a Merge "Expose TelephonyManager#{set,get}DataEnabled."
am: 99d6227782

Change-Id: Iacdd6d802725ab1b45c273ad7c8de7c85c8cb801
2016-11-23 04:01:22 +00:00
Jeff Davidson
40db40878e Expose TelephonyManager#{set,get}DataEnabled.
setDataEnabled requires MODIFY_PHONE_STATE or carrier privileges.
getDataEnabled will work with any of the above or
ACCESS_NETWORK_STATE.

Merged-In: I2d5a9df2e55f3f7be1729abefe137c00ae1d6c4e
Test: Exercised APIs from test app, updated and executed CTS tests
Change-Id: I2d5a9df2e55f3f7be1729abefe137c00ae1d6c4e
Fixes: 32644451
2016-11-22 17:28:57 -08:00
Jeff Davidson
64ed1646e6 Merge "Expose TelephonyManager#{set,get}DataEnabled." 2016-11-23 01:23:49 +00:00
Ta-wei Yen
e40beac314 Merge "Make voicemail notification broadcast public" am: 6a56326109 am: 9b614baeab am: f05c651c99
am: dcb9f3c8ed

Change-Id: I0d5e582d5e145c59ee1f24258c74549ec0acf7aa
2016-11-22 17:50:53 +00:00
Ta-wei Yen
dcb9f3c8ed Merge "Make voicemail notification broadcast public" am: 6a56326109 am: 9b614baeab
am: f05c651c99

Change-Id: I8b8edb79ff63eeae8ace939ad278157032b8ded7
2016-11-22 01:45:21 +00:00
Ta-wei Yen
f05c651c99 Merge "Make voicemail notification broadcast public" am: 6a56326109
am: 9b614baeab

Change-Id: Icb636f5155c3b25a3db2978fad830fb94b959a2f
2016-11-22 01:38:56 +00:00
Ta-wei Yen
9b614baeab Merge "Make voicemail notification broadcast public"
am: 6a56326109

Change-Id: Ic094db50e40a0cd46251e27f84b2a98b9040a192
2016-11-22 01:32:00 +00:00
Treehugger Robot
6a56326109 Merge "Make voicemail notification broadcast public" 2016-11-21 22:23:13 +00:00
Jeff Davidson
9ce70cfd02 Expose TelephonyManager#{set,get}DataEnabled.
setDataEnabled requires MODIFY_PHONE_STATE or carrier privileges.
getDataEnabled will work with any of the above or
ACCESS_NETWORK_STATE.

Test: Exercised APIs from test app, updated and executed CTS tests
Change-Id: I2d5a9df2e55f3f7be1729abefe137c00ae1d6c4e
Fixes: 32644451
2016-11-18 16:51:36 -08:00
Jordan Liu
be45b8c5a5 Treat the mdn as an additional voicemail number
Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.

Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix: 29145323
Test: build and flash on device
2016-11-18 14:55:54 -08:00
Mats 2, Åkesson
e1c967ab8f Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b am: a16a77781e
am: 6daed59698

Change-Id: Id99e2d155ca8267fd9b5bff5941e5112d27232e6
2016-11-18 21:07:08 +00:00
Mats 2, Åkesson
6daed59698 Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b
am: a16a77781e

Change-Id: Ia9853ec8459355ad3b00e7505dc6af491bf6828d
2016-11-18 21:00:04 +00:00
Mats 2, Åkesson
a16a77781e Merge "Customization of LTE Signal Bars" am: 3cbf2c2657
am: 5ee2b9384b

Change-Id: I82d61b23560e4bdf84caca7e49ddcd367662cb47
2016-11-18 20:56:03 +00:00
Mats 2, Åkesson
5ee2b9384b Merge "Customization of LTE Signal Bars"
am: 3cbf2c2657

Change-Id: I33c625ec49547fde582462687e6229ddf0269b15
2016-11-18 20:50:20 +00:00
Treehugger Robot
3cbf2c2657 Merge "Customization of LTE Signal Bars" 2016-11-18 20:44:14 +00:00