Home | History | Annotate | Download | only in p2p

Lines Matching defs:mConnection

37     private P2pConnectionProcedure mConnection;
117 if (mConnection != null && !peer.deviceAddress.equals(mConnection.getPeer()
119 if (mConnection.getListenerCount() == 1) {
121 mConnection.close();
122 mConnection = null;
131 if (mConnection == null) {
133 mConnection = new P2pConnectionProcedure(mService, mP2pManager, peer,
150 mConnection.addListener(listener);
158 if (mConnection == null || !mConnection.hasListener(listener)) {
162 if (DEBUG) Log.d(TAG, "stopConnect " + toString(mConnection.getPeer()));
163 mConnection.removeListener(listener);
166 if (mConnection.getListenerCount() == 1 && mConnectedInterface == null) {
168 mConnection.close();
169 mConnection = null;
175 return mConnection;
185 if (mConnection != null) {
186 mConnection.close();
187 mConnection = null;