Commit Graph

4289 Commits

Author SHA1 Message Date
Hall Liu
84c1ff86f6 Merge "Add Error specifiers to the API." am: 4c4a55a67b am: f729fccde9
am: 65030630fd

Change-Id: I9cf24d0ee8e8f94072fe2213ef17bb51240e1f8f
2017-04-25 22:40:15 +00:00
Jeff Sharkey
db73950734 Merge "Fix some issues found by new doclava linter." into oc-dev
am: a00c7c0a99

Change-Id: I940b5ab896e4638e8178868acb65d79c078adbbe
2017-04-25 22:25:09 +00:00
Hall Liu
f729fccde9 Merge "Add Error specifiers to the API."
am: 4c4a55a67b

Change-Id: Ia720a230e0f7f7070ca7194dbcfce294a66a3574
2017-04-25 22:17:14 +00:00
Jeff Sharkey
a00c7c0a99 Merge "Fix some issues found by new doclava linter." into oc-dev 2017-04-25 22:11:01 +00:00
Chen Xu
ac78d9ae25 Merge "Add VisualVoicemailService"
am: 8c6925a88f

Change-Id: I248baea501c4e1a47981e3aecfe476f89440f0af
2017-04-25 22:04:07 +00:00
Hall Liu
4c4a55a67b Merge "Add Error specifiers to the API." 2017-04-25 22:03:43 +00:00
Chen Xu
8c6925a88f Merge "Add VisualVoicemailService" 2017-04-25 21:54:53 +00:00
Ta-wei Yen
315b7da07e Merge "Add getVisualVoicemailSettings()" into oc-dev
am: 1c35554c5f

Change-Id: I16718e6b6fb135fbd7e7d19258e43d740a9e1fda
2017-04-25 19:58:17 +00:00
TreeHugger Robot
1c35554c5f Merge "Add getVisualVoicemailSettings()" into oc-dev 2017-04-25 19:45:47 +00:00
Jeff Sharkey
0f3f60b576 Fix some issues found by new doclava linter.
Add missing API annotations for permissions and SdkConstants, and
invoke doclava with new "-android" flag.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I970bb2655eb568fd25004636f134c794663a6c33
2017-04-25 13:12:45 -06:00
Pankaj Kanwar
d6465983f1 Merge "Provide an API to make USSD calls and read the responses."
am: 41f48e3f18

Change-Id: Ia3244783e5df300ae6f8a4ad553e15e7e72f7965
2017-04-25 16:14:14 +00:00
Ta-wei Yen
683624afd2 Merge "Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony" into oc-dev
am: 3db7350d7d

Change-Id: I428d6e101d46e216a1e6e34048f1d3da2fb5314e
2017-04-25 03:00:33 +00:00
TreeHugger Robot
3db7350d7d Merge "Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony" into oc-dev 2017-04-25 02:55:20 +00:00
Ta-wei Yen
4a6df3c383 Add VisualVoicemailService
VisualVoicemailService can be implemennted by the default dialer to
provide a visual voicemail client similar to the OMTP visual voicemail
spec.

Other APIs such as the SMS filter and hidden text SMS sending are made
public and consolidated into the service interface.

Test: make. CTS tests in a follow up CL
Change-Id: Ib5e9aa15fc098f4c13b15e5dbecf9ab646e0e400
Merged-in: Ib5e9aa15fc098f4c13b15e5dbecf9ab646e0e400
2017-04-25 01:23:37 +00:00
Robert Greenwalt
d447cea882 Add Error specifiers to the API.
Intend to make an mbms/ErrorCodes.java file or something to contain the
constants.

Test: none yet
Change-Id: Ic6554079e4cd38a8fd4afb100aeef86fbc06a42f
2017-04-25 00:49:16 +00:00
pkanwar
cd7617d5d1 Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ibf622e154f3f987be547f4f85e15891d4e382118
2017-04-24 17:23:59 -07:00
Ta-wei Yen
1210f41f59 Add getVisualVoicemailSettings()
The voicemail client in telephony is moved to the system dialer
in O. Some user data such as the enabled status of VVM or the
voicemail PIN scrambled by the client need to be migrated to the
system dialer for it to function seamlessly.

This CL adds getVisualVoicemailSettings() to let the system dialer
retrieve a opaque bundle to migrate the user data. The system dialer
and telephony service should agreed upon the structure and content
of the bundle.

Bug: 34093562
Test: N/A - pending dialer side changes to be implemented.
Change-Id: Ib7da801ada95451e55e02eda520894aa41316f73
2017-04-24 17:13:54 -07:00
Ta-wei Yen
70a3e828aa Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony
Bug: 35766990
Change-Id: Ife9df5baa9b511cd8e9c043cb92236b7697582c1
Fixes: 35766990
Test: CtsTelephonyTestCases VisualVoicemailServiceTest
2017-04-24 13:34:12 -07:00
Pankaj Kanwar
4ef0e826c4 Merge "Provide an API to make USSD calls and read the responses."
am: f02b7b7ba6

Change-Id: Iaaefbd5b0771a945035e4cddb219a86b2519607c
2017-04-24 20:04:05 +00:00
Pankaj Kanwar
5e4296bad9 Merge "Update USSD API docs per API review comments." into oc-dev
am: c2d54af521

Change-Id: I8f9f5d809500feb64b522cdda67d5ad5956d9b48
2017-04-24 19:30:58 +00:00
pkanwar
20751db19e Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852
Merged-In: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852
2017-04-24 18:46:12 +00:00
TreeHugger Robot
c2d54af521 Merge "Update USSD API docs per API review comments." into oc-dev 2017-04-24 17:34:42 +00:00
Hall Liu
404acdc8a1 Merge "Second pass of eMBMS api." am: c90fcbd660 am: d61dc9e842
am: 4779240573

Change-Id: I56a0c0dc4ddbb3d168c1a386e92158b4a1d2bdde
2017-04-22 02:12:58 +00:00
Hall Liu
d61dc9e842 Merge "Second pass of eMBMS api."
am: c90fcbd660

Change-Id: If77c71951d6514429752fa9c1ba0f8835c7e610b
2017-04-22 02:00:18 +00:00
Hall Liu
c90fcbd660 Merge "Second pass of eMBMS api." 2017-04-22 01:53:16 +00:00
Meng Wang
93d3f4c528 Merge "Fix error message: getAllowedCarriers" am: 112d039dfb am: 03f4a0f034
am: 96b140489c

Change-Id: Icec36f8895e4ffb081989973abf563fddbf2f2fd
2017-04-21 16:45:00 +00:00
Meng Wang
03f4a0f034 Merge "Fix error message: getAllowedCarriers"
am: 112d039dfb

Change-Id: Ic04b23b87f56261c2c55f1e0a284109bf353c8d0
2017-04-21 16:32:12 +00:00
Treehugger Robot
112d039dfb Merge "Fix error message: getAllowedCarriers" 2017-04-21 16:23:34 +00:00
Robert Greenwalt
4dded7a1b5 Second pass of eMBMS api.
Updating Streaming apis.  Adding midwear aidl files.
Updating Download apis.
Making it Compile..

Test: none yet
Change-Id: I3f44ef3f6690274af1dc2002bc02e6668fe23248
2017-04-20 12:17:37 -07:00
Jordan Liu
0ed1bf8e4d Merge "Use SubscriptionId instead of SubId" into oc-dev
am: 8079a69eba

Change-Id: I6088d29019aa8dc872a354cbc0b63ddb87c95b00
2017-04-20 17:15:13 +00:00
Treehugger Robot
a0cef3c9c1 Merge "DO NOT MERGE. SystemUI: Display RAT icon when data is off" 2017-04-20 16:39:38 +00:00
Wenting Xiong
8daf38a719 DO NOT MERGE. SystemUI: Display RAT icon when data is off
Introduce customization and implementation to display RAT icon in status
bar even when data is off. Since some carriers require, this feature is
necessary.

Test: Test with simulated RIL
Bug: 28805511
Change-Id: I412a407b8bcfeb9b3caf265bc7e0331a88433725
2017-04-20 15:32:27 +00:00
Jordan Liu
0f332523b2 Use SubscriptionId instead of SubId
Rename the methods and arguments in ServiceStateTable to use
SubscriptionId instead of SubId.

Change-Id: I6f99da3bf533cab74f5ec81aac4f62e63d55378a
Fixes: 35766624
Test: Existing unit tests pass
2017-04-19 14:40:23 -07:00
Meng Wang
c39e089e79 Fix error message: getAllowedCarriers
Test: make
Change-Id: I0ee74f34f31742f2bf979dd9158ed22d56d64e5e
2017-04-19 11:00:50 -07:00
Chen Xu
23d5da6a5d Merge "better defualt behaviour for msim" into oc-dev
am: 7358ebeedd

Change-Id: Id8fd96ae871c510972f70450224b5ab2e20f27da
2017-04-19 00:55:11 +00:00
Chen Xu
7358ebeedd Merge "better defualt behaviour for msim" into oc-dev 2017-04-19 00:34:59 +00:00
Pankaj Kanwar
efbc20fe2e Update USSD API docs per API review comments.
Expand docs on failure return codes.
@hide the success return code which is only used internally.
Expand docs on the UssdResponseCallback class to make them more clear
what the format of the USSD response is, and how it might be consumed.
Fixed broken java doc.

Test: Make docs, inspect docs.
Bug: 35766890
Change-Id: I7a3c26c436c60372116c5b43cb45c513f4276b8c
2017-04-18 15:52:24 -07:00
TreeHugger Robot
0680962133 Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE" into oc-dev 2017-04-18 02:51:00 +00:00
Jordan Liu
f63d979045 Merge "Update api for ServiceStateProvider" into oc-dev
am: 728fbfb7c1

Change-Id: I0b61681780b9337b5b6e36b1aadc23c52199ea08
2017-04-17 20:56:45 +00:00
Jordan Liu
b9b75edb2d Update api for ServiceStateProvider
ServiceStateProvider defines public constants in
Telephony.ServiceStateTable so update the api.

Test: flashed onto device locally
Bug: 33756364
Change-Id: I62b6b8bcfdf909aa36e44441f8672f98f581f896
Merged-In: I62b6b8bcfdf909aa36e44441f8672f98f581f896
2017-04-17 11:07:31 -07:00
Nathan Harold
f5144f742a Update doc string for getForbiddenPlmns() to READ_PHONE_STATE
For whatever reason when I chose the permission for this API I
chose the internal READ_PRIVILEGED_PHONE_STATE. Updating this to
use the equivalent public permission (since this is a public API)
requires me to use READ_PHONE_STATE

Bug: 35261110
Test: docstring only change. Compilation
Merged-In: I3647271798b33040751905c13b20da727eacfd9b
Change-Id: I3647271798b33040751905c13b20da727eacfd9b
(cherry picked from commit 04908fcd17)
2017-04-17 17:31:32 +00:00
Nathan Harold
23e6899924 Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE" am: 02278a5a02 am: d50a325553
am: 661278432d

Change-Id: Ie6ed56a31df7a4b9e0730693561786562eb42fc9
2017-04-15 22:26:36 +00:00
Treehugger Robot
02278a5a02 Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE" 2017-04-15 01:43:00 +00:00
Nathan Harold
04908fcd17 Update doc string for getForbiddenPlmns() to READ_PHONE_STATE
For whatever reason when I chose the permission for this API I
chose the internal READ_PRIVILEGED_PHONE_STATE. Updating this to
use the equivalent public permission (since this is a public API)
requires me to use READ_PHONE_STATE

Bug: 35261110
Test: docstring only change. Compilation
Change-Id: I3647271798b33040751905c13b20da727eacfd9b
2017-04-14 13:13:11 -07:00
Ta-wei Yen
63668e4396 Merge "Deprecate setVisualVoicemailEnabled isVisualVoicemailEnabled" into oc-dev
am: ad989b1711

Change-Id: I7a9f56a2585584fdce87025cd07c5c526c9bc176
2017-04-14 04:11:29 +00:00
TreeHugger Robot
ad989b1711 Merge "Deprecate setVisualVoicemailEnabled isVisualVoicemailEnabled" into oc-dev 2017-04-14 01:44:06 +00:00
fionaxu
664595f06d better defualt behaviour for msim
switch behaviour for the default case based on caller's context,
some API prefer defaultDataId while others prefer
defaultVoiceId/DefaultSmsId.

Bug: 36818721
Change-Id: Icf8053258f8a95a0b16eb5cf59ec05c0c400ae7a
2017-04-13 17:10:17 -07:00
Shuo Qian
cfe9e61ce4 ECBM SystemProperty cleanup
- Add getEmergencyCallbackMode() method in the TelephonyManager.java
to get the boolean value for ECBM callback mode from the phone through
ITelephony.aidl/java interface

- Use the added TelephonyManager Api to replace the 'get' of
PROPERTY_INECM_MODE system property in the framework/base

Change-Id: I83fbdeef5c0b43a8fc16ece044c9e191e9922bce
Test: manual
Bug: 30361624
2017-04-12 22:36:00 +00:00
Amit Mahajan
682ce66309 Merge "Add p2 option in openLogicalChannel." into oc-dev 2017-04-12 22:02:39 +00:00
Shuo Qian
56d3af6680 Merge "ECBM SystemProperty cleanup" am: 4718606368 am: 40cde7b71f
am: 36611a0958

Change-Id: Ib68a4e3b34ad4d76e4b254350b523eaa424b30f9
2017-04-12 21:11:58 +00:00