History log of /packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b64b0a8e1f203b7628b6eeca9d0186803beaff7b 28-Jan-2016 Brad Ebinger <breadley@google.com> Start SIP Service after user unlock on FBE devices

Telephony stores the SIP profiles in CE storage, which is not available
until the user unlocks the device. This change makes it so Telephony
does not start the SIP service until after the user unencrypts the device.

The SIP database is also migrated over from DE->CE storage upon
BOOT_COMPLETE if it sees that a DB currently exists in DE storage. This
will be the case when a device upgrades from M->N.

BUG: 26777818
Change-Id: I735868132c6ace52acb1e98141d22d61a9073bb6
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
a2b67e034d6d55edd79c219f1ba656ec14d035e8 22-May-2015 Santos Cordon <santoscordon@google.com> Lookup SIP Profile using profile name instead of URI.

Bug: 21292154
Change-Id: Ie5966b401fb87c70fa40cc2435de3ef0747c5cdd
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
ebe65dbd75df69e8534bf2eb31bb541a8059b58f 18-Sep-2014 Jay Shrauner <shrauner@google.com> Remove SIP alerts and instead send to InCallUI

Use DisconnectCause to send text of SIP unsupported/network unavailable
alerts to InCallUI. Remove dead code.

Bug:17447940
Change-Id: I2ab6fb57a1701a03618af635ab4472c5abfebdf3
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
aef7a4bc4f85149de427d7506ebe97753b2ca6c2 12-Sep-2014 Andrew Lee <anwlee@google.com> Use newly added Telecomm DisconnectCase.

+ Add utility, DisconnectCauseUtil, to convert from telephony
DisconnectCauses to telecomm DisconnectCauses. For this, map
from specific disconnect causes into a more generic set which
the UI is concerned about. Provide user-localized strings or
tones for certain cases.
- The string conversion sucks a little because it covers both
strings which are intended to be show in the InCallUi (short)
and messages which are to be displayed to the user in a dialog
when there is some termination (long). =(
+ Where possibly, use this utility for converting error
messages as well.
- Not able to convert with message and tone for many of the
failure cases, because no context exists for obtaining the
message to display.

Bug: 17329632
Change-Id: I84ee358cc8e014f110bab4c0ae7c1cb02aeebdf6
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
4d45d1cf58a2003378fd35912d6d73a00001bf06 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: Ic33bafd37200e65431543a9889aed549dbb04831
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
0b940948cbd55e4ed275a82ffec1aa243dc7c67f 12-Sep-2014 Yorke Lee <yorkelee@google.com> Don't call SipManager.open when creating a new SIP connection

The SIP service is already started and SipManager.open called for
all sip accounts on-device when Telecomm starts up, so there is no need
to call SipManager.open again when creating a new SIP connection.
This causes us to incorrectly open the profile without specifying that we
want to register for incoming calls.

Bug: 17305137

Change-Id: I207fe04a70212d6bdb75e7618192f16f603d9189
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
7ccf4d2bff43392dd7db21e12e17400ae7aa87fc 11-Sep-2014 Andrew Lee <anwlee@google.com> Merge "Rename from "handle to address"." into lmp-dev
b75573f94f1693739f84c313090a151d97d028ae 10-Sep-2014 Nancy Chen <nancychen@google.com> Update TelecommManager per API requirements. (3/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: Ia5241a9161bef5479fcc2d6665eeb105b8397022
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
14bf354aab420fcd099cd0209238d7b92dad6f1d 09-Sep-2014 Andrew Lee <anwlee@google.com> Rename from "handle to address".

Bug: 17329632
Change-Id: Ib947b16cffee343bc7ca36d03617d1f7e4b3bd1c
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
baee2955f596f7b79971feb12fa21031a069677d 11-Sep-2014 Tyler Gunn <tgunn@google.com> Allowing enable/disable of phone accounts. (3/3)

Phone Accounts:
- Added Phone account enable/disable activity, accessible from the
"Make calls via" preference screen.
- Changed Telephony PhoneAccount registration so that it first updates
existing PhoneAccounts (ensuring enable/disable setting retained), and
then removes any that no longer exist.

SIP:
Removed the "primary profile" SIP setting in favour of being able to
enabled and disable the associated PhoneAccounts.
Added migration to automatically enable the previous "primary profile".

Bug: 17306514
Bug: 17408536
Change-Id: I696e3382730ea7bb40d680798bcab965517c438b
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
27ab1c91ae1401318fdcc86b046a228ec2426b6d 08-Sep-2014 Nancy Chen <nancychen@google.com> API changes in GatewayInfo, Response, and PropertyPresentation (3/4)

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

Bug: 17329632

Change-Id: Ib7a1dbd4f924c3eeaa91a9a8e1fe1748bb807922
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
c2d0e8c8aaac5ec4ad394c5824f6c3265f751977 06-Sep-2014 Nancy Chen <nancychen@google.com> getHandle -> getAddress (ConnectionRequest).

Made changes per API review.

Bug: 17329632
Change-Id: I6f2043d6293f3a369c4f4ecfca996ae2061634d2
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
af4b3fd88b5412fbd644b1a4b9d1909c25681d4c 30-Aug-2014 Nancy Chen <nancychen@google.com> Remove onConnectionAdded/Removed from ConnectionService API (2/2)

These methods are no longer needed because they are redundant. Refactor
SipConnectionService and TelephonyConnectionService to accommodate.

Bug: 17262026
Change-Id: If134e2785f1fa2cff59157b23710d1a3053f17e4
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
6556a09daab949853c384b385bc7618a6c75d9dd 25-Aug-2014 Santos Cordon <santoscordon@google.com> Add telecomm registration support to SIP.

Changes in CL:
1. Add SipAccountRegistry to manage telecom registrations
2. Register all accounts on ACTION_SIP_SERVICE_UP
3. Register specific account on ACTION_SIP_ADD_PHONE
4. Unregister specific account on ACTION_SIP_REMOVE_PHONE
5. Set the unique SIP uri as the PhoneAccount ID
6. Read phone account handle for outgoing calls instead of showing
a proprietary SIP chooser dialog, which I removed (see
SipProfileChooser.java).
7. Moved some of the error condition codes and error dialogs from
SipProfileChooser to SipConnectionService.
8. Set Phone account handle as extra on the incoming-call intent
9. Remove build files for SIP directory since it is already built into
TeleService.apk

Bug: 16836473
Bug: 16042786
Change-Id: I62d740c13ce61f181db295b9415c96ceef909177
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
93a734df1d69df54ae58af0944c79b33aef7782d 18-Aug-2014 Ihab Awad <ihab@google.com> ConnectionService API has only one completed callback (3/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: I304c58814c110d771ae019c9b9fda1ce42f81c2f
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
53b84fe2dc796ef172d7c0f4b9bdc177cdeb0c0f 13-Aug-2014 Santos Cordon <santoscordon@google.com> Implement new Conference APIs.

Bug:16844332
Bug:16449372
Change-Id: Id2e1e4996c19ca1fa4f37e1ec6597f3a15676aa8
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
76f3b4ec8d9bcb8926db1b3e4fb2d1e969b09fbb 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (5/8)

Bug: 16416927
Bug: 16494880
Change-Id: Ibc2ba9e5d17242380ed3afed359600362bb3e664
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
b2fe86674bf81fe60133869a03c9d4aa0bf85f0a 26-Jul-2014 Ihab Awad <ihab@google.com> Connection creation and service wiring for WiFi call managers (3/3)

Bug: 16469413
Change-Id: I17a1062c48d59865708cdcfb8f570257223a209a
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
aaf3850172bde1fec1a4558653c0edd31e3fa71f 21-Jul-2014 Evan Charlton <evanc@google.com> Use the synchronous Connection creation API

Update to make creating a Connection a synchronous operation.

Change-Id: Ibbf896e5b188b98eb386d6624d3a5d5cacf49922
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
ab777070da7e83983739414f1222177c6aeebe1a 21-Jul-2014 Santos Cordon <santoscordon@google.com> Change telecomm APIs from protected to public (3/3)

Bug: 16416927
Change-Id: I859c80a120fa59bba12a5c6bfca17fa57613a6aa
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
a4d98ab1b82be5f9723c27ee0459b3217b58f030 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccountMetadata to PhoneAccount

Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
a5a70f9b338cae25046b336a8602f14bc9b86069 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccount to PhoneAccountHandle

Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
e0f0678d14f09665463abd949e5b217c95ff99c5 17-Jul-2014 Ihab Awad <ihab@google.com> Wire up multi-SIM experience (4/4)

Change-Id: Ibfcf8a0d68bf48bd32cd0e1a155a5fa7719e53e2
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
22d32b2b81bba31b6ebd93753a5c1ec39e911981 15-Jul-2014 Sailesh Nepal <sail@google.com> Remote incoming calls: Telephony

Change-Id: Ie8091aacfd9be36d63db02eb8a0a4935753d657f
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
3199aa7f8bcb48569eb8289abc055ba0f8496ba8 14-Jul-2014 Sailesh Nepal <sail@google.com> Telephony cleanup do not merge

This CL removes the PSTN and SIP call service providers.
The connection services will now be looked up by package
manager instead.

This CL also cleanups the telephony connection service code.
Now that the SIP code has been moved out the code can be much
simpler and PstnConnection* and TelephonyConnection* can be
merged.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 8306b5e6d829c0aa3eacaa12a1cddcf3df7194dc)
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
2093a451b17c26f4341e9565b65dcaa0e20bbd7d 12-Jul-2014 Sailesh Nepal <sail@google.com> Mis Telecomm API changes - telephony

This CL fixes up Telephony to work with the API changes
in ag/501321.

Change-Id: Iaffe0b84cea6003f2a9b9d8b30676743d2b236d4
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
1344f67ea331f9a485f54c4b5e26d62a5cfad3fb 11-Jul-2014 Sailesh Nepal <sail@google.com> Hookup incoming and outgoing SIP calls

This CL hooks up SipConnection and SipConnectionService.

Bug: 14999064
Change-Id: Iddf4a06c70fb73398844e48a80be4c63f6b82e73
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java
788959e2d798da2d8a34cf89779421966d200f3d 09-Jul-2014 Sailesh Nepal <sail@google.com> SIP Part 1, move sip code

This CL moves the SIP code to
sip/src/com/android/services/telephony/sip

Moving the SIP code helps with a couple of things:
- remove legacy dependency on old telephony code
(PhoneUtils, etc...)
- separate SIP from the PSTN connection code which
is very different from SIP code
- get the code ready for a future move out of
Telephony all together

Bug: 14999064
Change-Id: Id32de6517d31be4aa177b2764d5bac1e1f9851c2
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipConnectionService.java