/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiNetworkConnectionStatistics.java | 35 public WifiNetworkConnectionStatistics(int connection, int usage) { argument 36 numConnection = connection;
|
H A D | WifiConnectionStatistics.java | 29 * connection requests, auto-join 38 * history of past connection to untrusted SSID 40 * Value = num connection 63 public void incrementOrAddUntrusted(String SSID, int connection, int usage) { argument 70 stats.numConnection = connection + stats.numConnection; 74 stats = new WifiNetworkConnectionStatistics(connection, usage);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 39 public UsbAccessoryBulkTransport(Logger logger, UsbDeviceConnection connection, argument 42 mConnection = connection;
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsClient.java | 50 * @param connection {@link CustomTabsServiceConnection} to use when binding. This will 57 String packageName, CustomTabsServiceConnection connection) { 60 return context.bindService(intent, connection, 56 bindCustomTabsService(Context context, String packageName, CustomTabsServiceConnection connection) argument
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | HurlStack.java | 102 HttpURLConnection connection = openConnection(parsedUrl, request); 104 connection.addRequestProperty(headerName, map.get(headerName)); 106 setConnectionParametersForRequest(connection, request); 109 int responseCode = connection.getResponseCode(); 112 // Signal to the caller that something was wrong with the connection. 116 connection.getResponseCode(), connection.getResponseMessage()); 118 response.setEntity(entityFromConnection(connection)); 119 for (Entry<String, List<String>> header : connection.getHeaderFields().entrySet()) { 130 * @param connection 133 entityFromConnection(HttpURLConnection connection) argument 179 setConnectionParametersForRequest(HttpURLConnection connection, Request<?> request) argument 234 addBodyIfExists(HttpURLConnection connection, Request<?> request) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPSession.cpp | 52 AString connection; local 53 if (!mDesc->findAttribute(i, "c=", &connection)) { 54 // No per-stream connection information, try global fallback. 55 if (!mDesc->findAttribute(0, "c=", &connection)) { 56 ALOGE("Unable to find connection attribute."); 60 if (!(connection == "IN IP4 127.0.0.1")) {
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 61 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) { argument 63 return native_init(connection, endpoint.getAddress(), endpoint.getAttributes(), 177 private native boolean native_init(UsbDeviceConnection connection, int ep_address, argument
|
/frameworks/native/libs/gui/ |
H A D | SensorEventQueue.cpp | 42 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) argument 43 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0),
|
H A D | SensorManager.cpp | 209 sp<ISensorEventConnection> connection = local 211 if (connection == NULL) { 213 ALOGE("createEventQueue: connection is NULL."); 216 queue = new SensorEventQueue(connection);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 36 struct usb_device* get_device_from_object(JNIEnv* env, jobject connection) argument 38 return (struct usb_device*)env->GetLongField(connection, field_context);
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 26 * device and objects stored on it, as well as open the connection and transfer data. 50 * The connection will be closed when you call {@link #close()} 51 * The connection will also be closed if this method fails. 53 * @param connection an open {@link android.hardware.usb.UsbDeviceConnection} for the device 56 public boolean open(UsbDeviceConnection connection) { argument 57 boolean result = native_open(mDevice.getDeviceName(), connection.getFileDescriptor()); 59 connection.close();
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | ProxyServer.java | 52 private static final String HEADER_CONNECTION = "connection"; 53 private static final String HEADER_PROXY_CONNECTION = "proxy-connection"; 64 private Socket connection; field in class:ProxyServer.ProxyConnection 66 private ProxyConnection(Socket connection) { argument 67 this.connection = connection; 73 String requestLine = getLine(connection.getInputStream()); 76 connection.close(); 97 connection.close(); 111 connection [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 346 public void sessionConnectionGone(VoiceInteractionSessionConnection connection) { argument 348 finishLocked(connection.mToken);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConnectionServiceAdapter.java | 93 ParcelableConnection connection) { 96 adapter.handleCreateConnectionComplete(id, request, connection); 210 Log.d(this, "sending connection %s with conference %s", callId, conferenceCallId); 280 * Retrieves a list of remote connection services usable to place calls. 312 * Requests that the framework use VOIP audio mode for this connection. 385 * Informs telecom of an existing connection which was added by the {@link ConnectionService}. 388 * @param connection The connection. 390 void addExistingConnection(String callId, ParcelableConnection connection) { argument 394 adapter.addExistingConnection(callId, connection); 90 handleCreateConnectionComplete( String id, ConnectionRequest request, ParcelableConnection connection) argument [all...] |
H A D | RemoteConference.java | 71 * @param connection The {@link RemoteConnection} being added. 73 public void onConnectionAdded(RemoteConference conference, RemoteConnection connection) {} argument 79 * @param connection The {@link RemoteConnection} being removed. 81 public void onConnectionRemoved(RemoteConference conference, RemoteConnection connection) {} argument 151 for (RemoteConnection connection : mChildConnections) { 152 connection.setConference(null); 193 void addConnection(final RemoteConnection connection) { argument 194 if (!mChildConnections.contains(connection)) { 195 mChildConnections.add(connection); 196 connection 211 removeConnection(final RemoteConnection connection) argument 350 separate(RemoteConnection connection) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
H A D | AccessibilityManager.java | 265 IAccessibilityInteractionConnection connection) { 264 addAccessibilityInteractionConnection(IWindow windowToken, IAccessibilityInteractionConnection connection) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 101 const sp<EventThread::Connection>& connection) { 103 mDisplayEventConnections.add(connection); 109 const wp<EventThread::Connection>& connection) { 111 mDisplayEventConnections.remove(connection); 115 const sp<EventThread::Connection>& connection) { 119 if (connection->count != new_count) { 120 connection->count = new_count; 127 const sp<EventThread::Connection>& connection) { 129 if (connection->count < 0) { 130 connection 100 registerDisplayEventConnection( const sp<EventThread::Connection>& connection) argument 108 removeDisplayEventConnection( const wp<EventThread::Connection>& connection) argument 114 setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) argument 126 requestNextVsync( const sp<EventThread::Connection>& connection) argument 373 sp<Connection> connection = local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierServiceBindHelper.java | 68 CarrierServiceConnection connection; 139 private CarrierServiceConnection connection; field in class:CarrierServiceBindHelper.AppBinding 159 connection = null; 203 connection = new CarrierServiceConnection(this); 210 if (mContext.bindService(carrierService, connection, Context.BIND_AUTO_CREATE)) { 226 if (connection == null) { 236 mContext.unbindService(connection); 237 connection = null; 242 pw.println(" connection: " + connection); [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 530 IAccessibilityServiceConnection connection = 532 if (connection != null) { 534 return connection.performGlobalAction(action); 578 IAccessibilityServiceConnection connection = 580 if (connection != null) { 582 return connection.getServiceInfo(); 609 IAccessibilityServiceConnection connection = 611 if (mInfo != null && connection != null) { 613 connection.setServiceInfo(mInfo); 711 public void init(IAccessibilityServiceConnection connection, in argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | UiAutomation.java | 163 * operations on the provided connection. 166 * @param connection The connection for performing privileged operations. 170 public UiAutomation(Looper looper, IUiAutomationConnection connection) { argument 174 if (connection == null) { 177 mUiAutomationConnection = connection; 287 final IAccessibilityServiceConnection connection; 290 connection = AccessibilityInteractionClient.getInstance() 294 if (connection != null) { 296 return connection [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 998 * @param connection The callback interface to be notified when a connection is made or lost. 1002 IBinder connection) { 1007 mService.bindRemoteViewsService(packageName, appWidgetId, intent, connection); 1001 bindRemoteViewsService(String packageName, int appWidgetId, Intent intent, IBinder connection) argument
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityInteractionClient.java | 156 * @param connectionId The id of a connection for interacting with the system. 168 * @param connectionId The id of a connection for interacting with the system. 176 IAccessibilityServiceConnection connection = getConnection(connectionId); 177 if (connection != null) { 190 window = connection.getWindow(accessibilityWindowId); 198 Log.w(LOG_TAG, "No connection for connection id: " + connectionId); 210 * @param connectionId The id of a connection for interacting with the system. 215 IAccessibilityServiceConnection connection = getConnection(connectionId); 216 if (connection ! 760 addConnection(int connectionId, IAccessibilityServiceConnection connection) argument [all...] |
H A D | AccessibilityManager.java | 567 * Adds an accessibility interaction connection interface for a given window. 568 * @param windowToken The window token to which a connection is added. 569 * @param connection The connection. 574 IAccessibilityInteractionConnection connection) { 585 return service.addAccessibilityInteractionConnection(windowToken, connection, userId); 587 Log.e(LOG_TAG, "Error while adding an accessibility interaction connection. ", re); 593 * Removed an accessibility interaction connection interface for a given window. 594 * @param windowToken The window token to which a connection is removed. 609 Log.e(LOG_TAG, "Error while removing an accessibility interaction connection 573 addAccessibilityInteractionConnection(IWindow windowToken, IAccessibilityInteractionConnection connection) argument [all...] |
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 91 * All the info about a connection. 181 final ConnectionRecord connection = new ConnectionRecord(); 182 connection.pkg = pkg; 183 connection.rootHints = rootHints; 184 connection.callbacks = callbacks; 186 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints); 189 if (connection.root == null) { 200 mConnections.put(b, connection); 202 callbacks.onConnect(connection.root.getRootId(), 203 mSession, connection 454 addSubscription(String id, ConnectionRecord connection) argument 467 performLoadChildren(final String parentId, final ConnectionRecord connection) argument [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 39 * Maintains a connection to a particular remote display provider service. 230 Connection connection = new Connection(provider); 231 if (connection.register()) { 232 mActiveConnection = connection; 252 private void onConnectionReady(Connection connection) { argument 253 if (mActiveConnection == connection) { 265 private void onConnectionDied(Connection connection) { argument 266 if (mActiveConnection == connection) { 268 Slog.d(TAG, this + ": Service connection died"); 274 private void onDisplayStateChanged(Connection connection, RemoteDisplayStat argument 427 ProviderCallback(Connection connection) argument [all...] |