summaryrefslogtreecommitdiffstats
path: root/voip
Commit message (Collapse)AuthorAgeFilesLines
* SipService: fix a missing switch-case break.Hung-ying Tyan2010-10-121-0/+1
| | | | Change-Id: I638eecd8000293d4cb37b3595c02ca33df4924eb
* SipHelper: add debug log for challenge responses.Hung-ying Tyan2010-10-111-0/+2
| | | | Change-Id: If0143a0f076ef30b1b8998e477df933923bfa7b1
* Do not release the wifi lock if the screen is off.Chung-yih Wang2010-10-091-1/+21
| | | | | | | We need to be able to receive calls if the device is able to reassociate with any AP later on. Change-Id: Ib7aafb98386bf250ed9b5ec0a5b519594efa1649
* SipService: add permission check for using APIHung-ying Tyan2010-10-081-4/+21
| | | | Change-Id: Ifd85ba07f1b913011cb3e80e5027c67bfe3db280
* Unhide SIP API.Hung-ying Tyan2010-10-087-144/+208
| | | | Change-Id: I09468e3149a242a3b1e085ad220eb74f84ac6c68
* Suppress harder for echo without affecting the volume of real voice.Chung-yih Wang2010-10-081-1/+2
| | | | Change-Id: Ia3ce98eedd487a9e879ff0a4907b8c15b5707429
* Make SipService broadcast SIP_SERVICE_UP when it's up.Hung-ying Tyan2010-10-072-0/+8
| | | | | | http://b/issue?id=3062010 Change-Id: I13419fa3a8fdfba1977260f703e4dcaa42a6606c
* Merge "SIP: Fix busy authentication loop." into gingerbreadHung-ying Tyan2010-10-062-35/+30
|\
| * SIP: Fix busy authentication loop.Hung-ying Tyan2010-10-072-35/+30
| | | | | | | | | | | | | | | | | | | | Add a retry count and give up after two attempts. Also stop auto registration when server is unreachable. And rename onError() to restartLater() for better readability. http://b/issue?id=3066573 Change-Id: Icfa65c58546a1e2bf8e59e29584a3926c53c479b
* | Misc fixes for sim-eng build.Chung-yih Wang2010-10-062-1/+2
|/ | | | Change-Id: I0c5dac1097abc924e66dab92d7d03d5051b4fd29
* Merge "SIP: add SERVER_UNREACHABLE error code." into gingerbreadHung-ying Tyan2010-10-042-2/+7
|\
| * SIP: add SERVER_UNREACHABLE error code.Hung-ying Tyan2010-10-052-2/+7
| | | | | | | | | | | | | | | | | | | | Let SipSession return it when UnknownHostException is caught. Add DisconnectCause.SERVER_UNREACHABLE in Connection and have SipPhone report it when receiving SERVER_UNREACHABLE from SipSession. http://b/issue?id=3061691 Change-Id: I944328ba3ee30c0a9386e89b5c4696d4d9bde000
* | SipService: supply PendingIntent when open a profile.Hung-ying Tyan2010-10-053-64/+74
|/ | | | | | | | | | | The SipService used to take an action string and broadcasts an intent with that action string when an incoming call is received. The design is not safe (as the intent may be sniffed) and inflexible (can only received by BroadcastReceiver). Now we use PendingIntent to fix all these. Companion CL: https://android-git.corp.google.com/g/#change,71800 Change-Id: Id12e5c1cf9321edafb171494932cd936eae10b6e
* Merge "RTP: Add a baseline echo suppressor." into gingerbreadChia-chi Yeh2010-10-044-2/+228
|\
| * RTP: Add a baseline echo suppressor.Chia-chi Yeh2010-10-054-2/+228
| | | | | | | | Change-Id: I832f1f572f141fd928afe671b12d0b59f2a8e0b1
* | SIP: minor fixes.Hung-ying Tyan2010-10-042-7/+25
|/ | | | | | | | + Log error instead of crashing app process in SipManager's ListenerRelay. + Terminate dialog and transaction in SipSessionGroup.reset(). + Remove redundant reset() in SipSessionGroup. Change-Id: Ifbf29d2c9607ffe1a1a50b0c131ee3a4e81a0d0e
* Merge "RTP: Start AudioRecord before AudioTrack to avoid being disabled." ↵Chia-chi Yeh2010-09-301-14/+13
|\ | | | | | | into gingerbread
| * RTP: Start AudioRecord before AudioTrack to avoid being disabled.Chia-chi Yeh2010-10-011-14/+13
| | | | | | | | Change-Id: I96be89fda41d77e2cf5bfc1c2f14e2b109001b57
* | Merge "SipService: turn off verbose logging" into gingerbreadHung-ying Tyan2010-09-301-1/+2
|\ \ | |/ |/|
| * SipService: turn off verbose loggingHung-ying Tyan2010-10-011-1/+2
| | | | | | | | Change-Id: I264662ba17d215d532f58b6ee793e569fe67c334
* | RTP: Minor fixes with polishing.Chia-chi Yeh2010-09-303-19/+20
|/ | | | Change-Id: I50641373989e512fb489b5017edbcfd7848fe8b9
* Merge "Add uri field to SipManager.ListenerRelay" into gingerbreadHung-ying Tyan2010-09-301-10/+12
|\
| * Add uri field to SipManager.ListenerRelayHung-ying Tyan2010-09-301-10/+12
| | | | | | | | | | | | in case mSession is not available. Change-Id: Ifee2c129e48aa1177f648f176413ab6aa5606770
* | Merge "RTP: Adjust the jitter buffer to 512ms." into gingerbreadChia-chi Yeh2010-09-291-23/+35
|\ \ | |/ |/|
| * RTP: Adjust the jitter buffer to 512ms.Chia-chi Yeh2010-09-301-23/+35
| | | | | | | | Change-Id: Ia91c1aa1a03b65dbd329ea98383f370844e2b0c0
* | SipService: add UID check.Hung-ying Tyan2010-09-301-15/+65
|/ | | | | | Only allow creator or radio user to access profiles. Change-Id: I548938f117926bcc878419142d1b5d818a4e70df
* Merge "RTP: Enable AMR codec." into gingerbreadChia-chi Yeh2010-09-293-2/+174
|\
| * RTP: Enable AMR codec.Chia-chi Yeh2010-09-303-2/+174
| | | | | | | | Change-Id: I49e6bdc1b67306b44173f2f346f8372a50264870
* | Merge "SIP: misc fixes." into gingerbreadHung-ying Tyan2010-09-293-58/+94
|\ \ | |/ |/|
| * SIP: misc fixes.Hung-ying Tyan2010-09-303-58/+94
| | | | | | | | | | | | | | | | | | | | + Fix keepalive timer event leak due to the race between stopping timer and the async'ed timeout handler + SipSessionImpl: set state before handling an event to ensure we get correct state when some error occurs during handling the event. + Fix potential NPE in SipManager.ListenerRelay.getUri(). Change-Id: I021ee34f83059fd4fbb64b30bea427a5462aa51b
* | RTP: Enable GSM-EFR codec.Chia-chi Yeh2010-09-304-3/+110
| | | | | | | | Change-Id: I9d84009e4557a0a82c1f9d7d543922741be97c77
* | RTP: Revise the workaround of private addresses and fix bugs.Chia-chi Yeh2010-09-301-27/+24
| | | | | | | | Change-Id: Ie654b569f47049aa452eca8d3e6d4a98ac18469c
* | Merge changes Iae1913fb,I38dbefef into gingerbreadChia-chi Yeh2010-09-285-123/+224
|\ \ | |/ |/| | | | | | | * changes: RTP: Enable GSM codec. RTP: Refactor out G711 codecs into another file.
| * RTP: Enable GSM codec.Chia-chi Yeh2010-09-294-4/+84
| | | | | | | | Change-Id: Iae1913fb0643f1c66b5d16f24d51924d363e5ef5
| * RTP: Refactor out G711 codecs into another file.Chia-chi Yeh2010-09-293-120/+141
| | | | | | | | Change-Id: I38dbefef2315a28d44683e86a51e69f38e3f20ec
* | Merge "RTP: Delay the initialization of AudioTrack and AudioRecord." into ↵Chia-chi Yeh2010-09-281-133/+123
|\ \ | | | | | | | | | gingerbread
| * | RTP: Delay the initialization of AudioTrack and AudioRecord.Chia-chi Yeh2010-09-291-133/+123
| |/ | | | | | | | | | | Related to http://b/3043844. Change-Id: I2c4fd9f64e6eba597d68b2ea1ceeff83103697db
* | SIP: Feedback any provisional responses in addition to RINGHung-ying Tyan2010-09-291-1/+5
| | | | | | | | | | | | | | | | | | The only exception is TRYING. Also remove an unused import in SipSessionGroup. http://b/issue?id=3021865 Change-Id: I160982b0c4b417362f1fb961217db90c3a585ce5
* | SIP: add DisconnectCause.SERVER_ERRORHung-ying Tyan2010-09-281-5/+2
|/ | | | | | | | | and fix how SipErrorCode.SERVER_ERROR is determinted from server response, not from local exceptions. http://b/issue?id=3041332 Change-Id: Idce67e29858d5c7573b98b7fa1fac074913d71d6
* Move SipService out of SystemServer to phone process.Hung-ying Tyan2010-09-284-0/+3308
| | | | | | | Companion CL: https://android-git/g/#change,70187 http://b/issue?id=2998069 Change-Id: I90923ac522ef363a4e04292f652d413c5a1526ad
* Merge "SipAudioCall: remove SipManager dependency." into gingerbreadHung-ying Tyan2010-09-272-11/+12
|\
| * SipAudioCall: remove SipManager dependency.Hung-ying Tyan2010-09-242-11/+12
| | | | | | | | Change-Id: I2dc8bf427e52f64529ee0e0261362b975a8917c6
* | SipService: handle cross-domain authentication errorHung-ying Tyan2010-09-271-0/+5
| | | | | | | | | | | | | | | | | | and add new CROSS_DOMAIN_AUTHENTICATION error code and OUT_OF_NETWORK DisconnectCause. http://b/issue?id=3020185 Change-Id: Icc0a341599d5a72b7cb2d43675fbddc516544978
* | Fix the unhold issue especially if one is behind NAT.Chung-yih Wang2010-09-271-2/+27
|/ | | | | | +call startAudio() when call is established. Change-Id: Ib6a1e34017fb83007ce275da1991058e8b803833
* SDP: remove dead code.Chia-chi Yeh2010-09-243-530/+0
| | | | Change-Id: I2a5764a2b9cabc54b0ac18666e494c1cb39c4e9b
* Refactoring SIP classes to get ready for API review.Hung-ying Tyan2010-09-246-1061/+1459
| | | | | | | | | | | | | + replace SipAudioCall and its Listener interfaces with real implementations, + remove SipAudioCallImpl.java, most of it is has become part of SipAudioCall, + add SipSession and its Listener classes to wrap ISipSession and ISipSessionListener, + move SipSessionState to SipSession.State, + make SipManager keep context and remove the context argument from many methods of its, + rename SipManager.getInstance() to newInstance(), + rename constant names for action strings and extra keys to follow conventions, + set thread names for debugging purpose. Change-Id: Ie1790dc0e8f49c06c7fc80d33fec0f673a9c3044
* Fix the build.repo sync2010-09-231-1/+1
| | | | Change-Id: I82210cb2d41f532583f83ea17e6f2d8d49280a30
* SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.repo sync2010-09-231-196/+185
| | | | Change-Id: I7efff4f29ca84c3e7c17ef066b7186b514a777b2
* SDP: Add a simple class to help manipulate session descriptions.Chia-chi Yeh2010-09-231-0/+612
| | | | Change-Id: I1631ee20e8b4a9ad8e2184356b5d13de66e03db1
* RTP: Add log throttle for "no data".repo sync2010-09-231-1/+5
| | | | Change-Id: I14d9886a40fa780514cbc6c5bac6fb2a670f55f4