HomeSort by relevance Sort by last modified time
    Searched refs:mConnection (Results 1 - 25 of 103) 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,
  /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;
  /cts/tests/tests/telecom/src/android/telecom/cts/
CallDetailsTest.java 78 private MockConnection mConnection;
93 mConnection = (MockConnection) connection;
162 mConnection.setConnectionCapabilities(
166 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX);
169 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX);
172 mConnection.setConnectionCapabilities(
176 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_RX);
179 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_TX);
183 mConnection.setActive();
185 mConnection.setConnectionCapabilities
    [all...]
  /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;
  /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...]
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
BaseInputConnectionTest.java 47 private BaseInputConnection mConnection;
67 mConnection = new BaseInputConnection(mView, true);
73 assertFalse(mConnection.beginBatchEdit());
74 assertFalse(mConnection.endBatchEdit());
79 assertFalse(mConnection.commitCompletion(new CompletionInfo(completionId,
82 assertNull(mConnection.getExtractedText(new ExtractedTextRequest(), 0));
88 assertTrue(mConnection.performEditorAction(actionCode));
89 assertFalse(mConnection.performContextMenuAction(actionId));
90 assertFalse(mConnection.performPrivateCommand(action, new Bundle()));
125 final Editable text = mConnection.getEditable()
    [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;
158 if (mConnection != null) {
159 mConnection.close();
160 mConnection = null;
165 if (mConnection == null) {
166 mConnection = new ImapConnection(this);
168 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);
  /frameworks/base/core/tests/coretests/src/android/os/
MessengerTest.java 34 private ServiceConnection mConnection = new ServiceConnection() {
97 mConnection, Context.BIND_AUTO_CREATE);
111 getContext().unbindService(mConnection);

Completed in 593 milliseconds

1 2 3 4 5