Searched refs:mConnection (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java45 Connection mConnection; field in class:ConnectionThread
111 mConnection = mConnectionManager.getConnection(mContext,
113 mConnection.processRequests(request);
114 if (mConnection.getCanPersist()) {
115 if (!mConnectionManager.recycleConnection(mConnection)) {
116 mConnection.closeConnection();
119 mConnection.closeConnection();
121 mConnection = null;
134 String con = mConnection == null ? "" : mConnection
[all...]
H A DIdleCache.java34 Connection mConnection; field in class:IdleCache.Entry
81 entry.mConnection = connection;
105 ret = entry.mConnection;
107 entry.mConnection = null;
122 entry.mConnection.closeConnection();
123 entry.mConnection = null;
136 entry.mConnection.closeConnection();
137 entry.mConnection = null;
H A DRequest.java57 private Connection mConnection; field in class:Request
159 mConnection = connection;
224 mConnection.getHttpContext());
294 buf = mConnection.getBuf();
352 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(),
378 if (mConnection != null) {
379 mConnection.cancel();
512 HttpsConnection connection = (HttpsConnection)(mConnection);
520 * This should not be called before the mConnection is set.
525 mConnection
[all...]
H A DRequestHandle.java52 private Connection mConnection; field in class:RequestHandle
92 mConnection = conn;
288 if (mConnection != null) {
289 mConnection.processRequests(mRequest);
451 // mConnection is non-null if and only if the requests are synchronous.
452 if (mConnection != null) {
457 mConnection = newHandle.mConnection;
/frameworks/base/core/java/android/view/inputmethod/
H A DInputBinding.java34 final InputConnection mConnection; field in class:InputBinding
61 mConnection = conn;
75 mConnection = conn;
82 mConnection = null;
92 return mConnection;
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteSession.java166 private SQLiteConnection mConnection; field in class:SQLiteSession
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 !
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java34 private ServiceConnection mConnection = new ServiceConnection() { field in class:MessengerTest
97 mConnection, Context.BIND_AUTO_CREATE);
111 getContext().unbindService(mConnection);
H A DBinderThreadPriorityTest.java38 private ServiceConnection mConnection = new ServiceConnection() { field in class:BinderThreadPriorityTest
65 mConnection, Context.BIND_AUTO_CREATE);
93 getContext().unbindService(mConnection);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxManagerService.java58 mConnection, Context.BIND_AUTO_CREATE);
65 if (mStarted && mConnection != null) {
66 context.unbindService(mConnection);
138 static private ServiceConnection mConnection = new ServiceConnection() { field in class:BordeauxManagerService
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbap.java119 synchronized (mConnection) {
122 mContext.unbindService(mConnection);
128 synchronized (mConnection) {
134 mConnection, 0)) {
161 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
190 synchronized (mConnection) {
194 mContext.unbindService(mConnection);
195 mConnection = null;
298 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPbap
H A DBluetoothA2dp.java118 synchronized (mConnection) {
121 mContext.unbindService(mConnection);
127 synchronized (mConnection) {
131 if (!mContext.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
160 if (!context.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
176 synchronized (mConnection) {
180 mContext.unbindService(mConnection);
449 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dp
H A DBluetoothPan.java142 mConnection, 0)) {
150 if (mConnection != null) {
151 mContext.unbindService(mConnection);
152 mConnection = null;
174 mConnection, 0)) {
180 synchronized (mConnection) {
183 mContext.unbindService(mConnection);
337 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPan
H A DBluetoothHealth.java107 synchronized (mConnection) {
110 mContext.unbindService(mConnection);
116 synchronized (mConnection) {
120 if (!mContext.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
486 if (!context.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
502 synchronized (mConnection) {
506 mContext.unbindService(mConnection);
515 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHealth
H A DBluetoothInputDevice.java196 synchronized (mConnection) {
199 mContext.unbindService(mConnection);
205 synchronized (mConnection) {
209 if (!mContext.bindService(new Intent(IBluetoothInputDevice.class.getName()), mConnection, 0)) {
241 mConnection, 0)) {
257 synchronized (mConnection) {
261 mContext.unbindService(mConnection);
455 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothInputDevice
H A DBluetoothHeadset.java231 synchronized (mConnection) {
234 mContext.unbindService(mConnection);
240 synchronized (mConnection) {
244 if (!mContext.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
273 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
296 synchronized (mConnection) {
300 mContext.unbindService(mConnection);
857 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHeadset
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java270 synchronized(mConnection) {
305 synchronized(mConnection) {
382 synchronized (mConnection) {
386 if (!mConnection.isGetNameAddressOnly()) {
397 mContext.unbindService(mConnection);
423 if (!mConnection.isGetNameAddressOnly()) {
441 if (!mConnection.isGetNameAddressOnly()) {
464 synchronized(mConnection) {
488 synchronized(mConnection) {
530 private BluetoothServiceConnection mConnection field in class:BluetoothManagerService
[all...]
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java111 private Connection mConnection; field in class:SpeechRecognizer
176 mConnection = null;
261 if (mConnection == null) { // first time connection
262 mConnection = new Connection();
281 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) {
283 mConnection = null;
393 if (mConnection != null) {
394 mContext.unbindService(mConnection);
398 mConnection = null;
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java182 MediaScannerConnection mConnection; field in class:MediaScannerConnection.ClientProxy
204 mConnection.disconnect();
208 mConnection.scanFile(mPaths[mNextPath], mimeType);
234 client.mConnection = connection;
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java184 private AsyncChannelConnection mConnection; field in class:AsyncChannel
220 mConnection = new AsyncChannelConnection();
237 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
437 mConnection = null;
444 if ((mConnection != null) && (mSrcContext != null)) {
445 mSrcContext.unbindService(mConnection);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiConnectionTest.java89 WifiInfo mConnection = mAct.mWifiManager.getConnectionInfo();
90 assertNotNull(mConnection);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DFaceUnlock.java131 mConnection,
168 mContext.unbindService(mConnection);
347 private ServiceConnection mConnection = new ServiceConnection() { field in class:FaceUnlock
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java91 private Connection mConnection; field in class:Vpn
191 if (mConnection != null) {
193 mConnection.mService.transact(IBinder.LAST_CALL_TRANSACTION,
198 mContext.unbindService(mConnection);
199 mConnection = null;
292 if (mConnection != null) {
293 mContext.unbindService(mConnection);
298 mConnection = connection;
355 if (mConnection != null) {
356 mContext.unbindService(mConnection);
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DFaceUnlock.java164 mConnection,
197 mContext.unbindService(mConnection);
432 private ServiceConnection mConnection = new ServiceConnection() { field in class:FaceUnlock
/frameworks/base/core/java/android/app/
H A DLoadedApk.java928 private final ServiceConnection mConnection; field in class:LoadedApk.ServiceDispatcher
965 mConnection = conn;
976 "ServiceConnection " + mConnection +
982 "ServiceConnection " + mConnection +
1005 return mConnection;
1097 mConnection.onServiceDisconnected(name);
1101 mConnection.onServiceConnected(name, service);
1106 mConnection.onServiceDisconnected(name);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java128 IWallpaperConnection mConnection; field in class:WallpaperService.Engine
761 mConnection = wrapper.mConnection;
951 final IWallpaperConnection mConnection; field in class:WallpaperService.IWallpaperEngineWrapper
971 mConnection = conn;
1012 mConnection.engineShown(this);
1029 mConnection.attachEngine(this);

Completed in 1675 milliseconds

12