Home
last modified time | relevance | path

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

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java61 ConcurrentHashMap<Long, SyncError> errorMap = exchangeService.mSyncErrorMap; in testReleaseSyncHolds() local
63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds()
64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds()
65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
66 errorMap.put(box4.mId, securityErrorAccount2); in testReleaseSyncHolds()
68 assertEquals(4, errorMap.keySet().size()); in testReleaseSyncHolds()
73 assertEquals(2, errorMap.keySet().size()); in testReleaseSyncHolds()
75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds()
79 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java61 ConcurrentHashMap<Long, SyncError> errorMap = exchangeService.mSyncErrorMap; in testReleaseSyncHolds() local
63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds()
64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds()
65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
66 errorMap.put(box4.mId, securityErrorAccount2); in testReleaseSyncHolds()
68 assertEquals(4, errorMap.keySet().size()); in testReleaseSyncHolds()
73 assertEquals(2, errorMap.keySet().size()); in testReleaseSyncHolds()
75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds()
79 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasAccountService.java797 HashMap<String, Integer> errorMap) in parsePingResult() argument
835 errorMap.remove(serverId); in parsePingResult()
840 Integer failures = errorMap.get(serverId); in parsePingResult()
843 errorMap.put(serverId, 1); in parsePingResult()
850 errorMap.put(serverId, failures + 1); in parsePingResult()
DExchangeService.java2593 ConcurrentHashMap<Long, SyncError> errorMap = exchangeService.mSyncErrorMap; in done() local
2594 SyncError syncError = errorMap.get(mailboxId); in done()
2619 errorMap.remove(mailboxId); in done()
2651 errorMap.put(mailboxId, exchangeService.new SyncError(exitStatus, errorIsFatal)); in done()