Home
last modified time | relevance | path

Searched refs:transport (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java25 import com.android.email.mail.transport.MockTransport;
966 private static void setupUidlSequence(MockTransport transport, int numMessages) { in setupUidlSequence() argument
967 transport.expect("UIDL", "+OK sending UIDL list"); in setupUidlSequence()
969 transport.expect(null, Integer.toString(msgNum) + " " + getSingleMessageUID(msgNum)); in setupUidlSequence()
971 transport.expect(null, "."); in setupUidlSequence()
979 private static void setupListSequence(MockTransport transport, int numMessages) { in setupListSequence() argument
980 transport.expect("LIST", "+OK sending scan listing"); in setupListSequence()
982 transport.expect(null, Integer.toString(msgNum) + " " + in setupListSequence()
985 transport.expect(null, "."); in setupListSequence()
994 private static void setupBrokenListSequence(MockTransport transport, int numMessages) { in setupBrokenListSequence() argument
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java599 TestTcpTransport transport; in run() local
600 transport = new TestTcpTransport(s); in run()
605 transport = null; in run()
609 transport = null; in run()
614 if (D) Log.d(TAG, "Send transport message " + transport.toString()); in run()
615 mSessionHandler.obtainMessage(RFCOMM_CONNECTED, transport).sendToTarget(); in run()
633 BluetoothObexTransport transport; in run() local
634 transport = new BluetoothObexTransport(btSocket); in run()
638 if (V) Log.v(TAG, "Send transport message " + transport.toString()); in run()
640 mSessionHandler.obtainMessage(RFCOMM_CONNECTED, transport).sendToTarget(); in run()
DBluetoothOppService.java274 ObexTransport transport = (ObexTransport)msg.obj;
283 createServerSession(transport);
288 transport.close();
294 createServerSession(transport);
298 mPendingConnection = transport;
361 private void createServerSession(ObexTransport transport) { in createServerSession() argument
362 mServerSession = new BluetoothOppObexServerSession(this, transport); in createServerSession()
365 + " for incoming connection" + transport.toString()); in createServerSession()
DBluetoothOppRfcommListener.java98 TestTcpTransport transport = new TestTcpTransport(clientSocket); in start()
102 msg.obj = transport; in start()
163 BluetoothObexTransport transport = new BluetoothObexTransport( in start()
168 msg.obj = transport; in start()
DBluetoothOppObexClientSession.java78 public BluetoothOppObexClientSession(Context context, ObexTransport transport) { in BluetoothOppObexClientSession() argument
79 if (transport == null) { in BluetoothOppObexClientSession()
83 mTransport = transport; in BluetoothOppObexClientSession()
145 public ClientThread(Context context, ObexTransport transport, int initialNumShares) { in ClientThread() argument
148 mTransport1 = transport; in ClientThread()
DTestActivity.java409 TestTcpTransport transport = new TestTcpTransport(clientSocket); in start()
413 msg.obj = transport; in start()
DBluetoothOppObexServerSession.java102 public BluetoothOppObexServerSession(Context context, ObexTransport transport) { in BluetoothOppObexServerSession() argument
104 mTransport = transport; in BluetoothOppObexServerSession()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java159 int transport = msgData.getInt(EXTRA_PERIPHERAL_TRANSPORT); in doPeripheralHandover() local
162 this, device, name, transport, this); in doPeripheralHandover()
164 if (transport == BluetoothDevice.TRANSPORT_LE) { in doPeripheralHandover()
205 int transport = mBluetoothPeripheralHandover.mTransport; in onBluetoothPeripheralHandoverComplete() local
214 if (transport == BluetoothDevice.TRANSPORT_LE && !connected) { in onBluetoothPeripheralHandoverComplete()
DHandoverDataParser.java76 public int transport = BluetoothDevice.TRANSPORT_AUTO; field in HandoverDataParser.BluetoothHandoverData
406 result.transport = BluetoothDevice.TRANSPORT_LE; in parseBleOob()
DBluetoothPeripheralHandover.java108 int transport, Callback callback) { in BluetoothPeripheralHandover() argument
113 mTransport = transport; in BluetoothPeripheralHandover()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
DPrivacyActivity.java269 String transport = mBackupManager.getCurrentTransport(); in onBackupAccount() local
270 Intent configIntent = mBackupManager.getConfigurationIntent(transport); in onBackupAccount()
334 String transport = mBackupManager.getCurrentTransport(); in getMainActions() local
335 Intent configIntent = mBackupManager.getConfigurationIntent(transport); in getMainActions()
336 String configSummary = mBackupManager.getDestinationString(transport); in getMainActions()
/packages/apps/Email/
Dproguard-test.flags30 -keepclasseswithmembers class com.android.email.mail.transport.SmtpSender {
31 *** setTransport(com.android.email.mail.transport.MailTransport);
39 *** setTransport(com.android.email.mail.transport.MailTransport);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java332 public void clientConnect(int clientIf, String address, boolean isDirect, int transport) { in clientConnect() argument
335 service.clientConnect(clientIf, address, isDirect, transport); in clientConnect()
461 public void serverConnect(int serverIf, String address, boolean isDirect, int transport) { in serverConnect() argument
464 service.serverConnect(serverIf, address, isDirect, transport); in serverConnect()
1443 void clientConnect(int clientIf, String address, boolean isDirect, int transport) { in clientConnect() argument
1447 gattClientConnectNative(clientIf, address, isDirect, transport); in clientConnect()
1974 void serverConnect(int serverIf, String address, boolean isDirect, int transport) { in serverConnect() argument
1978 gattServerConnectNative(serverIf, address, isDirect,transport); in serverConnect()
2367 boolean isDirect, int transport); in gattClientConnectNative() argument
2437 boolean is_direct, int transport); in gattServerConnectNative() argument
[all …]
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java147 String transport = mBackupManager.getCurrentTransport(); in updateToggles() local
148 configIntent = mBackupManager.getConfigurationIntent(transport); in updateToggles()
149 configSummary = mBackupManager.getDestinationString(transport); in updateToggles()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp1005 jstring address, jboolean isDirect, jint transport) in gattClientConnectNative() argument
1011 sGattIf->client->connect(clientif, &bda, isDirect, transport); in gattClientConnectNative()
1641 … jint server_if, jstring address, jboolean is_direct, jint transport) in gattServerConnectNative() argument
1649 sGattIf->server->connect(server_if, &bd_addr, is_direct, transport); in gattServerConnectNative()
1712 jint server_if, jint svc_handle, jint transport ) in gattServerStartServiceNative() argument
1715 sGattIf->server->start_service(server_if, svc_handle, transport); in gattServerStartServiceNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java993 public boolean createBond(BluetoothDevice device, int transport) { in createBond() argument
1001 return service.createBond(device, transport); in createBond()
1499 boolean createBond(BluetoothDevice device, int transport) { in createBond() argument
1513 msg.arg1 = transport; in createBond()
2167 /*package*/ native boolean createBondNative(byte[] address, int transport); in createBondNative() argument
DBondStateMachine.java291 private boolean createBond(BluetoothDevice dev, int transport, boolean transition) { in createBond() argument
295 if (!mAdapterService.createBondNative(addr, transport)) { in createBond()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java365 BluetoothObexTransport transport = new BluetoothObexTransport(mConnSocket); in startObexServerSession() local
366 mServerSession = new ServerSession(transport, mapServer, null); in startObexServerSession()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java30 import com.android.email.mail.transport.DiscourseLogger;
31 import com.android.email.mail.transport.MailTransport;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java508 BluetoothObexTransport transport = new BluetoothObexTransport(mConnSocket); in startObexServerSession() local
509 mServerSession = new ServerSession(transport, mPbapServer, mAuth); in startObexServerSession()
/packages/apps/Browser/src/com/android/browser/
DTab.java674 WebView.WebViewTransport transport =
679 transport.setWebView(mSubView);
683 transport.setWebView(newTab.getWebView());
/packages/apps/Email/src/com/android/email/mail/transport/
DStatusOutputStream.java17 package com.android.email.mail.transport;
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java17 package com.android.email.mail.transport;
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DDiscourseLogger.java17 package com.android.email.mail.transport;
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapTestUtils.java25 import com.android.email.mail.transport.DiscourseLogger;

123