Home
last modified time | relevance | path

Searched refs:BluetoothChatService (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java42 private BluetoothChatService mChatService;
112 mChatService = new BluetoothChatService(this, new ChatHandler(), in startChartService()
113 BluetoothChatService.HANDSFREE_INSECURE_UUID); in startChartService()
123 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
127 case BluetoothChatService.MESSAGE_DEVICE_NAME: in handleMessage()
131 case BluetoothChatService.MESSAGE_TOAST: in handleMessage()
141 case BluetoothChatService.STATE_CONNECTING: in handleStateChange()
146 case BluetoothChatService.STATE_CONNECTED: in handleStateChange()
151 case BluetoothChatService.STATE_NONE: in handleStateChange()
158 mDeviceAddress = msg.getData().getString(BluetoothChatService.DEVICE_NAME); in handleDeviceName()
[all …]
DMessageTestActivity.java61 private BluetoothChatService mChatService;
176 mChatService = new BluetoothChatService(this, new ChatHandler(), mUuid); in startChatService()
199 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
202 case BluetoothChatService.MESSAGE_READ: in handleMessage()
205 case BluetoothChatService.MESSAGE_WRITE: in handleMessage()
208 case BluetoothChatService.MESSAGE_DEVICE_NAME: in handleMessage()
211 case BluetoothChatService.MESSAGE_TOAST: in handleMessage()
221 case BluetoothChatService.STATE_LISTEN: in handleStateChange()
227 case BluetoothChatService.STATE_CONNECTING: in handleStateChange()
232 case BluetoothChatService.STATE_CONNECTED: in handleStateChange()
[all …]
DConnectionAccessServerActivity.java49 private BluetoothChatService mChatService;
107 mChatService = new BluetoothChatService(this, new ChatHandler(), in startChatService()
108 BluetoothChatService.HANDSFREE_INSECURE_UUID); in startChatService()
127 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
131 case BluetoothChatService.MESSAGE_TOAST: in handleMessage()
141 case BluetoothChatService.STATE_LISTEN: in handleStateChange()
149 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast()
DInsecureServerActivity.java21 super(false, true, BluetoothChatService.INSECURE_UUID); in InsecureServerActivity()
DSecureClientActivity.java21 super(true, false, BluetoothChatService.SECURE_UUID); in SecureClientActivity()
DInsecureClientActivity.java21 super(false, false, BluetoothChatService.INSECURE_UUID); in InsecureClientActivity()
DSecureServerActivity.java21 super(true, true, BluetoothChatService.SECURE_UUID); in SecureServerActivity()
DBluetoothChatService.java40 public class BluetoothChatService { class
91 public BluetoothChatService(Context context, Handler handler, UUID uuid) { in BluetoothChatService() method in BluetoothChatService
105 public BluetoothChatService(Context context, Handler handler, boolean useBle) { in BluetoothChatService() method in BluetoothChatService
385 synchronized (BluetoothChatService.this) { in run()
505 synchronized (BluetoothChatService.this) { in run()
DBleCocServerService.java176 BluetoothChatService mChatService;
559 case BluetoothChatService.STATE_LISTEN: in processChatStateChange()
563 case BluetoothChatService.STATE_CONNECTED: in processChatStateChange()
657 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
660 case BluetoothChatService.MESSAGE_READ: in handleMessage()
663 case BluetoothChatService.MESSAGE_WRITE: in handleMessage()
673 mChatService = new BluetoothChatService(this, new ChatHandler(), true); in createChatService()
DBleCocClientService.java150 private BluetoothChatService mChatService;
597 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
598 if (state == BluetoothChatService.STATE_CONNECTED) { in handleMessage()
603 case BluetoothChatService.MESSAGE_READ: in handleMessage()
606 case BluetoothChatService.MESSAGE_WRITE: in handleMessage()
631 mChatService = new BluetoothChatService(this, new ChatHandler(), true); in leCocClientConnect()