Home
last modified time | relevance | path

Searched refs:mConnection (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessLauncher.java94 private ChildProcessConnection mConnection; field in ChildProcessLauncher
141 assert mConnection == connection; in start()
151 mConnection = null; in start()
160 assert mConnection == connection; in start()
164 mConnection = mDelegate.getBoundConnection(mConnectionAllocator, serviceCallback); in start()
165 if (mConnection != null) { in start()
166 assert mConnectionAllocator.isConnectionFromAllocator(mConnection); in start()
182 return mConnection; in getConnection()
192 assert mConnection == null; in allocateAndSetupConnection()
196 mConnection = mConnectionAllocator.allocate( in allocateAndSetupConnection()
[all …]
/external/apache-http/android/src/android/net/http/
DConnectionThread.java40 Connection mConnection; field in ConnectionThread
106 mConnection = mConnectionManager.getConnection(mContext, in run()
108 mConnection.processRequests(request); in run()
109 if (mConnection.getCanPersist()) { in run()
110 if (!mConnectionManager.recycleConnection(mConnection)) { in run()
111 mConnection.closeConnection(); in run()
114 mConnection.closeConnection(); in run()
116 mConnection = null; in run()
129 String con = mConnection == null ? "" : mConnection.toString(); in toString()
DIdleCache.java31 Connection mConnection; field in IdleCache.Entry
78 entry.mConnection = connection; in cacheConnection()
102 ret = entry.mConnection; in getConnection()
104 entry.mConnection = null; in getConnection()
119 entry.mConnection.closeConnection(); in clear()
120 entry.mConnection = null; in clear()
133 entry.mConnection.closeConnection(); in clearIdle()
134 entry.mConnection = null; in clearIdle()
DRequest.java52 private Connection mConnection; field in Request
154 mConnection = connection; in setConnection()
219 mConnection.getHttpContext()); in sendRequest()
289 buf = mConnection.getBuf(); in readResponse()
347 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(), in readResponse()
373 if (mConnection != null) { in cancel()
374 mConnection.cancel(); in cancel()
507 HttpsConnection connection = (HttpsConnection)(mConnection); in handleSslErrorResponse()
DRequestHandle.java48 private Connection mConnection; field in RequestHandle
88 mConnection = conn; in RequestHandle()
292 if (mConnection != null) { in processRequest()
293 mConnection.processRequests(mRequest); in processRequest()
464 if (mConnection != null) { in createAndQueueNewRequest()
469 mConnection = newHandle.mConnection; in createAndQueueNewRequest()
DRequestQueue.java144 Connection connection = mThreads[i].mConnection; in disablePersistence()
157 Connection connection = ct.mConnection; in getThread()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiPortConnector.java36 private MidiConnection mConnection; field in MidiPortConnector
46 if (mConnection != null) { in close()
48 "MidiPortConnector closing connection " + mConnection); in close()
49 mConnection.close(); in close()
50 mConnection = null; in close()
188 mConnection = device.connectPorts( in connectToDevicePort()
190 if (mConnection == null) { in connectToDevicePort()
196 listener.onPortsConnected(mConnection); in connectToDevicePort()
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/
DChildConnectionAllocatorTest.java60 private ChildProcessConnection mConnection; field in ChildConnectionAllocatorTest.TestConnectionFactory
68 if (mConnection == null) { in createConnection()
69 mConnection = mock(ChildProcessConnection.class); in createConnection()
79 .when(mConnection) in createConnection()
82 return mConnection; in createConnection()
96 mConnection = connection; in invokeCallbackOnConnectionStart()
114 .when(mConnection) in invokeCallbackOnConnectionStart()
119 mConnectionServiceCallback.onChildStartFailed(mConnection); in simulateServiceStartFailed()
123 mConnectionServiceCallback.onChildProcessDied(mConnection); in simulateServiceProcessDying()
/external/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java152 private final HttpURLConnection mConnection; field in HurlStack.UrlConnectionInputStream
156 mConnection = connection; in UrlConnectionInputStream()
162 mConnection.disconnect(); in close()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java67 private ServiceConnection mConnection = new ServiceConnection() { field in ScriptProcessMonitor
88 bindService(new Intent(this, ScriptingLayerService.class), mConnection, 0); in onCreate()
121 unbindService(mConnection); in onDestroy()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java136 private final ServiceConnection mConnection = new ServiceConnection() { field in ConsoleActivity
735 bindService(new Intent(this, ScriptingLayerService.class), mConnection, 0); in onStart()
828 unbindService(mConnection); in onStop()