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()
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;
560 case BluetoothChatService.STATE_LISTEN: in processChatStateChange()
564 case BluetoothChatService.STATE_CONNECTED: in processChatStateChange()
652 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
655 case BluetoothChatService.MESSAGE_READ: in handleMessage()
658 case BluetoothChatService.MESSAGE_WRITE: in handleMessage()
668 mChatService = new BluetoothChatService(this, new ChatHandler(), true); in createChatService()
DBleCocClientService.java150 private BluetoothChatService mChatService;
591 case BluetoothChatService.MESSAGE_STATE_CHANGE: in handleMessage()
592 if (state == BluetoothChatService.STATE_CONNECTED) { in handleMessage()
597 case BluetoothChatService.MESSAGE_READ: in handleMessage()
600 case BluetoothChatService.MESSAGE_WRITE: in handleMessage()
625 mChatService = new BluetoothChatService(this, new ChatHandler(), true); in leCocClientConnect()
DInsecureClientActivity.java21 super(false, false, BluetoothChatService.INSECURE_UUID); in InsecureClientActivity()
DInsecureServerActivity.java21 super(false, true, BluetoothChatService.INSECURE_UUID); in InsecureServerActivity()
DSecureServerActivity.java21 super(true, true, BluetoothChatService.SECURE_UUID); in SecureServerActivity()
DSecureClientActivity.java21 super(true, false, BluetoothChatService.SECURE_UUID); in SecureClientActivity()