Home
last modified time | relevance | path

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

/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java65 MailTransport mTransport; field in ImapConnection
133 if (mTransport != null && mTransport.isOpen()) { in open()
139 if (mTransport == null) { in open()
140 mTransport = mImapStore.cloneTransport(); in open()
143 mTransport.open(); in open()
204 if (mTransport != null) { in close()
205 mTransport.close(); in close()
206 mTransport = null; in close()
249 mParser = new ImapResponseParser(mTransport.getInputStream(), mDiscourse); in createParser()
259 return mTransport != null && mTransport.isOpen(); in isTransportOpenForTest()
[all …]
DPop3Store.java79 mTransport = new MailTransport(context, "POP3", recvAuth); in Pop3Store()
91 mTransport = testTransport; in setTransport()
130 if (mTransport.isOpen()) { in checkSettings()
176 while ((response = mTransport.readLine(false)) != null) { in checkSettings()
183 mTransport.close(); in checkSettings()
194 if (mTransport.isOpen()) { in open()
203 mTransport.open(); in open()
210 if (mTransport.canTryTlsSecurity()) { in open()
213 mTransport.reopenTls(); in open()
232 mTransport.close(); in open()
[all …]
DImapStore.java115 mTransport = new MailTransport(context, "IMAP", recvAuth); in ImapStore()
170 mTransport = testTransport; in setTransportForTest()
532 return mTransport.clone(); in cloneTransport()
DImapFolder.java1090 final int socketTimeout = mConnection.mTransport.getSoTimeout(); in appendMessage()
1097 mConnection.mTransport.setSoTimeout(0); in appendMessage()
1102 mConnection.mTransport.getOutputStream(); in appendMessage()
1111 mConnection.mTransport.setSoTimeout(socketTimeout); in appendMessage()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java50 private MailTransport mTransport; field in SmtpSender
70 mTransport = new MailTransport(context, "SMTP", sendAuth); in SmtpSender()
86 mTransport = testTransport; in setTransport()
92 mTransport.open(); in open()
99 InetAddress localAddress = mTransport.getLocalAddress(); in open()
121 if (mTransport.canTryTlsSecurity()) { in open()
124 mTransport.reopenTls(); in open()
208 new EOLConvertingOutputStream(mTransport.getOutputStream()), in sendMessage()
225 mTransport.close(); in close()
252 mTransport.writeLine(command, sensitiveReplacement); in executeSensitiveCommand()
[all …]
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java86 final int mTransport; field in BluetoothPeripheralHandover
113 mTransport = transport; in BluetoothPeripheralHandover()
135 || (mProvisioning && mTransport != BluetoothDevice.TRANSPORT_LE)) { in start()
191 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepInit()
220 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepDisconnect()
253 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepDisconnect()
282 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in getProfileProxys()
306 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
326 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
358 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
[all …]
DPeripheralHandoverService.java200 int transport = mBluetoothPeripheralHandover.mTransport; in onBluetoothPeripheralHandoverComplete()
/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()
558 if (mTransport instanceof BluetoothOppRfcommTransport) { in onConnect()
559 destination = ((BluetoothOppRfcommTransport)mTransport).getRemoteAddress(); in onConnect()
DBluetoothOppTransfer.java99 private ObexTransport mTransport; field in BluetoothOppTransfer
162 mTransport = (ObexTransport)msg.obj; in handleMessage()
220 if (mTransport == null) { in handleMessage()
223 mTransport.close(); in handleMessage()
246 if (mTransport == null) { in handleMessage()
249 mTransport.close(); in handleMessage()
438 if (V) Log.v(TAG, "Create Client session with transport " + mTransport.toString()); in startObexSession()
439 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, numShares); in start()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java49 private ObexTransport mTransport; field in BluetoothMnsObexClient
135 if (mTransport != null) { in disconnect()
138 mTransport.close(); in disconnect()
139 mTransport = null; in disconnect()
215 mTransport = new BluetoothMnsRfcommTransport(btSocket); in connect()
218 mClientSession = new ClientSession(mTransport); in connect()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java54 protected MailTransport mTransport; field in Store