504 Commits

Author SHA1 Message Date
Santos Cordon
0d4e216665 Merge "Move Phone.java APIs into InCallService" 2015-04-16 17:58:16 +00:00
Santos Cordon
a2492810df Move Phone.java APIs into InCallService
This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService.  This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService.  That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
2015-04-16 10:54:12 -07:00
Yorke Lee
a22a09666b Merge "Change hasVoicemailNumber to getVoicemailNumber" 2015-04-16 17:05:19 +00:00
Yorke Lee
49e2d46812 Change hasVoicemailNumber to getVoicemailNumber
Bug: 20223485

Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
2015-04-16 09:30:57 -07:00
Vinit Deshpande
cb43ebb360 Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release" 2015-04-16 02:36:30 +00:00
Jay Shrauner
225ccadc03 Hide getUserSelectedOutgoingPhoneAccount
Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
2015-04-15 15:51:15 -07:00
Yorke Lee
f5d5840b66 Make defaultOutgoingPhoneAccount public
Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
2015-04-15 12:53:53 -07:00
Jay Shrauner
55b97525f0 Make Telecom/InCallUI APIs public
Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15 12:03:48 -07:00
Jay Shrauner
773535cf04 Merge "Remove deprecated telecom APIs. Mark others final." 2015-04-15 18:03:24 +00:00
Jay Shrauner
560a833806 Merge "Hide Voicemail APIs" 2015-04-15 16:40:33 +00:00
Yorke Lee
114b78bf1a Merge "Changes for TelecomManager API review" 2015-04-15 16:30:46 +00:00
Jay Shrauner
d53f3634a3 Hide Voicemail APIs
Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
2015-04-14 23:44:37 -07:00
Jay Shrauner
164a0acf53 Remove deprecated telecom APIs. Mark others final.
Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
2015-04-14 22:57:30 -07:00
Vinit Deshpande
80047faad9 am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release
557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev
ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API
238e0f9 OBEX Over L2CAP + SDP search API for BT profiles
31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID.
bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev
db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev
e75b9e3 Non-functional code cleanup of ConnectivityService.
e593d0a Onfound onlost feature.
0326f58 Merge "API for config app." into m-wireless-dev
e9b056f API for config app.
d5351e7 RTT framework interface update
582b868 Unhide Network.openConnection(URL, Proxy).
0d719ca Fix typos in ConnectivityManager documentation.

Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
2015-04-14 16:15:02 -07:00
Yorke Lee
0604427a25 Changes for TelecomManager API review
* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
2015-04-14 15:16:59 -07:00
Yorke Lee
22244d0577 Hide Phone proximity sensor methods
Has to be done in master and not m-wireless-dev, because
m-wireless-dev doesn't contain system-api/23.txt.

Bug: 20160495
Change-Id: I910b3ecafd78c31081b38325b436b4f2b5a54c8d
2015-04-14 12:34:28 -07:00
Prerepa Viswanadham
d4ea01b4ac Merge "Merge commit 'e593d0a' into merge_work" 2015-04-12 21:46:15 +00:00
Andrew Lee
8581b67e6c Merge "Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL." 2015-04-11 21:17:26 +00:00
Andrew Lee
9a8f9ce7ad Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL.
Bug: 20160395
Change-Id: Ieb35f7b8a91022bae899b3fc093065c36d2d68c8
2015-04-11 14:15:29 -07:00
Jay Shrauner
85d3eec2d4 Add constructor without zoom
Add constructor without zoom params. Reorder params in constructor
with zoom to move zoom params to the end of the param list (API
guidelines). Reorder code to match param ordering. Tag all zoom related
methods with @hide.

Bug:20160534
Change-Id: Ic2149af82a5450666c49b8757daf6950bcb68977
2015-04-11 12:54:35 -07:00
Prerepa Viswanadham
57bf2a8a38 Merge commit 'e593d0a' into merge_work
Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
2015-04-10 15:58:10 -07:00
Tyler Gunn
b5e0cfb24e Cleanup of Video Call pause functionality.
Whether the paused videoState is available is dependent on the carrier's
implementation of the VT spec. The original VT implementation assumed
that this was stored in a system property accessed via InCall; these CLs
move this to a Call/Connection capability which will ultimately support
multisim video capable devices.

- Added new connection/call capabilities.

Bug: 16680364
Bug: 19820114
Change-Id: I3840f92270100811161120dffcfe297bef7c4ea2
2015-04-07 16:10:51 -07:00
Nancy Chen
1df9429b6b Hide and make systemapi visual voicemail-related apis.
Since there are no third-party apps expected to be using the visual
voicemail related apps at the moment, best to keep these hidden for now.

Bug: 19236241
Change-Id: I86f622208efcc89fab523f03d2bb70c244cdf867
2015-04-07 12:21:36 -07:00
Rekha Kumar
07366813cd IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState

IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service.

IMS-VT: Upgrade fix
-Add session modify call timed out constant

Notify listeners of video quality changed event
- Propagate the video quality changed message to the UI.

IMS: Add support for video quality
- Add Config interface to get/set video quality

IMS-VT: Multitasking feature
-Support for video multitasking

IMS-VT: Modification of data usage aidl
Change data usage aidl interface to take parameter type long
instead of int

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc

Propagate the call substate changed message to the UI

IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set

IMS-VT: Enable Video conferencing.

Enable Video conferencing.

Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b

IMS-VT: Add hide for setVideoProvider API
Observed compilation error for SDK generation due to setVideoProvider
API. Marking setVideoProvider as hide inorder to resolve the
compilation error.

IMS-VT: Add persist.radio.ims.audio.output for VT calls
-- Add persist.radio.ims.audio.output to set the default speaker
   for VT calls.
-- Add required constants

IMS-VT: Add additional error codes for upgrade downgrade
-Add support to send additional error codes to UI during
 upgrade downgrade.

Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
2015-04-01 21:40:45 +00:00
Prerepa Viswanadham
4209a28270 Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
2015-03-24 13:46:08 -07:00
Yorke Lee
e9d827aa51 Merge "Make PhoneAccount.CAPABILITY_VIDEO_CALLING public" 2015-03-19 16:30:36 +00:00
Yorke Lee
04ed503e7b Make PhoneAccount.CAPABILITY_VIDEO_CALLING public
Bug: 19824779
Change-Id: If38606d62bffbb7b794f530f3fcc09b6e5123b55
2015-03-19 09:23:43 -07:00
Nancy Chen
993e5cc6dc Merge "Add voicemail builder method for updating/syncing." 2015-03-19 03:50:46 +00:00
Nancy Chen
d3e28b78a3 Add voicemail builder method for updating/syncing.
The id of the voicemail is necessary to update a voicemail in the
database and the source data (or unique remote identifier for the
voicemail) is necessary for syncing remotely. Whenever performing a sync
either of data to the server or vise versa, create a voicemail object
using this new method.

Bug: 19236241
Change-Id: Ibc1fd8c1922be13605987d9a3dcd327c438951c8
2015-03-18 20:49:23 -07:00
Tyler Gunn
d11a31561e resolve merge conflicts of bcb17eb to m-wireless-dev.
Change-Id: Ic8211fb14caec993c8e38c790006577493f7a607
2015-03-18 13:09:14 -07:00
Tyler Gunn
96d6c40c71 resolved conflicts for merge of 00de38a1 to master
Change-Id: Ib1ac99ba7181ad79af94a04124380833bcb79a0c
2015-03-18 12:39:23 -07:00
Dong Zhou
bcb17eb7a9 am 89f41eb3: Define the capability to speed up MT call audio
* commit '89f41eb39e910e220957ac861651ead17eff9085':
  Define the capability to speed up MT call audio
2015-03-17 22:21:21 +00:00
Dong Zhou
89f41eb39e Define the capability to speed up MT call audio
Bug: 19656525
Change-Id: I0bc88e85b807871b2883a785efac91bd0e1f6d8d
2015-03-17 22:16:52 +00:00
Vinit Deshpande
4cd92835be Fixing build after merge from mirror-m-wireless-internal-release
There have been few breaking changes

1. TelecomManager.getCallCapablePhoneAccounts is not hidden anymore
2. CAPABILITY_VIDEO_CALLING is not hidden anymore
3. mPhoneStateListener doesn't exist anymore, so it is commented out

Change-Id: I22221eda73a20c745e316d9d56f914ab17b83533
2015-03-15 14:04:19 -07:00
Vinit Deshpande
522dbda5d4 am "Fix emergency callback number not shown for incoming calls."
merged from goog/mirror-m-wireless-internal-release
068085b Fix emergency callback number not shown for incoming calls.
2015-03-15 13:44:19 -07:00
Vinit Deshpande
02ce8d8f33 am "Helper methods for voicemail status provider."
merged from goog/mirror-m-wireless-internal-release
8b97ee3 Helper methods for voicemail status provider.
2015-03-15 13:44:07 -07:00
Vinit Deshpande
386348f037 am "Indicate local and remote RX/TX capabilities for VT."
merged from goog/mirror-m-wireless-internal-release
5e9e8bb Indicate local and remote RX/TX capabilities for VT.
2015-03-15 13:44:05 -07:00
Vinit Deshpande
7b3f6a95a8 am "Add frameworks classes and methods necessary for VVM syncadapter structure."
merged from goog/mirror-m-wireless-internal-release
7c07dfa Add frameworks classes and methods necessary for VVM syncadapter structure.
2015-03-15 13:41:31 -07:00
Vinit Deshpande
8cea6e0cc9 am "Rename from VoWIFI to WIFI."
merged from goog/mirror-m-wireless-internal-release
1a8ae3e Rename from VoWIFI to WIFI.
2015-03-15 13:39:14 -07:00
Tyler Gunn
068085b35d Fix emergency callback number not shown for incoming calls.
- Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER.
- Used in Telephony to indicate on an incoming call that the callback
number should be shown.

Bug: 18689292
Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
2015-03-11 20:16:19 +00:00
Andrew Lee
74050f58d5 Merge "Indicate local and remote RX/TX capabilities for VT." into m-wireless-dev 2015-03-11 18:32:32 +00:00
Nancy Chen
8b97ee3c48 Helper methods for voicemail status provider.
Added method to make it easier to insert into the voicemail status
table. Also takes in a phone account for future multi-SIM support.

Remove VvmSyncService class in favor of moving most of the code to
OmtpVvmSyncService.

Bug: 19236241
Change-Id: I5d9def276fbdbc6f825fb35e9fa31bfc3cead1ba
2015-03-11 08:45:00 -07:00
Andrew Lee
5e9e8bb30e Indicate local and remote RX/TX capabilities for VT.
This provides more granular API support for representing the mix of
state and capabilities of local and remote video clients. For our
implementation, we are primarily concerned with bidirectional video
calling. But, this provides support for representing certain error
scenarios, and flexibility for other parties which may desire to
implement one-way video calling.

Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
2015-03-10 15:41:52 -07:00
Santos Cordon
2d2bc16f2d Hide calllog entries for unregistered phone accounts
Cherry-picked from master

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
2015-03-05 15:18:40 -08:00
Santos Cordon
c66f3baa42 Hide calllog entries for unregistered phone accounts
Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
2015-03-03 00:33:35 +00:00
Nancy Chen
7c07dfa552 Add frameworks classes and methods necessary for VVM syncadapter structure.
+ VvmSyncService is the base class for all visual voicemail sync
services that run the visual voicemail sync adapter. This class handles
writing to the voicemail provider and receiving changes from the
voicemail provider.
+ AuthenticatorService is a stub class for visual voicemail sync
adapters that do not use an Account (all sync adapters must have an
account associated with them, so a stub account is necessary).
+ Voicemail parcelable object to pass voicemail data around easier. This
is mostly copied from VoicemailProviderDemo
+ Extra helper methods in VoicemailContract to help insert and delete
from the voicemail provider.
+ Add multi-sim fields to VoicemailContract.Voicemails

Bug: 19236241
Change-Id: I603e3e5908704cd043e46221680d8bb600ed2cf4
2015-03-02 20:43:58 +00:00
Santos Cordon
b7bb8c4207 Small update to PhoneAccountHandle ID javadoc.
Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
2015-03-02 20:18:54 +00:00
Brian Attwell
48d8442e9c Unhide telecom APIs needed by Contacts
* Removed @SystemApi and @hide from some telecom classes
  and APIs
* Stopped using explicit @link's to ConnectionService, so
  that I didn't need to unhide ConnectionService
* Added @SystemApi to hidden methods inside classes that
  I removed @SystemApi from.
* Ran update-api. This picked up unrelated Math changes
  from b/11388705.

Unbundling

Bug: 18777272
Bug: 11388705
Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
2015-03-02 08:35:32 -08:00
Andrew Lee
873cfbf185 Add intent for call accessibility settings.
Preparatory work for adding a new Accessibility settigns activity
in Telephony, which we will need an intent to be able to launch.

Bug: 19372734
Change-Id: Ibf72ffe21da3ba2819eb165dda9bde30204bab68
2015-02-26 15:32:16 -08:00
Santos Cordon
8b338d47e0 Small update to PhoneAccountHandle ID javadoc.
Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
2015-02-19 22:45:30 -08:00