Home
last modified time | relevance | path

Searched refs:mPingDuration (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Exchange/src/com/android/exchange/eas/
DEasPing.java59 private long mPingDuration; field in EasPing
97 mPingDuration = account.mPingDuration; in EasPing()
98 if (mPingDuration == 0) { in EasPing()
99 mPingDuration = DEFAULT_PING_HEARTBEAT; in EasPing()
101 LogUtils.d(TAG, "initial ping duration " + mPingDuration + " account " + getAccountId()); in EasPing()
118 mPingDuration = Math.max(MINIMUM_PING_HEARTBEAT, in decreasePingDuration()
119 mPingDuration - MAXIMUM_HEARTBEAT_INCREMENT); in decreasePingDuration()
121 " new duration " + mPingDuration + " account " + getAccountId()); in decreasePingDuration()
126 mPingDuration = Math.min(MAXIMUM_PING_HEARTBEAT, in increasePingDuration()
127 mPingDuration + MAXIMUM_HEARTBEAT_INCREMENT); in increasePingDuration()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java141 public long mPingDuration; field in Account
281 mPingDuration = cursor.getLong(CONTENT_PING_DURATION_COLUMN); in restore()
395 return mPingDuration; in getPingDuration()
402 mPingDuration = value; in setPingDuration()
751 values.put(AccountColumns.PING_DURATION, mPingDuration); in toContentValues()
781 json.put(AccountColumns.PING_DURATION, mPingDuration); in toJson()
819 a.mPingDuration = json.optInt(AccountColumns.PING_DURATION, 0); in fromJson()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java58 assertEquals(77, a.mPingDuration); in testDeserializeFromJSON()
93 before.mPingDuration = 77; in testSerializeAndDeserializeWithJSON()
113 assertEquals(before.mPingDuration, after.mPingDuration); in testSerializeAndDeserializeWithJSON()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java309 assertEquals(caller + " mPingDuration", expect.mPingDuration, actual.mPingDuration); in assertAccountEqual()