1 /* 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 17 package com.android.phone; 18 19 public class BluetoothManager { 20 public BluetoothManager() { 21 } 22 23 /* package */ boolean isBluetoothHeadsetAudioOn() { 24 return false; 25 } 26 27 /* package */ boolean isBluetoothAvailable() { 28 return false; 29 } 30 31 /* package */ boolean isBluetoothAudioConnected() { 32 return false; 33 } 34 35 /* package */ boolean isBluetoothAudioConnectedOrPending() { 36 return false; 37 } 38 39 /* package */ boolean showBluetoothIndication() { 40 return false; 41 } 42 43 /* package */ void updateBluetoothIndication() { 44 } 45 46 public void addBluetoothIndicatorListener(BluetoothIndicatorListener listener) { 47 } 48 49 public void removeBluetoothIndicatorListener(BluetoothIndicatorListener listener) { 50 } 51 52 /* package */ void connectBluetoothAudio() { 53 } 54 55 /* package */ void disconnectBluetoothAudio() { 56 } 57 58 /* package */ interface BluetoothIndicatorListener { 59 public void onBluetoothIndicationChange(boolean isConnected, BluetoothManager manager); 60 } 61 } 62