Lines Matching defs:connect
118 // The device to which we want to connect, or null if we want to be disconnected.
122 // or are not trying to connect.
128 // The device to which we were previously trying to connect and are now canceling.
258 connect(device);
376 // mode. So we allow discovery to continue until we give up trying to connect.
511 private void connect(final WifiP2pDevice device) {
515 Slog.d(TAG, "connect: nothing to do, already connecting to "
525 Slog.d(TAG, "connect: nothing to do, already connected to "
533 Slog.i(TAG, "Ignoring request to connect to Wifi display because the "
563 // Resume scans later when no longer attempting to connect.
566 // Step 1. Before we try to connect to a new device, tell the system we
584 // Step 2. Before we try to connect to a new device, disconnect from the old one.
621 // Step 3. Before we try to connect to a new device, stop trying to connect
669 // Step 5. Try to connect.
695 mWifiP2pManager.connect(mWifiP2pChannel, config, new ActionListener() {