Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 23 of 23) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java303 HttpURLConnection conn = null; in executeDownload() local
306 conn = (HttpURLConnection) state.mUrl.openConnection(); in executeDownload()
307 conn.setInstanceFollowRedirects(false); in executeDownload()
308 conn.setConnectTimeout(DEFAULT_TIMEOUT); in executeDownload()
309 conn.setReadTimeout(DEFAULT_TIMEOUT); in executeDownload()
311 addRequestHeaders(state, conn); in executeDownload()
313 final int responseCode = conn.getResponseCode(); in executeDownload()
320 processResponseHeaders(state, conn); in executeDownload()
321 transferData(state, conn); in executeDownload()
329 transferData(state, conn); in executeDownload()
[all …]
DRealSystemFacade.java58 final ConnectivityManager conn = ConnectivityManager.from(mContext); in isActiveNetworkMetered() local
59 return conn.isActiveNetworkMetered(); in isActiveNetworkMetered()
DDownloadScanner.java61 public void exec(MediaScannerConnection conn) { in exec() argument
62 conn.scanFile(path, mimeType); in exec()
/packages/apps/Phone/src/com/android/phone/
DCallCard.java529 Connection conn = null; in displayMainCallStatus() local
532 conn = call.getLatestConnection(); in displayMainCallStatus()
535 conn = call.getEarliestConnection(); in displayMainCallStatus()
540 if (conn == null) { in displayMainCallStatus()
548 conn); in displayMainCallStatus()
550 if (DBG) log(" - CONN: " + conn + ", state = " + conn.getState()); in displayMainCallStatus()
551 int presentation = conn.getNumberPresentation(); in displayMainCallStatus()
556 Object o = conn.getUserData(); in displayMainCallStatus()
561 runQuery = mPhotoTracker.isDifferentImageRequest(conn); in displayMainCallStatus()
567 Object obj = conn.getUserData(); in displayMainCallStatus()
[all …]
DCallLogger.java142 private CallerInfo getCallerInfoFromConnection(Connection conn) { in getCallerInfoFromConnection() argument
144 Object o = conn.getUserData(); in getCallerInfoFromConnection()
168 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber() argument
171 if (conn.isIncoming()) { in getLogNumber()
172 number = conn.getAddress(); in getLogNumber()
181 if (conn.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getLogNumber()
183 number = conn.getOrigDialString(); in getLogNumber()
185 number = conn.getAddress(); in getLogNumber()
195 int presentation = conn.getNumberPresentation(); in getLogNumber()
217 private int getPresentation(Connection conn, CallerInfo callerInfo) { in getPresentation() argument
[all …]
DEmergencyCallHelper.java253 Connection conn = (Connection) ((AsyncResult) msg.obj).result; in onDisconnect() local
254 Connection.DisconnectCause cause = conn.getDisconnectCause(); in onDisconnect()
255 if (DBG) log("onDisconnect: connection '" + conn in onDisconnect()
256 + "', addr '" + conn.getAddress() + "', cause = " + cause); in onDisconnect()
DPhoneUtils.java1342 Connection conn = null; in startGetCallerInfo() local
1345 conn = call.getLatestConnection(); in startGetCallerInfo()
1348 conn = call.getEarliestConnection(); in startGetCallerInfo()
1353 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo()
1604 Connection conn = (Connection) cookie;
1627 ci.numberPresentation = conn.getNumberPresentation();
1634 CallerInfo newCi = getCallerInfo(null, conn);
1646 conn.setUserData(ci);
DRespondViaSmsManager.java807 Connection conn = ringingCall.getLatestConnection(); in allowRespondViaSmsForCall() local
808 if (conn == null) { in allowRespondViaSmsForCall()
817 final String number = conn.getAddress(); in allowRespondViaSmsForCall()
834 int presentation = conn.getNumberPresentation(); in allowRespondViaSmsForCall()
DInCallScreen.java1781 for (Connection conn : connections) { in onDisconnect()
1782 if (conn.getState() == Call.State.ACTIVE) { in onDisconnect()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactory.java36 import org.apache.http.conn.scheme.HostNameResolver;
37 import org.apache.http.conn.scheme.LayeredSocketFactory;
38 import org.apache.http.conn.ssl.AllowAllHostnameVerifier;
39 import org.apache.http.conn.ssl.BrowserCompatHostnameVerifier;
40 import org.apache.http.conn.ssl.StrictHostnameVerifier;
41 import org.apache.http.conn.ssl.X509HostnameVerifier;
DEmailClientConnectionManager.java29 import org.apache.http.conn.scheme.PlainSocketFactory;
30 import org.apache.http.conn.scheme.Scheme;
31 import org.apache.http.conn.scheme.SchemeRegistry;
32 import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
/packages/apps/Launcher2/
Dprint_db.py41 def get_favorites(conn): argument
42 c = conn.cursor()
122 conn = sqlite3.connect(fn)
123 columns,rows = get_favorites(conn)
Dfill_screens.py54 conn = sqlite3.connect(fn)
55 c = conn.cursor()
77 conn.commit()
/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp809 sp<NfaConn> conn = mServers[ii]->findServerConnection(nfaConnHandle); in findConnection() local
810 if (conn != NULL) { in findConnection()
811 return conn; in findConnection()
848 sp<NfaConn> conn = mServers[ii]->findServerConnection(jniHandle); in findConnection() local
849 if (conn != NULL) { in findConnection()
850 return conn; in findConnection()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java2205 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobileRadio() local
2209 return conn.isNetworkSupported(TYPE_MOBILE) && tele.getSimState() == SIM_STATE_READY; in hasReadyMobileRadio()
2223 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobile4gRadio() local
2226 final boolean hasWimax = conn.isNetworkSupported(TYPE_WIMAX); in hasReadyMobile4gRadio()
2240 final ConnectivityManager conn = ConnectivityManager.from(context); in hasWifiRadio() local
2241 return conn.isNetworkSupported(TYPE_WIFI); in hasWifiRadio()
2252 final ConnectivityManager conn = ConnectivityManager.from(context); in hasEthernet() local
2253 final boolean hasEthernet = conn.isNetworkSupported(TYPE_ETHERNET); in hasEthernet()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java563 Socket conn = null; field in TestTcpSessionNotifier
574 conn = server.accept(); in acceptAndOpen()
580 TestTcpTransport tt = new TestTcpTransport(conn); in acceptAndOpen()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DExportVCardActivity.java290 public void unbindService(ServiceConnection conn) { in unbindService() argument
292 super.unbindService(conn); in unbindService()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java26 import org.apache.http.conn.params.ConnManagerParams;
/packages/apps/Browser/src/com/android/browser/
DFetchUrlMimeType.java23 import org.apache.http.conn.params.ConnRouteParams;
DDownloadTouchIcon.java24 import org.apache.http.conn.params.ConnRouteParams;
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java82 import org.apache.http.conn.params.ConnManagerPNames;
83 import org.apache.http.conn.params.ConnPerRoute;
84 import org.apache.http.conn.routing.HttpRoute;
/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java34 import org.apache.http.conn.params.ConnRouteParams;
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz