/external/chromium_org/net/dns/ |
dns_socket_pool.cc | 60 unsigned server_index, 62 DCHECK_LT(server_index, nameservers_->size()); 66 AddressList((*nameservers_)[server_index]), net_log_, source)); 70 unsigned server_index) { 71 DCHECK_LT(server_index, nameservers_->size()); 80 int rv = socket->Connect((*nameservers_)[server_index]); 105 unsigned server_index) OVERRIDE { 106 return CreateConnectedSocket(server_index); 110 unsigned server_index, 137 unsigned server_index) OVERRIDE [all...] |
dns_session.cc | 73 unsigned server_index, 75 : session_(session), server_index_(server_index), socket_(socket.Pass()) {} 112 unsigned DnsSession::NextGoodServerIndex(unsigned server_index) { 113 unsigned index = server_index; 118 server_stats_[server_index]->last_failure.is_null()); 124 if (server_stats_[server_index]->last_failure_count < config_.attempts) { 133 } while (index != server_index); 140 void DnsSession::RecordServerFailure(unsigned server_index) { 142 "AsyncDNS.ServerFailureIndex", server_index, 0, 10, 11); 143 ++(server_stats_[server_index]->last_failure_count) [all...] |
dns_session.h | 44 unsigned server_index, 48 unsigned server_index() const { return server_index_; } function in class:net::DnsSession::SocketLease 74 // Start with |server_index| and find the index of the next known good server 75 // to use on this attempt. Returns |server_index| if this server has no 78 unsigned NextGoodServerIndex(unsigned server_index); 81 void RecordServerFailure(unsigned server_index); 84 void RecordServerSuccess(unsigned server_index); 87 void RecordRTT(unsigned server_index, base::TimeDelta rtt); 90 void RecordLostPacket(unsigned server_index, int attempt); 97 base::TimeDelta NextTimeout(unsigned server_index, int attempt) [all...] |
dns_session_unittest.cc | 61 unsigned server_index; member in struct:net::__anon13823::PoolEvent 66 void OnSocketAllocated(unsigned server_index); 67 void OnSocketFreed(unsigned server_index); 71 scoped_ptr<DnsSession::SocketLease> Allocate(unsigned server_index); 72 bool DidAllocate(unsigned server_index); 73 bool DidFree(unsigned server_index); 100 unsigned server_index) OVERRIDE { 101 test_->OnSocketAllocated(server_index); 102 return CreateConnectedSocket(server_index); 106 unsigned server_index, [all...] |
dns_socket_pool.h | 52 // by |server_index|. May return a scoped_ptr to NULL if no sockets are 56 unsigned server_index) = 0; 58 // Frees a socket allocated by AllocateSocket. |server_index| must be the 61 unsigned server_index, 67 unsigned server_index, 78 unsigned server_index);
|
dns_transaction.cc | 76 explicit DnsAttempt(unsigned server_index) 77 : result_(ERR_FAILED), server_index_(server_index) {} 95 unsigned server_index() const { return server_index_; } function in class:net::__anon13827::DnsAttempt 134 DnsUDPAttempt(unsigned server_index, 137 : DnsAttempt(server_index), 298 DnsTCPAttempt(unsigned server_index, 301 : DnsAttempt(server_index), 708 unsigned server_index = local 711 server_index = session_->NextGoodServerIndex(server_index); 747 unsigned server_index = previous_attempt->server_index(); local 837 unsigned server_index = attempts_[i]->server_index(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnEditor.java | 136 private static final int SERVER_INDEX = 6; 260 mServer.setText(mCursor.getString(SERVER_INDEX));
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimSettings.java | 74 private static final int SERVER_INDEX = 6;
|
/external/wpa_supplicant_8/hostapd/ |
config_file.c | 526 static int server_index = 1; local 540 nserv->index = server_index++; [all...] |