| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Explicitly use Locale.US in SimpleSessionDescription to avoid
unexpected results in some locales.
Change-Id: Idb4a36a9e332d302e1b9b940355917c0f738e076
|
|
|
|
| |
Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This allows different accounts binding on different IP addresses,
such as one on IPv4 and another on IPv6.
Bug: 4169057
Change-Id: I0bb36669394c281330091673fa338adea8f782cd
|
|/
|
|
| |
Change-Id: I063644507f26996ded462972afcb550a4528dac8
|
|
|
|
| |
Change-Id: I52cbdea48affae3747942940451f4fd5ca47030f
|
|
|
|
| |
Change-Id: Ie432049156e70b6748426b959b653f21bfc504a1
|
|
|
|
| |
Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
|
|
|
|
|
| |
Bug: 5616713
Change-Id: Iaf2e6878731d10d7f4f2a7cd8af71f4517780642
|
|
|
|
|
|
|
|
|
|
| |
This patch assumes that for the same network type,
there MUST be a DISCONNECTED between two CONNECTEDs.
Also removes the Wi-Fi scanning since the framework
already handles this when a WifiLock is held.
Bug: 4283795
Change-Id: I08481e70c651cffcbb516c8cc6584c919078fa4f
|
|
|
|
|
| |
Bug: 5226511
Change-Id: I1283790581496b1ff4e583a8d9379cdc39f78c20
|
|
|
|
|
|
|
|
| |
If the expiry time cannot be found in Contact header or Expires
header, use the default value of 3600 seconds, which is specified
in RFC 3261.
Change-Id: I2607a398b96743614b01713cfd9b28f40386fac1
|
|
|
|
|
|
|
|
|
|
|
| |
There can be three expiry times in the same message header. We
choose the smaller value in Expires header and Contact header,
and then we obey the value defined in Min-Expires header. If
none of them is set, the default value is used.
Bug: 5178284
Change-Id: Ie9d4a48c93863e82e5197bb4a0db3f4fec56857c
|
|
|
|
|
| |
Bug: 5159669
Change-Id: I029684334500d4d0db176783084c9b7d1db87e40
|
|\
| |
| |
| |
| |
| |
| | |
NullPointerException cases while using SipService."
* commit '0793586bf8f4dce71d0b4d7ff2f212129b3f76fe':
Prevent NullPointerException cases while using SipService.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
cases while using SipService."
* commit 'f8c1f1298ac3ede518c8d29eeb6719746c6afaf0':
Prevent NullPointerException cases while using SipService.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some SipService methods may return null, in such cases like no Wi-Fi
connection. Added minimum check to prevent NullPointerExceptions.
Change-Id: Ia7fae57ee893f2564cbfdedb6dc614938ab60ff7
Signed-off-by: Masahiko Endo <masahiko.endo@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle REFER requests including REFER with Replaces header.
bug:4958680
Change-Id: I96df95097b78bed67ab8abd309a1e57a45c6bc2f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The current implementation always starts with default minimum interval when
the measurement process starts. By keeping last known good interval, we can
save the time in re-measurement.
Change-Id: I8f1720acafaa7e101855fe0c66d5c7b0e578e0d7
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 3111564
Change-Id: Ifc76e5c378d620e40ce4adf6ffa20807e9750fdb
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only need to keep alive for caller in a newly established call.
Change-Id: I36f9d9499c806c8701e3b78555de399b00593be8
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
to fix the race of two threads that change mPendingIntent; one assigns a new one
and the other nullifies it.
Change-Id: I5e01f83ea1ac437811d2073839adef9bd0a30ec9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In two ways:
(1) When there's a session timeout, restart the measurement at a later time
instead of just stalling.
(2) When there's a port change, do not re-measure the interval if the current
interval works well in the past. We keep success count and decrement it
by half when there's a port change. When the count is below a threshold,
we restart the measurement process.
Change-Id: I7256464435a5e2d2a239bfccaa004e9ceb1d9ce5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and use them to create the contact header when sending OK response for INVITE.
Bug: 3461707
Change-Id: I5b254618f4920cf10a1460631bcd336778f344ec
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:3326873
Change-Id: Ie29d2c61b237fee2d8637f4ba3d293a22469cced
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
so that the callee can send signals (on-hold or bye) back to the caller.
Without the keepalive, the NAT port for the caller will be timed out during the
call. And the signals will be dropped by the NAT device.
Change-Id: I21848d73469045b2ed9e7281556ab184c594c362
|
| | |
| | |
| | |
| | |
| | | |
bug:3326870
Change-Id: Idbfbe7e3cc6ba83874d42bfb7d149866f454e70a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Misc keepalive fixes including:
+ Restart NAT port timeout measurement when keepalive fails. The max interval
is set to the current keepalive interval.
+ When exception occurs during sending a keepalive, restarts registration.
+ When exception occurs during measurement, retry for a limited times before
giving up.
Change-Id: I7aa787a5ec7c4c9b4334aa1017371d9049b3520c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Events are sorted by periods. So events of larger periods may have trigger
time (i.e., when the event should be processed) earlier than the ones of smaller
periods. So need to scan the whole queue looking for due events. The scan takes
O(n) time but we expect the queue size to be small.
Change-Id: I08bd3bd9d4bb8decb78f3c91c943396463ca023a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a regression from the CL that makes the keep-alive process a reusable
component.
Change-Id: I1d580588e9e303c532bf620056fc0fe88a2fdcda
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reuse the new component in the original keepalive process and the NAT port
mapping timeout measurement process.
This is the foundation for fixing the following bug.
Bug: 3464181
Change-Id: If7e951c000503fa64843942ad062c4d853e20c8d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is to prepare to move keepalive process to SipSessionGroup before fixing
the following bug.
Bug: 3464181
Change-Id: I57d8f6effad76706b5a76e1269c53d558db88ae4
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bug:458435
This will temporarily start a thread for answering calls, we are
going to add a handler thread to handle this soon.
Change-Id: I9079038d671e1b1631c6e663fc2c3de297d97428
|
|/ /
| |
| |
| | |
Change-Id: Id5ea2fcfa0bcd45198e773a5842d39eacc8ae400
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
honeycomb-mr1
* commit 'a7a9c4cbbc2315a59ad27b43c83c66e272dcc2f2':
docs: add package description for RTP
|
| | |
| | |
| | |
| | | |
Change-Id: I02c181a48101be288fb4aabf497f573f00038f90
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
special allowed chars."
* commit '6f67e7bf831147257e078dd72a22f2e43e009122':
Making it possible to call SIP calls with special allowed chars.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since String.replaceFirst uses regex and since SIP user names are
allowed to include regex charaters such as '+', the code must
fist convert the string to a literal pattern String before using
replaceFirst method.
Change-Id: I25eac852bd620724ca1c5b2befc023af9dae3c1a
|
| |\
| | |
| | |
| | |
| | |
| | | |
* changes:
SipService: registers broadcast receivers on demand.
SipService: release wake lock for cancelled tasks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The previous implementation registers receivers when SipService starts up.
If the user doesn't use SIP at all, SipService will still process connecivity
and wifi state change events, which involves holding wake lock and thus
consumes power unnecessarily.
With this CL, SipService is completely idle if the user doesn't use SIP at all.
It registers receivers only when at least one account is opened.
Bug: 3326998
Change-Id: Ib70e0cf2c808e0ebab4c3c43dcab5532d24e5eeb
|
| | |
| | |
| | |
| | |
| | | |
Bug: 3327004
Change-Id: I0691cd70edf61f815ecb0613aca85babd89f6cc4
|
| |/
| |
| |
| |
| | |
bug:3326867
Change-Id: I2a62c75fb3f5e9c6ec2e00b29396e93b0c183d9b
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change unhides RTP related classes including AudioCodec,
AudioGroup, AudioStream, and RtpStream. This allows developers
to control audio streams directly and also makes conference
calls possible with the combination of the public SIP APIs.
Change-Id: Idfd4edf65a1cbf3245ec2786fbc03b06438b0fb3
|
| |
| |
| |
| | |
Change-Id: If600df0eb1e6135aed9f3b2eacfb6bc9ed5d78ff
|
| |
| |
| |
| |
| |
| | |
bug:3487791
Change-Id: I7d8d146f8542cd7df387547c7ce3d5ded27f8e97
|
| |
| |
| |
| |
| | |
bug:3461707
Change-Id: I69a4f84dde3929c754c838fd12e624b774f44826
|