HomeSort by relevance Sort by last modified time
    Searched refs:mConnection (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
BlockingHttpClient.java 38 private final HttpURLConnection mConnection;
55 mConnection = connection;
67 Log.d(TAG, "execute: " + mConnection.getURL());
74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream());
80 final int responseCode = mConnection.getResponseCode();
83 + mConnection.getResponseMessage());
85 throw new AuthException(mConnection.getResponseMessage());
92 return responseProcessor.onSuccess(mConnection.getInputStream());
94 mConnection.disconnect();
  /external/apache-http/android/src/android/net/http/
ConnectionThread.java 40 Connection mConnection;
106 mConnection = mConnectionManager.getConnection(mContext,
108 mConnection.processRequests(request);
109 if (mConnection.getCanPersist()) {
110 if (!mConnectionManager.recycleConnection(mConnection)) {
111 mConnection.closeConnection();
114 mConnection.closeConnection();
116 mConnection = null;
129 String con = mConnection == null ? "" : mConnection.toString()
    [all...]
IdleCache.java 31 Connection mConnection;
78 entry.mConnection = connection;
102 ret = entry.mConnection;
104 entry.mConnection = null;
119 entry.mConnection.closeConnection();
120 entry.mConnection = null;
133 entry.mConnection.closeConnection();
134 entry.mConnection = null;
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
UsbAccessoryBulkTransport.java 35 private UsbDeviceConnection mConnection;
42 mConnection = connection;
49 mConnection = null;
56 if (mConnection == null) {
59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1);
64 if (mConnection == null) {
67 int result = mConnection.bulkTransfer(mBulkOutEndpoint,
  /cts/tests/tests/telecom/src/android/telecom/cts/
ExternalCallTest.java 38 private MockConnection mConnection;
54 mConnection = (MockConnection) connection;
85 final InvokeCounter counter = mConnection.getInvokeCounter(
97 mConnection.setConnectionCapabilities(0);
100 final InvokeCounter counter = mConnection.getInvokeCounter(
CallDetailsTest.java 78 private MockConnection mConnection;
93 mConnection = (MockConnection) connection;
163 mConnection.setConnectionCapabilities(
167 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX);
170 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX);
173 mConnection.setConnectionCapabilities(
177 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_RX);
180 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_TX);
184 mConnection.setActive();
186 mConnection.setConnectionCapabilities
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputBinding.java 33 final InputConnection mConnection;
60 mConnection = conn;
74 mConnection = conn;
81 mConnection = null;
91 return mConnection;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteSession.java 166 private SQLiteConnection mConnection;
259 return mConnection != null;
319 mConnection.execute("BEGIN IMMEDIATE;", null,
323 mConnection.execute("BEGIN EXCLUSIVE;", null,
327 mConnection.execute("BEGIN;", null, cancellationSignal); // might throw
338 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw
399 assert mConnection != null;
437 mConnection.execute("COMMIT;", null, cancellationSignal); // might throw
439 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw
514 assert mConnection != null
    [all...]
  /development/samples/training/NsdChat/src/com/example/android/nsdchat/
NsdChatActivity.java 40 ChatConnection mConnection;
62 if(mConnection.getLocalPort() > -1) {
63 mNsdHelper.registerService(mConnection.getLocalPort());
77 mConnection.connectToServer(service.getHost(),
89 mConnection.sendMessage(messageString);
102 mConnection = new ChatConnection(mUpdateHandler);
143 mConnection.tearDown();
145 mConnection = null;
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
BaseInputConnectionTest.java 50 private BaseInputConnection mConnection;
70 mConnection = new BaseInputConnection(mView, true);
76 assertFalse(mConnection.beginBatchEdit());
77 assertFalse(mConnection.endBatchEdit());
82 assertFalse(mConnection.commitCompletion(new CompletionInfo(completionId,
85 assertNull(mConnection.getExtractedText(new ExtractedTextRequest(), 0));
91 assertTrue(mConnection.performEditorAction(actionCode));
92 assertFalse(mConnection.performContextMenuAction(actionId));
93 assertFalse(mConnection.performPrivateCommand(action, new Bundle()));
128 final Editable text = mConnection.getEditable()
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadScanner.java 48 private final MediaScannerConnection mConnection;
68 @GuardedBy("mConnection")
75 mConnection = new MediaScannerConnection(context, this);
100 synchronized (mConnection) {
124 synchronized (mConnection) {
127 if (mConnection.isConnected()) {
128 req.exec(mConnection);
130 mConnection.connect();
136 mConnection.disconnect();
141 synchronized (mConnection) {
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java 93 public final RichInputConnection mConnection;
125 mConnection = new RichInputConnection(latinIME);
142 mConnection.onStartInput();
159 mConnection.tryFixLyingCursorPosition();
168 mConnection.requestCursorUpdates(true /* enableMonitor */,
191 mConnection.beginBatchEdit();
196 mConnection.endBatchEdit();
205 mConnection.finishComposingText();
240 mConnection.beginBatchEdit();
251 mConnection.commitText(text, 1)
    [all...]
  /frameworks/base/media/java/android/media/
MediaHTTPConnection.java 52 private HttpURLConnection mConnection = null;
137 if (mConnection != null) {
140 mConnection.disconnect();
141 mConnection = null;
184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
186 mConnection = (HttpURLConnection)url.openConnection();
188 mConnection.setConnectTimeout(CONNECT_TIMEOUT_MS);
191 mConnection.setInstanceFollowRedirects(mAllowCrossDomainRedirect);
195 mConnection.setRequestProperty(
201 mConnection.setRequestProperty
    [all...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/
ControllerService.java 76 public Connection mConnection;
159 return mConnection.isEmulatorConnected();
169 return mConnection.getChannel(name);
214 if (mConnection != null) {
215 mConnection.disconnect();
228 mConnection = new Connection(ControllerService.this);
229 mConnection.connect();
232 mConnection.registerChannel(new SensorChannel(ControllerService.this));
234 mConnection.registerChannel(new MultiTouchChannel(ControllerService.this));
  /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
MidiPortConnector.java 36 private MidiConnection mConnection;
46 if (mConnection != null) {
48 "MidiPortConnector closing connection " + mConnection);
49 mConnection.close();
50 mConnection = null;
185 mConnection = device.connectPorts(
187 if (mConnection == null) {
193 listener.onPortsConnected(mConnection);
  /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
MidiPortConnector.java 36 private MidiConnection mConnection;
46 if (mConnection != null) {
48 "MidiPortConnector closing connection " + mConnection);
49 mConnection.close();
50 mConnection = null;
185 mConnection = device.connectPorts(
187 if (mConnection == null) {
193 listener.onPortsConnected(mConnection);
  /developers/samples/android/common/src/java/com/example/android/common/midi/
MidiPortConnector.java 36 private MidiConnection mConnection;
46 if (mConnection != null) {
48 "MidiPortConnector closing connection " + mConnection);
49 mConnection.close();
50 mConnection = null;
185 mConnection = device.connectPorts(
187 if (mConnection == null) {
193 listener.onPortsConnected(mConnection);
  /development/samples/browseable/MidiScope/src/com.example.android.common.midi/
MidiPortConnector.java 36 private MidiConnection mConnection;
46 if (mConnection != null) {
48 "MidiPortConnector closing connection " + mConnection);
49 mConnection.close();
50 mConnection = null;
185 mConnection = device.connectPorts(
187 if (mConnection == null) {
193 listener.onPortsConnected(mConnection);
  /development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
MidiPortConnector.java 36 private MidiConnection mConnection;
46 if (mConnection != null) {
48 "MidiPortConnector closing connection " + mConnection);
49 mConnection.close();
50 mConnection = null;
185 mConnection = device.connectPorts(
187 if (mConnection == null) {
193 listener.onPortsConnected(mConnection);
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
LiveChannelsTestCase.java 41 protected final TestInputControlConnection mConnection = new TestInputControlConnection();
53 context.bindService(TestInputControlUtils.createIntent(), mConnection,
64 if (mConnection.isBound()) {
65 getInstrumentation().getContext().unbindService(mConnection);
98 mConnection.updateChannelState(channel, data);
  /packages/apps/TV/tests/unit/src/com/android/tv/
BaseMainActivityTestCase.java 41 protected final TestInputControlConnection mConnection = new TestInputControlConnection();
56 .bindService(TestInputControlUtils.createIntent(), mConnection,
62 if (mConnection.isBound()) {
63 getInstrumentation().getContext().unbindService(mConnection);
127 mConnection.updateChannelState(channel, data);
  /frameworks/base/services/core/java/com/android/server/utils/
ManagedApplicationService.java 61 private ServiceConnection mConnection;
174 if (mConnection != null) {
175 mContext.unbindService(mConnection);
176 mConnection = null;
188 if (mConnection != null || mPendingConnection != null) {
208 mConnection = this;
244 mConnection = null;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
ServiceProxy.java 56 private final ServiceConnection mConnection = new ProxyConnection();
119 // Make sure that we unbind the mConnection even on exceptions in the
124 mContext.unbindService(mConnection);
137 synchronized(mConnection) {
141 mConnection.notify();
181 return mContext.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE);
200 synchronized (mConnection) {
206 mConnection.wait(mTimeout * 1000L);
  /packages/services/Telephony/src/com/android/phone/common/mail/store/
ImapStore.java 42 private ImapConnection mConnection;
164 if (mConnection != null) {
165 mConnection.close();
166 mConnection = null;
171 if (mConnection == null) {
172 mConnection = new ImapConnection(this);
174 return mConnection;
  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
ServiceRunnerActivity.java 79 private ServiceConnection mConnection = new ServiceConnection() {
109 mConnection, Context.BIND_AUTO_CREATE);
115 unbindService(mConnection);

Completed in 787 milliseconds

1 2 3 4 5