blob: 3f0ce6fb463a7713498b17b4ec623b128b8791bc [file] [log] [blame]
Santos Cordon27a3c1f2013-08-06 07:49:27 -07001/*
2 * Copyright (C) 2013 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.phone;
18
Sailesh Nepal23d9ed72014-07-03 09:40:26 -070019public class BluetoothManager {
20 public BluetoothManager() {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070021 }
22
23 /* package */ boolean isBluetoothHeadsetAudioOn() {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070024 return false;
25 }
26
Sailesh Nepal23d9ed72014-07-03 09:40:26 -070027 /* package */ boolean isBluetoothAvailable() {
28 return false;
Santos Cordon27a3c1f2013-08-06 07:49:27 -070029 }
30
Sailesh Nepal23d9ed72014-07-03 09:40:26 -070031 /* package */ boolean isBluetoothAudioConnected() {
32 return false;
33 }
Santos Cordon27a3c1f2013-08-06 07:49:27 -070034
Sailesh Nepal23d9ed72014-07-03 09:40:26 -070035 /* package */ boolean isBluetoothAudioConnectedOrPending() {
36 return false;
37 }
38
39 /* package */ boolean showBluetoothIndication() {
40 return false;
41 }
42
43 /* package */ void updateBluetoothIndication() {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070044 }
45
Santos Cordon9b7bac72013-08-06 08:04:52 -070046 public void addBluetoothIndicatorListener(BluetoothIndicatorListener listener) {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070047 }
48
Santos Cordon9b7bac72013-08-06 08:04:52 -070049 public void removeBluetoothIndicatorListener(BluetoothIndicatorListener listener) {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070050 }
51
52 /* package */ void connectBluetoothAudio() {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070053 }
54
55 /* package */ void disconnectBluetoothAudio() {
Santos Cordon27a3c1f2013-08-06 07:49:27 -070056 }
57
58 /* package */ interface BluetoothIndicatorListener {
Santos Cordon9b7bac72013-08-06 08:04:52 -070059 public void onBluetoothIndicationChange(boolean isConnected, BluetoothManager manager);
Santos Cordon27a3c1f2013-08-06 07:49:27 -070060 }
61}