Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java310 HttpURLConnection conn = null; in executeDownload() local
313 conn = (HttpURLConnection) state.mUrl.openConnection(); in executeDownload()
314 conn.setInstanceFollowRedirects(false); in executeDownload()
315 conn.setConnectTimeout(DEFAULT_TIMEOUT); in executeDownload()
316 conn.setReadTimeout(DEFAULT_TIMEOUT); in executeDownload()
318 addRequestHeaders(state, conn); in executeDownload()
320 final int responseCode = conn.getResponseCode(); in executeDownload()
327 processResponseHeaders(state, conn); in executeDownload()
328 transferData(state, conn); in executeDownload()
336 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/services/Telephony/src/com/android/phone/
DCallLogger.java143 private CallerInfo getCallerInfoFromConnection(Connection conn) { in getCallerInfoFromConnection() argument
145 Object o = conn.getUserData(); in getCallerInfoFromConnection()
171 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber() argument
174 if (conn.isIncoming()) { in getLogNumber()
175 number = conn.getAddress(); in getLogNumber()
184 if (conn.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getLogNumber()
186 number = conn.getOrigDialString(); in getLogNumber()
188 number = conn.getAddress(); in getLogNumber()
198 int presentation = conn.getNumberPresentation(); in getLogNumber()
220 private int getPresentation(Connection conn, CallerInfo callerInfo) { in getPresentation() argument
[all …]
DCallModeler.java292 /* package */ Call onNewRingingConnection(Connection conn) { in onNewRingingConnection() argument
294 final Call call = getCallFromMap(mCallMap, conn, true); in onNewRingingConnection()
297 updateCallFromConnection(call, conn, false); in onNewRingingConnection()
308 private void onDisconnect(Connection conn) { in onDisconnect() argument
310 final Call call = getCallFromMap(mCallMap, conn, false); in onDisconnect()
315 updateCallFromConnection(call, conn, false); in onDisconnect()
327 mCallMap.remove(conn); in onDisconnect()
864 private Call getCallFromMap(HashMap<Connection, Call> map, Connection conn, in getCallFromMap() argument
869 if (conn != null) { in getCallFromMap()
870 if (map.containsKey(conn)) { in getCallFromMap()
[all …]
DRejectWithTextMessageManager.java182 com.android.services.telephony.common.Call call, Connection conn) { in allowRespondViaSmsForCall() argument
202 if (conn == null) { in allowRespondViaSmsForCall()
211 final String number = conn.getAddress(); in allowRespondViaSmsForCall()
228 int presentation = conn.getNumberPresentation(); in allowRespondViaSmsForCall()
DEmergencyCallHelper.java236 Connection conn = (Connection) ((AsyncResult) msg.obj).result; in onDisconnect() local
237 Connection.DisconnectCause cause = conn.getDisconnectCause(); in onDisconnect()
238 if (DBG) log("onDisconnect: connection '" + conn in onDisconnect()
239 + "', addr '" + conn.getAddress() + "', cause = " + cause); in onDisconnect()
DPhoneUtils.java1474 Connection conn = null; in startGetCallerInfo() local
1477 conn = call.getLatestConnection(); in startGetCallerInfo()
1480 conn = call.getEarliestConnection(); in startGetCallerInfo()
1485 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo()
1755 Connection conn = (Connection) cookie;
1778 ci.numberPresentation = conn.getNumberPresentation();
1785 CallerInfo newCi = getCallerInfo(null, conn);
1797 conn.setUserData(ci);
/packages/apps/Launcher3/
Dprint_db.py50 def get_favorites(conn): argument
51 c = conn.cursor()
59 def get_screens(conn): argument
60 c = conn.cursor()
152 conn = sqlite3.connect(fn)
153 columns,rows = get_favorites(conn)
154 screenCols, screenRows = get_screens(conn)
Dfill_screens.py54 conn = sqlite3.connect(fn)
55 c = conn.cursor()
77 conn.commit()
/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/Exchange/src/com/android/exchange/eas/
DEasConnectionCache.java27 import org.apache.http.conn.params.ConnManagerPNames;
28 import org.apache.http.conn.params.ConnPerRoute;
29 import org.apache.http.conn.routing.HttpRoute;
/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.java2210 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobileRadio() local
2214 return conn.isNetworkSupported(TYPE_MOBILE) && tele.getSimState() == SIM_STATE_READY; in hasReadyMobileRadio()
2228 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobile4gRadio() local
2231 final boolean hasWimax = conn.isNetworkSupported(TYPE_WIMAX); in hasReadyMobile4gRadio()
2245 final ConnectivityManager conn = ConnectivityManager.from(context); in hasWifiRadio() local
2246 return conn.isNetworkSupported(TYPE_WIFI); in hasWifiRadio()
2257 final ConnectivityManager conn = ConnectivityManager.from(context); in hasEthernet() local
2258 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/Email/emailsync/src/com/android/emailsync/
DSyncManager.java67 import org.apache.http.conn.params.ConnManagerPNames;
68 import org.apache.http.conn.params.ConnPerRoute;
69 import org.apache.http.conn.routing.HttpRoute;
/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/Mms/src/com/android/mms/transaction/
DHttpUtils.java34 import org.apache.http.conn.params.ConnRouteParams;
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1381226409, ...