Home
last modified time | relevance | path

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

123

/packages/modules/DnsResolver/
Dresolv_tls_unit_test.cpp146 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local
147 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F()
151 EXPECT_EQ(transport.getConnectCounter(), 1); in TEST_F()
180 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local
183 std::future<DnsTlsTransport::Result> f = transport.query(makeSlice(QUERY)); in TEST_F()
192 EXPECT_EQ(transport.getConnectCounter(), 1); in TEST_F()
199 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local
205 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
212 EXPECT_EQ(transport.getConnectCounter(), 1); in TEST_F()
266 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local
[all …]
Dstats.proto173 // Indicates this network uses a Cellular transport.
175 // Indicates this network uses a Wi-Fi transport.
177 // Indicates this network uses a Bluetooth transport.
179 // Indicates this network uses an Ethernet transport.
181 // Indicates this network uses a VPN transport, now deprecated.
183 // Indicates this network uses a Wi-Fi Aware transport.
185 // Indicates this network uses a LoWPAN transport.
187 // Indicates this network uses a Cellular+VPN transport.
189 // Indicates this network uses a Wi-Fi+VPN transport.
191 // Indicates this network uses a Bluetooth+VPN transport.
[all …]
DDnsTlsDispatcher.cpp169 const int connectCounter = xport->transport.getConnectCounter(); in query()
172 auto res = xport->transport.query(query); in query()
175 *connectTriggered = (xport->transport.getConnectCounter() > connectCounter); in query()
DDnsTlsDispatcher.h77 : transport(server, mark, factory) {} in Transport()
79 DnsTlsTransport transport; member
DDnsTlsTransport.cpp190 DnsTlsTransport transport(server, mark, &factory); in validate() local
191 auto r = transport.query(netdutils::Slice(query, qlen)).get(); in validate()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapConnection.java47 private MailTransport transport; field in ImapConnection
95 if (transport != null && transport.isOpen()) { in open()
101 if (transport == null) { in open()
102 transport = imapStore.cloneTransport(); in open()
105 transport.open(); in open()
158 if (transport != null) { in close()
160 transport.close(); in close()
161 transport = null; in close()
174 transport.reopenTls(); in maybeDoStartTls()
246 DigestMd5Utils.Data data = new DigestMd5Utils.Data(imapStore, transport, challenge); in doDigestMd5Auth()
[all …]
DImapStore.java41 private final MailTransport transport; field in ImapStore
65 transport = new MailTransport(context, this.getImapHelper(), network, serverName, port, flags); in ImapStore()
86 return transport.clone(); in cloneTransport()
/packages/services/Car/car-lib/src/android/car/projection/
DProjectionStatus.java209 public @NonNull Builder setProjectionTransport(@ProjectionTransport int transport) { in setProjectionTransport() argument
210 checkProjectionTransport(transport); in setProjectionTransport()
211 mTransport = transport; in setProjectionTransport()
244 private static void checkProjectionTransport(@ProjectionTransport int transport) { in checkProjectionTransport() argument
245 if (transport < 0 || transport > PROJECTION_TRANSPORT_MAX) { in checkProjectionTransport()
246 throw new IllegalArgumentException("Invalid projection transport: " + transport); in checkProjectionTransport()
321 for (int transport : mAvailableTransports) { in getAvailableTransports()
322 transports.add(transport); in getAvailableTransports()
390 public @NonNull Builder addTransport(@ProjectionTransport int transport) { in addTransport() argument
391 checkProjectionTransport(transport); in addTransport()
[all …]
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2CommandTest.java55 MockObd2UnderlyingTransport transport = in checkLiveFrameIntCommand() local
63 Obd2Connection obd2Connection = new Obd2Connection(transport); in checkLiveFrameIntCommand()
83 MockObd2UnderlyingTransport transport = in checkLiveFrameFloatCommand() local
91 Obd2Connection obd2Connection = new Obd2Connection(transport); in checkLiveFrameFloatCommand()
111 MockObd2UnderlyingTransport transport = in checkFreezeFrameIntCommand() local
119 Obd2Connection obd2Connection = new Obd2Connection(transport); in checkFreezeFrameIntCommand()
139 MockObd2UnderlyingTransport transport = in checkFreezeFrameFloatCommand() local
147 Obd2Connection obd2Connection = new Obd2Connection(transport); in checkFreezeFrameFloatCommand()
DObd2LiveFrameGeneratorTest.java66 MockObd2UnderlyingTransport transport = in testObd2LiveFrameGeneration() local
76 Obd2Connection obd2Connection = new Obd2Connection(transport); in testObd2LiveFrameGeneration()
DObd2FreezeFrameGeneratorTest.java83 MockObd2UnderlyingTransport transport = in testObd2FreezeFrameGeneration() local
95 Obd2Connection obd2Connection = new Obd2Connection(transport); in testObd2FreezeFrameGeneration()
/packages/apps/Settings/src/com/android/settings/backup/
DPrivacySettingsUtils.java94 String transport = backupManager.getCurrentTransport(); in updatePrivacyBuffer() local
96 backupManager.getConfigurationIntent(transport), "config")); in updatePrivacyBuffer()
97 data.setConfigSummary(backupManager.getDestinationString(transport)); in updatePrivacyBuffer()
99 backupManager.getDataManagementIntent(transport), "management")); in updatePrivacyBuffer()
101 backupManager.getDataManagementLabelForUser(UserHandle.myUserId(), transport)); in updatePrivacyBuffer() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DPrivacySettingsUtils.java94 String transport = backupManager.getCurrentTransport(); in updatePrivacyBuffer() local
96 backupManager.getConfigurationIntent(transport), "config")); in updatePrivacyBuffer()
97 data.setConfigSummary(backupManager.getDestinationString(transport)); in updatePrivacyBuffer()
99 backupManager.getDataManagementIntent(transport), "management")); in updatePrivacyBuffer()
101 backupManager.getDataManagementLabelForUser(UserHandle.myUserId(), transport)); in updatePrivacyBuffer() local
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java163 int transport = msgData.getInt(EXTRA_PERIPHERAL_TRANSPORT); in doPeripheralHandover() local
180 this, mDevice, name, transport, oobData, uuids, btClass, this); in doPeripheralHandover()
182 if (transport == BluetoothDevice.TRANSPORT_LE) { in doPeripheralHandover()
220 int transport = mBluetoothPeripheralHandover.mTransport; in onBluetoothPeripheralHandoverComplete() local
229 if (transport == BluetoothDevice.TRANSPORT_LE && !connected) { in onBluetoothPeripheralHandoverComplete()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java738 BluetoothObexTransport transport; in connectRfcommSocket() local
739 transport = new BluetoothObexTransport(mBtSocket); in connectRfcommSocket()
744 Log.v(TAG, "Send transport message " + transport.toString()); in connectRfcommSocket()
747 mSessionHandler.obtainMessage(TRANSPORT_CONNECTED, transport).sendToTarget(); in connectRfcommSocket()
805 BluetoothObexTransport transport; in run() local
806 transport = new BluetoothObexTransport(mBtSocket); in run()
809 Log.v(TAG, "Send transport message " + transport.toString()); in run()
811 mSessionHandler.obtainMessage(TRANSPORT_CONNECTED, transport).sendToTarget(); in run()
DBluetoothOppService.java396 ObexTransport transport = (ObexTransport) msg.obj;
406 createServerSession(transport);
411 transport.close();
418 mPendingConnection = transport;
510 private void createServerSession(ObexTransport transport) { in createServerSession() argument
511 mServerSession = new BluetoothOppObexServerSession(this, transport, this); in createServerSession()
515 + transport.toString()); in createServerSession()
1192 BluetoothObexTransport transport = new BluetoothObexTransport(socket); in onConnect() local
1194 msg.obj = transport; in onConnect()
DBluetoothOppObexClientSession.java83 public BluetoothOppObexClientSession(Context context, ObexTransport transport) { in BluetoothOppObexClientSession() argument
84 if (transport == null) { in BluetoothOppObexClientSession()
88 mTransport = transport; in BluetoothOppObexClientSession()
164 ClientThread(Context context, ObexTransport transport, int initialNumShares) { in ClientThread() argument
167 mTransport1 = transport; in ClientThread()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java244 BluetoothObexTransport transport = new BluetoothObexTransport(mConnSocket); in rejectConnection() local
248 mServerSession = new ServerSession(transport, server, null); in rejectConnection()
345 BluetoothObexTransport transport = new BluetoothObexTransport(mConnSocket); in startObexServerSession() local
346 mServerSession = new ServerSession(transport, mPbapServer, mObexAuth); in startObexServerSession()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java313 private boolean createBond(BluetoothDevice dev, int transport, OobData oobData, in createBond() argument
320 result = mAdapterService.createBondOutOfBandNative(addr, transport, oobData); in createBond()
322 result = mAdapterService.createBondNative(addr, transport); in createBond()
325 mAdapterService.obfuscateAddress(dev), transport, dev.getType(), in createBond()
332 mAdapterService.obfuscateAddress(dev), transport, dev.getType(), in createBond()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMnsService.java140 BluetoothObexTransport transport = new BluetoothObexTransport(socket); in onConnect() local
142 new ServerSession(transport, srv, null); in onConnect()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/projection/
DProjectionFragment.java97 for (Integer transport : device.getAvailableTransports()) { in onProjectionStatusChanged()
99 transportView.setText(TRANSPORT_TO_STRING.get(transport)); in onProjectionStatusChanged()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DDigestMd5Utils.java73 public Data(ImapStore imapStore, MailTransport transport, Map<String, String> challenge) { in Data() argument
81 digestUri = "imap/" + transport.getHost(); in Data()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java520 public void clientConnect(int clientIf, String address, boolean isDirect, int transport, in clientConnect() argument
526 service.clientConnect(clientIf, address, isDirect, transport, opportunistic, phy); in clientConnect()
723 public void serverConnect(int serverIf, String address, boolean isDirect, int transport) { in serverConnect() argument
728 service.serverConnect(serverIf, address, isDirect, transport); in serverConnect()
2210 void clientConnect(int clientIf, String address, boolean isDirect, int transport, in clientConnect() argument
2218 gattClientConnectNative(clientIf, address, isDirect, transport, opportunistic, phy); in clientConnect()
2878 void serverConnect(int serverIf, String address, boolean isDirect, int transport) { in serverConnect() argument
2884 gattServerConnectNative(serverIf, address, isDirect, transport); in serverConnect()
3276 int transport, boolean opportunistic, int initiatingPhys); in gattClientConnectNative() argument
3326 int transport); in gattServerConnectNative() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandler.java329 BluetoothObexTransport transport = new BluetoothObexTransport(mSocket); in connectObexSession() local
330 mObexSession = new ClientSession(transport); in connectObexSession()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java400 BluetoothObexTransport transport = new BluetoothObexTransport(mConnSocket); in startObexServerSession() local
401 mServerSession = new ServerSession(transport, mMapServer, null); in startObexServerSession()

123