/frameworks/base/core/java/android/net/http/ |
ConnectionThread.java | 45 Connection mConnection; 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.toString() [all...] |
IdleCache.java | 34 Connection mConnection; 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;
|
Request.java | 57 private Connection mConnection; 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.mContext.getText [all...] |
RequestHandle.java | 51 private Connection mConnection; 91 mConnection = conn; 287 if (mConnection != null) { 288 mConnection.processRequests(mRequest); 446 // mConnection is non-null if and only if the requests are synchronous. 447 if (mConnection != null) { 452 mConnection = newHandle.mConnection;
|
RequestQueue.java | 151 Connection connection = mThreads[i].mConnection; 164 Connection connection = ct.mConnection;
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputBinding.java | 34 final InputConnection mConnection; 61 mConnection = conn; 75 mConnection = conn; 82 mConnection = null; 92 return mConnection;
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 51 private BaseInputConnection mConnection; 65 mConnection = new BaseInputConnection(mView, true); 108 assertFalse(mConnection.beginBatchEdit()); 109 assertFalse(mConnection.endBatchEdit()); 114 assertFalse(mConnection.commitCompletion(new CompletionInfo(completionId, 117 assertNull(mConnection.getExtractedText(new ExtractedTextRequest(), 0)); 123 assertTrue(mConnection.performEditorAction(actionCode)); 124 assertFalse(mConnection.performContextMenuAction(actionId)); 125 assertFalse(mConnection.performPrivateCommand(action, new Bundle())); 229 final Editable text = mConnection.getEditable() [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 112 IAccessibilityServiceConnection mConnection; 157 if (mInfo != null && mConnection != null) { 159 mConnection.setServiceInfo(mInfo); 223 mConnection = ((IAccessibilityServiceConnection) message.obj);
|
/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);
|
BinderThreadPriorityTest.java | 38 private ServiceConnection mConnection = new ServiceConnection() { 65 mConnection, Context.BIND_AUTO_CREATE); 93 getContext().unbindService(mConnection);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPbap.java | 117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { 137 if (mConnection != null) { 138 mContext.unbindService(mConnection); 139 mConnection = null; 237 private ServiceConnection mConnection = new ServiceConnection() {
|
BluetoothHeadset.java | 160 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) { 181 if (mConnection != null) { 182 mContext.unbindService(mConnection); 183 mConnection = null; 494 private ServiceConnection mConnection = new ServiceConnection() {
|
/packages/apps/Email/src/com/android/email/mail/store/ |
ImapStore.java | 504 private ImapConnection mConnection; 514 if (mConnection != null) { 515 mConnection.destroyResponses(); 528 mConnection.executeSimpleCommand(ImapConstants.NOOP); 532 ioExceptionHandler(mConnection, ioe); 542 mConnection = mStore.getConnection(); 554 List<ImapResponse> responses = mConnection.executeSimpleCommand( 588 throw ioExceptionHandler(mConnection, ioe); 601 return mExists && mConnection != null; 615 mStore.poolConnection(mConnection); [all...] |
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 97 private Connection mConnection; 162 mConnection = null; 247 if (mConnection == null) { // first time connection 248 mConnection = new Connection(); 267 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { 269 mConnection = null; 379 if (mConnection != null) { 380 mContext.unbindService(mConnection); 384 mConnection = null;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalServiceActivities.java | 96 private ServiceConnection mConnection = new ServiceConnection() { 127 LocalService.class), mConnection, Context.BIND_AUTO_CREATE); 134 unbindService(mConnection);
|
MessengerServiceActivities.java | 65 private ServiceConnection mConnection = new ServiceConnection() { 117 MessengerService.class), mConnection, Context.BIND_AUTO_CREATE); 139 unbindService(mConnection);
|
RemoteService.java | 294 private ServiceConnection mConnection = new ServiceConnection() { 360 mConnection, Context.BIND_AUTO_CREATE); 383 unbindService(mConnection);
|
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 183 MediaScannerConnection mConnection; 205 mConnection.disconnect(); 209 mConnection.scanFile(mPaths[mNextPath], mimeType); 235 client.mConnection = connection;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 76 WifiInfo mConnection = mAct.mWifiManager.getConnectionInfo(); 77 assertNotNull(mConnection);
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallbackModeExitDialog.java | 133 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE); 155 unbindService(mConnection); 318 private ServiceConnection mConnection = new ServiceConnection() {
|
/cts/tests/tests/os/src/android/os/cts/ |
MessengerTest.java | 96 private ServiceConnection mConnection = new ServiceConnection() { 114 getContext().bindService(new Intent(mContext, MessengerService.class), mConnection, 126 getContext().unbindService(mConnection);
|
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetService.java | 98 private final ServiceConnection mConnection = new ServiceConnection() { 131 mConnection, Context.BIND_AUTO_CREATE); 136 unbindService(mConnection);
|
/frameworks/base/core/java/android/app/ |
LoadedApk.java | [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperService.java | 127 IWallpaperConnection mConnection; 634 mConnection = wrapper.mConnection; 811 final IWallpaperConnection mConnection; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppService.java | [all...] |