/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 233 TestConnection conn = new TestConnection(true, false); in bindExpectResult() local 239 getContext().bindService(service, conn, 0); in bindExpectResult() 253 getContext().unbindService(conn); in bindExpectResult() 266 getContext().unbindService(conn); in bindExpectResult() 268 conn = new TestConnection(true, true); in bindExpectResult() 272 conn.setMonitor(true); in bindExpectResult() 274 getContext().bindService(service, conn, 0); in bindExpectResult() 283 getContext().unbindService(conn); in bindExpectResult() 291 conn.setMonitor(false); in bindExpectResult() 296 getContext().unbindService(conn); in bindExpectResult() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmCallTracker.java | 163 GsmConnection conn = (GsmConnection)connCopy.get(i); in fakeHoldForegroundBeforeDial() local 165 conn.fakeHoldBeforeDial(); in fakeHoldForegroundBeforeDial() 436 GsmConnection conn = connections[i]; in handlePollCalls() local 451 conn+", dc=" + dc); in handlePollCalls() 453 if (conn == null && dc != null) { in handlePollCalls() 506 } else if (conn != null && dc == null) { in handlePollCalls() 509 droppedDuringPoll.add(conn); in handlePollCalls() 513 } else if (conn != null && dc != null && !conn.compareTo(dc)) { in handlePollCalls() 517 droppedDuringPoll.add(conn); in handlePollCalls() 524 } else if (conn != null && dc != null) { /* implicit conn.compareTo(dc) */ in handlePollCalls() [all …]
|
D | GsmCall.java | 98 attach(Connection conn, DriverCall dc) { in attach() argument 99 connections.add(conn); in attach() 105 attachFake(Connection conn, State state) { in attachFake() argument 106 connections.add(conn); in attachFake() 115 connectionDisconnected(GsmConnection conn) { in connectionDisconnected() argument 138 detach(GsmConnection conn) { in detach() argument 139 connections.remove(conn); in detach() 147 update (GsmConnection conn, DriverCall dc) { in update() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaCallTracker.java | 175 CdmaConnection conn = (CdmaConnection)connCopy.get(i); in fakeHoldForegroundBeforeDial() local 177 conn.fakeHoldBeforeDial(); in fakeHoldForegroundBeforeDial() 500 CdmaConnection conn = connections[i]; in handlePollCalls() local 515 conn+", dc=" + dc); in handlePollCalls() 517 if (conn == null && dc != null) { in handlePollCalls() 561 } else if (conn != null && dc == null) { in handlePollCalls() 593 } else if (conn != null && dc != null) { /* implicit conn.compareTo(dc) */ in handlePollCalls() 595 if (conn.isIncoming != dc.isMT) { in handlePollCalls() 598 droppedDuringPoll.add(conn); in handlePollCalls() 614 changed = conn.update(dc); in handlePollCalls() [all …]
|
D | CdmaCall.java | 102 attach(Connection conn, DriverCall dc) { in attach() argument 103 connections.add(conn); in attach() 109 attachFake(Connection conn, State state) { in attachFake() argument 110 connections.add(conn); in attachFake() 119 connectionDisconnected(CdmaConnection conn) { in connectionDisconnected() argument 142 detach(CdmaConnection conn) { in detach() argument 143 connections.remove(conn); in detach() 151 update (CdmaConnection conn, DriverCall dc) { in update() argument
|
D | CdmaDataConnectionTracker.java | 321 for (DataConnection conn : mDataConnections.values()) { in cleanUpConnection() 322 if(conn != null) { in cleanUpConnection() 324 mDataConnectionAsyncChannels.get(conn.getDataConnectionId()); in cleanUpConnection() 328 conn.tearDownAll(reason, obtainMessage(EVENT_DISCONNECT_DONE, in cleanUpConnection() 329 conn.getDataConnectionId(), 0, reason)); in cleanUpConnection() 332 conn.tearDown(reason, obtainMessage(EVENT_DISCONNECT_DONE, in cleanUpConnection() 333 conn.getDataConnectionId(), 0, reason)); in cleanUpConnection() 366 CdmaDataConnection conn = findFreeDataConnection(); in setupData() local 368 if (conn == null) { in setupData() 374 mPendingDataConnection = conn; in setupData() [all …]
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 95 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/") in testUrlConnection() local 98 conn.connect(); in testUrlConnection() 100 new InputStreamReader(conn.getInputStream())); in testUrlConnection() 105 conn.disconnect(); in testUrlConnection() 119 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/") in testUrlConnectionv6() local 122 conn.connect(); in testUrlConnectionv6() 124 new InputStreamReader(conn.getInputStream())); in testUrlConnectionv6() 129 conn.disconnect(); in testUrlConnectionv6()
|
/frameworks/base/core/jni/ |
D | android_server_BluetoothEventLoop.cpp | 176 nat->conn = dbus_bus_get(DBUS_BUS_SYSTEM, &err); in initializeNativeDataNative() 181 dbus_connection_set_exit_on_disconnect(nat->conn, FALSE); in initializeNativeDataNative() 201 static DBusHandlerResult event_filter(DBusConnection *conn, DBusMessage *msg, 203 DBusHandlerResult agent_event_filter(DBusConnection *conn, 230 if (nat != NULL && nat->conn != NULL) { in setUpEventLoop() 238 dbus_connection_unregister_object_path (nat->conn, agent_path); in setUpEventLoop() 243 if (!dbus_connection_add_filter(nat->conn, event_filter, nat, NULL)){ in setUpEventLoop() 248 dbus_bus_add_match(nat->conn, in setUpEventLoop() 255 dbus_bus_add_match(nat->conn, in setUpEventLoop() 262 dbus_bus_add_match(nat->conn, in setUpEventLoop() [all …]
|
D | android_server_BluetoothA2dpService.cpp | 46 DBusConnection *conn; member 78 nat->conn = dbus_bus_get(DBUS_BUS_SYSTEM, &err); in initNative() 84 dbus_connection_set_exit_on_disconnect(nat->conn, FALSE); in initNative() 93 dbus_connection_close(nat->conn); in cleanupNative() 112 nat->conn, -1, c_path, in getSinkPropertiesNative() 142 bool ret = dbus_func_args_async(env, nat->conn, -1, onConnectSinkResult, context_path, in connectSinkNative() 160 bool ret = dbus_func_args_async(env, nat->conn, -1, NULL, NULL, nat, in disconnectSinkNative() 177 bool ret = dbus_func_args_async(env, nat->conn, -1, NULL, NULL, nat, in suspendSinkNative() 193 bool ret = dbus_func_args_async(env, nat->conn, -1, NULL, NULL, nat, in resumeSinkNative() 209 bool ret = dbus_func_args_async(env, nat->conn, -1, NULL, NULL, nat, in avrcpVolumeUpNative() [all …]
|
D | android_server_BluetoothService.cpp | 68 DBusConnection *conn; member 74 extern DBusHandlerResult agent_event_filter(DBusConnection *conn, 91 if (nat == NULL || nat->conn == NULL) { in get_native_data() 125 nat->conn = dbus_bus_get(DBUS_BUS_SYSTEM, &err); in initializeNativeDataNative() 131 dbus_connection_set_exit_on_disconnect(nat->conn, FALSE); in initializeNativeDataNative() 163 if (!dbus_connection_register_object_path(nat->conn, device_agent_path, in setupNativeDataNative() 181 dbus_connection_unregister_object_path (nat->conn, device_agent_path); in tearDownNativeDataNative() 240 reply = dbus_connection_send_with_reply_and_block(nat->conn, msg, -1, &err); in startDiscoveryNative() 285 reply = dbus_connection_send_with_reply_and_block(nat->conn, msg, -1, &err); in stopDiscoveryNative() 317 DBusMessage *reply = dbus_func_args(env, nat->conn, in readAdapterOutOfBandDataNative() [all …]
|
D | android_bluetooth_common.h | 71 DBusConnection *conn; member 103 DBusConnection *conn, 115 DBusConnection *conn, 123 DBusConnection *conn, 132 DBusConnection *conn, 141 DBusConnection *conn,
|
D | android_bluetooth_common.cpp | 140 DBusConnection *conn, in dbus_func_args_async_valist() argument 182 reply = dbus_connection_send_with_reply(conn, msg, in dbus_func_args_async_valist() 199 DBusConnection *conn, in dbus_func_args_async() argument 213 ret = dbus_func_args_async_valist(env, conn, in dbus_func_args_async() 229 DBusConnection *conn, in dbus_func_args_timeout_valist() argument 262 reply = dbus_connection_send_with_reply_and_block(conn, msg, timeout_ms, err); in dbus_func_args_timeout_valist() 276 DBusConnection *conn, in dbus_func_args_timeout() argument 286 ret = dbus_func_args_timeout_valist(env, conn, timeout_ms, NULL, in dbus_func_args_timeout() 294 DBusConnection *conn, in dbus_func_args() argument 303 ret = dbus_func_args_timeout_valist(env, conn, -1, NULL, in dbus_func_args() [all …]
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfActivity.java | 249 void dispatchCurOp(TestConnection conn) { in dispatchCurOp() argument 250 if (mCurConnection != conn) { in dispatchCurOp() 251 Log.w(TAG, "Dispatching on invalid connection: " + conn); in dispatchCurOp() 283 conn.mService.send(msg); in dispatchCurOp() 325 final TestConnection conn = mCurConnection; in disconnect() local 326 if (conn != null) { in disconnect() 330 Log.i(TAG, "Unbinding " + conn, here); in disconnect() 333 unbindService(conn); in disconnect() 336 if (conn.mLinked) { in disconnect() 339 conn.mService.send(msg); in disconnect() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | ConnectionRecord.java | 30 final IServiceConnection conn; // The client connection. field in ConnectionRecord 42 pw.println(prefix + "conn=" + conn.asBinder() in dump() 51 conn = _conn; in ConnectionRecord() 70 sb.append(Integer.toHexString(System.identityHashCode(conn.asBinder()))); in toString()
|
D | ContentProviderRecord.java | 75 public ContentProviderHolder newHolder(ContentProviderConnection conn) { in newHolder() argument 79 holder.connection = conn; in newHolder() 178 ContentProviderConnection conn = connections.get(i); in dump() local 179 pw.print(prefix); pw.print(" -> "); pw.println(conn.toClientString()); in dump() 180 if (conn.provider != this) { in dump() 182 pw.println(conn.provider); in dump()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputBinding.java | 59 public InputBinding(InputConnection conn, IBinder connToken, in InputBinding() argument 61 mConnection = conn; in InputBinding() 74 public InputBinding(InputConnection conn, InputBinding binding) { in InputBinding() argument 75 mConnection = conn; in InputBinding()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpConnection.java | 56 AndroidHttpClientConnection conn = new AndroidHttpClientConnection(); in openConnection() local 60 conn.bind(sock, params); in openConnection() 61 return conn; in openConnection()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | FsUtils.java | 29 import org.apache.http.conn.ClientConnectionManager; 30 import org.apache.http.conn.scheme.PlainSocketFactory; 31 import org.apache.http.conn.scheme.Scheme; 32 import org.apache.http.conn.scheme.SchemeRegistry; 33 import org.apache.http.conn.ssl.SSLSocketFactory; 35 import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 515 SipConnection conn = (SipConnection) c; in merge() local 516 add(conn); in merge() 517 if (conn.getState() == Call.State.HOLDING) { in merge() 518 conn.unhold(audioGroup); in merge() 524 private void add(SipConnection conn) { in add() argument 525 SipCall call = conn.getCall(); in add() 527 if (call != null) call.connections.remove(conn); in add() 529 connections.add(conn); in add() 530 conn.changeOwner(this); in add() 576 void onConnectionStateChanged(SipConnection conn) { in onConnectionStateChanged() argument [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TestHttpClient.java | 98 final HttpClientConnection conn) throws HttpException, IOException { in execute() argument 101 this.context.setAttribute(ExecutionContext.HTTP_CONNECTION, conn); in execute() 105 HttpResponse response = this.httpexecutor.execute(request, conn, this.context); in execute()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 45 import org.apache.http.conn.routing.HttpRoute; 46 import org.apache.http.conn.routing.HttpRoutePlanner; 47 import org.apache.http.conn.scheme.SchemeRegistry; 50 import org.apache.http.impl.conn.ProxySelectorRoutePlanner; 282 extends org.apache.http.impl.conn.ProxySelectorRoutePlanner {
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1995 InputConnection conn = getCurrentInputConnection(); in onExtractedSelectionChanged() local 1996 if (conn != null) { in onExtractedSelectionChanged() 1997 conn.setSelection(start, end); in onExtractedSelectionChanged() 2005 InputConnection conn = getCurrentInputConnection(); in onExtractedDeleteText() local 2006 if (conn != null) { in onExtractedDeleteText() 2007 conn.setSelection(start, start); in onExtractedDeleteText() 2008 conn.deleteSurroundingText(0, end-start); in onExtractedDeleteText() 2016 InputConnection conn = getCurrentInputConnection(); in onExtractedReplaceText() local 2017 if (conn != null) { in onExtractedReplaceText() 2018 conn.setComposingRegion(start, end); in onExtractedReplaceText() [all …]
|
/frameworks/base/ |
D | preloaded-classes | 2138 org.apache.http.conn.BasicManagedEntity 2139 org.apache.http.conn.ClientConnectionManager 2140 org.apache.http.conn.ClientConnectionOperator 2141 org.apache.http.conn.ClientConnectionRequest 2142 org.apache.http.conn.ConnectionKeepAliveStrategy 2143 org.apache.http.conn.ConnectionReleaseTrigger 2144 org.apache.http.conn.EofSensorInputStream 2145 org.apache.http.conn.EofSensorWatcher 2146 org.apache.http.conn.ManagedClientConnection 2147 org.apache.http.conn.OperatedClientConnection [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | AbstractProxyTest.java | 35 import org.apache.http.conn.params.ConnRoutePNames; 36 import org.apache.http.conn.params.ConnRouteParams; 37 import org.apache.http.conn.scheme.Scheme; 38 import org.apache.http.conn.ssl.AllowAllHostnameVerifier; 39 import org.apache.http.conn.ssl.SSLSocketFactory;
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 392 public boolean bindService(Intent service, ServiceConnection conn, in bindService() argument 394 return mBase.bindService(service, conn, flags); in bindService() 399 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { in bindService() argument 400 return mBase.bindService(service, conn, flags, userId); in bindService() 404 public void unbindService(ServiceConnection conn) { in unbindService() argument 405 mBase.unbindService(conn); in unbindService()
|