Home
last modified time | relevance | path

Searched refs:mTransport (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java49 private Transport mTransport; field in SmtpSender
85 mTransport = new MailTransport("IMAP"); in SmtpSender()
86 mTransport.setHost(sendAuth.mAddress); in SmtpSender()
87 mTransport.setPort(port); in SmtpSender()
88 mTransport.setSecurity(connectionSecurity, trustCertificates); in SmtpSender()
103 mTransport = testTransport; in setTransport()
109 mTransport.open(); in open()
116 InetAddress localAddress = mTransport.getLocalAddress(); in open()
138 if (mTransport.canTryTlsSecurity()) { in open()
141 mTransport.reopenTls(); in open()
[all …]
/packages/apps/Email/src/com/android/email/mail/store/
DImapConnection.java64 Transport mTransport; field in ImapConnection
99 if (mTransport != null && mTransport.isOpen()) { in open()
105 if (mTransport == null) { in open()
106 mTransport = mImapStore.cloneTransport(); in open()
109 mTransport.open(); in open()
110 mTransport.setSoTimeout(MailTransport.SOCKET_READ_TIMEOUT); in open()
171 if (mTransport != null) { in close()
172 mTransport.close(); in close()
173 mTransport = null; in close()
216 mParser = new ImapResponseParser(mTransport.getInputStream(), mDiscourse); in createParser()
[all …]
DPop3Store.java123 mTransport = new MailTransport("POP3"); in Pop3Store()
124 mTransport.setHost(recvAuth.mAddress); in Pop3Store()
125 mTransport.setPort(port); in Pop3Store()
126 mTransport.setSecurity(connectionSecurity, trustCertificates); in Pop3Store()
141 mTransport = testTransport; in setTransport()
196 if (mTransport.isOpen()) { in checkSettings()
243 while ((response = mTransport.readLine()) != null) { in checkSettings()
250 mTransport.close(); in checkSettings()
262 if (mTransport.isOpen()) { in open()
271 mTransport.open(); in open()
[all …]
DImapStore.java128 mTransport = new MailTransport("IMAP"); in ImapStore()
129 mTransport.setHost(recvAuth.mAddress); in ImapStore()
130 mTransport.setPort(port); in ImapStore()
131 mTransport.setSecurity(connectionSecurity, trustCertificates); in ImapStore()
157 mTransport = testTransport; in setTransportForTest()
486 return mTransport.clone(); in cloneTransport()
DImapFolder.java949 mConnection.mTransport.getOutputStream()); in appendMessages()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java69 private ObexTransport mTransport; field in BluetoothOppObexServerSession
102 mTransport = transport; in BluetoothOppObexServerSession()
121 if (D) Log.d(TAG, "Create ServerSession with transport " + mTransport.toString()); in preStart()
122 mSession = new ServerSession(mTransport, this, null); in preStart()
151 mTransport.close(); in stop()
184 if (mTransport instanceof BluetoothOppRfcommTransport) { in onPut()
185 destination = ((BluetoothOppRfcommTransport)mTransport).getRemoteAddress(); in onPut()
DBluetoothOppTransfer.java101 private ObexTransport mTransport; field in BluetoothOppTransfer
186 mTransport = (ObexTransport)msg.obj; in handleMessage()
244 if (mTransport == null) { in handleMessage()
247 mTransport.close(); in handleMessage()
270 if (mTransport == null) { in handleMessage()
273 mTransport.close(); in handleMessage()
458 if (V) Log.v(TAG, "Create Client session with transport " + mTransport.toString()); in startObexSession()
459 mSession = new BluetoothOppObexClientSession(mContext, mTransport); in startObexSession()
DBluetoothOppObexClientSession.java68 private ObexTransport mTransport; field in BluetoothOppObexClientSession
83 mTransport = transport; in BluetoothOppObexClientSession()
89 mThread = new ClientThread(mContext, mTransport); in start()
/packages/apps/Email/src/com/android/email/mail/
DStore.java53 protected Transport mTransport; field in Store