OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BluetoothChatService
(Results
1 - 18
of
18
) sorted by null
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
InsecureClientActivity.java
21
super(false, false,
BluetoothChatService
.INSECURE_UUID);
InsecureServerActivity.java
21
super(false, true,
BluetoothChatService
.INSECURE_UUID);
SecureClientActivity.java
21
super(true, false,
BluetoothChatService
.SECURE_UUID);
SecureServerActivity.java
21
super(true, true,
BluetoothChatService
.SECURE_UUID);
ConnectionAccessClientActivity.java
42
private
BluetoothChatService
mChatService;
112
mChatService = new
BluetoothChatService
(this, new ChatHandler(),
113
BluetoothChatService
.HANDSFREE_INSECURE_UUID);
123
case
BluetoothChatService
.MESSAGE_STATE_CHANGE:
127
case
BluetoothChatService
.MESSAGE_DEVICE_NAME:
131
case
BluetoothChatService
.MESSAGE_TOAST:
141
case
BluetoothChatService
.STATE_CONNECTING:
146
case
BluetoothChatService
.STATE_CONNECTED:
151
case
BluetoothChatService
.STATE_NONE:
158
mDeviceAddress = msg.getData().getString(
BluetoothChatService
.DEVICE_NAME)
[
all
...]
ConnectionAccessServerActivity.java
49
private
BluetoothChatService
mChatService;
107
mChatService = new
BluetoothChatService
(this, new ChatHandler(),
108
BluetoothChatService
.HANDSFREE_INSECURE_UUID);
127
case
BluetoothChatService
.MESSAGE_STATE_CHANGE:
131
case
BluetoothChatService
.MESSAGE_TOAST:
141
case
BluetoothChatService
.STATE_LISTEN:
149
String toast = msg.getData().getString(
BluetoothChatService
.TOAST);
MessageTestActivity.java
61
private
BluetoothChatService
mChatService;
176
mChatService = new
BluetoothChatService
(this, new ChatHandler(), mUuid);
199
case
BluetoothChatService
.MESSAGE_STATE_CHANGE:
202
case
BluetoothChatService
.MESSAGE_READ:
205
case
BluetoothChatService
.MESSAGE_WRITE:
208
case
BluetoothChatService
.MESSAGE_DEVICE_NAME:
211
case
BluetoothChatService
.MESSAGE_TOAST:
221
case
BluetoothChatService
.STATE_LISTEN:
227
case
BluetoothChatService
.STATE_CONNECTING:
232
case
BluetoothChatService
.STATE_CONNECTED
[
all
...]
BluetoothChatService.java
40
public class
BluetoothChatService
{
41
// Message types sent from the
BluetoothChatService
Handler
48
// Key names received from the
BluetoothChatService
Handler
91
public
BluetoothChatService
(Context context, Handler handler, UUID uuid) {
105
public
BluetoothChatService
(Context context, Handler handler, boolean useBle) {
111
if (D) Log.d(TAG, "Construct
BluetoothChatService
: useBle=" + useBle);
385
synchronized (
BluetoothChatService
.this) {
505
synchronized (
BluetoothChatService
.this) {
BleCocServerService.java
176
BluetoothChatService
mChatService;
559
case
BluetoothChatService
.STATE_LISTEN:
563
case
BluetoothChatService
.STATE_CONNECTED:
651
case
BluetoothChatService
.MESSAGE_STATE_CHANGE:
654
case
BluetoothChatService
.MESSAGE_READ:
657
case
BluetoothChatService
.MESSAGE_WRITE:
667
mChatService = new
BluetoothChatService
(this, new ChatHandler(), true);
BleCocClientService.java
150
private
BluetoothChatService
mChatService;
591
case
BluetoothChatService
.MESSAGE_STATE_CHANGE:
592
if (state ==
BluetoothChatService
.STATE_CONNECTED) {
597
case
BluetoothChatService
.MESSAGE_READ:
600
case
BluetoothChatService
.MESSAGE_WRITE:
624
// Construct
BluetoothChatService
with useBle=true parameter
625
mChatService = new
BluetoothChatService
(this, new ChatHandler(), true);
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java
87
private
BluetoothChatService
mChatService = null;
136
if (mChatService.getState() ==
BluetoothChatService
.STATE_NONE) {
183
// Initialize the
BluetoothChatService
to perform bluetooth connections
184
mChatService = new
BluetoothChatService
(getActivity(), mHandler);
209
if (mChatService.getState() !=
BluetoothChatService
.STATE_CONNECTED) {
216
// Get the message bytes and tell the
BluetoothChatService
to write
276
* The Handler that gets information back from the
BluetoothChatService
285
case
BluetoothChatService
.STATE_CONNECTED:
289
case
BluetoothChatService
.STATE_CONNECTING:
292
case
BluetoothChatService
.STATE_LISTEN
[
all
...]
BluetoothChatService.java
41
public class
BluetoothChatService
{
43
private static final String TAG = "
BluetoothChatService
";
77
public
BluetoothChatService
(Context context, Handler handler) {
275
BluetoothChatService
.this.start();
294
BluetoothChatService
.this.start();
347
synchronized (
BluetoothChatService
.this) {
440
synchronized (
BluetoothChatService
.this) {
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java
87
private
BluetoothChatService
mChatService = null;
136
if (mChatService.getState() ==
BluetoothChatService
.STATE_NONE) {
183
// Initialize the
BluetoothChatService
to perform bluetooth connections
184
mChatService = new
BluetoothChatService
(getActivity(), mHandler);
209
if (mChatService.getState() !=
BluetoothChatService
.STATE_CONNECTED) {
216
// Get the message bytes and tell the
BluetoothChatService
to write
276
* The Handler that gets information back from the
BluetoothChatService
285
case
BluetoothChatService
.STATE_CONNECTED:
289
case
BluetoothChatService
.STATE_CONNECTING:
292
case
BluetoothChatService
.STATE_LISTEN
[
all
...]
BluetoothChatService.java
41
public class
BluetoothChatService
{
43
private static final String TAG = "
BluetoothChatService
";
77
public
BluetoothChatService
(Context context, Handler handler) {
275
BluetoothChatService
.this.start();
294
BluetoothChatService
.this.start();
347
synchronized (
BluetoothChatService
.this) {
440
synchronized (
BluetoothChatService
.this) {
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChat.java
51
// Message types sent from the
BluetoothChatService
Handler
58
// Key names received from the
BluetoothChatService
Handler
81
private
BluetoothChatService
mChatService = null;
129
if (mChatService.getState() ==
BluetoothChatService
.STATE_NONE) {
159
// Initialize the
BluetoothChatService
to perform bluetooth connections
160
mChatService = new
BluetoothChatService
(this, mHandler);
202
if (mChatService.getState() !=
BluetoothChatService
.STATE_CONNECTED) {
209
// Get the message bytes and tell the
BluetoothChatService
to write
243
// The Handler that gets information back from the
BluetoothChatService
251
case
BluetoothChatService
.STATE_CONNECTED
[
all
...]
BluetoothChatService.java
40
public class
BluetoothChatService
{
42
private static final String TAG = "
BluetoothChatService
";
75
public
BluetoothChatService
(Context context, Handler handler) {
242
BluetoothChatService
.this.start();
257
BluetoothChatService
.this.start();
309
synchronized (
BluetoothChatService
.this) {
401
synchronized (
BluetoothChatService
.this) {
463
BluetoothChatService
.this.start();
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
BluetoothChatFragment.java
87
private
BluetoothChatService
mChatService = null;
136
if (mChatService.getState() ==
BluetoothChatService
.STATE_NONE) {
183
// Initialize the
BluetoothChatService
to perform bluetooth connections
184
mChatService = new
BluetoothChatService
(getActivity(), mHandler);
209
if (mChatService.getState() !=
BluetoothChatService
.STATE_CONNECTED) {
216
// Get the message bytes and tell the
BluetoothChatService
to write
276
* The Handler that gets information back from the
BluetoothChatService
285
case
BluetoothChatService
.STATE_CONNECTED:
289
case
BluetoothChatService
.STATE_CONNECTING:
292
case
BluetoothChatService
.STATE_LISTEN
[
all
...]
BluetoothChatService.java
41
public class
BluetoothChatService
{
43
private static final String TAG = "
BluetoothChatService
";
77
public
BluetoothChatService
(Context context, Handler handler) {
275
BluetoothChatService
.this.start();
294
BluetoothChatService
.this.start();
347
synchronized (
BluetoothChatService
.this) {
440
synchronized (
BluetoothChatService
.this) {
Completed in 253 milliseconds