Home
last modified time | relevance | path

Searched refs:mConnection (Results 1 – 23 of 23) 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/cronet/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessLauncher.java104 private volatile ChildProcessConnection mConnection; field in ChildProcessLauncher
151 assert mConnection == connection; in start()
161 mConnection = null; in start()
170 assert mConnection == connection; in start()
174 mConnection = mDelegate.getBoundConnection(mConnectionAllocator, serviceCallback); in start()
175 if (mConnection != null) { in start()
191 return mConnection; in getConnection()
201 assert mConnection == null; in allocateAndSetupConnection()
205 mConnection = mConnectionAllocator.allocate( in allocateAndSetupConnection()
207 if (mConnection == null) { in allocateAndSetupConnection()
[all …]
/external/ot-br-posix/src/dbus/server/
Ddbus_request.hpp64 : mConnection(aConnection) in DBusRequest()
78 : mConnection(nullptr) in DBusRequest()
110 DBusConnection *GetConnection(void) { return mConnection; } in GetConnection()
130 dbus_connection_send(mConnection, reply.get(), nullptr); in Reply()
179 dbus_connection_send(mConnection, reply.get(), nullptr); in ReplyOtResult()
188 if (mConnection) in ~DBusRequest()
190 dbus_connection_unref(mConnection); in ~DBusRequest()
205 if (mConnection) in CopyFrom()
207 dbus_connection_unref(mConnection); in CopyFrom()
209 mConnection = aOther.mConnection; in CopyFrom()
[all …]
Ddbus_agent.cpp60 while ((mConnection = PrepareDBusConnection()) == nullptr && Clock::now() < connection_deadline) in Init()
66 VerifyOrDie(mConnection != nullptr, "Failed to get DBus connection"); in Init()
69 …std::unique_ptr<DBusThreadObject>(new DBusThreadObject(mConnection.get(), mInterfaceName, &mNcp, &… in Init()
126 if (dbus_connection_get_dispatch_status(mConnection.get()) == DBUS_DISPATCH_DATA_REMAINS) in Update()
200 while (DBUS_DISPATCH_DATA_REMAINS == dbus_connection_dispatch(mConnection.get())) in Process()
Ddbus_object.hpp148 …VerifyOrExit(dbus_connection_send(mConnection, signalMsg.get(), nullptr), error = OTBR_ERROR_DBUS); in Signal()
203 …VerifyOrExit(dbus_connection_send(mConnection, signalMsg.get(), nullptr), error = OTBR_ERROR_DBUS); in SignalPropertyChanged()
228 … DBusConnection * mConnection; member in otbr::DBus::DBusObject
Ddbus_agent.hpp88 UniqueDBusConnection mConnection; member in otbr::DBus::DBusAgent
Ddbus_object.cpp47 : mConnection(aConnection) in DBusObject()
61 …VerifyOrExit(dbus_connection_register_object_path(mConnection, mObjectPath.c_str(), &vTable, this), in Init()
/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/cronet/base/android/junit/src/org/chromium/base/process_launcher/
DChildConnectionAllocatorTest.java64 private ChildProcessConnection mConnection; field in ChildConnectionAllocatorTest.TestConnectionFactory
74 if (mConnection == null) { in createConnection()
75 mConnection = mock(ChildProcessConnection.class); in createConnection()
85 .when(mConnection) in createConnection()
88 return mConnection; in createConnection()
108 mConnection = connection; in invokeCallbackOnConnectionStart()
126 .when(mConnection) in invokeCallbackOnConnectionStart()
131 mConnectionServiceCallback.onChildStartFailed(mConnection); in simulateServiceStartFailed()
135 mConnectionServiceCallback.onChildProcessDied(mConnection); in simulateServiceProcessDying()
/external/cronet/components/cronet/android/java/src/org/chromium/net/urlconnection/
DCronetBufferedOutputStream.java30 private final CronetHttpURLConnection mConnection; field in CronetBufferedOutputStream
55 mConnection = connection; in CronetBufferedOutputStream()
69 mConnection = connection; in CronetBufferedOutputStream()
DCronetChunkedOutputStream.java25 private final CronetHttpURLConnection mConnection; field in CronetChunkedOutputStream
46 mConnection = connection; in CronetChunkedOutputStream()
DCronetFixedModeOutputStream.java34 private final CronetHttpURLConnection mConnection; field in CronetFixedModeOutputStream
73 mConnection = connection; in CronetFixedModeOutputStream()
/external/ot-br-posix/src/dbus/client/
Dthread_api_dbus.cpp86 , mConnection(aConnection) in ThreadApiDBus()
93 , mConnection(aConnection) in ThreadApiDBus()
105 dbus_bus_add_match(mConnection, matchRule.c_str(), &error); in SubscribeDeviceRoleSignal()
109 dbus_connection_add_filter(mConnection, sDBusMessageFilter, this, nullptr); in SubscribeDeviceRoleSignal()
670 …dbus_connection_send_with_reply_and_block(mConnection, message.get(), DBUS_TIMEOUT_USE_DEFAULT, &e… in CallDBusMethodSync()
688 …VerifyOrExit(dbus_connection_send_with_reply(mConnection, message.get(), &pending, DBUS_TIMEOUT_US… in CallDBusMethodAsync()
712 …dbus_connection_send_with_reply_and_block(mConnection, message.get(), DBUS_TIMEOUT_USE_DEFAULT, &e… in CallDBusMethodSync()
735 …VerifyOrExit(dbus_connection_send_with_reply(mConnection, message.get(), &pending, DBUS_TIMEOUT_US… in CallDBusMethodAsync()
766 …dbus_connection_send_with_reply_and_block(mConnection, message.get(), DBUS_TIMEOUT_USE_DEFAULT, &e… in SetProperty()
791 …dbus_connection_send_with_reply_and_block(mConnection, message.get(), DBUS_TIMEOUT_USE_DEFAULT, &e… in GetProperty()
Dthread_api_dbus.hpp807 DBusConnection *mConnection; member in otbr::DBus::ThreadApiDBus
/external/volley/core/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()