• Home
  • History
  • Annotate
  • only in /frameworks/base/telecomm/java/android/
History log of /frameworks/base/telecomm/java/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af1b296a41f0b6e3af34e9c2c73bc1029bfa8b2a 17-Oct-2014 Santos Cordon <santoscordon@google.com> Add hidden method to access a connection's service.

This change exposes a method that is used by the actual
fix here: I4e4789c044d9e3614f42143cfa6053881a6d109b

Bug: 17962996
Change-Id: Iec3795ea372634120c71b0a80ee046e372569ecf
elecom/Connection.java
879142bf1c6b72670d4aedac82938f00a97acf5b 08-Oct-2014 mike dooley <mdooley@google.com> Fix hangouts conference calling regression.

Check the connection-by-id hash table instead of conference-by-id hash
table when setting conferenceable connections.

Bug: 17919110
Change-Id: Ia8a5ab3fb96926e600d21eca7737a0044b233563
elecom/RemoteConnectionService.java
4afc6afd20488bf5afb462a718091a755de3adf4 07-Oct-2014 Tyler Gunn <tgunn@google.com> Fixing where call goes from disconnecting to active to disconnecting state.

- Adding disconnecting state to telecom used to communicate that a call is
being disconnected to InCall UI (rather than it existing only as a state
in the InCall UI).

Bug: 17821930
Change-Id: I6c2d9521915ba154c0468eea62c12c30060edd2e
elecom/Call.java
elecom/CallState.java
9858af0ec68ad28db60047587c8eb6232b4a6591 07-Oct-2014 Yorke Lee <yorkelee@google.com> Fix build break

Bug: 16852844
Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729
elecom/ConnectionService.java
c3cf982d18e28fc27126265422f36c5e845808db 02-Oct-2014 Yorke Lee <yorkelee@google.com> Add ability to add sim-initiated MO call to UI (2/4)

Add supporting (hidden) APIs to TelecomManager to add the ability to
add a previous unknown call to Telecom

Bug: 17787391

Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
elecom/ConnectionService.java
elecom/RemoteConnectionService.java
elecom/TelecomManager.java
ce11decc5e7e01d5aa02c7f8fde550783a00de43 02-Oct-2014 Evan Charlton <evanc@google.com> Add @SystemApi to missing TelecomManager methods

A few methods (which should be exposed) were missing @SystemApi
annotations.

TelecomManager#addNewIncomingCall
TelecomManager#registerPhoneAccount
TelecomManager#unregisterPhoneAccount

Bug: 17786491
Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884
elecom/TelecomManager.java
50e3506533478fa273cbc92c2919470d1889f1ed 30-Sep-2014 Ihab Awad <ihab@google.com> Refine implementation of GSM conferences (1/3)

Bug: 17684223
Change-Id: I05d05b594803ea2c1da4247111b70ad5f870ac46
elecom/Conference.java
elecom/Connection.java
elecom/ConnectionService.java
elecom/RemoteConference.java
elecom/RemoteConnectionService.java
95ea5765dca757c8c9f0445eba6735dac996c62b 25-Sep-2014 mike dooley <mdooley@google.com> Adding support for Cdma conference calling.

Adding methods to merge and swap Cdma conference
calls from hangouts.

Bug: 17658943
Change-Id: I0ce472415e3455503223fc0dab5e1a8ee415cde9
elecom/RemoteConference.java
698b3b29810525e3935c2bdba2faba945c3a1a7e 25-Sep-2014 Junda Liu <junda@google.com> Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev
bac6d61ab6d9ea16c305419dfe03e19cc5af9fd9 24-Sep-2014 Junda Liu <junda@google.com> Hide CarrierPrivilege APIs in TelMgr.

Per API council decision, we will polish and public in MR1.

Bug: b/17639966
Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32
elecom/PhoneAccount.java
2fbab892e9f3aed40849228a0ada67c2fbfd529b 23-Sep-2014 Jay Shrauner <shrauner@google.com> Merge "Fix NPE crash when mPhone is null" into lmp-dev
95e8070e296e2fc327d09334ec97103f8b32b848 18-Sep-2014 mike dooley <mdooley@google.com> Fixing ConcurrentModificationException.

Implementing review feedback.

Bug: 17572658
Change-Id: I3a060d21669a58188a24c5d6ec5fefcbca45a976
elecom/ConnectionService.java
711d876fd110b33519afb5d05f5a740ade635787 19-Sep-2014 Tyler Gunn <tgunn@google.com> @hide ConnectionService APIs.

Bug: 17569532
Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
elecom/AudioState.java
elecom/Conference.java
elecom/Connection.java
elecom/ConnectionRequest.java
elecom/ConnectionService.java
elecom/DisconnectCause.java
elecom/GatewayInfo.java
elecom/PhoneAccount.java
elecom/PhoneAccountHandle.java
elecom/PhoneCapabilities.java
elecom/RemoteConference.java
elecom/RemoteConnection.java
elecom/StatusHints.java
elecom/TelecomManager.java
5e6162de625dfda047ff390bbc1ccf9a97db2261 23-Sep-2014 Jay Shrauner <shrauner@google.com> Fix NPE crash when mPhone is null

Bug:17609710
Change-Id: Idb99feb6f15fd29809adde51cda1eb0d44e20101
elecom/InCallService.java
c2a978dba31f0fc83a7d472e6a78bed165eca610 21-Sep-2014 Sailesh Nepal <sail@google.com> Pass disconnect reason for failed remote connections

If a remote connection fails to create call setDisconnected
instead of setState. This allows us to pass the disconnect
reason.

Note, this CL is very low risk since it only impacts remote
connections.

Bug: 17594857
Change-Id: Id296f3f5a4bb9168b358d3bfda94e04623a6b99c
elecom/RemoteConnectionService.java
f4cf77c5dc0348d3f7561f48a5a751cb823cd271 19-Sep-2014 Nancy Chen <nancychen@google.com> Add constructor for DisconnectCause that does not require a tone.

In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
elecom/Call.java
elecom/DisconnectCause.java
513c8921359c2b576e0713da6d649e5e7c29d179 17-Sep-2014 Nancy Chen <nancychen@google.com> Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
elecom/Call.java
elecom/TelecomManager.java
58bacc513c5e665c62e7d82cc6f39196b4ff4302 16-Sep-2014 Yorke Lee <yorkelee@google.com> Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference

Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
elecom/RemoteConference.java
1c4eb10cc1159d5e029f982a629c5262419fa5ce 17-Sep-2014 Yorke Lee <yorkelee@google.com> Merge "Add missing methods to Conference object" into lmp-dev
ebc69cd19e3c4a40748410f6d509989e83829f1b 17-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
009348e8372476b861dbc65369bc831c1c0fb7da 17-Sep-2014 Andrew Lee <anwlee@google.com> Merge "Fix disconnect log printf in ConnectionService." into lmp-dev
2678639f9e87077418b268f2b71f5e7e101fcacc 17-Sep-2014 Andrew Lee <anwlee@google.com> Fix disconnect log printf in ConnectionService.

Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01
elecom/ConnectionService.java
f34519b4dd12d065c510b06922a196e8a3fd9885 17-Sep-2014 mike dooley <mdooley@google.com> Fix a small printf format bug.

Bug: 17534940
Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1
elecom/Connection.java
7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec 12-Sep-2014 Andrew Lee <anwlee@google.com> Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
elecom/Call.java
elecom/Conference.java
elecom/Connection.java
elecom/ConnectionService.java
elecom/ConnectionServiceAdapter.java
elecom/ConnectionServiceAdapterServant.java
elecom/DisconnectCause.aidl
elecom/DisconnectCause.java
elecom/ParcelableCall.java
elecom/ParcelableConnection.java
elecom/RemoteConference.java
elecom/RemoteConnection.java
elecom/RemoteConnectionService.java
210ef039fbceced2485b89ae30e6d7da62f204f4 16-Sep-2014 Nancy Chen <nancychen@google.com> Remove ability to enable/disable phoneaccounts (1/6)

Enabling/disabling of phone accounts was only used for SIP accounts and
is no longer necessary for the purpose it was put in.
- Remove all references to enabling/disabling phone accounts
+ Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts

Bug: 17510811

Change-Id: Id805daae3cc698c75f5e747b6a6107ab0bd3afa0
elecom/PhoneAccount.java
elecom/TelecomManager.java
a0d3ca9746143d669fe9384babb9e1b9fca33dcf 16-Sep-2014 Yorke Lee <yorkelee@google.com> Add missing methods to Conference object

Add setAudioState, onPlayDtmf and onStopDtmf to the conference object.
This fixes DTMF tones for conference calls.

Bug: 17512380
Change-Id: Ice9403d3d750131f077a3ea129b7f67430c68348
elecom/Conference.java
elecom/ConnectionService.java
f13a8b797d98d3b009160c1de7c2759430938ad2 16-Sep-2014 Yorke Lee <yorkelee@google.com> No longer require READ_PHONE_STATE permission for getCallState

Bug: 17510808
Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104
elecom/TelecomManager.java
2ae312e30652a4d0019b17825b58d558c4483a58 13-Sep-2014 Yorke Lee <yorkelee@google.com> Pipe TelephonyManager.getCallState through TelecommManager

* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
elecom/TelecomManager.java
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
elecom/AudioState.aidl
elecom/AudioState.java
elecom/Call.java
elecom/CallProperties.java
elecom/CallState.java
elecom/CameraCapabilities.aidl
elecom/CameraCapabilities.java
elecom/Conference.java
elecom/Connection.java
elecom/ConnectionRequest.aidl
elecom/ConnectionRequest.java
elecom/ConnectionService.java
elecom/ConnectionServiceAdapter.java
elecom/ConnectionServiceAdapterServant.java
elecom/GatewayInfo.aidl
elecom/GatewayInfo.java
elecom/InCallAdapter.java
elecom/InCallService.java
elecom/Log.java
elecom/ParcelableCall.aidl
elecom/ParcelableCall.java
elecom/ParcelableConference.aidl
elecom/ParcelableConference.java
elecom/ParcelableConnection.aidl
elecom/ParcelableConnection.java
elecom/Phone.java
elecom/PhoneAccount.aidl
elecom/PhoneAccount.java
elecom/PhoneAccountHandle.aidl
elecom/PhoneAccountHandle.java
elecom/PhoneCapabilities.java
elecom/RemoteConference.java
elecom/RemoteConnection.java
elecom/RemoteConnectionManager.java
elecom/RemoteConnectionService.java
elecom/Response.java
elecom/StatusHints.aidl
elecom/StatusHints.java
elecom/TelecomManager.java
elecom/VideoCallImpl.java
elecom/VideoCallbackServant.java
elecom/VideoProfile.aidl
elecom/VideoProfile.java
elecomm/AudioState.aidl
elecomm/AudioState.java
elecomm/Call.java
elecomm/CallProperties.java
elecomm/CallState.java
elecomm/CameraCapabilities.aidl
elecomm/CameraCapabilities.java
elecomm/Conference.java
elecomm/Connection.java
elecomm/ConnectionRequest.aidl
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/GatewayInfo.aidl
elecomm/GatewayInfo.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
elecomm/Log.java
elecomm/ParcelableCall.aidl
elecomm/ParcelableCall.java
elecomm/ParcelableConference.aidl
elecomm/ParcelableConference.java
elecomm/ParcelableConnection.aidl
elecomm/ParcelableConnection.java
elecomm/Phone.java
elecomm/PhoneAccount.aidl
elecomm/PhoneAccount.java
elecomm/PhoneAccountHandle.aidl
elecomm/PhoneAccountHandle.java
elecomm/PhoneCapabilities.java
elecomm/RemoteConference.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/Response.java
elecomm/StatusHints.aidl
elecomm/StatusHints.java
elecomm/TelecommManager.java
elecomm/VideoCallImpl.java
elecomm/VideoCallbackServant.java
elecomm/VideoProfile.aidl
elecomm/VideoProfile.java
094d24c9af60dfcd5137fdbbf7bf2b14f1a48087 12-Sep-2014 Santos Cordon <santoscordon@google.com> Merge "Disconnect all connections if telecomm unbinds to the service." into lmp-dev
29f2f2e56adfddd2f33a66b71eceb6505f0d288b 12-Sep-2014 Santos Cordon <santoscordon@google.com> Disconnect all connections if telecomm unbinds to the service.

Bug: 1748658
Change-Id: I7bd3d6f28b7fa25f2ee0b308b5dc16d70d67949f
elecomm/ConnectionService.java
2df938e56b7a91403a523c5e1583fd1d6722f4bd 12-Sep-2014 Tyler Gunn <tgunn@google.com> Merge "Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)" into lmp-dev
2ef34be665c778755e8c5512f13add0902964cae 11-Sep-2014 Ihab Awad <ihab@google.com> Change UI to represent conferenced IMS connections (1/3)

IMS conferenced connnections cannot individually hold or disconnect.

Bug: 17451623
Change-Id: Ie945d2c23f752f5403d01668606fe893dca0a882
elecomm/PhoneCapabilities.java
6f90967b0c1d6958b88fd131d938e9f739bba16b 11-Sep-2014 Andrew Lee <anwlee@google.com> Merge "API cleanup for RemoteConnection." into lmp-dev
9becf006563b158cdf6e0d511678ca40a984a1a4 11-Sep-2014 Tyler Gunn <tgunn@google.com> Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)

- Added intents to TelecommManager.java

Bug: 17408536
Change-Id: Ibc7769cf382a1b074e1b12f2b82c6fc8b9903800
elecomm/TelecommManager.java
100e293fa8021caed956597daa4e01cb19be1c33 09-Sep-2014 Andrew Lee <anwlee@google.com> API cleanup for RemoteConnection.

+ Rename handle to address.
+ Rename audioModeIsVoip to IsVoipAudioMode.
+ Rename Listener to Callback.
- Delete getParent() and getChildren() methods.
- Delete onChildrenChanged/onParentChanged methods.
+ Rename Listener to Callback.
+ Rename Callback methods to reflect other changes.

Bug: 17329632
Change-Id: Ie466472e995050f578fbb1c4b9de0ae59e488988
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/ParcelableConnection.java
elecomm/RemoteConference.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
7ab1dc44bd949d08a04d861a829b6d0e21a3263a 10-Sep-2014 Nancy Chen <nancychen@google.com> Update TelecommManager per API requirements. (1/3)

+ Add constants GATEWAY_PROVIDER_PACKAGE and GATEWAY_ORIGINAL_ADDRESS
- Remove those corresponding constants from private packages
+ Modify clearAccounts() so it no longer takes an argument.

Bug: 17329632
Change-Id: I3794efe5ad1fafe6e22f4a59146859a96a385ed1
elecomm/TelecommManager.java
354b2bd0fe8647bd5c7e28f3598b9b7414846124 09-Sep-2014 Nancy Chen <nancychen@google.com> Make changes to Connection in Telecomm API (1/4)

* onPhoneAccountClicked removed
* onSetAudioState -> onAudioStateChanged
* onSetState -> onStateChanged

Bug: 17329632
Change-Id: Icbba67439317bf1d21f758d58da7c83c4373efa6
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
a1ed7d10942cea97147dee8d79cee737766e539a 08-Sep-2014 Tyler Gunn <tgunn@google.com> Allowing enable/disable of phone accounts. (1/3)

- added "hasCapabilities" method on PhoneAccount.
- added CAPABILITY_PLACE_EMERGENCY_CALLS.
- added isEnabled method builder constructor to initialize from an
existing PhoneAccount.

Bug: 17306514
Bug: 17408536

Change-Id: I57de508b4adcf207f3b29cab449bfc634db80153
elecomm/PhoneAccount.java
elecomm/TelecommManager.java
4823aecef3d7170008003f18fb4f13c385efefc7 11-Sep-2014 Nancy Chen <nancychen@google.com> Merge "API changes in GatewayInfo, Response, and PropertyPresentation (1/4)" into lmp-dev
23a7a394f56a11ae53f1a79eb87f19ca5087c121 10-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Add docs to Conference object." into lmp-dev
fab395e9b9d49fe824d562f1b4dd7a400d944d4e 10-Sep-2014 Sailesh Nepal <sail@google.com> Merge "Set remote connection state after setting handle" into lmp-dev
70638f1f364ee6ddf50d159ff913a87230c27f70 10-Sep-2014 Sailesh Nepal <sail@google.com> Set remote connection state after setting handle

This CL sets the remote connection state after setting the
handle. This makes it easier to identify the connection
for things like ring deduping.

Bug: 17448801
Change-Id: Id08ab0bc6a257384842250ced19cd297a58c0b87
elecomm/RemoteConnectionService.java
13e28bb9386a3eb579c457985f0324238f2bfe38 06-Sep-2014 Junda Liu <junda@google.com> Add ForSubscriber suffix to APIs w/ subId argument.

Bug: b/17255752
Change-Id: I142d8961aa4c1fa074833f70c404c955caea0870
elecomm/PhoneAccount.java
56fc25deec15a32ea5f37d7c8c82f16d1bf9d275 09-Sep-2014 Nancy Chen <nancychen@google.com> Add docs to Conference object.

All public methods now have docs.

Bug: 17329632
Change-Id: I0a0e87bd3d78bda85524853882f9fe8a4d18401c
elecomm/Conference.java
9d568c01db1f90fbe9cbff1d9385e7e7b809e066 08-Sep-2014 Nancy Chen <nancychen@google.com> API changes in GatewayInfo, Response, and PropertyPresentation (1/4)

* GatewayInfo: handle -> address, becomes SystemApi
* Response: hidden
* PropertyPresentation: class goes away, constants move to
TelecommManager

Bug: 17329632

Change-Id: I6577ed95ed1535aaf66dfa1853eee85ec6c506d2
elecomm/Call.java
elecomm/Connection.java
elecomm/GatewayInfo.java
elecomm/ParcelableCall.java
elecomm/PropertyPresentation.java
elecomm/RemoteConnection.java
elecomm/Response.java
elecomm/TelecommManager.java
a64627c2d3330f6bee8055b2e51ffaf8a122ef2b 20-Aug-2014 Ihab Awad <ihab@google.com> Enable (@hidden) video connection support for RemoteConnections

Bug: 16958934

Change-Id: I2c618743a689303f1bec190da53a1ec42d759370
elecomm/Connection.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
elecomm/VideoCallImpl.java
elecomm/VideoCallbackServant.java
3085a6c739e6892074caf36af216f8109dfc9652 04-Sep-2014 Andrew Lee <anwlee@google.com> Rename methods/variables on PhoneAccount for API cleanup.

+ Rename from Handle to Address.
+ Rename from SubscriptionNumber to SubscriptionAddress.
+ Store the subscription address as a Uri.

Bug: 17390175
Bug: 17329632
Change-Id: I67514d89f0e7c81f74bef352df7a55cc422d1c71
elecomm/PhoneAccount.java
6faad7e5b6cca97744293e55db7a48d81eff6e47 08-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Make changes to Telecomm API per review guidelines." into lmp-dev
ea38cca14964a5ee658899b0bafbc48017d556cd 06-Sep-2014 Nancy Chen <nancychen@google.com> Make changes to Telecomm API per review guidelines.

Make changes to Telecomm API per review guidelines in bug:
* Rename componentName to packageName and getComponentName to
getPackageName in StatusHints
* Hide "ROUTE_ALL" and fix misspelling in AudioState
* Change getHandle to getAddress and remove getHandlePresentation in
ConnectionRequest

Bug: 17329632

Change-Id: I8b3666cc22d24f470c940825c77a7b4d0701dc16
elecomm/AudioState.java
elecomm/Conference.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/RemoteConnectionService.java
elecomm/StatusHints.java
a48680427e022ab6eb73277faac6c57831ee6ff9 05-Sep-2014 Santos Cordon <santoscordon@google.com> Updating APIs for CDMA conference call support.

Bug:17316859
Change-Id: Ib80c4dcf99c8599c011496756c363c3e6147c20a
elecomm/Call.java
elecomm/Conference.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/PhoneCapabilities.java
1d834f51df5396653ce669e614f9e7ef2cbd4a06 05-Sep-2014 Nancy Chen <nancychen@google.com> Rename listener to callback for ConferenceManager and rename strings 1/4

Updates for items from API review. See bug for details.

Bug: 17390175
Change-Id: I716a12b763766a385b08f8731d9533589639f467
elecomm/RemoteConference.java
elecomm/RemoteConnectionService.java
elecomm/TelecommManager.java
6d8604ff22424af31c697d20f5c15d5f9c31862c 04-Sep-2014 Evan Charlton <evanc@google.com> Add a constant for CHANGE_PHONE_ACCOUNTS action

To make life easier for developers, pull the CHANGE_PHONE_ACCOUNTS
intent action out to a constant.

Bug: 17383844
Change-Id: I6989324c8d01930cd2e2be5d7d0defea860fc718
elecomm/TelecommManager.java
235c159633acfd40d36425f731e3b069d3d04c50 05-Sep-2014 Evan Charlton <evanc@google.com> Merge "Add a way to fetch the current connection manager" into lmp-dev
8d223eb3f92a521f22acc4639a6d1999f7fe26ba 05-Sep-2014 Andrew Lee <anwlee@google.com> Merge "Tweak methods for get/set DefaultOutgoing phone account." into lmp-dev
eb0a8d562122d67a528286c595395f90ac2720cd 04-Sep-2014 Evan Charlton <evanc@google.com> Add a way to fetch the current connection manager

Apps should have this API so they know if they're the default or not,
so that they can determine whether to send the user to the settings
page in order to enable the app.

Bug: 17383883
Change-Id: I4e75ad94398d7cdc01dbf97bd684c839d897d8e5
elecomm/TelecommManager.java
b501eb7ae2fc8109246fbf3cf8183a1290d049c8 04-Sep-2014 Yorke Lee <yorkelee@google.com> Merge "Turn off FORCE_LOGGING in Telecomm" into lmp-dev
f3dba2f77de0c7223839bf54e070a7d2d146085a 04-Sep-2014 Yorke Lee <yorkelee@google.com> Turn off FORCE_LOGGING in Telecomm

Bug: 17329799
Change-Id: Ic93cfaee62f83b457da3982237170e299c63cf5d
elecomm/Log.java
d4abbfbcc16ae3e9bae77573496161ff561f8ced 03-Sep-2014 Andrew Lee <anwlee@google.com> Tweak methods for get/set DefaultOutgoing phone account.

+ Rename setDefaultOutgoing...() to setUserSelected...().
+ Add method for getting the UserSelected outgoing account.

Bug: 17179743
Change-Id: I7ae24601ed670d3571acb7ef4f7ffd114d403a99
elecomm/TelecommManager.java
4d12a0377128f18b2b971f4cf2d14de4e01a129e 03-Sep-2014 Evan Charlton <evanc@google.com> Merge "Remove startActivityFromInCall API" into lmp-dev
8a34d9ed2a084db94b47ff597df2efb02e765d78 03-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev
65bd3eaad6827301ca2230ee23c53ed8cce5e182 03-Sep-2014 Tyler Gunn <tgunn@google.com> Merge "Add supported URI scheme to PhoneAccounts. (1/4)" into lmp-dev
23dc241d5e4641ee2acd4b5f7865c66d9f58c9f1 03-Sep-2014 Evan Charlton <evanc@google.com> Remove startActivityFromInCall API

Rip out the startActivityFromInCall API until we can replace it with
something better.

Bug: 16988478
Change-Id: Ib7b0493353262d9e795d78b78a98dd29e7a3f88e
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/InCallService.java
elecomm/Phone.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
f5b29dc8cb7ec19232c6499ac41e5cd267ebd6f1 03-Sep-2014 Tyler Gunn <tgunn@google.com> Add supported URI scheme to PhoneAccounts. (1/4)

Modified PhoneAccount and builder to support specifying supported
URI schemes.

Bug: 17140110
Change-Id: Ieef33bb1a6719de6f3897ed10ec38843808a7f85
elecomm/PhoneAccount.java
elecomm/TelecommManager.java
619b3c0d09ff01ca163601a22973a58fd13ca64c 03-Sep-2014 Santos Cordon <santoscordon@google.com> Fix NPE in onDestroy.

NPE can happen when calls are canceled immediately before incallservice
has a chance to respond.

Bug:17362107
Change-Id: I6bf318f5f7d89731b686a1523678a26764fa9bf3
elecomm/InCallService.java
b730542b7596270e1801667c9d1fd86433a23d66 30-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Hiding videoState values in telecomm APIs. (1/3)" into lmp-dev
0156867544453076a7bb55194cbbdc87edbb7fd5 30-Aug-2014 Nancy Chen <nancychen@google.com> Remove onConnectionAdded/Removed() from ConnectionService API

These methods are redundant because there are already other methods
listening to the connection adding and removing.

Bug: 17262026
Change-Id: I1c87af539932673a11e5ceee62755c2aec6aa43f
elecomm/ConnectionService.java
68d207ec8c59d2c4f8028f64fa32852bfe2059b2 30-Aug-2014 Andrew Lee <anwlee@google.com> Merge "Add functions for setting/getting phone accounts." into lmp-dev
be74de0978a7eaa577f6b61902b550a3161aff8b 29-Aug-2014 Tyler Gunn <tgunn@google.com> Hiding videoState values in telecomm APIs. (1/3)

Hiding in Connection, ConnectionRequest, and ConnectionService.
Also @hiding PhoneAccount and PhoneCapabilities attributes related
to VT.

Bug: 17243002
Change-Id: I685305cddb99e1d2eb767982106253894a8d282f
elecomm/CameraCapabilities.java
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/PhoneAccount.java
elecomm/PhoneCapabilities.java
elecomm/RemoteConnection.java
8fd8124911958ae454c7306698e2f423b0b11e39 29-Aug-2014 Sailesh Nepal <sail@google.com> Merge "Make PhoneAccount.Builder constructor public" into lmp-dev
59cac3a88178b0b25d1aeba49a42204a9add3892 29-Aug-2014 Andrew Lee <anwlee@google.com> Add functions for setting/getting phone accounts.

Bug: 17179743
Change-Id: I821312ae5903f81a5282987189822e77ac55b7ef
elecomm/TelecommManager.java
38f480993fdb4cc55aea914db90587241ee3541b 29-Aug-2014 Sailesh Nepal <sail@google.com> Make PhoneAccount.Builder constructor public

Bug: 17321110

Change-Id: I61209f70c4719bbc77a310310c456b253032bedc
elecomm/PhoneAccount.java
81289efcae107c292dfbff6fb7ee342848cdd5c9 28-Aug-2014 Andrew Lee <anwlee@google.com> Merge "Add CallProperties class, and use to on ParcelableCall." into lmp-dev
223ad1455ada00feee1ca89ccd7bad5afd8c680a 28-Aug-2014 Andrew Lee <anwlee@google.com> Add CallProperties class, and use to on ParcelableCall.

Bug: 17304243
Change-Id: I3ef6862391a9b96c70f4b12412160116e094ed34
elecomm/Call.java
elecomm/CallProperties.java
elecomm/ParcelableCall.java
elecomm/PhoneCapabilities.java
f30d7e9a8e8fa7e10068139decb0e7665381a686 26-Aug-2014 Santos Cordon <santoscordon@google.com> Call onPhoneDestroyed when the service is unbound.

Bug: 17253031
Change-Id: I1a74e0f2fe1ec9172268638dba531c17d22dee99
elecomm/Call.java
elecomm/InCallService.java
elecomm/Phone.java
7746a94fd63a4955de57276301b2cacd333e902c 26-Aug-2014 Jay Shrauner <shrauner@google.com> Fix NPE when have no phone accounts

Return empty List instead of null so calling functions don't throw NPE
when dereferencing return value.

Bug:17282683
Bug:17262485
Change-Id: Ica4952b11a8af28787a4a0b6a991ab888386aa7b
elecomm/RemoteConnection.java
elecomm/TelecommManager.java
b8e85c74e5910a461078704048d67f82b216508c 24-Aug-2014 Ihab Awad <ihab@google.com> Support Conferences in Remote Connections

Bug: 16957997

Change-Id: I598854b43aad2f10b5322439741588f5326b74c2
elecomm/Conference.java
elecomm/ConnectionService.java
elecomm/ParcelableConnection.java
elecomm/RemoteConference.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
e4b1d57dfd89035a67984e1a295d5ef5b97953be 26-Aug-2014 Nancy Chen <nancychen@google.com> Merge "API review PhoneManager -> TelecommManager. Rename methods (6/6)" into lmp-dev
0eb1e402c7e612887e38dc5516f11506b11fd835 22-Aug-2014 Nancy Chen <nancychen@google.com> API review PhoneManager -> TelecommManager. Rename methods (6/6)

PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both

Bug: 16960458

Change-Id: I7d573e27ed093f2ddb7849703cc62f9916835393
elecomm/TelecommManager.java
9edf297055b4fbc5d5f6dacc469fa87fc1cb5370 22-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Hiding missed Video telephony related APIs." into lmp-dev
75537ae00db3e51f5c54a5e1e3664156bbd5dcbd 22-Aug-2014 Tyler Gunn <tgunn@google.com> Hiding missed Video telephony related APIs.

Bug: 17188135
Change-Id: I9b569936bff285463d32df878efb26041917c51b
elecomm/Call.java
elecomm/InCallService.java
705e9879fc295fbb04ac3c1ba98ad37bb852379f 22-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Hiding Video telephony related APIs." into lmp-dev
0159ac0cfe20e8f85ee4150e64d91392850f8a3f 21-Aug-2014 Santos Cordon <santoscordon@google.com> Additional changes for Conference.

1) Connection.setConference() checked to see if the conference was valid
before setting it. This prevented us from populating child connections
on a new conference until it was added. Now we allow it but dont sent
the update unless the conference has already been sent.
2) removed unnecessary ArrayList<>() wrappers on CopyOnWriteLists.
3) Updated disconnect/hold/unhold so that they are sent to Conference
objects as well as Connection objects.
4) Added support for separating a child conference call.
5) Additional Logging

Bug: 15621105
Bug: 17136172
Change-Id: I939c36bc9694b9d81f0ff582e2fbe335006aa485
elecomm/Conference.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
27d1e257f3cba2d5954e5562db69035df9ecf290 22-Aug-2014 Tyler Gunn <tgunn@google.com> Hiding Video telephony related APIs.

Bug: 17188135
Change-Id: I2d4111dbad2430968a458f8f3bf4f2ca1becbbdd
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/RemoteConnection.java
elecomm/TelecommManager.java
elecomm/VideoProfile.java
38dd601d0abd92a9010aa8e894f6490b445f129b 21-Aug-2014 Yorke Lee <yorkelee@google.com> Merge "Make AudioState modes static constants" into lmp-dev
1426048bd37907b5b50401f7242cddacdc3f024a 21-Aug-2014 Yorke Lee <yorkelee@google.com> Make AudioState modes static constants

This enables the ability to use them in switch statements

Bug: 17161247
Change-Id: Iee3da676f2cd52a09d36b58da4ba4640bd8998c5
elecomm/AudioState.java
80030f90b61cc5479382264966bf1b7bf66f10c8 20-Aug-2014 Santos Cordon <santoscordon@google.com> Merge "Made all classes required for an InCallService @SystemApi" into lmp-dev
b95f169a74a18470cbf619264243015052285e9b 19-Aug-2014 Gabriel Peal <gpeal@google.com> Made all classes required for an InCallService @SystemApi

Bug: 17153048
Change-Id: I6b46969e976a47fd814022939a99b823fcb7b2bd
elecomm/Call.java
elecomm/CallState.java
elecomm/InCallService.java
elecomm/Phone.java
163a80538ef98e8e48f5af75db4b6a914862f47e 21-Aug-2014 Sailesh Nepal <sail@google.com> Merge "Clean up and fix bugs in ConnectionService.createConnection" into lmp-dev
cf7020b7e84c1f5190db7167d70cb0675cd3332f 20-Aug-2014 Sailesh Nepal <sail@google.com> Clean up and fix bugs in ConnectionService.createConnection

This CL fixes serveral issues with the createConnection code:
- it uses failureCode/failureMessage which were never set.
Renamed to disconnectCode and disconnectMessage and set
those fields in Connection.setDisconnected
- Connection.CANCELED_CONNECTION was static and it caused
lots of log spew which was confusing. Changed to create
a new connection every time, same as failure
- moved sNullConnection from Connection to ConnectionService
- made FailureSignalingConnection private and removed type
checks for it. Using disconnect code is better, this is
already what ConnectionServiceWrapper does

Note, the current code still expects connections to be cancelled
or failed in synchronously. This bug is being tracked separately.

Bug: 17156304
Change-Id: I0b13a78b738c4bf37a69de9fd5dcd17be0c45c14
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ParcelableConnection.java
9e4329ea0b8b725ca5bcec74032b765d01deaa80 19-Aug-2014 Ihab Awad <ihab@google.com> Merge "ConnectionService API has only one completed callback (1/3)" into lmp-dev
6107bab041fb7d851fbf865b7310d294aae970c8 18-Aug-2014 Ihab Awad <ihab@google.com> ConnectionService API has only one completed callback (1/3)

Refactor ConnectionService API so it has only one "completed"
callback, and connection state and failure codes indicates what
happened. Previous design where we had separate callbacks for failure,
cancellation and success was error prone because it was easy to forget
to implement one of them.

Bug: 16993846
Bug: 17070939

Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/ParcelableConnection.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
50cddeca1f6f66ccc3dbfd526aee621e1b87a516 19-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Exposing in-call API to other implementing classes. (1/4)" into lmp-dev
2ac401093e5ebb975f14e5108d457c148370f7de 19-Aug-2014 Tyler Gunn <tgunn@google.com> Exposing in-call API to other implementing classes. (1/4)

- Adding service_interface constant to InCallService.

Bug: 16133960
Change-Id: I4ace89bc3300428d2c56ed43e47ccd12a9f9748a
elecomm/InCallService.java
7257bd8b517b4e97833319ea8d07daee55e07a81 18-Aug-2014 Sailesh Nepal <sail@google.com> Merge "Make AudioState constructors public" into lmp-dev
823fd3c79dd4f762bbc778e0ce9e2204b6d3d454 08-Aug-2014 Santos Cordon <santoscordon@google.com> Update conference call APIs.

Clean up conference call APIs to use a distinct type separate from
Connection. Also allow the addition of Conference calls at any point
using addConference() API method.

Bug:16844332
Bug:16449372
Change-Id: I34e45fde1aa43559f5f4e29b990929c188b16875
elecomm/Call.java
elecomm/Conference.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/ParcelableConference.aidl
elecomm/ParcelableConference.java
elecomm/RemoteConnectionService.java
1d04c0f394268f6cd1e8e04ce42761c2f379f67f 18-Aug-2014 Sailesh Nepal <sail@google.com> Make AudioState constructors public

This is needed for unit tests.

Bug: 17073934
Change-Id: I04659faa54ba03247519237450b0a26f66958e8c
elecomm/AudioState.java
7d18ceb59f3ba2f975907381c07da62fbdf7b26b 16-Aug-2014 Tyler Gunn <tgunn@google.com> Removing permission check in ConnectionService.

This breaks RemoteConnectionServices, such as hangouts.

Bug: 16171070
Change-Id: I9b53fefe9c3246abb1e9e11109957fb2f8502de8
elecomm/ConnectionService.java
a2897ea9d8d6eb7c1c0aace695ed835da96bb39c 16-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Add BIND_CONNECTION_SERVICE permission." into lmp-dev
0dae9a4cfa9d51cadb0f731b65f742d48e9e893c 16-Aug-2014 Tyler Gunn <tgunn@google.com> Add BIND_CONNECTION_SERVICE permission.

- Added system permission.
- Added enforcement in ConnectionService API class.

Bug: 16171070
Change-Id: Idbd26a31e8f6bb59d3e881a1e5885a44026f2fbd
elecomm/ConnectionService.java
78fc9220d4f99332370c1294dd865703db2f2ae0 16-Aug-2014 Ihab Awad <ihab@google.com> Merge "Fix problems with wiring of initializing calls (1/2)" into lmp-dev
229e3820dce98f64fd4834d5f421faec9a9d7026 15-Aug-2014 Jay Shrauner <shrauner@google.com> Prevent ConcurrentModificationExceptions

Use sets backed by ConcurrentHashMaps instead of HashSets, and
CopyOnWriteArrayLists instead of ArrayLists, to prevent concurrent
exceptions if listeners try to remove themselves in callbacks while
iterating over the listeners.

Bug:16325026
Change-Id: I55e081eda6ba19fa466bbf019c648bbdaf833c33
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionServiceAdapter.java
elecomm/Phone.java
elecomm/RemoteConnection.java
621cd325d57a93a6d0f7afef69e24f6b18bcfb72 14-Aug-2014 Ihab Awad <ihab@google.com> Fix problems with wiring of initializing calls (1/2)

Bug: 16993846
Change-Id: I3ed4dd30559511f51b3650bf99bd704ae73d2165
elecomm/ConnectionService.java
f4669dffd5d604f227ceb74c6ea86ee78a882e73 15-Aug-2014 Sailesh Nepal <sail@google.com> Use thread safe set for RemoteConnection.mListeners

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

(Relanding ag/521178. This got reveretd in ag/520450).

Bug: 16901565
Change-Id: I997898ed94f305d9b8c57eead04e0dfe6c04a884
elecomm/RemoteConnection.java
8b9d3ca94189b183a2380ba5b289d9a06eb0493e 15-Aug-2014 Sailesh Nepal <sail@google.com> Include more state in ParcelableConnection

This fixes a bug where setting status hints wouldn't
work.

Bug: 17044602
Change-Id: Ife85b2d53ead38f54dac350adc09b8c9d052fda4
elecomm/ConnectionService.java
elecomm/ParcelableConnection.java
b19a0bcdd8a5020c61a0d697f600fdc943c86f59 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (1/8)

Bug: 16416927
Bug: 16494880
Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
elecomm/AudioState.aidl
elecomm/AudioState.java
elecomm/Call.java
elecomm/CallAudioState.aidl
elecomm/CallAudioState.java
elecomm/CallCameraCapabilities.aidl
elecomm/CallCameraCapabilities.java
elecomm/CallCapabilities.java
elecomm/CallPropertyPresentation.java
elecomm/CallState.java
elecomm/CameraCapabilities.aidl
elecomm/CameraCapabilities.java
elecomm/Connection.java
elecomm/ConnectionRequest.aidl
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/GatewayInfo.aidl
elecomm/InCallAdapter.java
elecomm/InCallService.java
elecomm/ParcelableCall.aidl
elecomm/ParcelableCall.java
elecomm/ParcelableConnection.aidl
elecomm/ParcelableConnection.java
elecomm/Phone.java
elecomm/PhoneAccount.java
elecomm/PhoneAccountHandle.java
elecomm/PhoneCapabilities.java
elecomm/PropertyPresentation.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
elecomm/Response.java
elecomm/SimpleResponse.java
elecomm/StatusHints.java
elecomm/TelecommManager.java
elecomm/VideoCallImpl.java
elecomm/VideoCallProfile.aidl
elecomm/VideoCallProfile.java
elecomm/VideoProfile.aidl
elecomm/VideoProfile.java
5f52e8ce420d0876198edcfda19f43a0bdc2e484 14-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Add extras for outgoing call" into lmp-dev
10798dcaff8ac060af5956906602c2c24f11aa09 08-Aug-2014 Nancy Chen <nancychen@google.com> Add extras for outgoing call

To be able to pass information from dialer to incallui,
telecomm.Call needs to hold extra information. Add this extra bundle to
the intent.

Bug: 15284651
Change-Id: Ie462c35ece41647c7104c657cc1de947ff284729
elecomm/Call.java
elecomm/ParcelableCall.java
elecomm/TelecommManager.java
03d30a573b8bc8e169e153a0fffa053ffedcd5ee 14-Aug-2014 Alan Viverette <alanv@google.com> Make sure we're obtaining themed drawables correctly

Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
elecomm/PhoneAccount.java
elecomm/StatusHints.java
f20b9166ee247d0a26988f404dd1216cdacc977a 12-Aug-2014 Sailesh Nepal <sail@google.com> Override StatusHints.equals

Bug: 16979621
Change-Id: I858a4718a8815be18214400d3bc1d9054b99434e
elecomm/StatusHints.java
8aecfedb7b5ac1c909a83f97ef8dad7ca4c68d0f 09-Aug-2014 Ihab Awad <ihab@google.com> Fix incorrect connection ID for remote connection service

Also cleans up incidental issues including:
* Remote connection service disconnects from the service it
represents if it is not currently handling any connections;
hope to avert excessive service pinning in the future.
* Fix destroyed connection handling.

Bug: 16828152
Change-Id: Id4555f91ddac5e9c1a12ce00bfd1ee0d6d2cb1d9
elecomm/ConnectionService.java
elecomm/RemoteConnectionService.java
ea201b31a3675306efe3920380a0157bdb7f12fe 10-Aug-2014 Sailesh Nepal <sail@google.com> Merge "Use thread safe set for RemoteConnection.mListeners" into lmp-dev
d5bcb68cb7208ac9766570848c42a6e44e32dc10 10-Aug-2014 Sailesh Nepal <sail@google.com> Use thread safe set for RemoteConnection.mListeners

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

Bug: 16901565
Change-Id: I7666ef61e94994963b2c2634a9a250365e753888
elecomm/RemoteConnection.java
c4d63d705cdaec4688f5617649b283298c6123a6 10-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Adding camera failure/ready session events." into lmp-dev
7edbe283be759139c451acdb81f3f9ce100a9315 09-Aug-2014 Tyler Gunn <tgunn@google.com> Adding camera failure/ready session events.

The VT provider can use these to inform In-Call of a camera failure and
the camera becoming ready again after recovery.

Bug: 16900653
Change-Id: I279176860b30d02f55732b327ac3385eff8d19a8
elecomm/InCallService.java
b0c0e36faf5b4218f290e95584528a41c1f22f21 09-Aug-2014 Jay Shrauner <shrauner@google.com> Use thread safe set for adapter set

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

Bug:16898286
Change-Id: I5d94b403469e98c5f5431fc1d0ad020985100cfd
elecomm/ConnectionServiceAdapter.java
a602082fbd5bf7480015287993cabd049d29e89d 09-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Better comments for the CONNECTING state." into lmp-dev
e9b7a8ed8c6c69f3994d2693b1d202d926e58d2c 08-Aug-2014 Nancy Chen <nancychen@google.com> Better comments for the CONNECTING state.

More readable for developers.

Bug: 16396523
Change-Id: I8db0949fcd62eb4d76db978a1633fbf6004035a6
elecomm/Call.java
elecomm/CallState.java
752217bfc662402cdf13368e4b2a0338e8e0aed8 08-Aug-2014 Andrew Lee <anwlee@google.com> Aidl changes related to VideoCallProvider in Ims.

+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
elecomm/ConnectionService.java
e20930fc565bbe69f1cb300ac4258a5130dd1282 08-Aug-2014 Nancy Chen <nancychen@google.com> Add "CONNECTING" state for before outgoing call broadcast returns

Immediately add a call to Telecomm before the outgoing call broadcast
intent returns, this will reduce the latency for the InCallUI by
allowing the InCallActivity to start before Telecomm has responded.

Bug: 16396523
Change-Id: Iada2a6bdb803794a765b81edb2dfb0953445ae43
elecomm/Call.java
elecomm/CallState.java
8abea424907159dcb0c8d551ccc0bbbec83df806 06-Aug-2014 Santos Cordon <santoscordon@google.com> Remove ldaps from AOSP code.

Bug: 16327484
Change-Id: I1fbeed8e1642e8228310cf0e7b95c4809b50901b
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
1f6bbd292050973aa6e2ac5a1669cd04822e06d1 06-Aug-2014 Andrew Lee <anwlee@google.com> "Implement" formerly abstract methods VideoCallProvider.

Provide null-op methods so there is greater flexibility for classes
which extend this base class, but might not support all its methods.
In the future, if we add more methods to the *.aidl interface, this
class can work with binaries which extend this class but don't
implement all the methods since the superclass now implements those
methods.

Left onSetPreviewSurface and onSetDisplaySurface as abstract.

Bug: 16842159
Change-Id: Ie7fea6ef5d473e3924ef370392f380603a568800
elecomm/ConnectionService.java
7c7bc7f6917484250974c5da00af9ef756844b0a 29-Jul-2014 Santos Cordon <santoscordon@google.com> Add setConferenceable() API from ConnectionService to incall. (1/4)

Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/InCallAdapter.java
elecomm/ParcelableCall.java
elecomm/ParcelableConnection.java
elecomm/Phone.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
5d0410fa7c2dead7906780551ba4aa0305021cef 30-Jul-2014 Ihab Awad <ihab@google.com> Finalize implementation of Remote Connection Service (1/4)

Change-Id: I3788c9ab03a979f22ab628637adf6d520038cb6e
elecomm/Call.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapterServant.java
elecomm/InCallService.java
elecomm/Phone.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
d34e5713c9571859d12e9c2e83ce3946cacdd68e 05-Aug-2014 Santos Cordon <santoscordon@google.com> Revert "Make Connection threadsafe"

This reverts commit 53488bf3d152eb0ecacca5716c763e8cd7ab28ae.

Change-Id: Ia13c510279e600e8bd1445fd63e2cd6503f4077e
elecomm/Connection.java
b09c2b5dadd58492d351ff570a0f3b9ac23af128 01-Aug-2014 Evan Charlton <evanc@google.com> Make Connection threadsafe

Punt all modification calls to the UI thread to avoid concurrency
issues. This also makes all callback events (e.g., onAbort()) be
called on the same thread.

Bug: 16731451
Change-Id: I4dfd7493538724b3249780272411e61d956b146a
elecomm/Connection.java
5d231e134353a7cb07ecc7d6dd1a4ffdcf194bca 27-Jul-2014 Tyler Gunn <tgunn@google.com> Adding video width/height to camera capabilities.

Bug: 16602621
Bug: 16573836
Change-Id: Idaca4b6d889bf7910fcc37bee7ef478e2fbe3af3
elecomm/CallCameraCapabilities.java
f8b69887b438683adee56ad1038d1414cc501ff9 26-Jul-2014 Ihab Awad <ihab@google.com> Connection creation and service wiring for WiFi call managers (1/3)

Bug: 16469413
Change-Id: I019922f76f54d2fa376513a6284d6322959a8235
elecomm/ConnectionService.java
elecomm/PhoneAccount.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
48332d622b138aeb3a198efe29bb3d4705411f62 28-Jul-2014 Andrew Lee <anwlee@google.com> Convert VideoState into an inner class.

- Add helper functions to make it easier to figure out properties of a
particular video state, to make things more convenient.
- Update references and documentation.

Bug: 16629892
Change-Id: I621532e8cab080afd56e5db739b9edbee6261f74
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/TelecommManager.java
elecomm/VideoCallProfile.java
0d6ea71bcfe44ada319ac9387d9ce1b3761eea58 28-Jul-2014 Yorke Lee <yorkelee@google.com> Add new proximity sensors in Telecomm (1/3)

Add the following two APIs in Telecomm and use them in InCallUI
setProximitySensorOn
setProximitySensorOff(boolean turnScreenOnImmediately)

Bug: 16573954
Change-Id: I8219e9c659f4ea4493f5cd5c8bcaa95a98d180e2
elecomm/InCallAdapter.java
elecomm/Phone.java
ed28d406eeb32d71d0314bdac32a61d34a9f127f 29-Jul-2014 Sailesh Nepal <sail@google.com> Merge "Fix WTF when creating a lazily initialized connection" into lmp-dev
b2d41f4c4c4bd94b1eacaa6eae3da16aa5e8903a 29-Jul-2014 Sailesh Nepal <sail@google.com> Fix WTF when creating a lazily initialized connection

Change-Id: I16af7e99d07f83b17f111acbf0a3285d09cee13e
elecomm/Connection.java
4e7ec71e64e6831344529457a25830250ba79385 28-Jul-2014 Sailesh Nepal <sail@google.com> Handle synchronous failed connection

Change-Id: I406ccbdd1f70c85456b6e0d689332cf40a756707
elecomm/ConnectionService.java
14185765213c6ff3ea762053f7bafda3760530d4 25-Jul-2014 Andrew Lee <anwlee@google.com> Move VideoCallProvider into ConnectionService.

Bug: 16494880
Change-Id: I0778197d06fcd219db4a1e1fa065e69026254a99
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/InCallService.java
elecomm/VideoCallImpl.java
elecomm/VideoCallProvider.java
17a3814ac6a47b5c0e06e03bfd697994802b6469 26-Jul-2014 Evan Charlton <evanc@google.com> Merge "Make creating the Connection synchronous" into lmp-dev
bf11f98deb09ef54ff4161fba75d22b1a0a458ee 21-Jul-2014 Evan Charlton <evanc@google.com> Make creating the Connection synchronous

Get rid of CreateConnectionResponse and have the ConnectionService
return the built connection instead.

Change-Id: Ibbf896e5b188b98eb386d6624d3a5d5cacf49922
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0 23-Jul-2014 Andrew Lee <anwlee@google.com> Add VideoCall and VideoCall.Listener as an inner classes of Call.

Bug: 16494880
Bug: 16495203
Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1
elecomm/Call.java
elecomm/CallVideoClient.java
elecomm/CallVideoProvider.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/InCallService.java
elecomm/ParcelableCall.java
elecomm/ParcelableConnection.java
elecomm/RemoteCallVideoClient.java
elecomm/RemoteCallVideoProvider.java
elecomm/RemoteConnectionService.java
elecomm/VideoCallImpl.java
elecomm/VideoCallProvider.java
6c11189beb1373824e7470b9b3f797158f6264eb 25-Jul-2014 Tyler Gunn <tgunn@google.com> Adding missing break statement in VideoCallProvider.

Related to cl/510948

Bug: 16494880
Bug: 16495203
Change-Id: I4de0dccb886efbd119bd75b1285fdc84210c94fb
elecomm/VideoCallProvider.java
6080118bebab2da4bf85778e90ab4bd24c662e95 23-Jul-2014 Nancy Chen <nancychen@google.com> Hide multiple-account information if there is only a single account

Adding an API method to telecomm to determine whether there is a single
account.

Bug: 16483795
Change-Id: If30d3a53458b4c784995f3f9e471c8163a8175a4
elecomm/TelecommManager.java
541a06e7771161302f637660b29ad3e9c870f919 23-Jul-2014 Santos Cordon <santoscordon@google.com> Merge "Change display Strings to CharSequence (1/3)" into lmp-dev
8a57efb7eb627c20bc43a8007a95652247720118 22-Jul-2014 Andrew Lee <anwlee@google.com> Don't throw RemoteException in public RemoteCallVideoClient APIs.

- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Iaa049cab9e24120d3ea732e1ede78cc6fcd0ad71
elecomm/RemoteCallVideoClient.java
1995a6b58bd34f785367519c5c1d18b400b630ad 23-Jul-2014 Andrew Lee <anwlee@google.com> Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."

This reverts commit 080b1f58eb877e1ac375768c6f951cc61a3cdbae.

Change-Id: I0dc963b3f4efe1479a7a94b8d851b89d15480d17
elecomm/RemoteCallVideoClient.java
a93e06bd64602f58d41fa98d7aff151493553b57 22-Jul-2014 Andrew Lee <anwlee@google.com> Don't throw RemoteException in public RemoteCallVideoClient APIs.

- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Id666818b868c61f17b0701e4590d4e36f12c7b01
elecomm/RemoteCallVideoClient.java
146a3e36652a1dde44696ad5b7ceb0f8e30d5696 21-Jul-2014 Santos Cordon <santoscordon@google.com> Change display Strings to CharSequence (1/3)

Bug: 16416927
Change-Id: Id8b6e5029a8a1f61bbbf71661abe4d487c01002a
elecomm/PhoneAccount.java
elecomm/StatusHints.java
3818a89220d3604fd92367f500e9d04d86781516 22-Jul-2014 Yorke Lee <yorkelee@google.com> Expose call settings as public API (1/3)

Other settings activities like wifi settings, mobile network settings
etc are all accessible by third party apps via public intents, so
make CallFeaturesSettings similarly available.
Bug: 16298644
Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
elecomm/TelecommManager.java
faa0f30a58d897cd5fdaba698793e1684da06d50 21-Jul-2014 Andrew Lee <anwlee@google.com> Merge "Add video call profile constructor which takes video state only." into lmp-dev
e8dc4bef00e391defbdee0264b2ed955b1117841 21-Jul-2014 Santos Cordon <santoscordon@google.com> Sent initial data to telecomm on connection creation. (1/3)

Telecomm was not sending the initial state for new connections forcing
the connection services to postpone when they set data on the connection
which resulted in hacky code. This CL makes use of a
ParcelableConnection to send the intial connection data.

Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/ParcelableConnection.aidl
elecomm/ParcelableConnection.java
elecomm/PhoneAccount.java
elecomm/RemoteConnectionService.java
055e5a227bf9924fb8278e14ffc08a4054ba8f95 21-Jul-2014 Andrew Lee <anwlee@google.com> Add video call profile constructor which takes video state only.

Bug: 16014280
Change-Id: I218256ae1e20783084412758cf5a44f7f5dec52e
elecomm/VideoCallProfile.java
054c6d965f266c1bba3609dac70521379687dd28 19-Jul-2014 Andrew Lee <anwlee@google.com> Catch RemoteException when setting the camera or zoom.

Bug: 16014280
Change-Id: I7542a0f294929fac589260ab596730d89948c89e
elecomm/RemoteCallVideoProvider.java
d1c344e412ba927db0276d37f7a42362aa2966b0 21-Jul-2014 Santos Cordon <santoscordon@google.com> Revert "Change display Strings to CharSequence (1/2)"

This reverts commit b5e0084414258ff294e7d94bcf9f8492f8ab2d25.

Change-Id: I095483414f5e0076c0967b6f1955a0fe71f2b8d9
elecomm/PhoneAccount.java
elecomm/StatusHints.java
9cc383353e5b8ea578e2a40245b8bd5186470afa 21-Jul-2014 Santos Cordon <santoscordon@google.com> Change display Strings to CharSequence (1/2)

Bug: 16416927
Change-Id: I81cd3572f3931cd97611621a1db12bea165bda56
elecomm/PhoneAccount.java
elecomm/StatusHints.java
f29511043e1c3bf750e28427410192c793363bf7 21-Jul-2014 Santos Cordon <santoscordon@google.com> Change telecomm APIs from protected to public (1/3)

Bug: 16416927
Change-Id: I859c80a120fa59bba12a5c6bfca17fa57613a6aa
elecomm/CallVideoClient.java
elecomm/CallVideoProvider.java
elecomm/Connection.java
elecomm/ConnectionService.java
5c6fa95e378f54b3b144614110584dc79822f004 21-Jul-2014 Santos Cordon <santoscordon@google.com> Move ACTION_CONNECTION_SERVICE into ConnectionService. (1/3)

Bug: 16416927
Change-Id: If2d1c19134d2245677f7e0b3d94b118d9b50e751
elecomm/ConnectionService.java
elecomm/TelecommManager.java
a37cb8b6e3b48784e460d5d30bc3d827e3b4cafc 21-Jul-2014 Evan Charlton <evanc@google.com> Merge "@hide CAPABILITY_CALL_PROVIDER" into lmp-dev
7800fb7518df2c9e5f6b1d3341d26bf5bc678c3c 21-Jul-2014 Evan Charlton <evanc@google.com> @hide CAPABILITY_CALL_PROVIDER

Until this API is fleshed out, leave ourselves room to tweak it.

Change-Id: Iddedb629d6fa02a56cd2041686dbe54ea5e4793b
elecomm/PhoneAccount.java
88b771d8cd3f1e5748078c02f3ab571831ace72f 19-Jul-2014 Santos Cordon <santoscordon@google.com> Rename InCallCall to ParcelableCall (1/2)

Bug: 16416927
Change-Id: Iae97d83ce74b4395d6877cc167d7e5057dac201b
elecomm/Call.java
elecomm/InCallCall.aidl
elecomm/InCallCall.java
elecomm/InCallService.java
elecomm/ParcelableCall.aidl
elecomm/ParcelableCall.java
elecomm/Phone.java
2c4b812a29b7ee38818641f6caa0d76afe606fc1 21-Jul-2014 Evan Charlton <evanc@google.com> Merge "Rename setDestroy() to destroy()" into lmp-dev
36a713431ceda2e5462c5dc5d1300f32acf9e63a 20-Jul-2014 Evan Charlton <evanc@google.com> Rename setDestroy() to destroy()

Change-Id: I6bb46e679f55547b902d5850ab450e5d3818fa63
elecomm/Connection.java
96efb488affcb89dafe83dfa5f5addb378c2102e 19-Jul-2014 Santos Cordon <santoscordon@google.com> Change incoming call intent to a TelecommManager method. (1/3)

Also moves a few constants from TelecommConstants to TelecommManager.
Bug:16416927

Change-Id: I8e74feb228523ed1c186b2f06784d04cb9141f86
elecomm/TelecommManager.java
8c8a062f521d39ceecc99e8fc6cef9c60b773da5 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccountMetadata to PhoneAccount

Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
elecomm/Call.java
elecomm/CallState.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
elecomm/PhoneAccount.aidl
elecomm/PhoneAccount.java
elecomm/PhoneAccountMetadata.aidl
elecomm/PhoneAccountMetadata.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/TelecommManager.java
6eb262c3515c927df19340b3eee8c74bc9478d16 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccount to PhoneAccountHandle

Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
elecomm/Call.java
elecomm/CallState.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
elecomm/PhoneAccount.aidl
elecomm/PhoneAccount.java
elecomm/PhoneAccountHandle.aidl
elecomm/PhoneAccountHandle.java
elecomm/PhoneAccountMetadata.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/TelecommManager.java
1019719e46a0847a36fdada2fcd7bb32f0c25c2e 20-Jul-2014 Evan Charlton <evanc@google.com> Migrate TelecommConstants to TelecommManager

Change-Id: Icdd7637ba1ae27ce7d1f13714257b4a946961037
elecomm/Call.java
elecomm/InCallAdapter.java
elecomm/TelecommConstants.java
elecomm/TelecommManager.java
222db525ed2642caa87cadcb48c4078ce6339b34 18-Jul-2014 Evan Charlton <evanc@google.com> Add a notion of the subscription number

Expose the actual subscription number so that it can be exposed when
necessary (such as during emergency calls, when it doesn't match the
line 1 number).

Bug: 13333595
Change-Id: I0d3b2cfcea08aeba760c392c116303f21beb70d3
elecomm/PhoneAccount.java
elecomm/PhoneAccountMetadata.java
elecomm/TelecommConstants.java
2f42b11d40c631c471e03dc35f94ab32af45a9ac 19-Jul-2014 Santos Cordon <santoscordon@google.com> InCallService to inherit directly from Service. (1/2)

Bug: 16416927
Change-Id: I31584556c79e49132c628a0f8f25c372eb4e9b3c
elecomm/InCallService.java
6b45642f360ba30e5c70ab084b888738f6de0dcd 18-Jul-2014 Santos Cordon <santoscordon@google.com> Fixing ADD_CALL (1/3)

Bug: 16241726
Change-Id: Ie1dd72a79c2430b10b0239dbdda5508edbc8eb26
elecomm/ConnectionService.java
7522bbd652c35d31793f61644f9649ec67da6b3d 19-Jul-2014 Ihab Awad <ihab@google.com> Fix incomplete move of flags from PhoneAccount to PhoneAccountMetadata

Change-Id: I91c0d6be76030117ed3cf6d6d5f7514b4d4802ad
elecomm/PhoneAccount.java
elecomm/PhoneAccountMetadata.java
2ab88cc313fc4af7fb9436e236cd3a5d1ac58478 18-Jul-2014 Sailesh Nepal <sail@google.com> Add Connection.startActivityFromInCall

This CL adds a new public API to allow Connections
to start an activity on top of the in-call UI.

The Connection passes a PendingIntent to Telecomm which
then forwards it on to InCallUI. The Connection can cancel
the operation by calling PendingIntent.cancel().

This allows services like SIP and Hangouts to show dialogs
to the user when making a call.

Change-Id: I65119a89c925a93467d1b27304ffec9b088b172f
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/InCallService.java
elecomm/Phone.java
elecomm/RemoteCallVideoClient.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
480315939d4a321992e0288d19797f30e4561e62 18-Jul-2014 Sailesh Nepal <sail@google.com> Use main thread for RemoteConnection callbacks

Currently call backs from RemoteConnection can happen
on non-main threads. This CL updates the code to always
use the main thread.

Change-Id: I134c0fbdba1f916f49676c0c6696ac63bcb7c513
elecomm/RemoteConnectionService.java
ba051aa6f8b32fd6527fc88d8848cd651b1e83ae 18-Jul-2014 Andrew Lee <anwlee@google.com> Merge "Add comments for RemoteCallVideoClient and RemoteCallVideoProvider." into lmp-dev
dd1b0e787450bb72f4c5de0041fefd49e2956e6d 18-Jul-2014 Andrew Lee <anwlee@google.com> Add comments for RemoteCallVideoClient and RemoteCallVideoProvider.

Change-Id: I521be8fd0e898c78864dab62593d26806eb11fec
elecomm/RemoteCallVideoClient.java
elecomm/RemoteCallVideoProvider.java
94cf4bff1345f9f7ec981d0bf7f8988f3d93c7a8 17-Jul-2014 Ihab Awad <ihab@google.com> Wire up multi-SIM experience (1/4)

Change-Id: Ib63843267f06b329a675e7ea86167b2cbb554f1b
elecomm/PhoneAccount.java
elecomm/PhoneAccountMetadata.java
elecomm/RemoteConnectionService.java
elecomm/TelecommManager.java
aa07df84f279a87ad6370758c9d792a660f2cebb 17-Jul-2014 Tyler Gunn <tgunn@google.com> Wiring video state through from Connection

Bug: 16285417
Bug: 16013178
Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/PhoneAccountMetadata.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
e7a7ec6db5b46fa16b18650d1b68792ccd5bd428 17-Jul-2014 Andrew Lee <anwlee@google.com> Merge "Pass through video state when answering a call." into lmp-dev
8da4c3c11faf066b2b04ba853f03be6f1c4af5d8 16-Jul-2014 Andrew Lee <anwlee@google.com> Pass through video state when answering a call.

Bug: 16013878
Bug: 16015750
Change-Id: Ia9ba6e5f78fcb64e1089db99f5ce11d0ef858ac9
elecomm/Call.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/RemoteConnection.java
5b49adea48b56f046125787ed4ff4cec02b4c285 16-Jul-2014 Evan Charlton <evanc@google.com> Plumb through StatusHints change notifications

When StatusHints are modified, inform listeners. Also expose two
constants for passing optional strings from the CallService to
the in-call UI.

Bug: 13334257
Bug: 13334252

Change-Id: If7fde7c1ca6940cec8b7232469a22900c36dbb17
elecomm/Call.java
elecomm/InCallService.java
elecomm/TelecommConstants.java
5da0fd5e76794d415a9cfa501194980d5679eff6 08-Jul-2014 Nancy Chen <nancychen@google.com> API changes to enable account selection for a call

If an account default is not set, the incall ui will display a dialog to
allow the user to select an account for that particular call.

Bug: 16243703

Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094
elecomm/Call.java
elecomm/CallState.java
elecomm/InCallAdapter.java
98b270309a342be0971320c5731f495a901ca4e4 14-Jul-2014 Santos Cordon <santoscordon@google.com> Add toString & equals helper methods to PhoneAccount.java

Bug: 16292368
Change-Id: I5dd2bcd2d65e856107ac2f80958e8b408abcec0b
elecomm/PhoneAccount.java
001bbbb239d4ef1005a87039c7c53e26d8f13ad6 15-Jul-2014 Sailesh Nepal <sail@google.com> TTY: frameworks/base changes

This CL makes the following changes:
1. New public APIs:
- TelecommManager.getCurrentTtyMode: This is used to
get current TTY mode. It's used by Telephony to set
the phone state before calls are created (which is why
it can't be a Conneciton API).
- TelecommConstants.TTY_MODE_*: These are constants
copied from Phone.java
- TelecommConstants.ACTION_CURRENT_TTY_MODE_CHANGED: This
action is fired when the current TTY mode changes.
Apps can listen to this before and during a call.
The old version of this was in TtyIntent.java which
I deleted.

2. New private API
- TelecommManager.isTtySupported: This is used by
Telephony to hide the TTY settings on devices
that don't support TTY

3. Various updates to use the constants renamed in this CL

Change-Id: I652b095af30cc2732a06829dc23492e5355660da
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/TelecommConstants.java
elecomm/TelecommManager.java
7a3413858679489bbb1d042fdd11b07d671f5fb8 16-Jul-2014 Andrew Lee <anwlee@google.com> Adding getVideoState method to Telecomm Call's details.

Bug: 16013878
Change-Id: I07b219c0952543b7c27694ae06f0eb468a17f1ee
elecomm/Call.java
85f5d4263dcc31a9d6da46d774081a639b34e553 12-Jul-2014 Andrew Lee <anwlee@google.com> Add VideoState member variable to InCallCall.

Bug: 16015750
Change-Id: Idee72075e992a94423a3ca7882959fbde03c4434
elecomm/Call.java
elecomm/InCallCall.java
c5b01573a0918db20af1a827d1bbec9d2e57d069 15-Jul-2014 Sailesh Nepal <sail@google.com> Add support for remote incoming calls

This CL allows a incoming call to be handled through the
remote connection API.

All calls, incoming and outgoing, are now routed through
ConnectionService.createConnection.

Change-Id: I5232d062ad3b559f4fe7c8224e7234b2c6bf8431
elecomm/CallPropertyPresentation.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
77ec2ceac689d80c8e645da4a83f0e5af8077cbc 15-Jul-2014 Sailesh Nepal <sail@google.com> Merge "Remove CallServiceProvider and CallServiceDescriptor do not merge" into lmp-dev
864a2b291be09e3d260cd9e9d8fab37504188e5b 14-Jul-2014 Sailesh Nepal <sail@google.com> Remove CallServiceProvider and CallServiceDescriptor do not merge

This CL removes CallServiceProvider. Instead of using a
provider we'll look up ConnectionServices using the package
manager instead.

This CL also removes CallServiceDescriptor. For incoming calls,
connection services will now pass a PhoneAccount instead
of a call descriptor. For outgoing calls we already use
PhoneAccounts for everything.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)
elecomm/CallServiceDescriptor.aidl
elecomm/CallServiceDescriptor.java
elecomm/CallServiceLookupResponse.java
elecomm/CallServiceProvider.java
elecomm/InCallCall.java
elecomm/TelecommConstants.java
a5a2cf419d72b28d0ce3948199d6f6874d6dbf9b 15-Jul-2014 Santos Cordon <santoscordon@google.com> Merge "Implement multi-SIM capabilities (1/6) [DO NOT MERGE]" into lmp-dev
e63fadb109ce52f9c357520074379aca0e3cb11d 10-Jul-2014 Ihab Awad <ihab@google.com> Introduce new In-Call Service interface

Change-Id: I2dd8494f6e397c49180b19d1347c62edcae9b4e7
(cherry picked from commit e225fecca486858e8195eaf09d172a70fe7d632b)
elecomm/Call.java
elecomm/CallState.java
elecomm/CallVideoClient.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
elecomm/Phone.java
elecomm/RemoteCallVideoProvider.java
807fe0a19a710ae4e053e80f610807ff5718f1a1 09-Jul-2014 Ihab Awad <ihab@google.com> Implement multi-SIM capabilities (1/6) [DO NOT MERGE]

- Split PhoneAccount into PhoneAccount & PhoneAccountMetadata
- Move PhoneAccount methods from TelephonyManager to TelecommManager

Bug:16292368
Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9
(cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
elecomm/PhoneAccount.java
elecomm/PhoneAccountMetadata.aidl
elecomm/PhoneAccountMetadata.java
elecomm/RemoteConnectionService.java
elecomm/TelecommManager.java
3f9558da10cec9fc8e71002c8e8f5b45b0d7b9f7 12-Jul-2014 Evan Charlton <evanc@google.com> Add Intent to configure ConnectionService

Change-Id: I187cb48f5b763fadeb5346fca34b0dc4ae7e4d43
elecomm/TelecommConstants.java
612038642fa9cf1545dbcc8274d313192ce928b5 11-Jul-2014 Sailesh Nepal <sail@google.com> Misc Telecomm API changes

The CL contains the following Telecomm API changes:
- move CallFeatures into CallCapabilities
- add Connection.setHandle(URI, CallPropertyPresentation)
- add Connection.setCallerDisplayName(String,
CallPropertyPresentation)
- add Connection.swapWithBackground: this is used to swap a
CDMA call with its background call
- add StatusHints.getExtras: this is used to display
additional status info such as long distance rates
This CL also includes InCallServcie, and RemoteConnection
plumbing for the above.

Change-Id: Iaffe0b84cea6003f2a9b9d8b30676743d2b236d4
elecomm/CallCapabilities.java
elecomm/CallFeatures.java
elecomm/CallNumberPresentation.java
elecomm/CallPropertyPresentation.java
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
elecomm/StatusHints.java
4dd9df58a6bf662264f0aebddfb14b850358f9b9 11-Jul-2014 Sailesh Nepal <sail@google.com> Fix exception in ConnectionServiceAdapter.binderDied

Bug: 16215975

Change-Id: I49e7c77c01f306995bb743523436c7620c48a568
elecomm/ConnectionServiceAdapter.java
2db72ad45b0c4d91f0d009c6d98eb7fb5231e1d9 10-Jul-2014 Tyler Gunn <tgunn@google.com> Adding call capabilities to indicate whether call supports VT.

Bug: 16213105
Change-Id: Icb05d3f0f6bd90b2c45bdfb7b199f38aaecc16ca
elecomm/CallCapabilities.java
a27a1938ab27aeb17144867b231f830622fa6ad4 10-Jul-2014 Andrew Lee <anwlee@google.com> Set the call video provider again after listeners are added.

Bug: 16043064
Change-Id: I97fecd71fbf2f27721e80fd6ba58c408884472e7
elecomm/Connection.java
elecomm/ConnectionService.java
1a7061ba950538c93d92c0448752a212039cc06a 10-Jul-2014 Sailesh Nepal <sail@google.com> Add Connection.setCallCapabilities

This will be used to enable things like hold and
conferencing.

Change-Id: I90238eeefbcbfaa044881d80833b62e4474821d6
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
e7ef59a77d55c9802cc7d919f7dd794bd5fea30e 09-Jul-2014 Sailesh Nepal <sail@google.com> Add Connection.setStatusHints

This CL allows a connection to specify a status hint. The hint
contains a label and icon that can be displayed in the InCallUI.
For example, wifi calling can set a wifi icon and ssid.

Change-Id: I125628b74784d2303b9a429038a9f7ee604f241e
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/InCallCall.java
elecomm/PhoneAccount.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
elecomm/StatusHints.aidl
elecomm/StatusHints.java
24ae29623faf46a22f0f4e849d45d6b1933fd194 09-Jul-2014 Sailesh Nepal <sail@google.com> Merge "Add Connection.setAudioModeIsVoip"
33aaae4a07fdcce223fe74d96d751f4bffa6723a 08-Jul-2014 Sailesh Nepal <sail@google.com> Add Connection.setAudioModeIsVoip

This API will be used by Telecomm to set the call's audio mode.

Change-Id: I29028e614c598d1f2501c4dfdcdbfc929b09f925
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionService.java
12013ad193135a07b9b8e8656391acff5f971a90 08-Jul-2014 Tyler Gunn <tgunn@google.com> Adding "start call with video" extra for ACTION_CALL intent.

- Added extra.
- Updated Call, CallInfo, ConnectionRequest to pass extra.

Bug: 16014224
Change-Id: I8b390f4d416c71bb6139d299b746fc06d5f8e6a5
elecomm/ConnectionRequest.java
elecomm/RemoteConnectionService.java
elecomm/TelecommConstants.java
dcaa5d6d09150b24aacf677c8a57fc34b6b63157 08-Jul-2014 Ihab Awad <ihab@google.com> Fix short description and name values for PhoneAccount.

Change-Id: If8effee1d1dc0b40cf59dd69fb3141e9d3a202a6
elecomm/PhoneAccount.java
b99e0e20ad6040bffd992307de24c8b051ba5e60 08-Jul-2014 Sailesh Nepal <sail@google.com> Remove unused ConnectionRequest constructor

Change-Id: If1e19c8632f957155018e01a6aa3181cd9125322
elecomm/ConnectionRequest.java
2a46b90222e5c9c73de012382a604a71f9c0c30c 05-Jul-2014 Sailesh Nepal <sail@google.com> Move ICallService.aidl to IConnectionService.aidl

Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
elecomm/CallInfo.aidl
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/CallServiceDescriptor.java
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/ConnectionServiceAdapter.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/TelecommConstants.java
2bed9563edbec63ad41e2cd5fccc205d5b0891e5 03-Jul-2014 Sailesh Nepal <sail@google.com> Remove handoff APIs

This CL removes the old handoff APIs and renames
handoffCall() to phoneAccountClicked().

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
elecomm/CallCapabilities.java
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
elecomm/RemoteConnectionService.java
elecomm/TelecommConstants.java
d0154927a8dc1b6262aba5e46f72f55894c3e460 03-Jul-2014 Tyler Gunn <tgunn@google.com> Adding "start call with video" extra for ACTION_CALL intent.

Bug: 16014224
Change-Id: I6240b50383de60fbe9038b247856227c6c278b85
elecomm/TelecommConstants.java
ad4cc9ba380b1c76eff4e63bae53cbb12a3121c1 02-Jul-2014 Ihab Awad <ihab@google.com> Merge "Rename Telecomm "Subscription" to "Account" (1/7)"
9c3f18846aaa9340cc222f825c9c32ec42f9d0c9 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (1/7)

Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
telecomm/java/android/telecomm/InCallCall.java
elecomm/CallInfo.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/InCallCall.java
elecomm/PhoneAccount.aidl
elecomm/PhoneAccount.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/Subscription.aidl
elecomm/Subscription.java
f90186d93effe424128bc0e39699ab05f80d025b 01-Jul-2014 Santos Cordon <santoscordon@google.com> Add PhoneManager to expose functionality to phone/dialer apps.

Eventually, this will house the TelecommManager methods.

Change-Id: Id8b08d88a06a7b4e90a4a7f702ba56526e108ca5
elecomm/TelecommManager.java
ade3f25a488fc3c1243db8c88554771e571beeb1 02-Jul-2014 Sailesh Nepal <sail@google.com> Make RemoteConnection.getState public

Change-Id: Iead485345d01d47e346da014fdb9979def25c372
elecomm/RemoteConnection.java
b8f4db89e69948ca131d2403f556715b61f67f75 02-Jul-2014 Andrew Lee <anwlee@google.com> Use proper name for method for setting paused image.

Change-Id: Ifc3ada4d3b88ae325c2e4edc0c0bdd1b9f836995
elecomm/RemoteCallVideoProvider.java
9d9f70329942569013d9f121e138f3fcc57f19f8 01-Jul-2014 Tyler Gunn <tgunn@google.com> Merge "API support for reporting of changes to call features. (eg VoLTE, VoWIFI, etc)"
8d83fa9bbd2ad15299a4419241eb10404e7839be 01-Jul-2014 Tyler Gunn <tgunn@google.com> API support for reporting of changes to call features.
(eg VoLTE, VoWIFI, etc)

Bug: 15987281
Change-Id: Iae351ca2fe7b36c067106695f611cca6b3230556
elecomm/CallFeatures.java
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallCall.java
elecomm/RemoteConnectionService.java
a5736291bd5e1b953beabff8aadc6be2fc7a6f6d 30-Jun-2014 Andrew Lee <anwlee@google.com> Add function set CallVideoClient on the CallVideoProvider.

- Added implementation of RemoteCallVideoClient.
- Filled out the proxy methods on RemoteCallVideoProvider.
- Renamed methods on CallVideoClient/CallVideoProvider. Per Santos's
advice, this is to distinguish between the methods handling remote
communication, and the actual implementation of those methods.

Bug: 15893156
Change-Id: I5f433db1faa820dc96913091ce09938ddf40ffdd
elecomm/CallVideoClient.java
elecomm/CallVideoProvider.java
elecomm/RemoteCallVideoClient.java
elecomm/RemoteCallVideoProvider.java
e19a4fe32fd87a6c819f15155bb43d9fbe67607a 01-Jul-2014 Santos Cordon <santoscordon@google.com> Merge "Move call-related SystemAPIs to TelecommManager. (1/3)"
9eb45934c582a0bf5060125690de8bce4f10ca76 27-Jun-2014 Santos Cordon <santoscordon@google.com> Move call-related SystemAPIs to TelecommManager. (1/3)

Bug: 15672803
Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
elecomm/TelecommManager.java
091768c3021d740b7d66846d36405c4d4c76cc56 01-Jul-2014 Sailesh Nepal <sail@google.com> More fixes for Connection and RemoteConnection

Various clean ups and fixes:
- allow remote connection to have audio set
- allow remote connection to have abort
- move onPostDialWait from ConnectionService to Connection
- hide APIs we don't need

Change-Id: Ib2d0b40f2e9e7a6b5fbf5d6db48b509b7db3c906
elecomm/CallService.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
807de8aa763a5ba459ab87b6e0b61c3a025c1ebe 30-Jun-2014 Tyler Gunn <tgunn@google.com> Fixing crash in phone app due to missing null checks pertaining to
CallVideoProvider.

Change-Id: Ifd5a558a2b36e0cb656c9a57f64ae0744425a3ef
elecomm/InCallCall.java
elecomm/RemoteCallVideoProvider.java
bd7c5908edc8b914318be8a2f96ed534afc57fa7 30-Jun-2014 Andrew Lee <anwlee@google.com> Merge "Add ICallVideoProvider binder to the InCallCall object."
5dc3075cfca63aa1f9215e49156e2af12183d07d 28-Jun-2014 Andrew Lee <anwlee@google.com> Add ICallVideoProvider binder to the InCallCall object.

Bug: 15893156
Change-Id: I450d50c53e0e77944717d1fd8e7b246c3c4bf3b1
elecomm/CallVideoProviderWrapper.java
elecomm/InCallCall.java
elecomm/RemoteCallVideoProvider.java
bff4131d404a99b54ad2b8f4b4abba7c991dd27b 30-Jun-2014 Tyler Gunn <tgunn@google.com> Added API methods for the CallVideoProvider.
Cleaned up comments in CallVideoClient to match.

Bug: 15893156
Change-Id: I9b1268726e64c2b73441272dae8d6a719a32fa16
elecomm/CallVideoClient.java
elecomm/CallVideoProvider.java
5ffbfccea007e6aebc9ba53b3666664d08a666b4 25-Jun-2014 Nancy Chen <nancychen@google.com> Add Subscription field to Call-related framework objects

Getter and setter methods for framework objects that will need to pass
subscription information between activities.

Bug: 15473965

Change-Id: If1e33fd1fe13262954572558580cdcda73795dc0
elecomm/CallInfo.java
elecomm/InCallCall.java
4ea10b0cbaed76bbaf0e1de04b8e53cd307e78f2 28-Jun-2014 Andrew Lee <anwlee@google.com> Merge "Add methods to set a CallVideoProvider on a Call."
5ffbe8b850c2703b64617f0140d051a5412dd861 21-Jun-2014 Andrew Lee <anwlee@google.com> Add methods to set a CallVideoProvider on a Call.

Bug: 15893156
Change-Id: I6ae151bc37d8c0be2e4c9823e9444717b6cdc0de
elecomm/CallServiceAdapter.java
elecomm/CallVideoProvider.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/RemoteConnectionService.java
7c668b921b62e07833c2b8384b33e6ab9c5a0929 27-Jun-2014 Tyler Gunn <tgunn@google.com> Adding CallVideoClient, used to provide a callback mechanism for the
framework to notify the InCallUI of events related to video calls.

Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
elecomm/CallCameraCapabilities.aidl
elecomm/CallCameraCapabilities.java
elecomm/CallVideoClient.java
elecomm/VideoCallProfile.aidl
elecomm/VideoCallProfile.java
f759b5bb0bd41fc33df8b43ee9608fd421792353 27-Jun-2014 Andrew Lee <anwlee@google.com> Add wrapper to provide method calls for binder to InCallUI.

Bug: 15893156
Change-Id: I6b12c0e8c915e184bb469b5934865242f9fde00d
elecomm/CallVideoProviderWrapper.java
400cc48512dc69e940ad4d233a3b47ee9574601d 26-Jun-2014 Sailesh Nepal <sail@google.com> Clean up Connection API

Made all the on* methods overridable. Made the remaining final.

Made getState public.

Change-Id: I715539599ac8826e5155852dd8ec56c35e4b89f1
elecomm/Connection.java
b32d9e53c2fa938498268649f4539f345680dd7d 26-Jun-2014 Sailesh Nepal <sail@google.com> Merge "Add API to cancel outgoing calls"
506e38690fe5e3b627e243fdc20948c514b87680 25-Jun-2014 Sailesh Nepal <sail@google.com> Add API to cancel outgoing calls

This replaces CallServiceSelectorAdapter.cancelOutgoingCall

Change-Id: I9e5da9c607675bc3c230f6eb6d1cc149a38bf905
elecomm/CallServiceAdapter.java
elecomm/ConnectionService.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
52d8a15e146e682319380322f94ceb6d93fa1a97 18-Jun-2014 Santos Cordon <santoscordon@google.com> Remote Connection implementation.

API classes for daisy-chaining connection services.

Change-Id: I90991697456377b72ec73d2ef835864cb0b7737a
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/RemoteConnection.java
elecomm/RemoteConnectionManager.java
elecomm/RemoteConnectionService.java
elecomm/SimpleResponse.java
779b3f04d857586add42920d6cfeff7ea5168c16 26-Jun-2014 Santos Cordon <santoscordon@google.com> Merge "Add a system API to get the default phone app."
6c7a38817c46e35277599ebb4aa4c73b14a18cff 26-Jun-2014 Santos Cordon <santoscordon@google.com> Add a system API to get the default phone app.

Change-Id: I59ca863d2af43a3b3c26d18b0279fc6e1e13b9b1
elecomm/TelecommManager.java
0b16d7d807b213047bb018d565de8190a7362451 25-Jun-2014 Andrew Lee <anwlee@google.com> Merge "Adding CallVideoProvider to Telecomm."
13d11c3065c9e430ea3c5edef930f50047131446 21-Jun-2014 Andrew Lee <anwlee@google.com> Adding CallVideoProvider to Telecomm.

Change-Id: I16c3c64ff2bcda46e0fd95accb360c972f964b9d
elecomm/CallVideoProvider.java
52a28f619fca8c2118e1f421cb56f6542805e954 18-Jun-2014 Ihab Awad <ihab@google.com> Replace CallServiceSelectors with Subscriptions (1/3)

Remove CallServiceSelectors and replace them with comprehensive
support for Subscriptions as the means of selecting ways of making
phone calls. After this change, a ConnectionService is not a
semantically meaningful "way of making a call" -- it's more like the
mechanism whereby the Android system communicates with a 3rd party
process to ask for phone services. We anticipate each process having
only one ConnectionService.

Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/CallServiceSelector.java
elecomm/CallServiceSelectorAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallService.java
elecomm/TelecommConstants.java
cf9bc5e76d5ecb7e7b8ab3239035217dd93ddc8c 20-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "Add ability to set and get DefaultPhoneApplication"

This reverts commit 8bdb1ff3279ab9fde0499231580c76dc2533f3c4.

Change-Id: Idc6d64820c23a650e5f0113ed8ff0860c61ea6af
elecomm/PhoneApplication.java
elecomm/TelecommConstants.java
eff9661b2a6ca3e80b7fa8be7915b661ace15069 20-Jun-2014 Yorke Lee <yorkelee@google.com> Merge "Revert "Add getSystemPhoneApplication to TelecommManager""
5e0f061c0fc32c27cf107041c222c6eb9e3a65ab 20-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "Add getSystemPhoneApplication to TelecommManager"

This reverts commit 8200c05dcf206f2621fc8017235c739b66d57e8b.

Change-Id: I6536627491830804ddedac0287fa0bcdf014280c
elecomm/TelecommManager.java
8b74c4f67ec389f845057dd5b839428c897a667b 18-Jun-2014 Yorke Lee <yorkelee@google.com> Add getSystemPhoneApplication to TelecommManager

Change-Id: Ie67698e8363d1498b37692dc7be23b14a0d8c388
elecomm/TelecommManager.java
028d64f9ab1b5d03c71780c737d10c4643bb0b1f 19-Jun-2014 Yorke Lee <yorkelee@google.com> Merge "Add getSystemPhoneApplication to TelecommManager"
87161a76677dfd35abf6940f0daf16b9a9f77293 18-Jun-2014 Ihab Awad <ihab@google.com> Merge "Add methods to TelephonyManager for Subscription management (1/3)"
c35ad0252d1ad9ae50e2dadd670783d4a6259df6 13-Jun-2014 Ihab Awad <ihab@google.com> Add methods to TelephonyManager for Subscription management (1/3)

As part of the effort to permit third-party suppliers of telephone
connectivity, we permit clients of TelephonyManager to obtain the
currently valid Subscription objects describing these suppliers. The
Subscriptions are intended to be self-describing such that an end-user
can choose from among them based on the information they contain. One
of these objects may then be attached to an ACTION_DIAL or ACTION_CALL
Intent to represent the end-user's choice of how to make a call.

Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff

Conflicts:
telephony/java/com/android/internal/telephony/ITelephony.aidl

Conflicts:
telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
elecomm/ConnectionService.java
elecomm/Subscription.aidl
elecomm/Subscription.java
0f0bcb5ac5c7315479f370084aeff35deed8dbd7 12-Jun-2014 Sai Cheemalapati <saicheems@google.com> Adds speakerphone extra to ACTION_DIAL (2/2).

If optional extra EXTRA_SPEAKERPHONE_ON is added
to an ACTION_DIAL intent, the speakerphone will turn
on automatically once the call is connected.

Bug: 6810980

Change-Id: Ie4e1c5b413e72f9b0dbd590384571147a43a11ac
elecomm/TelecommConstants.java
b4ce1432c62a691111f1c355d744998a48b55a93 09-Jun-2014 Yorke Lee <yorkelee@google.com> Add TelecommManager to system services

Change-Id: I48a75c578a99aca1149fbae84a5d0f9ac0a457f3
elecomm/TelecommManager.java
2e024708b1447b2e7e139ee523673a4c3d589493 13-Jun-2014 Yorke Lee <yorkelee@google.com> Add ability to set and get DefaultPhoneApplication

Change-Id: I8aa8cb16965106175c538f36915a31cf4830cef2
elecomm/PhoneApplication.java
elecomm/TelecommConstants.java
c067754a85017ac16a9b438d807c6004f35c095f 10-Jun-2014 Ihab Awad <ihab@google.com> DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)

Bug: 15275904
Bug: 15196474
Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
b693998fdfdd4498a33c4c69405f2708e4840aa7 05-Jun-2014 Santos Cordon <santoscordon@google.com> Support conference calling. (1/4)

Bug: 15006702
Change-Id: I2764ea242f783ba478c9eae86618dd33e9fc792a
elecomm/CallCapabilities.java
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
8b4818d9b4d632f2d460e7ac9dea463b04db43fe 06-Jun-2014 Sailesh Nepal <sail@google.com> API: Add call service handoff trigger

Change-Id: Iee03a666e7ebc2fe326f32405174466299be9d04
elecomm/CallServiceAdapter.java
7960fd917a9c104dba0624699fb4f681d8bf7451 06-Jun-2014 Evan Charlton <evanc@google.com> Fix the build breakage (update API & javadocs)

Update API and Javadocs to fix the build.

Change-Id: I108e4d824eabb68f8edd864bf67a16188672b01b
elecomm/InCallService.java
7d3ff83b8b7d4a69f8426d2d1fb0788583ce4338 06-Jun-2014 Evan Charlton <evanc@google.com> am 266a63ad: Merge "Expose post-dial APIs" into lmp-preview-dev

* commit '266a63ad7731d7ebaf4c426b3d226e70c6afd2af':
Expose post-dial APIs
e62a885ea67f28fd16e307c296c19084cb75bca1 06-Jun-2014 Evan Charlton <evanc@google.com> Merge "Expose post-dial APIs" into lmp-preview-dev
fbb092f26e796fe638fb8bb4a91de2d4525bcacc 04-Jun-2014 Ihab Awad <ihab@google.com> DO NOT MERGE. Implement connection error dialogs (1/4)

Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.

Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
(cherry picked from commit 976bfe497da31fa8322969648ffbe77898941d0c)
elecomm/CallServiceAdapter.java
elecomm/ConnectionRequest.aidl
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/InCallCall.java
elecomm/Response.java
fc91b7d448507448703ce7c51c045578e20d9274 04-Jun-2014 Ihab Awad <ihab@google.com> DO NOT MERGE. Implement connection error dialogs (1/4)

Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.

Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
elecomm/CallServiceAdapter.java
elecomm/ConnectionRequest.aidl
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/InCallCall.java
elecomm/Response.java
6dea4aceba8f69ee4be346ec356d277a3c153f3d 03-Jun-2014 Evan Charlton <evanc@google.com> Expose post-dial APIs

Add APIs to expose post-dial DTMF functionality.

Bug: 13734588
Change-Id: I5cc06268590c3c424ea6daf216cb205b9c470dac
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
24bec88db04f17fbaa0022f215efe6931b9bf5c1 02-Jun-2014 Santos Cordon <santoscordon@google.com> am 00eb98bc: Merge "Add necessary APIs to support conference calling." into lmp-preview-dev

* commit '00eb98bc93f11df3b869eca32f04f71d44ee4e6d':
Add necessary APIs to support conference calling.
980acb9bd6984a9daad5f584bd35e8d503820200 31-May-2014 Santos Cordon <santoscordon@google.com> Add necessary APIs to support conference calling.

All APIs added as @hide to start.

Bug: 15326865
Change-Id: Iee5ce555696f48f57f925e4bd37209ace1355dfd
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/ConnectionService.java
elecomm/InCallAdapter.java
elecomm/InCallCall.java
9efdcd8a31e497e5de092b600be316edc4a7ddf1 29-May-2014 Ihab Awad <ihab@google.com> Allow ConnectionService to ask Telecomm for ringback

Cherry picked from branch lmp-preview-dev because checking the changes into master required an API update, whereas the relevant APIs are @hide-ed in the source branch.

Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.

Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
(cherry picked from commit 20536bc3c4d40fa96306b0319d8313a7437fc702)
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
3da92d6df15fcbf9dbde7e3f58f778ab28abaa99 30-May-2014 Ihab Awad <ihab@google.com> Merge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" into lmp-preview-dev
b69f1bddfe39c93f1e120e13a835768f68451e36 30-May-2014 Santos Cordon <santoscordon@google.com> am 6d052adc: Merge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev

* commit '6d052adc910bf2d2775881528cef3e41fe2cd14b':
Update showCallScreen to use Telecomm (1/6)
dd36901ac004a2fef88247f9f54059b24ee5118c 30-May-2014 Santos Cordon <santoscordon@google.com> Preempt build error from merge with CL (2/2)

Merging CL: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657

Change-Id: Ic4944b27f9d39dbaccb6baa5ba6761dc4663cd02
elecomm/InCallService.java
f835897f9f799490de27653ae39141ba6bc14223 29-May-2014 Ihab Awad <ihab@google.com> DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback

Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.

Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
elecomm/CallServiceAdapter.java
elecomm/Connection.java
elecomm/ConnectionService.java
3534ede5722b98c5be1526ba0bc2cd8acfbe0e55 29-May-2014 Santos Cordon <santoscordon@google.com> Update showCallScreen to use Telecomm (1/6)

- Add API methods to InCallService and ITelecommService.
- Remove old methods from ITelephony.
- Route the TelephonyManager methods through ITelecommService instead of
ITelephony.
- Update Lock screen to use TelephonyManager instead of ITelephony.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
elecomm/InCallService.java
b4eb0c086363b5c65e0c5c2a7581c5c60a179fc8 28-May-2014 Evan Charlton <evanc@google.com> @hide Telecomm APIs [DO NOT MERGE]

Change-Id: Id2d8d21f5de79bd5ffa468a82b29b77daf07e120
elecomm/package.html
42b30e1b832df5bbf109db2f4f864f8ba4cfd44a 22-May-2014 Ihab Awad <ihab@google.com> DO NOT MERGE. Fix invalid format specifier in log message

Bug: 15154713
Change-Id: Ia1f45eb568b31f02a7443def0dc9ef32a21e7f02
(cherry picked from commit 8523607b6e4927d034e47681174843f22308e34a)
elecomm/ConnectionService.java
9519ee7fb90ffcf28b8e03d7ec831917dd514d5f 22-May-2014 Ihab Awad <ihab@google.com> Fix invalid format specifier in log message

Bug: 15154713
Change-Id: Ia1f45eb568b31f02a7443def0dc9ef32a21e7f02
elecomm/ConnectionService.java
60ac30bb8a30fa7283d592c12ddf2da9447adf14 21-May-2014 Ihab Awad <ihab@google.com> Add logging utilities to Telecomm classes

Add logging utility class from packages/services/Telecomm to the Telecomm
classes in the framework.

Change-Id: I54a9edc4daa24ffdeb15b08afc5ad8a238d04291
elecomm/Connection.java
elecomm/ConnectionService.java
elecomm/Log.java
542e0ea8bfa60f09c33e4be366adf8681c25d0bf 16-May-2014 Ihab Awad <ihab@google.com> Publish new Telecomm API for Connection Services

Creates a new API for Connection Services providing phone connections to
the Android system. Supersedes CallService API, which will be gradually
replaced by this one.

Change-Id: Ie4b06c1b0843a777c5b8ee9c5dd12b9d9f990980
elecomm/Connection.java
elecomm/ConnectionRequest.java
elecomm/ConnectionService.java
elecomm/Response.java
elecomm/Subscription.java
03c527aeb986f208be9d7188e1f73c7c39deed46 15-Apr-2014 Sailesh Nepal <sail@google.com> Merge "Add toString to CallServiceDescriptor" into master-nova
5d9cb82b9b47dfd3d1911458c938cad61accdc75 15-Apr-2014 Sailesh Nepal <sail@google.com> Add toString to CallServiceDescriptor

Change-Id: I847dbd8cf965516ad45f91d2db5df19469e2a2f8
elecomm/CallServiceDescriptor.java
3c7fbb2214368689e8868ca1f37c3490429c4b05 12-Apr-2014 Evan Charlton <evanc@google.com> Expose a method to cancel an outgoing call

Expose a method which lets CallServiceSelectors abort an outgoing call.

Bug: 13980764
Change-Id: Id0c608729cb5de3e2a37b2538f1f61ed94bcb31b
elecomm/CallServiceSelector.java
elecomm/CallServiceSelectorAdapter.java
e9aa1aaa257c2c78b2cb310f8c1f86de82befb85 10-Apr-2014 Evan Charlton <evanc@google.com> Expose CallState.NEW

Expose CallState.NEW so that we have a state before DIALING. Immediately
transitioning calls to DIALING is wrong, because that shouldn't happen
until the CallService is actually dialing.

Bug: 13902624

Change-Id: Id5ee0d4d050deb2f3038f3de8fdd265caa75f7b2
elecomm/CallState.java
c1a48ef7c37751b28ff5af3ff8b12e7ddec7eadb 08-Apr-2014 Sailesh Nepal <sail@google.com> Fix SDK build

Change-Id: I325f5f5b3fae7c8a27640106e8f3298c4e18388d
elecomm/InCallCall.java
elecomm/InCallService.java
6043793d3e8455bc8867baed39353f0350daa63f 06-Apr-2014 Sailesh Nepal <sail@google.com> Add InCallCall class to communicate with InCallService

Change-Id: I3916e33e184f57bb6e58ed93a26b866d3ce0e7df
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/CallServiceDescriptor.java
elecomm/CallServiceSelector.java
elecomm/InCallCall.aidl
elecomm/InCallCall.java
elecomm/InCallService.java
924748fa3fc663c780c3fb21ec1332bd9757fcd2 03-Apr-2014 Evan Charlton <evanc@google.com> Add lifecycle methods to telecomm services

Have the base classes track the adapters and provide an override-able
hook (onAdapterAttached()) to notify when the adapter is set.

Change-Id: I58ca5c6970328861327699ec497fa21288bce7df
elecomm/CallService.java
elecomm/CallServiceSelector.java
elecomm/InCallService.java
b632e5b122d82333c390cc334ab17100bc2af7a2 03-Apr-2014 Sailesh Nepal <sail@google.com> Handoff: Add APIs to allow handoff between call services

This CL adds:
- CallInfo.mExtra and CallInfo.mCurrentCallServiceDescriptor. These
can be used by the selector to perform handoff.
- InCallService.setHandoffEnabled to enform the in-call UI that handoff
is allowed.
- InCallAdapater.handoffCall to initiate handoff.

Bug: 13643568
Change-Id: I94c28b10c0e0a253450f14d31ecdc416d5b44ca4
elecomm/CallInfo.java
elecomm/CallServiceSelector.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
a3d3acae57b46ae498e55153860d63055b8169ba 02-Apr-2014 Sailesh Nepal <sail@google.com> Add disconnect cause and message extras

These extras will be sent out as a part of the
ACTION_PHONE_STATE_CHANGED broadcast.

Change-Id: I23fe43e7f3604471185ffb30be9ac553438b78f3
elecomm/TelecommConstants.java
8111bc57a1e55d2391598df64e505dd87ce23bff 02-Apr-2014 Ihab Awad <ihab@google.com> Fix build breakage due to Javadoc typo.

Change-Id: Ib93191adc1b25afe673f3a1834eaa22f4c6bc9d5
elecomm/CallServiceSelector.java
8d20561554e159f31a30075c23cfeb6d477aa27e 02-Apr-2014 Sailesh Nepal <sail@google.com> Add CallServiceSelectorAdapter

Previously the selector would communicate with Telecomm using
callbacks.

For handoff, it's easier to communicate using an adapter.

Bug: 13643568
Change-Id: Ida5859a3b5b15c9fa1c533f27a3e14fd0d7c36af
elecomm/CallServiceSelector.java
elecomm/CallServiceSelectorAdapter.java
466a2185116b7cf7b800196756113278ebe0575e 01-Apr-2014 Sailesh Nepal <sail@google.com> Merge "Add CallCapabilities and CallNumberPresentation" into master-nova
f6e9b27f93ef2d0b806e8b24d3082234ae222d33 01-Apr-2014 Sailesh Nepal <sail@google.com> Add CallCapabilities and CallNumberPresentation

Bug: 13643568
Change-Id: I453a1b0db0edf31b26be64b4dcbabec58a4f96f5
elecomm/CallCapabilities.java
elecomm/CallNumberPresentation.java
fd2e620baf769564d9b2873103de7f60a39f95ea 01-Apr-2014 Evan Charlton <evanc@google.com> Fix the build, take #2

Missed one bad javadoc.

Change-Id: Ic70abce0404e966bc9caeabfbd5fd40d170af4de
elecomm/InCallService.java
8acdbb8b11315f9b619d8831ef6113ea52ffbdbe 01-Apr-2014 Evan Charlton <evanc@google.com> Fix the build

Fix some broken javadocs which are breaking the SDK build.

Change-Id: I9b432ad1e871a82391c12ddbbd34cb64a556b2fe
elecomm/InCallAdapter.java
elecomm/InCallService.java
2f23664b4fb9527f3b4e12843926ffe2220ea559 10-Mar-2014 Ihab Awad <ihab@google.com> DTMF dialing support in frameworks/base

Change-Id: I86695161fab9c4fbd4a021ba69cc61ec5e585adc
elecomm/CallService.java
elecomm/CallState.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
elecomm/TelecommConstants.java
20e3f02c2de4efd4ccf56112b39b6056582f283a 27-Mar-2014 Santos Cordon <santoscordon@gmail.com> Add disconnect cause to setDisconnected.

Change-Id: I4ba9b8f47a942b82b7a3d4bed43c0ca945957592
elecomm/CallServiceAdapter.java
elecomm/InCallService.java
1b469fecb03f28fd6379978802a14cab97a7549d 26-Mar-2014 Sailesh Nepal <sail@google.com> Delete README file

Documentation is out of date. Also, frameworks/base doesn't seem to
have README files except for test directories.

Change-Id: I408ede48d592e6f640a040c7be97d272a1c15bd5
elecomm/README
b84663ff3426e68173be91fdf351111e4cd53ed8 25-Mar-2014 Sailesh Nepal <sail@google.com> Merge "Add audio mode APIs" into master-nova
4cff392a2b3702514e78c5419bf15de6e39c59af 19-Mar-2014 Sailesh Nepal <sail@google.com> Add audio mode APIs

Change-Id: Ia7e78b52b6b30f99a9ba066dae558a105dbebd96
elecomm/CallAudioState.aidl
elecomm/CallAudioState.java
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
93fb1d00bc318079e58e53db39b4850adc31ffa1 19-Mar-2014 Yorke Lee <yorkelee@google.com> Add gateway support to frameworks/base/telecomm

Add parcelable GatewayInfo class used to store gateway info in
Call and CallInfo.

Add gateway-related string constants to TelecommConstants

Bug: 13477768
Change-Id: I35b2de2d66edeed6273f6cba5329ca0f26264db6
elecomm/CallInfo.java
elecomm/GatewayInfo.aidl
elecomm/GatewayInfo.java
ba4cc4e0839e81faf5e7899e39a3e5cdb9a42d23 18-Mar-2014 Sailesh Nepal <sail@google.com> Merge "frameworks/base: Use Uri for handle" into master-nova
cadc1c144bd398b0ee32f63a1ffea69259b046dc 18-Mar-2014 Sailesh Nepal <sail@google.com> frameworks/base: Use Uri for handle

Change-Id: I7f3163da47159d68903ce45268429f5949203589
elecomm/CallInfo.java
d885b5c9b3405dbb0cd9487f41f8ccbe066253e2 14-Mar-2014 Yorke Lee <yorkelee@google.com> Merge "Add hold support to frameworks/base/telecomm" into master-nova
81ccaaa25cc90c576c7df7c2cccb8a232e8536a1 13-Mar-2014 Yorke Lee <yorkelee@google.com> Add hold support to frameworks/base/telecomm

Bug: 13169202

Change-Id: Ib01990c1f8654f95a4cfcca4a91f0ab143722d8e
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/CallState.java
elecomm/InCallAdapter.java
elecomm/InCallService.java
9a4bf4a52d9d76f118ad0a7ce53e6b2f4ed189cb 14-Mar-2014 Evan Charlton <evanc@google.com> Fix the SDK build

Fix a bad {@link} tag which was breaking the SDK javadocs build.

Change-Id: Ib44fc5c21738fa65ef3cec72f8c0e8e8f4b938c2
elecomm/TelecommConstants.java
0436d89f2f3c0e977f4b2cfcef0a1bd10dcbcc82 13-Mar-2014 Sailesh Nepal <sail@google.com> Fix SDK build due to missing import in TelecommConstants

Change-Id: Ieffc1cbfa4edb913125a0c29284d98351b12f9f4
elecomm/TelecommConstants.java
592bbf0475a5862a88870b8c8d1962be1c7cdbaf 13-Mar-2014 Sailesh Nepal <sail@google.com> Merge "Add constant for Call Id extra" into master-nova
d6c9a7f0cfb71b735f247cb1bfbafc07fa2da832 12-Mar-2014 Sailesh Nepal <sail@google.com> Fix build break due to links to private APIs

Change-Id: I22360bd93800e1d898becb9fee9312acf82b78c7
elecomm/CallService.java
elecomm/CallServiceProvider.java
ab5d282dd6f487578ae86b2d53d0d8edc9b71747 09-Mar-2014 Sailesh Nepal <sail@google.com> Add wrappers around telecomm interfaces

This CL adds wrappers for:
CallServiceLookupResponse
CallServiceAdapter
IInCallAdapter
IInCallService

This CL also moves all the aidl files into
com.android.internal.telecomm.

Change-Id: I840f023bc545643e8bb719825e7bc78344ee46ee
elecomm/CallService.java
elecomm/CallServiceAdapter.java
elecomm/CallServiceLookupResponse.java
elecomm/CallServiceProvider.java
elecomm/CallServiceSelector.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
elecomm/ICallSwitchabilityResponse.aidl
elecomm/IInCallAdapter.aidl
elecomm/IInCallService.aidl
elecomm/InCallAdapter.java
elecomm/InCallService.java
elecomm/TelecommConstants.java
e9d85a07aac0360d59ab9bcfd5bdb2f674094840 11-Mar-2014 Sailesh Nepal <sail@google.com> Add constant for Call Id extra

The extra will be used to include the call ID on phone
state changes.

Change-Id: I9edd0b6e017f8414fa3e148fd4d57958e2072184
elecomm/TelecommConstants.java
971e9a40a97eee7b6b0aa230034c04d2fb4fef8f 06-Mar-2014 Ben Gilad <gilad@google.com> Fix broken build due to ag/428341.

Change-Id: I84945e8ce1b5c8b1be0785f71c7eae77699687fe
elecomm/CallService.java
elecomm/ICallService.aidl
45b5cf0f6ea5769f5341b6070fde73e9546b06b6 06-Mar-2014 Ben Gilad <gilad@google.com> Merge "Add the abort API to ICallService implementations." into master-nova
3fadaa923272675d841eda3d46b3e1d9dc08c819 05-Mar-2014 Ben Gilad <gilad@google.com> Add the abort API to ICallService implementations.

Change-Id: Ie9b996b4d23184034811ef5667403ff4e47ae2d9
elecomm/CallService.java
elecomm/CallState.java
elecomm/ICallService.aidl
74f6bf88eb0247b25caa8be9d170be6ba4cf5d28 05-Mar-2014 Evan Charlton <evanc@google.com> Add optional data to incoming calls

When a CallService creates an incoming call, allow it to pass a Bundle
of arbitrary data along with the intent. This data will be returned to
the CallService via setIncomingCallId. This makes it easier for
CallServices to match up incoming calls with their IDs.

Change-Id: I52e7e1d0788ecd01aa427e76de7ccf4d9b75f1f0
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/TelecommConstants.java
6c874e3d786eea52f3488dce7c9d56a869e5ee23 05-Mar-2014 Ben Gilad <gilad@google.com> Adding the aborted call state.

Change-Id: I26c1e2bc180a2be2d2374143546c666faeea2705
elecomm/CallState.java
b340c331bca330e9cb60ce6e398b3c014e1a14c7 19-Feb-2014 Santos Cordon <santoscordon@google.com> Adding API support for incoming calls.

Change-Id: I7b1530d13e5adac530c4f451aa2cd97f275f9cae
elecomm/CallService.java
elecomm/CallServiceDescriptor.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
832ddb3fe66a73cdf383ea2700ae48f88ad9ded0 21-Feb-2014 Evan Charlton <evanc@google.com> Fix some javadocs

Fix some bad {@link ..} tags in the javadocs.

Change-Id: Id64b901218878e9996a390fee9eb72e4b5cd9d93
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/TelecommConstants.java
1fe964d11e4446437f2688648f2ffe45617b82d6 21-Feb-2014 Santos Cordon <santoscordon@google.com> Renaming intent to INCOMING_CALL.

Change-Id: I90ac30be5d8503f100deedf44f8d3bd18de3fa83
elecomm/TelecommConstants.java
64a44a876b08f4a49238becb90bf1788b840a103 20-Feb-2014 Evan Charlton <evanc@google.com> Update CallServiceSelector API

Move the consumer methods to the main thread and use response objects
to return the results back to the caller.

Change-Id: Ifc062cf49421079686d925406c823000232fa728
elecomm/CallService.java
elecomm/CallServiceSelector.java
6adbaf70f31e29c52fd0bb8849774f58224df6f9 19-Feb-2014 Ben Gilad <gilad@google.com> Addressing the TODO to rename CallServiceInfo.

Also removing some unused imports etc.

Change-Id: I48176d5394aee0110f3b7a081a1a616b72b574b9
elecomm/CallService.java
elecomm/CallServiceDescriptor.aidl
elecomm/CallServiceDescriptor.java
elecomm/CallServiceInfo.aidl
elecomm/CallServiceInfo.java
elecomm/CallServiceSelector.java
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
591ef664d85c1f6e3c8e6a2bf8d94b9e60fcabb7 19-Feb-2014 Santos Cordon <santoscordon@google.com> Fix build.

Change-Id: I4633e4ab3753f0de328bbe0ef59e87dac1d58d54
elecomm/CallServiceSelector.java
bd63f90a789bfb608dbd036d60c4d08f9fd1f2d9 14-Feb-2014 Santos Cordon <santoscordon@google.com> New call service methods for incoming calls.

Adds a method that allows Telecomm to request confirmation of an
incoming call and another method on the adapter through which the
confirmation is sent.

Change-Id: Ib5d0a71f40ea3d09a42f31c479c22aed1dbc5ce8
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
c3010b39c98e2b136c38d68172dbf2dfcbe58c12 09-Feb-2014 Evan Charlton <evanc@google.com> Add a CallServiceSelector base implementation

Add the base class for implementing CallServiceSelectors.

Change-Id: I292d962f1b73d0966af0c484ebddc724f8e6c925
elecomm/CallServiceSelector.java
35699a295a67b48d840f3e4326a9efefa116cfcf 12-Feb-2014 Ben Gilad <gilad@google.com> Following up on the TODO to rename newIncomingCall, see ag/417776 for the corresponding services/telecomm change.

Change-Id: I8296856c2b8d89aa7962c9ccd231463b9b5e8079
elecomm/ICallServiceAdapter.aidl
9a23a55df21f79b0830a5c3fec3b3cf2f5b829da 03-Feb-2014 Evan Charlton <evanc@google.com> Add CallServiceInfo descriptor object

CallServiceInfo allows CallServiceProviders to describe the
CallServices' requirements (e.g. network requirements) and info
(e.g. ComponentName).

Change-Id: Iff694b998d18e7ce424ec976e9134e3c70f8b6f4
elecomm/CallServiceInfo.aidl
elecomm/CallServiceInfo.java
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
222f1290ba3d5eab8ddc7b93afc01c12662ac963 03-Feb-2014 Sailesh Nepal <sail@google.com> Make telecomm APIs public

Change-Id: Ie7243be369e55df9696b544d8b286c978ceb4b39
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/CallServiceProvider.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
elecomm/ICallSwitchabilityResponse.aidl
elecomm/IInCallAdapter.aidl
elecomm/IInCallService.aidl
5f66e8819f4b1e74be0959e7ea5916e2d2c9e9f3 04-Feb-2014 Santos Cordon <santoscordon@google.com> Adding ACTION_INCOMING_CALL intents to new TelecommConstants.java class.

Change-Id: I468156fa9499ff904678b5ed57f4fa3cec2f7229
elecomm/TelecommConstants.java
f6d868bd543b5178b6f35757141807273e53eca8 05-Feb-2014 Santos Cordon <santoscordon@google.com> Adds methods for a call service respond to a call().

Change-Id: Ib597037b8fafcfa54f3bd1ee21b91285ea595fd4
elecomm/ICallServiceAdapter.aidl
713f1d7f213aece78a260b5b0bdee4c99205e75f 30-Jan-2014 Santos Cordon <santoscordon@google.com> Change call state to enum and add it to CallInfo.

Change-Id: Ic88096aa6680245913e4d50da1ff7797813f8abc
elecomm/CallInfo.java
elecomm/CallState.java
3d3735e3d307c309f778d4976fc7316c785c1789 29-Jan-2014 Santos Cordon <santoscordon@google.com> Adding call state constants to Telecomm.

Change-Id: I40675477a96c9a74a17782870c5824702466e6cc
elecomm/CallState.java
805afaaf23afef78b9053dad432378142eba8c12 29-Jan-2014 Santos Cordon <santoscordon@google.com> CallInfo usage everywhere; selector using call-service Id strings.

Change-Id: Ide81dc869d6e025a83685b7247ee4179ec7097ab
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
9cf80ed2b454a881cc11c6dc83b78206bb5cb9a9 28-Jan-2014 Santos Cordon <santoscordon@google.com> Add @hide to InCall APIs (fixes build break).

Change-Id: I2911d1e96466e26891c5a6f1edb2440114eb3b4e
elecomm/IInCallAdapter.aidl
elecomm/IInCallService.aidl
8f3fd30a60d4a5b6e9c94d463681b0c0ac3f119e 27-Jan-2014 Santos Cordon <santoscordon@google.com> Add interfaces between Telecomm and InCall.

Change-Id: Ie0e8c5e6626e1db33eb1142b302bf415785cfe47
elecomm/IInCallAdapter.aidl
elecomm/IInCallService.aidl
658c0cf6c3140b5cafc4e8880e08a7dead39d24a 17-Jan-2014 Santos Cordon <santoscordon@google.com> Update the Telecomm APIs to use CallInfo.

Replace uses of callId and/or handle with a single, extensible CallInfo
object.

Change-Id: I4b7b86ccb7153e5dc49f4d3fa31f485fd06a960a
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceSelector.aidl
8986ef460188805a1af21ee5d8cd49a57d725d5e 14-Jan-2014 Santos Cordon <santoscordon@google.com> Updates CallService API.

Adds additional parameters and a response method for
isCompatibleWith on ICallServiceAdapter.

Adds connectionStartTime to CallInfo.

Change-Id: I27a8d14c5c63d3f6a70a290ffb39d9f623d40a60
elecomm/CallInfo.java
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceLookupResponse.aidl
f042a3f067b47a92c67d994ba3e24bf41636e4f9 15-Jan-2014 Ben Gilad <gilad@google.com> Following up on our discussion offline to introduce response objects for isSwitchable.

Change-Id: Ic1385d9b67ed0a859128845574d48ad90d6152a2
elecomm/ICallServiceSelector.aidl
elecomm/ICallSwitchabilityResponse.aidl
2e412075baaac8066265618e1a0d5186aced74c4 15-Jan-2014 Ben Gilad <gilad@google.com> Remove unused code/comments and adding missing tags etc.

Change-Id: I6ec7eda46a2b61bee26b4edca1bede5c00177712
elecomm/CallServiceProvider.java
0f7dac1741dd4e2c56f8f6d441fdbef1533577b1 15-Jan-2014 Ben Gilad <gilad@google.com> Adding the CallServiceSelector skeleton (AIDL) files.

Change-Id: I55ca3bed6e1b964602a9291bd388a10c99729da7
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceSelectionResponse.aidl
elecomm/ICallServiceSelector.aidl
73e64fe81a75e25008c46107e4dfa8507c5e73a2 15-Jan-2014 Santos Cordon <santoscordon@google.com> clean up javadoc.

Change-Id: I64b20065fffbcd5a53ab9d2b5d424e3cea2db3b3
elecomm/ICallServiceLookupResponse.aidl
4939ccf7864b3b5664c6cdbe124e49e68030cfa9 08-Jan-2014 Santos Cordon <santoscordon@google.com> Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse.

Change-Id: I55a574784162e3cc4a88b2889f1d14a07116f937
elecomm/CallServiceProvider.java
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceProviderAdapter.aidl
6fee2ea8f887e32d4c4a8c35b0ff00ea7eeb2bb3 10-Jan-2014 Santos Cordon <santoscordon@google.com> Revert "Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse."

This reverts commit 753fc58932e976086069bacb3e5252332960644b.

Change-Id: Ie17b4918fa404eb768c0f3ce5109d6cc8b2d1da8
elecomm/CallServiceProvider.java
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceProviderAdapter.aidl
6fbb1b73f82da0e7fe1244e4a44dea3c3c163997 08-Jan-2014 Santos Cordon <santoscordon@google.com> Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse.

Change-Id: I4d1c007bd46b804ecbb80163fc26de199cdbb2eb
elecomm/CallServiceProvider.java
elecomm/ICallServiceLookupResponse.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceProviderAdapter.aidl
6734a173f027b9f298366317b95fb353a040fc5b 31-Dec-2013 Santos Cordon <santoscordon@google.com> Add a default CallServiceProvider implementation.

Change-Id: Ib9afcaac2e971fc8cd9d1fdef2d6ae97cbb79757
elecomm/CallServiceProvider.java
3784133b95f1206c0c6bbbddb5921ef396b5b941 17-Dec-2013 Santos Cordon <santoscordon@google.com> Additional fixes to aidl files.

Change-Id: I24e5ae0ff65c3049d735cd4c6e1d79a0c406d92b
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceProviderAdapter.aidl
b3e51b791873b2ca6da6694964a48e0f2f49305a 17-Dec-2013 Santos Cordon <santoscordon@google.com> Fixing typos and a build break.

Change-Id: I74ac6da8a9943b3b2cc76a4fc75027b7717b1bb3
elecomm/CallService.java
e57944dd55f72aa1b9fc04c6b6bc48992076fdf6 17-Dec-2013 Ben Gilad <gilad@google.com> Add the CallService base class and the necessary call-service-provider
AIDL interfaces.

Change-Id: Ic0aab1245d259f1148d403033647d795e07ab015
elecomm/CallService.java
elecomm/ICallService.aidl
elecomm/ICallServiceProvider.aidl
elecomm/ICallServiceProviderAdapter.aidl
bb69b0c2d821a9806fb00037284c399cbc78277d 13-Dec-2013 Ben Gilad <gilad@google.com> Adding the frameworks/base code from https://googleplex-android-review.git.corp.google.com/#/c/391028

Change-Id: I6fe7aae52a7ff52da1a1e009e8361810fcaddd1e
elecomm/CallInfo.aidl
elecomm/CallInfo.java
elecomm/ICallService.aidl
elecomm/ICallServiceAdapter.aidl
09538ebd04b83abad2fac8ccc9845aa0c2a4f62c 11-Dec-2013 Ben Gilad <gilad@google.com> Initial frameworks/base/telecomm check in.

Change-Id: Idd2bb597c4066f7f0c14da8fe277e969e52c0f00
elecomm/README