Searched refs:conn (Results 1 – 25 of 25) sorted by relevance
310 HttpURLConnection conn = null; in executeDownload() local313 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 …]
58 final ConnectivityManager conn = ConnectivityManager.from(mContext); in isActiveNetworkMetered() local59 return conn.isActiveNetworkMetered(); in isActiveNetworkMetered()
61 public void exec(MediaScannerConnection conn) { in exec() argument62 conn.scanFile(path, mimeType); in exec()
143 private CallerInfo getCallerInfoFromConnection(Connection conn) { in getCallerInfoFromConnection() argument145 Object o = conn.getUserData(); in getCallerInfoFromConnection()171 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber() argument174 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 …]
292 /* package */ Call onNewRingingConnection(Connection conn) { in onNewRingingConnection() argument294 final Call call = getCallFromMap(mCallMap, conn, true); in onNewRingingConnection()297 updateCallFromConnection(call, conn, false); in onNewRingingConnection()308 private void onDisconnect(Connection conn) { in onDisconnect() argument310 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() argument869 if (conn != null) { in getCallFromMap()870 if (map.containsKey(conn)) { in getCallFromMap()[all …]
182 com.android.services.telephony.common.Call call, Connection conn) { in allowRespondViaSmsForCall() argument202 if (conn == null) { in allowRespondViaSmsForCall()211 final String number = conn.getAddress(); in allowRespondViaSmsForCall()228 int presentation = conn.getNumberPresentation(); in allowRespondViaSmsForCall()
236 Connection conn = (Connection) ((AsyncResult) msg.obj).result; in onDisconnect() local237 Connection.DisconnectCause cause = conn.getDisconnectCause(); in onDisconnect()238 if (DBG) log("onDisconnect: connection '" + conn in onDisconnect()239 + "', addr '" + conn.getAddress() + "', cause = " + cause); in onDisconnect()
1474 Connection conn = null; in startGetCallerInfo() local1477 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);
50 def get_favorites(conn): argument51 c = conn.cursor()59 def get_screens(conn): argument60 c = conn.cursor()152 conn = sqlite3.connect(fn)153 columns,rows = get_favorites(conn)154 screenCols, screenRows = get_screens(conn)
54 conn = sqlite3.connect(fn)55 c = conn.cursor()77 conn.commit()
36 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;
29 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;
41 def get_favorites(conn): argument42 c = conn.cursor()122 conn = sqlite3.connect(fn)123 columns,rows = get_favorites(conn)
27 import org.apache.http.conn.params.ConnManagerPNames;28 import org.apache.http.conn.params.ConnPerRoute;29 import org.apache.http.conn.routing.HttpRoute;
809 sp<NfaConn> conn = mServers[ii]->findServerConnection(nfaConnHandle); in findConnection() local810 if (conn != NULL) { in findConnection()811 return conn; in findConnection()848 sp<NfaConn> conn = mServers[ii]->findServerConnection(jniHandle); in findConnection() local849 if (conn != NULL) { in findConnection()850 return conn; in findConnection()
2210 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobileRadio() local2214 return conn.isNetworkSupported(TYPE_MOBILE) && tele.getSimState() == SIM_STATE_READY; in hasReadyMobileRadio()2228 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobile4gRadio() local2231 final boolean hasWimax = conn.isNetworkSupported(TYPE_WIMAX); in hasReadyMobile4gRadio()2245 final ConnectivityManager conn = ConnectivityManager.from(context); in hasWifiRadio() local2246 return conn.isNetworkSupported(TYPE_WIFI); in hasWifiRadio()2257 final ConnectivityManager conn = ConnectivityManager.from(context); in hasEthernet() local2258 final boolean hasEthernet = conn.isNetworkSupported(TYPE_ETHERNET); in hasEthernet()
563 Socket conn = null; field in TestTcpSessionNotifier574 conn = server.accept(); in acceptAndOpen()580 TestTcpTransport tt = new TestTcpTransport(conn); in acceptAndOpen()
290 public void unbindService(ServiceConnection conn) { in unbindService() argument292 super.unbindService(conn); in unbindService()
67 import org.apache.http.conn.params.ConnManagerPNames;68 import org.apache.http.conn.params.ConnPerRoute;69 import org.apache.http.conn.routing.HttpRoute;
26 import org.apache.http.conn.params.ConnManagerParams;
23 import org.apache.http.conn.params.ConnRouteParams;
24 import org.apache.http.conn.params.ConnRouteParams;
34 import org.apache.http.conn.params.ConnRouteParams;
1dictionary=main:fr,locale=fr,description=Français,date=1381226409, ...