summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothUuid.java
diff options
context:
space:
mode:
authorFei Zheng <quic_zfei@quicinc.com>2019-12-25 11:43:18 +0800
committerFei Zheng <quic_zfei@quicinc.com>2021-01-08 10:59:46 +0800
commitdb415b26c8068ae52be23a21d2efdbbdbc9e055b (patch)
tree1d3be79df20d90ac8058b008435e0accd5e146d9 /framework/java/android/bluetooth/BluetoothUuid.java
parentc611e73406878907e7b216379f5ce3de42b8fe36 (diff)
Bluetooth: Implement API to get device identification information
Submitted on behalf of a third-party: Samsung System LSI License rights, if any, to the submission are granted solely by the copyright owner of such submission under its applicable intellectual property. Copyright (C) 2015 Samsung System LSI Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Third Party code includes additions/modifications from Qualcomm Innovation Center, Inc. Call BluetoothDevice.sdpSearch(BluetoothUuid.DIP) to search DIP information, and receive intent BluetoothDevice.ACTION_SDP_RECORD to get SdpDipRecord from BluetoothDevice.EXTRA_SDP_RECORD Bug: 141666056 Test: atest BluetoothInstrumentationTests Sponsor: alainv@ Tag: #feature Change-Id: I82d0979b77d28ec36fde6616622d216a28310b4a
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothUuid.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothUuid.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothUuid.java b/framework/java/android/bluetooth/BluetoothUuid.java
index 56c4824710..c0736a6b7b 100644
--- a/framework/java/android/bluetooth/BluetoothUuid.java
+++ b/framework/java/android/bluetooth/BluetoothUuid.java
@@ -162,6 +162,11 @@ public final class BluetoothUuid {
/** @hide */
@NonNull
@SystemApi
+ public static final ParcelUuid DIP =
+ ParcelUuid.fromString("00001200-0000-1000-8000-00805F9B34FB");
+ /** @hide */
+ @NonNull
+ @SystemApi
public static final ParcelUuid BASE_UUID =
ParcelUuid.fromString("00000000-0000-1000-8000-00805F9B34FB");