/docs/source.android.com/src/devices/accessories/ |
stylus.jd | 28 <p>Android 6.0 and higher supports a standard data format for Bluetooth stylus 29 connections over Bluetooth (BT), Bluetooth Low Energy (BTLE), or USB. The 36 <p>To enable Bluetooth stylus support, OEM partners must support Bluetooth 52 to produce stylus events via MotionEvent. Data can be sent over Bluetooth (BT), 53 Bluetooth Low Energy (BTLE), or USB.</p> 119 so both existing and new applications running on Android 6.0 support Bluetooth 120 stylus by default. For details on Bluetooth stylus APIs, refer to 121 <a href="http://developer.android.com/about/versions/marshmallow/android-6.0.html#bluetooth-stylus">developer.android.com</a> [all...] |
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlayback/ |
audio_AudioBasicBluetoothPlayback.py | 5 """This is a server side bluetooth playback test using the Chameleon board.""" 21 """Server side bluetooth playback audio test. 24 bluetooth playback audio function of the Cros device. 78 """Checks if bluetooth nodes are plugged. 80 @returns: True if bluetooth nodes are plugged. False otherwise. 95 """Running Bluetooth basic audio tests 134 (['BLUETOOTH'], None)) 161 # Gives DUT some time to auto-reconnect bluetooth after resume. 166 desc='bluetooth node auto-reconnect after suspend') 177 (['BLUETOOTH'], None) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothA2dpFacade.java | 17 package com.googlecode.android_scripting.facade.bluetooth; 22 import android.bluetooth.BluetoothA2dp; 23 import android.bluetooth.BluetoothAdapter; 24 import android.bluetooth.BluetoothDevice; 25 import android.bluetooth.BluetoothProfile; 26 import android.bluetooth.BluetoothUuid; 97 * @param deviceId the name or mac address of the remote Bluetooth device. 103 @RpcParameter(name = "deviceID", description = "Name or MAC address of a bluetooth device.") 117 * @param deviceId the name or mac address of the remote Bluetooth device. 137 * @return List of bluetooth devices that are in one of the following states [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
HeadsetProfile.java | 17 package com.android.settingslib.bluetooth; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothClass; 21 import android.bluetooth.BluetoothDevice; 22 import android.bluetooth.BluetoothHeadset; 23 import android.bluetooth.BluetoothProfile; 24 import android.bluetooth.BluetoothUuid; 35 * HeadsetProfile handles Bluetooth HFP and Headset profiles. 63 if (V) Log.d(TAG,"Bluetooth service connected"); 85 if (V) Log.d(TAG,"Bluetooth service disconnected") [all...] |
MapProfile.java | 17 package com.android.settingslib.bluetooth; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothClass; 21 import android.bluetooth.BluetoothDevice; 22 import android.bluetooth.BluetoothMap; 23 import android.bluetooth.BluetoothProfile; 24 import android.bluetooth.BluetoothUuid; 35 * MapProfile handles Bluetooth MAP profile. 63 if (V) Log.d(TAG,"Bluetooth service connected"); 85 if (V) Log.d(TAG,"Bluetooth service disconnected") [all...] |
SapProfile.java | 17 package com.android.settingslib.bluetooth; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothClass; 21 import android.bluetooth.BluetoothDevice; 22 import android.bluetooth.BluetoothSap; 23 import android.bluetooth.BluetoothProfile; 24 import android.bluetooth.BluetoothUuid; 35 * SapProfile handles Bluetooth SAP profile. 62 if (V) Log.d(TAG,"Bluetooth service connected"); 84 if (V) Log.d(TAG,"Bluetooth service disconnected") [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceListPreferenceFragment.java | 17 package com.android.settings.bluetooth; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothDevice; 28 import com.android.settingslib.bluetooth.BluetoothCallback; 29 import com.android.settingslib.bluetooth.BluetoothDeviceFilter; 30 import com.android.settingslib.bluetooth.CachedBluetoothDevice; 31 import com.android.settingslib.bluetooth.LocalBluetoothAdapter; 32 import com.android.settingslib.bluetooth.LocalBluetoothManager; 38 * Parent class for settings fragments that contain a list of Bluetooth 83 Log.e(TAG, "Bluetooth is not supported on this device") [all...] |
RequestPermissionActivity.java | 17 package com.android.settings.bluetooth; 21 import android.bluetooth.BluetoothAdapter; 22 import android.bluetooth.BluetoothDevice; 32 import com.android.settingslib.bluetooth.BluetoothDiscoverableTimeoutReceiver; 33 import com.android.settingslib.bluetooth.LocalBluetoothAdapter; 34 import com.android.settingslib.bluetooth.LocalBluetoothManager; 38 * usually started by an application wanted to start bluetooth and or discovery 43 // adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLE 44 // adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE 61 * True if bluetooth wasn't enabled and RequestPermissionHelperActivity wa [all...] |
DevicePickerFragment.java | 17 package com.android.settings.bluetooth; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothDevice; 21 import android.bluetooth.BluetoothDevicePicker; 32 import com.android.settingslib.bluetooth.CachedBluetoothDevice; 37 * BluetoothSettings is the Settings screen for Bluetooth configuration and
|
/system/bt/service/common/bluetooth/binder/ |
IBluetooth.h | 26 #include <bluetooth/binder/IBluetoothCallback.h> 27 #include <bluetooth/binder/IBluetoothGattClient.h> 28 #include <bluetooth/binder/IBluetoothGattServer.h> 29 #include <bluetooth/binder/IBluetoothLowEnergy.h> 30 #include <bluetooth/uuid.h> 35 // This class defines the Binder IPC interface for accessing the Bluetooth 37 // /frameworks/base/core/java/android/bluetooth/IBluetooth.aidl. 43 DECLARE_META_INTERFACE(Bluetooth); 142 virtual std::vector<bluetooth::UUID> GetUUIDs() = 0; 192 std::vector<bluetooth::UUID> GetUUIDs() override [all...] |
IBluetoothGattServer.cpp | 17 #include "service/common/bluetooth/binder/IBluetoothGattServer.h" 22 #include "service/common/bluetooth/binder/parcel_helpers.h" 35 "bluetooth-gatt-server-service"; 69 std::unique_ptr<bluetooth::GattIdentifier> out_id; 89 std::unique_ptr<bluetooth::GattIdentifier> out_id; 108 std::unique_ptr<bluetooth::GattIdentifier> out_id; 207 int server_if, bool is_primary, const bluetooth::UUID& uuid, 208 std::unique_ptr<bluetooth::GattIdentifier>* out_id) { 229 int server_if, const bluetooth::UUID& uuid, 231 std::unique_ptr<bluetooth::GattIdentifier>* out_id) [all...] |
/system/bt/service/test/ |
parcel_helpers_unittest.cpp | 19 #include "service/common/bluetooth/advertise_data.h" 20 #include "service/common/bluetooth/advertise_settings.h" 21 #include "service/common/bluetooth/binder/parcel_helpers.h" 25 using bluetooth::AdvertiseData; 26 using bluetooth::AdvertiseSettings; 27 using bluetooth::GattIdentifier; 28 using bluetooth::ScanFilter; 29 using bluetooth::ScanResult; 30 using bluetooth::ScanSettings; 31 using bluetooth::UUID [all...] |
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/ |
FacadeConfiguration.java | 31 import com.googlecode.android_scripting.facade.bluetooth.BluetoothA2dpFacade; 32 import com.googlecode.android_scripting.facade.bluetooth.BluetoothAvrcpFacade; 33 import com.googlecode.android_scripting.facade.bluetooth.BluetoothConnectionFacade; 34 import com.googlecode.android_scripting.facade.bluetooth.BluetoothFacade; 35 import com.googlecode.android_scripting.facade.bluetooth.BluetoothHfpClientFacade; 36 import com.googlecode.android_scripting.facade.bluetooth.BluetoothHidFacade; 37 import com.googlecode.android_scripting.facade.bluetooth.BluetoothHspFacade; 38 import com.googlecode.android_scripting.facade.bluetooth.BluetoothLeAdvertiseFacade; 39 import com.googlecode.android_scripting.facade.bluetooth.BluetoothLeScanFacade; 40 import com.googlecode.android_scripting.facade.bluetooth.BluetoothMapFacade [all...] |
/frameworks/base/docs/html/sdk/api_diff/23/changes/ |
android.bluetooth.BluetoothDevice.html | 10 android.bluetooth.BluetoothDevice 74 Class android.bluetooth.<A HREF="../../../../reference/android/bluetooth/BluetoothDevice.html" target="_top"><font size="+2"><code>BluetoothDevice</code></font></A> 86 <A NAME="android.bluetooth.BluetoothDevice.connectGatt_added(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback, int)"></A> 87 <nobr><code>BluetoothGatt</code> <A HREF="../../../../reference/android/bluetooth/BluetoothDevice.html#connectGatt(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback, int)" target="_top"><code>connectGatt</code></A>(<code>Context,</nobr> boolean<nobr>,</nobr> BluetoothGattCallback<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 102 <A NAME="android.bluetooth.BluetoothDevice.TRANSPORT_AUTO"></A> 103 <nobr><code>int</code> <A HREF="../../../../reference/android/bluetooth/BluetoothDevice.html#TRANSPORT_AUTO" target="_top"><code>TRANSPORT_AUTO</code></A></nobr> 109 <A NAME="android.bluetooth.BluetoothDevice.TRANSPORT_BREDR"></A [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PbapClientService.java | 17 package com.android.bluetooth.pbapclient; 21 import android.bluetooth.BluetoothDevice; 22 import android.bluetooth.BluetoothProfile; 23 import android.bluetooth.IBluetoothPbapClient; 24 import android.bluetooth.IBluetoothHeadsetClient; 40 import com.android.bluetooth.btservice.ProfileService; 41 import com.android.bluetooth.Utils; 52 * Provides Bluetooth Phone Book Access Profile Client profile. 260 "Need BLUETOOTH ADMIN permission"); 276 "Need BLUETOOTH ADMIN permission") [all...] |
/system/bt/service/ |
low_energy_client.h | 27 #include "service/common/bluetooth/advertise_data.h" 28 #include "service/common/bluetooth/advertise_settings.h" 29 #include "service/common/bluetooth/low_energy_constants.h" 30 #include "service/common/bluetooth/scan_filter.h" 31 #include "service/common/bluetooth/scan_result.h" 32 #include "service/common/bluetooth/scan_settings.h" 33 #include "service/common/bluetooth/uuid.h" 36 namespace bluetooth { namespace 47 // Bluetooth Low Energy GAP operations. Instances cannot be created directly and 188 // Raw pointer to the Bluetooth Adapter [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHeadset.java | 17 package android.bluetooth; 34 * Public API for controlling the Bluetooth Headset Service. This includes both 35 * Bluetooth Headset and Handsfree (v1.5) profiles. 37 * <p>BluetoothHeadset is a proxy object for controlling the Bluetooth Headset 44 * <p> Android only supports one connected Bluetooth Headset at a time. 66 * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission to 71 "android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"; 86 * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission 91 "android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED"; 100 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote Bluetooth Devic [all...] |
BluetoothHealthAppConfiguration.java | 18 package android.bluetooth; 24 * The Bluetooth Health Application Configuration that is used in conjunction with 26 * that the Bluetooth Health third party application will register to communicate with the 27 * remote Bluetooth health device. 40 * @param dataType Data Type of the remote Bluetooth Health device 54 * @param dataType Data Type of the remote Bluetooth Health device
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPService.java | 17 package com.example.bluetooth.health; 20 import android.bluetooth.BluetoothAdapter; 21 import android.bluetooth.BluetoothDevice; 22 import android.bluetooth.BluetoothHealth; 23 import android.bluetooth.BluetoothHealthAppConfiguration; 24 import android.bluetooth.BluetoothHealthCallback; 25 import android.bluetooth.BluetoothProfile; 40 * This Service encapsulates Bluetooth Health API to establish, manage, and disconnect 41 * communication between the Android device and a Bluetooth HDP-enabled device. Possible HDP 45 * <a href="http://developer.android.com/reference/android/bluetooth/BluetoothHealth.html">BluetoothHealth</a [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
BluetoothLeAdvertiser.java | 17 package android.bluetooth.le; 19 import android.bluetooth.BluetoothAdapter; 20 import android.bluetooth.BluetoothGatt; 21 import android.bluetooth.BluetoothGattCallbackWrapper; 22 import android.bluetooth.BluetoothUuid; 23 import android.bluetooth.IBluetoothGatt; 24 import android.bluetooth.IBluetoothManager; 36 * This class provides a way to perform Bluetooth LE advertise operations, such as starting and 69 * @param bluetoothManager BluetoothManager that conducts overall Bluetooth Management 79 * Start Bluetooth LE Advertising. On success, the {@code advertiseData} will be broadcasted [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hid.cpp | 213 ALOGE("Bluetooth module is not loaded"); 218 ALOGW("Cleaning up Bluetooth HID Interface before initializing..."); 224 ALOGW("Cleaning up Bluetooth GID callback object"); 232 ALOGE("Failed to get Bluetooth HID Interface"); 237 ALOGE("Failed to initialize Bluetooth HID, status: %d", status); 251 ALOGE("Bluetooth module is not loaded"); 256 ALOGW("Cleaning up Bluetooth HID Interface..."); 262 ALOGW("Cleaning up Bluetooth GID callback object"); 278 ALOGE("Bluetooth device address null"); 300 ALOGE("Bluetooth device address null") [all...] |
/packages/apps/Bluetooth/res/values-pa-rIN/ |
strings.xml | 21 <string name="permlab_bluetoothWhitelist" msgid="7091552898592306386">"???????? bluetooth ?????? ??????"</string> 22 <string name="permdesc_bluetoothWhitelist" msgid="5494513855192170109">"?? ??? ?? ???? ????? ??? ?? ?????? ??????? ?? ?????? ??? ????? ?? ?????? ??? ?????? ????, ??? Bluetooth ?????? ??? ????? ??? ?? ???????? ??? ?? ???? ????? ???"</string> 23 <string name="bt_share_picker_label" msgid="6268100924487046932">"Bluetooth"</string> 27 <string name="airplane_error_msg" msgid="8698965595254137230">"????? ??????? ??? ???? Bluetooth ???? ??? ?????"</string> 29 <string name="bt_enable_line1" msgid="7203551583048149">"Bluetooth ??????? ??? ???? ??, ??????? ?????? Bluetooth ???? ???? ??????"</string> 30 <string name="bt_enable_line2" msgid="4341936569415937994">"?? ??? Bluetooth ???? ???? ???"</string> 41 <string name="notification_receiving" msgid="4674648179652543984">"Bluetooth ?????: <xliff:g id="FILE">%1$s</xliff:g> ?????? ?? ???? ??"</string> 42 <string name="notification_received" msgid="3324588019186687985">"Bluetooth ?????: <xliff:g id="FILE">%1$s</xliff:g> ?????? ????"</string> 43 <string name="notification_received_fail" msgid="3619350997285714746">"Bluetooth ?????: ???? <xliff:g id="FILE">%1$s</xliff:g> ?????? ???? ????"</string [all...] |
/frameworks/base/services/core/java/com/android/server/ |
BluetoothManagerService.java | 21 import android.bluetooth.BluetoothAdapter; 22 import android.bluetooth.BluetoothProfile; 23 import android.bluetooth.IBluetooth; 24 import android.bluetooth.IBluetoothCallback; 25 import android.bluetooth.IBluetoothGatt; 26 import android.bluetooth.IBluetoothHeadset; 27 import android.bluetooth.IBluetoothManager; 28 import android.bluetooth.IBluetoothManagerCallback; 29 import android.bluetooth.IBluetoothProfileServiceConnection; 30 import android.bluetooth.IBluetoothStateChangeCallback [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
hardware.c | 56 if((property_get("bluetooth.status", szBtSocStatus, "") <= 0)) 60 if (property_set("bluetooth.hciattach", szReqSt) < 0) 71 if (property_set("bluetooth.hciattach", szReqSt) < 0) 84 if(property_get("bluetooth.status", szBtStatus, "") < 0){ 85 ALOGE("Fail to get bluetooth status"); 90 ALOGI("bluetooth status is on");
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
hardware.c | 57 if((property_get("bluetooth.status", szBtSocStatus, "") <= 0)) 61 if (property_set("bluetooth.hciattach", szReqSt) < 0) 72 if (property_set("bluetooth.hciattach", szReqSt) < 0) 85 if(property_get("bluetooth.status", szBtStatus, "") < 0){ 86 ALOGE("Fail to get bluetooth status"); 91 ALOGI("bluetooth status is on");
|