/frameworks/base/location/java/android/location/ |
H A D | CountryDetector.java | 123 ListenerTransport transport = new ListenerTransport(listener, looper); 125 mService.addCountryListener(transport); 126 mListeners.put(listener, transport); 139 ListenerTransport transport = mListeners.get(listener); 140 if (transport != null) { 143 mService.removeCountryListener(transport);
|
H A D | LocationManager.java | 862 ListenerTransport transport = mListeners.get(listener); 863 if (transport == null) { 864 transport = new ListenerTransport(listener, looper); 866 mListeners.put(listener, transport); 867 return transport; 877 ListenerTransport transport = wrapListener(listener, looper); 880 mService.requestLocationUpdates(request, transport, intent, packageName); 899 ListenerTransport transport; 901 transport = mListeners.remove(listener); 903 if (transport [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IBackupManager.aidl | 135 * transport will still be asked to confirm via the usual requestBackupTime() 175 * transport. 208 * Identify the currently selected transport. Callers must hold the 220 * Specify the current backup transport. Callers must hold the 223 * @param transport The name of the transport to select. This should be one 225 * @return The name of the previously selected transport. If the given transport 227 * the current transport setting and the method returns null. 229 String selectBackupTransport(String transport); [all...] |
H A D | BackupManager.java | 131 * a backed-up dataset from the remote transport, instantiate the application's 177 // All packages, current transport 255 * Identify the currently selected transport. Callers must hold the 257 * @return The name of the currently active backup transport. In case of 258 * failure or if no transport is currently active, this method returns {@code null}. 295 * Specify the current backup transport. Callers must hold the 298 * @param transport The name of the transport to select. This should be one 300 * @return The name of the previously selected transport. If the given transport 307 selectBackupTransport(String transport) argument [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Service.java | 27 * 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/core/java/android/os/ |
H A D | CancellationSignal.java | 125 * 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/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
H A D | MavenDependencyCollectorTask.groovy | 34 import org.eclipse.aether.spi.connector.transport.TransporterFactory 35 import org.eclipse.aether.transport.file.FileTransporterFactory 36 import org.eclipse.aether.transport.http.HttpTransporterFactory
|
H A D | LocalizeDependenciesTask.groovy | 35 import org.eclipse.aether.spi.connector.transport.TransporterFactory 36 import org.eclipse.aether.transport.file.FileTransporterFactory 37 import org.eclipse.aether.transport.http.HttpTransporterFactory
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasObexClientSession.java | 59 public ClientThread(ObexTransport transport) { argument 62 mTransport = transport; 154 public BluetoothMasObexClientSession(ObexTransport transport, Handler handler) { argument 155 mTransport = transport;
|
H A D | BluetoothMnsService.java | 116 BluetoothMapRfcommTransport transport = new BluetoothMapRfcommTransport( 118 new ServerSession(transport, srv, null);
|
/frameworks/base/tests/CoreTests/ |
H A D | run_core_test.sh | 3 adb shell exec dalvikvm -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3001 \
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | Trampoline.java | 275 public String selectBackupTransport(String transport) throws RemoteException { argument 277 return (svc != null) ? svc.selectBackupTransport(transport) : null; 281 public Intent getConfigurationIntent(String transport) throws RemoteException { argument 283 return (svc != null) ? svc.getConfigurationIntent(transport) : null; 287 public String getDestinationString(String transport) throws RemoteException { argument 289 return (svc != null) ? svc.getDestinationString(transport) : null; 293 public Intent getDataManagementIntent(String transport) throws RemoteException { argument 295 return (svc != null) ? svc.getDataManagementIntent(transport) : null; 299 public String getDataManagementLabel(String transport) throws RemoteException { argument 301 return (svc != null) ? svc.getDataManagementLabel(transport) [all...] |
H A D | BackupManagerService.java | 201 // Retry interval for clear/init when the transport is unavailable 382 public IBackupTransport transport; field in class:BackupManagerService.RestoreGetSetsParams 388 transport = _transport; 395 public IBackupTransport transport; field in class:BackupManagerService.RestoreParams 409 transport = _transport; 424 transport = _transport; 440 transport = _transport; 456 transport = _transport; 468 public IBackupTransport transport; field in class:BackupManagerService.ClearParams 472 transport 481 ClearRetryParams(String transport, String pkg) argument 1710 registerTransport(String name, String component, IBackupTransport transport) argument 1925 TransportConnection(ServiceInfo transport) argument 1984 bindTransport(ServiceInfo transport) argument 2437 PerformBackupTask(IBackupTransport transport, String dirName, ArrayList<BackupRequest> queue, File journal) argument 2759 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument 4253 SinglePackageBackupPreflight(IBackupTransport transport) argument 4316 SinglePackageBackupRunner(ParcelFileDescriptor output, PackageInfo target, IBackupTransport transport, CountDownLatch latch) argument 4414 fullBackupAllowable(IBackupTransport transport) argument 7320 PerformUnifiedRestoreTask(IBackupTransport transport, IRestoreObserver observer, long restoreSetToken, PackageInfo targetPackage, int pmToken, boolean isFullSystemRestore, String[] filterSet) argument 8307 PerformClearTask(IBackupTransport transport, PackageInfo packageInfo) argument 8972 selectBackupTransport(String transport) argument 9188 beginRestoreSession(String packageName, String transport) argument 9279 ActiveRestoreSession(String packageName, String transport) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothManager.java | 214 * @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 D | BluetoothDevice.java | 577 * No preferrence of physical transport for GATT connections to remote dual-mode devices 582 * Prefer BR/EDR transport for GATT connections to remote dual-mode devices 587 * Prefer LE transport for GATT connections to remote dual-mode devices 833 * specified transport. 842 * @param transport The transport to use for the pairing procedure. 844 * @throws IllegalArgumentException if an invalid transport was specified 847 public boolean createBond(int transport) { argument 852 if (TRANSPORT_AUTO > transport || transport > TRANSPORT_L 1573 connectGatt(Context context, boolean autoConnect, BluetoothGattCallback callback, int transport) argument [all...] |
H A D | IBluetoothGatt.aidl | 49 void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport); 83 void serverConnect(in int servertIf, in String address, in boolean isDirect, in int transport);
|
H A D | IBluetooth.aidl | 58 boolean createBond(in BluetoothDevice device, in int transport);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
H A D | BluetoothPbapObexSession.java | 50 public BluetoothPbapObexSession(ObexTransport transport) { argument 51 mTransport = transport;
|
H A D | BluetoothPbapSession.java | 309 BluetoothPbapObexTransport transport; 310 transport = new BluetoothPbapObexTransport(mSocket); 312 mSessionHandler.obtainMessage(RFCOMM_CONNECTED, transport).sendToTarget();
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 45 // 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/base/services/tests/servicestests/src/com/android/server/ |
H A D | ConnectivityServiceTest.java | 203 MockNetworkAgent(int transport) { argument 204 final int type = transportToLegacyType(transport); 208 mNetworkCapabilities.addTransportType(transport); 209 switch (transport) { 604 private int transportToLegacyType(int transport) { argument 605 switch (transport) { 611 throw new IllegalStateException("Unknown transport" + transport); 615 private void verifyActiveNetwork(int transport) { argument 618 assertEquals(transportToLegacyType(transport), mC [all...] |
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 36 "Error: Could not access the backup transport. Is the system running?"; 96 if ("transport".equals(op)) { 175 System.out.println("Performing full transport backup"); 202 System.out.println("Unknown transport '" + which 205 System.out.println("Selected transport " + which + " (formerly " + old + ")"); 214 String transport = nextArg(); 215 if (transport == null) { 227 mBmgr.clearBackupData(transport, pkg); 228 System.out.println("Wiped backup data for " + pkg + " on " + transport); 242 // The rest of the 'list' options work with a restore session on the current transport [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 58 public DisplaySourceService(Context context, Transport transport, Callbacks callbacks) { argument 59 super(context, transport, Protocol.DisplaySourceService.ID);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 1171 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/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 178 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);
|