Home
last modified time | relevance | path

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

123

/frameworks/base/location/java/android/location/
DLocationManager.java869 ListenerTransport transport = mListeners.get(listener); in wrapListener() local
870 if (transport == null) { in wrapListener()
871 transport = new ListenerTransport(listener, looper); in wrapListener()
873 mListeners.put(listener, transport); in wrapListener()
874 return transport; in wrapListener()
884 ListenerTransport transport = wrapListener(listener, looper); in requestLocationUpdates() local
887 mService.requestLocationUpdates(request, transport, intent, packageName); in requestLocationUpdates()
906 ListenerTransport transport; in removeUpdates() local
908 transport = mListeners.remove(listener); in removeUpdates()
910 if (transport == null) return; in removeUpdates()
[all …]
DCountryDetector.java123 ListenerTransport transport = new ListenerTransport(listener, looper); in addCountryListener() local
125 mService.addCountryListener(transport); in addCountryListener()
126 mListeners.put(listener, transport); in addCountryListener()
139 ListenerTransport transport = mListeners.get(listener); in removeCountryListener() local
140 if (transport != null) { in removeCountryListener()
143 mService.removeCountryListener(transport); in removeCountryListener()
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl238 String selectBackupTransport(String transport); in selectBackupTransport() argument
249 Intent getConfigurationIntent(String transport); in getConfigurationIntent() argument
259 String getDestinationString(String transport); in getDestinationString() argument
265 Intent getDataManagementIntent(String transport); in getDataManagementIntent() argument
271 String getDataManagementLabel(String transport); in getDataManagementLabel() argument
DBackupManager.java376 public String selectBackupTransport(String transport) { in selectBackupTransport() argument
380 return sService.selectBackupTransport(transport); in selectBackupTransport()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java284 public String selectBackupTransport(String transport) throws RemoteException { in selectBackupTransport() argument
286 return (svc != null) ? svc.selectBackupTransport(transport) : null; in selectBackupTransport()
290 public Intent getConfigurationIntent(String transport) throws RemoteException { in getConfigurationIntent() argument
292 return (svc != null) ? svc.getConfigurationIntent(transport) : null; in getConfigurationIntent()
296 public String getDestinationString(String transport) throws RemoteException { in getDestinationString() argument
298 return (svc != null) ? svc.getDestinationString(transport) : null; in getDestinationString()
302 public Intent getDataManagementIntent(String transport) throws RemoteException { in getDataManagementIntent() argument
304 return (svc != null) ? svc.getDataManagementIntent(transport) : null; in getDataManagementIntent()
308 public String getDataManagementLabel(String transport) throws RemoteException { in getDataManagementLabel() argument
310 return (svc != null) ? svc.getDataManagementLabel(transport) : null; in getDataManagementLabel()
DBackupManagerService.java425 public IBackupTransport transport; field in BackupManagerService.RestoreGetSetsParams
431 transport = _transport; in RestoreGetSetsParams()
438 public IBackupTransport transport; field in BackupManagerService.RestoreParams
452 transport = _transport; in RestoreParams()
467 transport = _transport; in RestoreParams()
483 transport = _transport; in RestoreParams()
499 transport = _transport; in RestoreParams()
511 public IBackupTransport transport; field in BackupManagerService.ClearParams
515 transport = _transport; in ClearParams()
524 ClearRetryParams(String transport, String pkg) { in ClearRetryParams() argument
[all …]
/frameworks/base/core/java/android/os/
DCancellationSignal.java184 public static CancellationSignal fromTransport(ICancellationSignal transport) { in fromTransport() argument
185 if (transport instanceof Transport) { in fromTransport()
186 return ((Transport)transport).mCancellationSignal; in fromTransport()
/frameworks/base/docs/html/google/backup/
Dindex.jd5 <p>Android Backup Service provides a <em>backup transport</em> for Android's <a
14 transport on most devices that include Google Play Store and backs up your app data to Google
15 servers. The backup transport may differ
16 from device to device and which backup transport is available on any device is
26 data backup in your application, then it will back up using whichever transport is enabled
28 when the backup transport on the device is provided by Android Backup Service.</p>
61 data using a different backup transport or not perform backup at all. Either
62 way, your application is unaware of what transport is used, if at all, and otherwise
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java854 public boolean createBond(int transport) { in createBond() argument
859 if (TRANSPORT_AUTO > transport || transport > TRANSPORT_LE) in createBond()
861 throw new IllegalArgumentException(transport + " is not a valid Bluetooth transport"); in createBond()
867 return sService.createBond(this, transport); in createBond()
891 public boolean createBondOutOfBand(int transport, OobData oobData) { in createBondOutOfBand() argument
893 return sService.createBondOutOfBand(this, transport, oobData); in createBondOutOfBand()
1588 BluetoothGattCallback callback, int transport) { in connectGatt() argument
1599 BluetoothGatt gatt = new BluetoothGatt(context, iGatt, this, transport); in connectGatt()
DBluetoothManager.java224 BluetoothGattServerCallback callback,int transport) { in openGattServer() argument
239 BluetoothGattServer mGattServer = new BluetoothGattServer(context, iGatt,transport); in openGattServer()
DIBluetooth.aidl60 boolean createBond(in BluetoothDevice device, in int transport); in createBond() argument
61 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData); in createBondOutOfBand() argument
DIBluetoothGatt.aidl50 void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport); in clientConnect() argument
69 void serverConnect(in int servertIf, in String address, in boolean isDirect, in int transport); in serverConnect() argument
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DService.java38 public Service(Context context, Transport transport, int serviceId) { in Service() argument
40 mTransport = transport; in Service()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DMavenDependencyCollectorTask.groovy34 import org.eclipse.aether.spi.connector.transport.TransporterFactory
35 import org.eclipse.aether.transport.file.FileTransporterFactory
36 import org.eclipse.aether.transport.http.HttpTransporterFactory
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/
Dbuild.gradle28 compile 'org.eclipse.aether:aether-transport-http:1.0.2.v20150114'
31 compile 'org.eclipse.aether:aether-transport-file:1.0.2.v20150114'
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java55 public DisplaySinkService(Context context, Transport transport, int densityDpi) { in DisplaySinkService() argument
56 super(context, transport, Protocol.DisplaySinkService.ID); in DisplaySinkService()
57 mTransportHandler = transport.getHandler(); in DisplaySinkService()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java368 String transport = nextArg(); in doWipe() local
369 if (transport == null) { in doWipe()
381 mBmgr.clearBackupData(transport, pkg); in doWipe()
382 System.out.println("Wiped backup data for " + pkg + " on " + transport); in doWipe()
616 for (String transport : whitelist) { in doPrintWhitelist()
617 System.out.println(transport); in doPrintWhitelist()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java95 public BluetoothMasObexClientSession(ObexTransport transport, Handler handler) { in BluetoothMasObexClientSession() argument
96 mTransport = transport; in BluetoothMasObexClientSession()
DBluetoothMnsService.java116 BluetoothMapRfcommTransport transport = new BluetoothMapRfcommTransport( in run() local
118 new ServerSession(transport, srv, null); in run()
DBluetoothMasClient.java474 BluetoothMapRfcommTransport transport; in run() local
475 transport = new BluetoothMapRfcommTransport(socket); in run()
477 mSessionHandler.obtainMessage(SOCKET_CONNECTED, transport).sendToTarget(); in run()
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.cpp1171 AString transport; in onSetupRequest() local
1172 if (!data->findString("transport", &transport)) { in onSetupRequest()
1180 if (transport.startsWith("RTP/AVP/TCP;")) { in onSetupRequest()
1183 transport.c_str(), "interleaved", &interleaved) in onSetupRequest()
1192 transport.c_str(), "client_port", &clientPort)) { in onSetupRequest()
1210 } else if (transport.startsWith("RTP/AVP;unicast;") in onSetupRequest()
1211 || transport.startsWith("RTP/AVP/UDP;unicast;")) { in onSetupRequest()
1216 transport.c_str(), "client_port", &clientPort)) { in onSetupRequest()
1233 } else if (transport == "RTP/AVP/UDP;unicast") { in onSetupRequest()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java58 public DisplaySourceService(Context context, Transport transport, Callbacks callbacks) { in DisplaySourceService() argument
59 super(context, transport, Protocol.DisplaySourceService.ID); in DisplaySourceService()
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java107 private static boolean hasTransport(NetworkAgentInfo nai, int transport) { in hasTransport() argument
108 return nai.networkCapabilities.hasTransport(transport); in hasTransport()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java178 private SipURI createSipUri(String username, String transport, in createSipUri() argument
180 return createSipUri(username, transport, lp.getIPAddress(), lp.getPort()); in createSipUri()
183 private SipURI createSipUri(String username, String transport, in createSipUri() argument
188 uri.setTransportParam(transport); in createSipUri()
/frameworks/base/docs/html/guide/topics/data/
Dbackup.jd66 a backup transport, which then delivers the data to the cloud storage. During a
67 restore operation, the Backup Manager retrieves the backup data from the backup transport and
80 <p>The backup transport is the client-side component of Android's backup framework, which is
82 the device manufacturer and service provider. The backup transport may differ from device to device
83 and which backup transport is available on any given device is transparent to your application. The
84 Backup Manager APIs isolate your application from the actual backup transport available on a given
86 regardless of the underlying transport.</p>
90 that a device does not provide a backup transport. If you believe that users will benefit from data
93 application runs on a device that does not provide a backup transport, your application operates
96 <p>Although you cannot know what the current transport is, you are always assured that your
[all …]

123