HomeSort by relevance Sort by last modified time
    Searched refs:inactiveTime (Results 1 - 3 of 3) sorted by null

  /packages/apps/IM/src/com/android/im/imps/
SmsDataChannel.java 166 long inactiveTime = SystemClock.elapsedRealtime() - mLastActive;
167 if (needSendKeepAlive(inactiveTime)) {
171 return mKeepAliveMillis - inactiveTime;
191 private boolean needSendKeepAlive(long inactiveTime) {
192 return mKeepAliveMillis - inactiveTime <= 500;
TcpCirChannel.java 270 long inactiveTime = SystemClock.elapsedRealtime() - mLastActive;
271 if(needSendPing(inactiveTime)) {
285 return PING_INTERVAL - inactiveTime;
289 private boolean needSendPing(long inactiveTime) {
290 return (PING_INTERVAL - inactiveTime) < 500;
HttpDataChannel.java 247 long inactiveTime = SystemClock.elapsedRealtime() - mLastActive;
248 if (needSendKeepAlive(inactiveTime)) {
252 return mKeepAliveMillis - inactiveTime;
256 private boolean needSendKeepAlive(long inactiveTime) {
257 return mKeepAliveMillis - inactiveTime <= 500;

Completed in 477 milliseconds