Hung-ying Tyan
fc51f2c972
SipService: fix thread/socket leak
...
Should call SipSessionGroup.close() instead of closeNotToReceiveCalls() to stop
the SIP stack (which will stop the MessageProcessor thread and close its socket).
Might be related to ANR's reported by:
http://b/issue?id=3021924
http://b/issue?id=3021927
Change-Id: I4ead1d81fc9abac983f5753b825d20bc1cc79866
2010-09-23 00:02:34 +08:00
Hung-ying Tyan
b17eae9e22
SipService: move event handling out of system server's main thread
...
http://b/issue?id=2998047
Change-Id: Ibe0b6a19bb8b453fa852a94b3daf3cb80d7377b0
2010-09-20 10:10:34 +08:00
Hung-ying Tyan
97963794af
SIP: convert enum to static final int.
...
Converts SipErrorCode and SipSessionState.
Change-Id: Iee3a465649ea89d395b2336bbd673c25113e5f93
2010-09-20 09:51:31 +08:00
Hung-ying Tyan
c4b87477c0
SIP: add config flag for wifi-only configuration.
...
http://b/issue?id=2994029
Change-Id: I328da9b0f8b70d660dbcefffdac8250341792101
2010-09-20 08:03:20 +08:00
Hung-ying Tyan
c7510581b8
SipService: add log control, suppress ping log.
...
Change-Id: I78332ddee1272be41b1fbc80c603e41200c6be1a
2010-09-16 19:45:20 +08:00
Hung-ying Tyan
12bec5ddf5
SipService: ignore connect event for non-active networks.
...
+ sanity check and remove redundant code.
Change-Id: I4d3e226851ad7fc4d88ddcd0a5c58f7e33b6c14a
2010-09-15 00:49:02 +08:00
Hung-ying Tyan
d231aa880a
SipService: deliver connectivity change to all sessions.
...
+ add DATA_CONNECTION_LOST to SipErrorCode
+ convert it to Connection.DisconnectCause.LOST_SIGNAL in SipPhone
http://b/issue?id=2992548
Change-Id: Ie8983c1b81077b21f46304cf60b8e61df1ffd241
2010-09-14 08:00:09 +08:00
Hung-ying Tyan
3d7606aa60
SIP: enhance timeout and registration status feedback.
...
http://b/issue?id=2984419
http://b/issue?id=2991065
Change-Id: I2d3b1dd3a70079ff347f7256f4684aea07847f4e
2010-09-13 17:45:39 +08:00
Chung-yih Wang
4d1e012127
Change the keep-alive interval to 10 seconds.
...
Change-Id: I216cee622f57ee18533de3960d4da1a41e01f1ae
2010-09-09 13:27:10 +08:00
Chia-chi Yeh
95b15c3560
SipService: reduce the usage of javax.sdp.*.
...
After this change, SipAudioCallImpl is the only place still using it.
Change-Id: I5693bffa54f9e19cbfa70b45dfcf40fba04dedbb
2010-09-02 22:15:26 +08:00
Hung-ying Tyan
3424c02e6b
Add software features for SIP and VOIP
...
and block SipService creation and SIP API if the feature is not available.
Change-Id: Icf780af1ac20dda4d8180cea3e5b20e21a8350bc
2010-09-02 08:10:13 +08:00
Chung-yih Wang
5424c8dcac
Add dynamic uid info for tracking the sip service usage.
...
Change-Id: Ibc340401b63799326b08aee6eba602a3e753b13f
2010-08-26 10:12:05 +08:00
Chung-yih Wang
1d62c7737c
Fix the build
...
Change-Id: I410e2fd057b68e1b5b5b33ee10178a01d3c9b2fa
2010-08-06 11:52:38 +08:00
Chung-yih Wang
2d94231ef9
Add SIP service into system server.
...
Change-Id: Icc39e4e54768cfdcc1b20a3efe6206009b9a8d10
2010-08-06 08:40:50 +08:00