summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorPramod Sivaraman <spramod@codeaurora.org>2013-05-15 17:25:22 +0530
committerPramod Sivaraman <spramod@codeaurora.org>2013-05-15 17:25:22 +0530
commit4a8e385b868c751fcec76804f438075dbf5dc7ea (patch)
treeae9aa601db3cf470bc6a3e4aa3556737a6ccd49c /AndroidManifest.xml
parent72667757a44e7c338910ed4cb81294be2565e1ff (diff)
downloadandroid_packages_apps_BluetoothExt-4a8e385b868c751fcec76804f438075dbf5dc7ea.tar.gz
android_packages_apps_BluetoothExt-4a8e385b868c751fcec76804f438075dbf5dc7ea.tar.bz2
android_packages_apps_BluetoothExt-4a8e385b868c751fcec76804f438075dbf5dc7ea.zip
Bluetooth: Introduce BTC Service
Introduce the BTC Service which listen to the Bluetooth related events and send those events to the connected client. BT-WLAN coex module would connect to this socket as client and listen to BT related events Change-Id: Ic8223d6c761bb9e64ce94b83b2a947c1ad87b1d4
Diffstat (limited to 'AndroidManifest.xml')
-rwxr-xr-xAndroidManifest.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100755
index 0000000..3474e2e
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="qcom.android.bluetooth"
+ android:sharedUserId="android.uid.bluetooth">
+
+ <original-package android:name="qcom.android.bluetooth" />
+
+ <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
+ <uses-permission android:name="android.permission.BLUETOOTH" />
+ <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
+ <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
+ <application>
+ <service
+ android:name = ".btcservice.BTCService">
+ </service>
+ <receiver
+ android:exported="true"
+ android:name=".btcservice.BTCEventProvider">
+ <intent-filter>
+ <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
+ <action android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
+ <action android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
+ <action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
+ <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
+ <action android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
+ <action android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
+ <action android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
+ <action android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
+ <action android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
+ </intent-filter>
+ </receiver>
+ </application>
+</manifest>