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

1 2 3 4 5 6

  /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();
  /system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
WritingActivity.java 37 private ServiceConnection mConnection = new ServiceConnection() {
58 mConnection,
  /frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
AccessibilityServiceConnectionTest.java 62 AccessibilityServiceConnection mConnection;
95 mConnection = new AccessibilityServiceConnection(mMockUserState, mMockContext,
103 mConnection.bindLocked();
104 verify(mMockContext).bindServiceAsUser(any(Intent.class), eq(mConnection),
111 mConnection.unbindLocked();
112 verify(mMockContext).unbindService(mConnection);
119 mConnection.bindLocked();
120 mConnection.onServiceConnected(COMPONENT_NAME, mockBinder);
121 verify(mockBinder).linkToDeath(eq(mConnection), anyInt());
122 mConnection.unbindLocked()
    [all...]
  /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/common/src/com/android/tv/testing/activities/
BaseMainActivityTestCase.java 45 protected final TestInputControlConnection mConnection = new TestInputControlConnection();
57 mConnection,
63 if (mConnection.isBound()) {
64 getInstrumentation().getTargetContext().unbindService(mConnection);
122 mConnection.updateChannelState(channel, data);
  /packages/services/BuiltInPrintService/src/com/android/bips/p2p/
P2pMonitor.java 37 private P2pConnectionProcedure mConnection;
117 if (mConnection != null && !peer.deviceAddress.equals(mConnection.getPeer()
119 if (mConnection.getListenerCount() == 1) {
121 mConnection.close();
122 mConnection = null;
131 if (mConnection == null) {
133 mConnection = new P2pConnectionProcedure(mService, mP2pManager, peer,
150 mConnection.addListener(listener);
158 if (mConnection == null || !mConnection.hasListener(listener))
    [all...]
  /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,
  /system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
MultiProcessActivity.java 26 bindService(new Intent(this, MultiProcessService.class), mConnection,
31 private ServiceConnection mConnection = new ServiceConnection() {
57 unbindService(mConnection);
  /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...]
  /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/core/java/android/view/inputmethod/
InputBinding.java 33 final InputConnection mConnection;
60 mConnection = conn;
74 mConnection = conn;
81 mConnection = null;
91 return mConnection;
  /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));
  /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;
  /frameworks/base/media/java/android/media/
MediaScannerConnection.java 189 MediaScannerConnection mConnection;
211 mConnection.disconnect();
212 mConnection = null;
216 mConnection.scanFile(mPaths[mNextPath], mimeType);
242 client.mConnection = connection;
  /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...]
  /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...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
CallDetailsTest.java 77 private MockConnection mConnection;
92 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...]
ExternalCallTest.java 38 private MockConnection mConnection;
54 mConnection = (MockConnection) connection;
85 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter(
97 mConnection.setConnectionCapabilities(0);
100 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter(
  /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);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalServiceActivities.java 102 private ServiceConnection mConnection = new ServiceConnection() {
134 mConnection, Context.BIND_AUTO_CREATE)) {
145 unbindService(mConnection);

Completed in 574 milliseconds

1 2 3 4 5 6