/external/smack/src/org/jivesoftware/smackx/ping/ |
ServerPingTask.java | 22 import org.jivesoftware.smack.Connection; 28 // reference to connection so that it can be GCed. 29 private WeakReference<Connection> weakConnection; 34 protected ServerPingTask(Connection connection) { 35 this.weakConnection = new WeakReference<Connection>(connection); 39 Connection connection = weakConnection.get(); local 40 if (connection == null) [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
Connection.h | 5 * Connection data. 46 class Connection 52 void *connectionData; /**< reference to data related with the connection */ 53 bool detached; /**< Connection state */ 55 Connection( 59 Connection( 64 virtual ~Connection( 79 * Read bytes from the connection. 91 * Read bytes from the connection. 100 * Write bytes to the connection [all...] |
Connection.cpp | 5 * Connection data. 38 #include "Connection.h" 45 Connection::Connection(void) 54 Connection::Connection(int socketDescriptor, sockaddr_un *remote) 66 Connection::~Connection(void) 68 LOG_V(" closing Connection..."); 71 LOG_I(" Socket connection closed.") [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Conference.java | 29 * Represents a conference call which can contain any number of {@link Connection} objects. 36 * Used to indicate that the conference connection time is not specified. If not specified, 45 public void onConnectionAdded(Conference conference, Connection connection) {} 46 public void onConnectionRemoved(Conference conference, Connection connection) {} 48 Conference conference, List<Connection> conferenceableConnections) {} 55 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>(); 56 private final List<Connection> mUnmodifiableChildConnections = 58 private final List<Connection> mConferenceableConnections = new ArrayList<>() [all...] |
/frameworks/native/services/surfaceflinger/ |
EventThread.h | 57 class Connection : public BnDisplayEventConnection { 59 Connection(const sp<EventThread>& eventThread); 68 virtual ~Connection(); 81 sp<Connection> createEventConnection() const; 82 status_t registerDisplayEventConnection(const sp<Connection>& connection); 84 void setVsyncRate(uint32_t count, const sp<Connection>& connection); 85 void requestNextVsync(const sp<Connection>& connection); [all...] |
/external/chromium_org/components/proximity_auth/ |
connection_unittest.cc | 5 #include "components/proximity_auth/connection.h" 23 class MockConnection : public Connection { 25 MockConnection() : Connection(RemoteDevice()) {} 47 using Connection::status; 48 using Connection::SetStatus; 49 using Connection::OnDidSendMessage; 50 using Connection::OnBytesReceived; 62 void(const Connection& connection, 63 Connection::Status old_status 89 StrictMock<MockConnection> connection; local 103 StrictMock<MockConnection> connection; local 112 NiceMock<MockConnection> connection; local 121 StrictMock<MockConnection> connection; local 130 NiceMock<MockConnection> connection; local 140 StrictMock<MockConnection> connection; local 155 StrictMock<MockConnection> connection; local 167 NiceMock<MockConnection> connection; local 180 NiceMock<MockConnection> connection; local 192 NiceMock<MockConnection> connection; local 207 StrictMock<MockConnection> connection; local 219 NiceMock<MockConnection> connection; local 234 NiceMock<MockConnection> connection; local [all...] |
connection.h | 19 // Base class representing a connection with a remote device, which is a 21 class Connection { 29 // Constructs a connection to the given |remote_device|. 30 explicit Connection(const RemoteDevice& remote_device); 31 virtual ~Connection(); 33 // Returns true iff the connection's status is CONNECTED. 55 // Sets the connection's status to |status|. If this is different from the 62 // Called after attempting to send bytes over the connection, whether the 67 // Called when bytes are read from the connection. There should not be a send 72 // Sends bytes over the connection. The implementing class should cal [all...] |
/external/chromium_org/components/precache/core/ |
precache_url_table.h | 15 class Connection; 30 // connection. The caller keeps ownership of |db|, and |db| must not be NULL. 32 bool Init(sql::Connection* db); 54 sql::Connection* db_;
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
Device.h | 56 Connection *connection; /**< The device connection */ member in class:Device 61 Connection *connection 95 * @param connection session connection 99 Connection *connection
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
TrustletSession.h | 36 #include "Connection.h" 50 Connection *deviceConnection; 51 Connection *notificationConnection; 53 TrustletSession(Connection *deviceConnection, uint32_t sessionId);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
turnserver.h | 104 // to connect, the connection will be accepted and a new internal socket 113 // Encapsulates the client's connection to the server. 114 class Connection { 116 Connection() : proto_(PROTO_UDP), socket_(NULL) {} 117 Connection(const rtc::SocketAddress& src, 122 bool operator==(const Connection& t) const; 123 bool operator<(const Connection& t) const; 135 typedef std::map<Connection, Allocation*> AllocationMap; 147 void HandleStunMessage(Connection* conn, const char* data, size_t size); 148 void HandleBindingRequest(Connection* conn, const StunMessage* msg) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Call.java | 69 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); 85 public abstract List<Connection> getConnections(); 94 * @param c a Connection object 95 * @return true if the call contains the connection object passed in 97 public boolean hasConnection(Connection c) { 106 List<Connection> connections = getConnections(); 134 * Returns the Connection associated with this Call that was created 137 public Connection 139 List<Connection> l [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConferenceController.java | 29 import android.telecom.Connection; 46 private final Connection.Listener mConnectionListener = new Connection.Listener() { 48 public void onStateChanged(Connection c, int state) { 54 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 59 public void onDestroyed(Connection connection) { 60 remove(connection); 73 /** The TelephonyConference connection object. */ 76 void add(TelephonyConnection connection) { [all...] |
CdmaConferenceController.java | 20 import android.telecom.Connection; 35 * say that we are in a conference call with {@link Connection#CAPABILITY_GENERIC_CONFERENCE}. 48 private final Connection.Listener mConnectionListener = new Connection.Listener() { 50 public void onStateChanged(Connection c, int state) { 55 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 60 public void onDestroyed(Connection c) { 86 /** The CDMA conference connection object. */ 89 void add(final CdmaConnection connection) { 90 if (!mCdmaConnections.isEmpty() && connection.isOutgoing()) [all...] |
ImsConference.java | 22 import android.telecom.Connection; 42 * An IMS conference call consists of a conference host connection and potentially a list of 43 * conference participants. The conference host connection represents the radio connection to the 44 * IMS conference server. Since it is not a connection to any one individual, it is not represented 46 * connection via a conference event package. Conference participant connections do not represent 51 * connection and is responsible for managing the conference participant connections which represent 60 private final Connection.Listener mParticipantListener = new Connection.Listener() { 64 * @param connection The participant which was destroyed 384 ConferenceParticipantConnection connection = local 394 ConferenceParticipantConnection connection = local 438 ConferenceParticipantConnection connection = new ConferenceParticipantConnection( local 446 mConferenceParticipantConnections.put(participant.getEndpoint(), connection); local [all...] |
ImsConferenceController.java | 21 import android.telecom.Connection; 51 * Ims conference controller connection listener. Used to respond to changes in state of the 54 private final Connection.Listener mConnectionListener = new Connection.Listener() { 56 public void onStateChanged(Connection c, int state) { 62 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 68 public void onDestroyed(Connection connection) { 69 remove(connection); 98 * @param connectionService The current connection service 195 Connection connection = (Connection) conferenceable; local 204 Connection connection = (Connection) conferenceable; local 234 TelephonyConnection connection = it.next(); local [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table.h | 15 class Connection; 39 bool Initialize(sql::Connection* connection); 45 bool StringToInt(sql::Connection* connection, 53 bool IntToString(sql::Connection* connection, int64 id, std::string* value);
|
activity_database.h | 19 #include "sql/connection.h" 29 // Encapsulates the SQL connection for the activity log database. This class 30 // holds the database connection and has methods for writing. All of the 78 virtual bool InitDatabase(sql::Connection* db) = 0; 84 virtual bool FlushDatabase(sql::Connection* db) = 0; 134 static bool InitializeTable(sql::Connection* db, 140 // Runs the given callback, passing it a handle to the database connection. 143 void RunOnDatabase(const base::Callback<void(sql::Connection*)>& callback); 182 sql::Connection* GetSqlConnection(); 188 sql::Connection db_ [all...] |
/external/chromium_org/components/webdata/common/ |
web_database_table.cc | 10 void WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipCallBase.java | 20 import com.android.internal.telephony.Connection; 29 public List<Connection> getConnections() { 45 for (Iterator<Connection> it = mConnections.iterator(); it.hasNext(); ) { 46 Connection c = it.next();
|
/external/chromium_org/chrome/browser/predictors/ |
predictor_database.h | 14 class Connection; 34 sql::Connection* GetDatabase();
|
/external/chromium_org/chrome/utility/importer/ |
firefox_importer.h | 22 class Connection; 59 void LoadRootNodeID(sql::Connection* db, int* toolbar_folder_id, 63 void LoadLivemarkIDs(sql::Connection* db, std::set<int>* livemark); 67 void GetTopBookmarkFolder(sql::Connection* db, 72 void GetWholeBookmarkFolder(sql::Connection* db, BookmarkList* list, 77 void LoadFavicons(sql::Connection* db,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ContextMap.java | 40 * Connection class helps map connection IDs to device addresses. 42 class Connection { 47 Connection(int connId, String address,int appId) { 125 Set<Connection> mConnections = new HashSet<Connection>(); 171 * Add a new connection for a given application ID. 177 mConnections.add(new Connection(connId, address, id)); 183 * Remove a connection with the given ID. 187 Iterator<Connection> i = mConnections.iterator() 189 Connection connection = i.next(); local 231 Connection connection = i.next(); local 243 Connection connection = ii.next(); local 260 Connection connection = i.next(); local 273 Connection connection = i.next(); local 283 Connection connection = i.next(); local 325 Connection connection = ii.next(); local [all...] |
/external/chromium_org/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ |
SocketTunnelServer.java | 26 private final Map<Integer, Connection> mClientConnections = 27 new HashMap<Integer, Connection>(); 31 private final ConcurrentMap<Integer, Connection> mServerConnections = 32 new ConcurrentHashMap<Integer, Connection>(); 45 for (Connection connection : mClientConnections.values()) { 46 connection.terminate(); 93 Connection connection = new Connection(connectionId) local 107 Connection connection = mClientConnections.get(connectionId); local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionPool.java | 34 * {@link com.squareup.okhttp.Connection}. This class implements the policy of 45 * connection alive in the pool before closing it. Default is 5 minutes. 79 private final LinkedList<Connection> connections = new LinkedList<Connection>(); 88 * Connection clean up is driven by usage of the pool. Each usage of the pool can schedule a 120 // See whether we should continue checking the connection pool. 143 List<Connection> expiredConnections = new ArrayList<Connection>(MAX_CONNECTIONS_TO_CLEANUP); 146 for (ListIterator<Connection> i = connections.listIterator(connections.size()); 148 Connection connection = i.previous() 238 Connection connection = i.previous(); local [all...] |