Searched defs:transport (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java214 * @param transport preferred transport for GATT connections to remote dual-mode devices
221 BluetoothGattServerCallback callback,int transport) {
236 BluetoothGattServer mGattServer = new BluetoothGattServer(context, iGatt,transport);
220 openGattServer(Context context, BluetoothGattServerCallback callback,int transport) argument
H A DBluetoothGattServer.java310 /*package*/ BluetoothGattServer(Context context, IBluetoothGatt iGatt, int transport) { argument
316 mTransport = transport;
H A DBluetoothGatt.java500 int transport) {
504 mTransport = transport;
499 BluetoothGatt(Context context, IBluetoothGatt iGatt, BluetoothDevice device, int transport) argument
H A DBluetoothDevice.java578 * No preferrence of physical transport for GATT connections to remote dual-mode devices
583 * Prefer BR/EDR transport for GATT connections to remote dual-mode devices
588 * Prefer LE transport for GATT connections to remote dual-mode devices
837 * specified transport.
846 * @param transport The transport to use for the pairing procedure.
848 * @throws IllegalArgumentException if an invalid transport was specified
851 public boolean createBond(int transport) { argument
856 if (TRANSPORT_AUTO > transport || transport > TRANSPORT_L
888 createBondOutOfBand(int transport, OobData oobData) argument
1584 connectGatt(Context context, boolean autoConnect, BluetoothGattCallback callback, int transport) argument
[all...]
/frameworks/base/core/java/android/os/
H A DCancellationSignal.java125 * Sets the remote transport.
128 * remote transport is canceled immediately.
130 * This method is guaranteed that the remote transport will not be called after it
133 * @param remote The remote transport, or null to remove.
165 * Creates a transport that can be returned back to the caller of
168 * @return The new cancellation signal transport.
177 * Given a locally created transport, returns its associated cancellation signal.
179 * @param transport The locally created transport, or null if none.
184 public static CancellationSignal fromTransport(ICancellationSignal transport) { argument
[all...]
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DService.java27 * Base implementation of a service that communicates over a transport.
30 * accessed from the {@link Looper} thread on which the transport was created.
38 public Service(Context context, Transport transport, int serviceId) { argument
40 mTransport = transport;
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java45 // happens on the transport thread, we are not allowed to access the surface after
55 public DisplaySinkService(Context context, Transport transport, int densityDpi) { argument
56 super(context, transport, Protocol.DisplaySinkService.ID);
57 mTransportHandler = transport.getHandler();
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasObexClientSession.java95 public BluetoothMasObexClientSession(ObexTransport transport, Handler handler) { argument
96 mTransport = transport;
/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java74 * or backup transport,
90 * The transport for some reason was not in a good state and
100 * Returned when the transport was unable to process the
102 * transport hit a transient network failure. The remaining
113 * Returned when the transport reject the attempt to backup because
200 * a backed-up dataset from the remote transport, instantiate the application's
246 // All packages, current transport
324 * Identify the currently selected transport. Callers must hold the
326 * @return The name of the currently active backup transport. In case of
327 * failure or if no transport i
376 selectBackupTransport(String transport) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java58 public DisplaySourceService(Context context, Transport transport, Callbacks callbacks) { argument
59 super(context, transport, Protocol.DisplaySourceService.ID);
/frameworks/base/obex/javax/obex/
H A DObexHelper.java1061 * @param transport Reference to the ObexTransport in use.
1064 public static int getMaxTxPacketSize(ObexTransport transport) { argument
1065 int size = transport.getMaxTransmitPacketSize();
1071 * @param transport
1074 public static int getMaxRxPacketSize(ObexTransport transport) { argument
1075 int size = transport.getMaxReceivePacketSize();
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java284 public String selectBackupTransport(String transport) throws RemoteException { argument
286 return (svc != null) ? svc.selectBackupTransport(transport) : null;
290 public Intent getConfigurationIntent(String transport) throws RemoteException { argument
292 return (svc != null) ? svc.getConfigurationIntent(transport) : null;
296 public String getDestinationString(String transport) throws RemoteException { argument
298 return (svc != null) ? svc.getDestinationString(transport) : null;
302 public Intent getDataManagementIntent(String transport) throws RemoteException { argument
304 return (svc != null) ? svc.getDataManagementIntent(transport) : null;
308 public String getDataManagementLabel(String transport) throws RemoteException { argument
310 return (svc != null) ? svc.getDataManagementLabel(transport)
[all...]
H A DBackupManagerService.java217 // Retry interval for clear/init when the transport is unavailable
424 public IBackupTransport transport; field in class:BackupManagerService.RestoreGetSetsParams
430 transport = _transport;
437 public IBackupTransport transport; field in class:BackupManagerService.RestoreParams
451 transport = _transport;
466 transport = _transport;
482 transport = _transport;
498 transport = _transport;
510 public IBackupTransport transport; field in class:BackupManagerService.ClearParams
514 transport
523 ClearRetryParams(String transport, String pkg) argument
573 public IBackupTransport transport; field in class:BackupManagerService.BackupParams
580 BackupParams(IBackupTransport transport, String dirName, ArrayList<String> kvPackages, ArrayList<String> fullPackages, IBackupObserver observer, boolean userInitiated) argument
1817 registerTransport(String name, String component, IBackupTransport transport) argument
2045 TransportConnection(ServiceInfo transport) argument
2105 bindTransport(ServiceInfo transport) argument
2347 getTransportName(IBackupTransport transport) argument
2656 PerformBackupTask(IBackupTransport transport, String dirName, ArrayList<BackupRequest> queue, File journal, IBackupObserver observer, ArrayList<String> pendingFullBackups, boolean userInitiated) argument
3041 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument
4716 SinglePackageBackupPreflight(IBackupTransport transport) argument
4809 SinglePackageBackupRunner(ParcelFileDescriptor output, PackageInfo target, IBackupTransport transport) argument
4969 fullBackupAllowable(IBackupTransport transport) argument
7967 PerformUnifiedRestoreTask(IBackupTransport transport, IRestoreObserver observer, long restoreSetToken, PackageInfo targetPackage, int pmToken, boolean isFullSystemRestore, String[] filterSet) argument
8998 PerformClearTask(IBackupTransport transport, PackageInfo packageInfo) argument
9735 selectBackupTransport(String transport) argument
9951 beginRestoreSession(String packageName, String transport) argument
10078 ActiveRestoreSession(String packageName, String transport) argument
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java178 private SipURI createSipUri(String username, String transport, argument
180 return createSipUri(username, transport, lp.getIPAddress(), lp.getPort());
183 private SipURI createSipUri(String username, String transport, argument
188 uri.setTransportParam(transport);
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h487 i = response->mHeaders.indexOfKey("transport");
489 AString transport = response->mHeaders.valueAt(i); local
491 LOG(INFO) << "transport = '" << transport << "'";
494 CHECK(GetAttribute(transport.c_str(), "server_port", &value));
499 CHECK(GetAttribute(transport.c_str(), "source", &value));
H A DMyHandler.h324 bool pokeAHole(int rtpSocket, int rtcpSocket, const AString &transport) { argument
331 if (!GetAttribute(transport.c_str(),
350 if (!GetAttribute(transport.c_str(),
720 i = response->mHeaders.indexOfKey("transport");
725 AString transport = response->mHeaders.valueAt(i); local
732 transport);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1171 AString transport; local
1172 if (!data->findString("transport", &transport)) {
1180 if (transport.startsWith("RTP/AVP/TCP;")) {
1183 transport.c_str(), "interleaved", &interleaved)
1192 transport.c_str(), "client_port", &clientPort)) {
1210 } else if (transport.startsWith("RTP/AVP;unicast;")
1211 || transport.startsWith("RTP/AVP/UDP;unicast;")) {
1216 transport.c_str(), "client_port", &clientPort)) {
1233 } else if (transport
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java238 MockNetworkAgent(int transport) { argument
239 final int type = transportToLegacyType(transport);
243 mNetworkCapabilities.addTransportType(transport);
244 switch (transport) {
697 private int transportToLegacyType(int transport) { argument
698 switch (transport) {
704 throw new IllegalStateException("Unknown transport" + transport);
708 private void verifyActiveNetwork(int transport) { argument
711 assertEquals(transportToLegacyType(transport), mC
[all...]

Completed in 8509 milliseconds