/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | EasSyncServiceTests.java | 54 EasSyncService svc = new EasSyncService(); in testAddHeaders() local 55 svc.mAuthString = "auth"; in testAddHeaders() 56 svc.mProtocolVersion = "12.1"; in testAddHeaders() 57 svc.mAccount = null; in testAddHeaders() 59 svc.setHeaders(method, false); in testAddHeaders() 65 svc.setHeaders(method, true); in testAddHeaders() 72 svc.mAccount = account; in testAddHeaders() 74 svc.setHeaders(method, true); in testAddHeaders() 80 svc.mAccount = account; in testAddHeaders() 82 svc.setHeaders(method, true); in testAddHeaders() [all …]
|
D | EasOutboxServiceTests.java | 33 EasOutboxService svc = new EasOutboxService(mProviderContext, new Mailbox()); in testGenerateSmartSendCmd() local 36 String cmd = svc.generateSmartSendCmd(true, info); in testGenerateSmartSendCmd() 40 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd() 44 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
D | EasAccountServiceTests.java | 39 EasAccountService svc = new EasAccountService(); in testResetHeartbeats() local 41 svc.mPingMaxHeartbeat = 1000; in testResetHeartbeats() 42 svc.mPingMinHeartbeat = 200; in testResetHeartbeats() 43 svc.mPingHeartbeat = 300; in testResetHeartbeats() 44 svc.mPingForceHeartbeat = 100; in testResetHeartbeats() 45 svc.mPingHeartbeatDropped = true; in testResetHeartbeats() 46 svc.resetHeartbeats(400); in testResetHeartbeats() 47 assertEquals(400, svc.mPingMinHeartbeat); in testResetHeartbeats() 48 assertEquals(1000, svc.mPingMaxHeartbeat); in testResetHeartbeats() 49 assertEquals(400, svc.mPingHeartbeat); in testResetHeartbeats() [all …]
|
D | EasSyncServiceTests.java | 54 EasSyncService svc = new EasSyncService(); in testAddHeaders() local 55 svc.mAuthString = "auth"; in testAddHeaders() 56 svc.mProtocolVersion = "12.1"; in testAddHeaders() 57 svc.mAccount = null; in testAddHeaders() 59 svc.setHeaders(method, false); in testAddHeaders() 65 svc.setHeaders(method, true); in testAddHeaders() 72 svc.mAccount = account; in testAddHeaders() 74 svc.setHeaders(method, true); in testAddHeaders() 80 svc.mAccount = account; in testAddHeaders() 82 svc.setHeaders(method, true); in testAddHeaders() [all …]
|
D | EasOutboxServiceTests.java | 33 EasOutboxService svc = new EasOutboxService(mProviderContext, new Mailbox()); in testGenerateSmartSendCmd() local 36 String cmd = svc.generateSmartSendCmd(true, info); in testGenerateSmartSendCmd() 40 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd() 44 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ServiceStore.java | 53 IEmailService svc = getService(); in checkSettings() local 56 if (svc instanceof EmailServiceProxy) { in checkSettings() 57 ((EmailServiceProxy)svc).setTimeout(90); in checkSettings() 59 return svc.validate(mHostAuth); in checkSettings()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasSyncService.java | 382 EasSyncService svc = new EasSyncService("OutOfBand"); in setupServiceForAccount() local 384 svc.mProtocolVersion = protocolVersion; in setupServiceForAccount() 385 svc.mProtocolVersionDouble = Eas.getProtocolVersionDouble(protocolVersion); in setupServiceForAccount() 386 svc.mContext = context; in setupServiceForAccount() 387 svc.mHostAddress = ha.mAddress; in setupServiceForAccount() 388 svc.mUserName = ha.mLogin; in setupServiceForAccount() 389 svc.mPassword = ha.mPassword; in setupServiceForAccount() 391 svc.setConnectionParameters(ha); in setupServiceForAccount() 392 svc.mDeviceId = ExchangeService.getDeviceId(context); in setupServiceForAccount() 398 svc.mAccount = account; in setupServiceForAccount() [all …]
|
D | ExchangeService.java | 1314 AbstractSyncService svc = mServiceMap.get(mid); in stopAccountSyncs() local 1315 if (svc != null) { in stopAccountSyncs() 1316 svc.stop(); in stopAccountSyncs() 1320 AbstractSyncService svc = mServiceMap.get(mid); in stopAccountSyncs() local 1321 if (svc != null) { in stopAccountSyncs() 1322 svc.stop(); in stopAccountSyncs() 1323 Thread t = svc.mThread; in stopAccountSyncs() 1381 AbstractSyncService svc = exchangeService.mServiceMap.get(id); in reloadFolderList() local 1383 if (svc != null) { in reloadFolderList() 1384 synchronized (svc.getSynchronizer()) { in reloadFolderList() [all …]
|
D | AbstractSyncService.java | 133 AbstractSyncService svc; in validate() local 135 svc = klass.newInstance(); in validate() 136 return svc.validateAccount(hostAuth, context); in validate()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | Search.java | 70 EasSyncService svc = EasSyncService.setupServiceForAccount(context, account); in searchMessages() 71 if (svc == null) return res; in searchMessages() 81 svc.mMailbox = searchMailbox; in searchMessages() 82 svc.mAccount = account; in searchMessages() 112 EasResponse resp = svc.sendHttpClientPost("Search", s.toByteArray()); in searchMessages() 118 SearchParser sp = new SearchParser(is, svc, filter); in searchMessages() 125 svc.userLog("Search returned " + code); in searchMessages() 131 svc.userLog("Search exception " + e); in searchMessages()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | PushReceiver.java | 123 Intent svc = new Intent(mContext, TransactionService.class); in doInBackground() local 124 svc.putExtra(TransactionBundle.URI, uri.toString()); in doInBackground() 125 svc.putExtra(TransactionBundle.TRANSACTION_TYPE, in doInBackground() 127 mContext.startService(svc); in doInBackground()
|