HomeSort by relevance Sort by last modified time
    Searched refs:SapServer (Results 1 - 4 of 4) sorted by null

  /packages/apps/Bluetooth/src/com/android/bluetooth/sap/
SapRilReceiver.java 101 * Notify SapServer that this class is ready for shutdown.
196 * SapServer when done.
208 // Notify the SapServer that we have connected to the RilBtSocket
255 * Notify SapServer that the RIL socket is connected
259 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_MSG_RIL_CONNECT);
268 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RFC_REPLY, sapMsg);
273 * Send a shutdown signal to SapServer to indicate the
277 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_RIL_SOCK_CLOSED);
286 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RIL_IND, sapMsg);
SapServer.java 36 * The SapServer uses two threads, one for reading messages from the RFCOMM socket and
38 * Incoming requests are decoded in the "main" SapServer, by the decoder build into SapMEssage.
40 * The RIL replies are read in the SapRilReceiver, and passed to the SapServer message handler
46 public class SapServer extends Thread implements Callback {
47 private static final String TAG = "SapServer";
101 * SapServer constructor
106 public SapServer(Handler serviceHandler, Context context, InputStream inStream,
145 int disconnectType = intent.getIntExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA,
216 Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION);
230 sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, type)
    [all...]
SapService.java 89 private SapServer mSapServer = null;
262 mSapServer = new SapServer(mSessionStatusHandler, this, mConnSocket.getInputStream(), mConnSocket.getOutputStream());
279 /* When we reach this point, the SapServer is closed down, and the client is
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
SapServerTest.java 22 import com.android.bluetooth.sap.SapServer;
58 * Test that the SapServer is capable of handling a connect request with no call ongoing.
254 * Test that SapServer can disconnect based on a disconnect intent.
260 Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION);
262 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_IMMEDIATE);
302 private SapServer sapServer = null;
304 private PipedInputStream inStream = null; // Used to write requests to SapServer
305 private PipedOutputStream outStream = null; // Used to read commands from the SapServer
351 /* Create a SapServer. Fake the BtSocket using piped input/output streams*
    [all...]

Completed in 3993 milliseconds