/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 19 import android.os.ParcelUuid; 39 public static final ParcelUuid AudioSink = 40 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 41 public static final ParcelUuid AudioSource = 42 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 43 public static final ParcelUuid AdvAudioDist = 44 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 45 public static final ParcelUuid HSP = 46 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 47 public static final ParcelUuid HSP_AG = [all …]
|
D | BluetoothGattCallbackWrapper.java | 21 import android.os.ParcelUuid; 51 public void onGetService(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid) in onGetService() 57 ParcelUuid srvcUuid, int inclSrvcType, int inclSrvcInstId, ParcelUuid inclSrvcUuid) in onGetIncludedService() 63 ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, int charProps) in onGetCharacteristic() 68 public void onGetDescriptor(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid, in onGetDescriptor() 69 int charInstId, ParcelUuid charUuid, int descrInstId, ParcelUuid descrUuid) in onGetDescriptor() 79 ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, byte[] value) in onCharacteristicRead() 85 ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid) throws RemoteException { in onCharacteristicWrite() 94 ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, int descrInstId, in onDescriptorRead() 95 ParcelUuid descrUuid, byte[] value) throws RemoteException { in onDescriptorRead() [all …]
|
D | IBluetoothGattCallback.aidl | 18 import android.os.ParcelUuid; 33 in ParcelUuid srvcUuid); in onGetService() 35 in ParcelUuid srvcUuid, in int inclSrvcType, in onGetIncludedService() 36 in int inclSrvcInstId, in ParcelUuid inclSrvcUuid); in onGetIncludedService() 38 in int srvcInstId, in ParcelUuid srvcUuid, in onGetCharacteristic() 39 in int charInstId, in ParcelUuid charUuid, in onGetCharacteristic() 42 in int srvcInstId, in ParcelUuid srvcUuid, in onGetDescriptor() 43 in int charInstId, in ParcelUuid charUuid, in onGetDescriptor() 44 in int descrInstId, in ParcelUuid descrUuid); in onGetDescriptor() 47 in int srvcInstId, in ParcelUuid srvcUuid, in onCharacteristicRead() [all …]
|
D | IBluetoothGatt.aidl | 25 import android.os.ParcelUuid; 47 void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback); in registerClient() 54 in int srvcInstanceId, in ParcelUuid srvcId, in readCharacteristic() 55 in int charInstanceId, in ParcelUuid charId, in readCharacteristic() 58 in int srvcInstanceId, in ParcelUuid srvcId, in writeCharacteristic() 59 in int charInstanceId, in ParcelUuid charId, in writeCharacteristic() 62 in int srvcInstanceId, in ParcelUuid srvcId, in readDescriptor() 63 in int charInstanceId, in ParcelUuid charId, in readDescriptor() 64 in int descrInstanceId, in ParcelUuid descrUuid, in readDescriptor() 67 in int srvcInstanceId, in ParcelUuid srvcId, in writeDescriptor() [all …]
|
D | IBluetoothGattServerCallback.aidl | 18 import android.os.ParcelUuid; 31 in int srvcInstId, in ParcelUuid srvcId); in onServiceAdded() 35 in int srvcInstId, in ParcelUuid srvcId, in onCharacteristicReadRequest() 36 in int charInstId, in ParcelUuid charId); in onCharacteristicReadRequest() 40 in int srvcInstId, in ParcelUuid srvcId, in onDescriptorReadRequest() 41 in int charInstId, in ParcelUuid charId, in onDescriptorReadRequest() 42 in ParcelUuid descrId); in onDescriptorReadRequest() 48 in int srvcInstId, in ParcelUuid srvcId, in onCharacteristicWriteRequest() 49 in int charInstId, in ParcelUuid charId, in onCharacteristicWriteRequest() 56 in int srvcInstId, in ParcelUuid srvcId, in onDescriptorWriteRequest() [all …]
|
D | BluetoothGatt.java | 20 import android.os.ParcelUuid; 206 int srvcInstId, ParcelUuid srvcUuid) { 221 int srvcInstId, ParcelUuid srvcUuid, 223 ParcelUuid inclSrvcUuid) { 247 int srvcInstId, ParcelUuid srvcUuid, 248 int charInstId, ParcelUuid charUuid, 271 int srvcInstId, ParcelUuid srvcUuid, 272 int charInstId, ParcelUuid charUuid, 273 int descrInstId, ParcelUuid descUuid) { 316 int srvcInstId, ParcelUuid srvcUuid, [all …]
|
D | BluetoothGattServer.java | 23 import android.os.ParcelUuid; 113 int srvcInstId, ParcelUuid srvcId) { 134 ParcelUuid srvcId, int charInstId, ParcelUuid charId) { 160 ParcelUuid srvcId, int charInstId, ParcelUuid charId, 161 ParcelUuid descrId) { 192 int srvcType, int srvcInstId, ParcelUuid srvcId, 193 int charInstId, ParcelUuid charId, byte[] value) { 221 int srvcType, int srvcInstId, ParcelUuid srvcId, 222 int charInstId, ParcelUuid charId, ParcelUuid descrId, 361 mService.registerServer(new ParcelUuid(uuid), mBluetoothGattServerCallback); in registerCallback() [all …]
|
D | IBluetooth.aidl | 23 import android.os.ParcelUuid; 40 ParcelUuid[] getUuids(); in getUuids() 69 ParcelUuid[] getRemoteUuids(in BluetoothDevice device); in getRemoteUuids() 71 boolean sdpSearch(in BluetoothDevice device, in ParcelUuid uuid); in sdpSearch() 91 …ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int po… in connectSocket() 92 …ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int … in createSocketChannel()
|
D | BluetoothServerSocket.java | 20 import android.os.ParcelUuid; 125 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) in BluetoothServerSocket()
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 26 public final class ParcelUuid implements Parcelable { class 36 public ParcelUuid(UUID uuid) { in ParcelUuid() method in ParcelUuid 51 public static ParcelUuid fromString(String uuid) { in fromString() 52 return new ParcelUuid(UUID.fromString(uuid)); in fromString() 101 if (!(object instanceof ParcelUuid)) { in equals() 105 ParcelUuid that = (ParcelUuid) object; in equals() 110 public static final Parcelable.Creator<ParcelUuid> CREATOR = 111 new Parcelable.Creator<ParcelUuid>() { 112 public ParcelUuid createFromParcel(Parcel source) { 116 return new ParcelUuid(uuid); [all …]
|
D | ParcelUuid.aidl | 19 parcelable ParcelUuid;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothUuidTest.java | 19 import android.os.ParcelUuid; 36 assertEquals(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 41 assertEquals(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 47 assertEquals(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-0060504030201"), in testUuidParser() 54 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 56 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 59 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 61 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 63 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB"))); in testUuidType()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | AdvertiseData.java | 21 import android.os.ParcelUuid; 44 private final List<ParcelUuid> mServiceUuids; 47 private final Map<ParcelUuid, byte[]> mServiceData; 51 private AdvertiseData(List<ParcelUuid> serviceUuids, in AdvertiseData() 53 Map<ParcelUuid, byte[]> serviceData, in AdvertiseData() argument 67 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 82 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() 160 for (ParcelUuid uuid : mServiceData.keySet()) { in writeToParcel() 186 List<ParcelUuid> uuids = in.readArrayList(ParcelUuid.class.getClassLoader()); 188 for (ParcelUuid uuid : uuids) { [all …]
|
D | ScanFilter.java | 23 import android.os.ParcelUuid; 54 private final ParcelUuid mServiceUuid; 56 private final ParcelUuid mServiceUuidMask; 59 private final ParcelUuid mServiceDataUuid; 73 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() 74 ParcelUuid uuidMask, ParcelUuid serviceDataUuid, in ScanFilter() 162 ParcelUuid uuid = in.readParcelable(ParcelUuid.class.getClassLoader()); 165 ParcelUuid uuidMask = in.readParcelable( 166 ParcelUuid.class.getClassLoader()); 171 ParcelUuid servcieDataUuid = [all …]
|
D | ScanRecord.java | 21 import android.os.ParcelUuid; 57 private final List<ParcelUuid> mServiceUuids; 61 private final Map<ParcelUuid, byte[]> mServiceData; 84 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 108 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() 117 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() 150 private ScanRecord(List<ParcelUuid> serviceUuids, in ScanRecord() 152 Map<ParcelUuid, byte[]> serviceData, in ScanRecord() argument 182 List<ParcelUuid> serviceUuids = new ArrayList<ParcelUuid>(); in parseFromBytes() 187 Map<ParcelUuid, byte[]> serviceData = new ArrayMap<ParcelUuid, byte[]>(); in parseFromBytes() [all …]
|
D | BluetoothLeAdvertiser.java | 27 import android.os.ParcelUuid; 182 for (ParcelUuid uuid : data.getServiceUuids()) { in totalBytes() 207 for (ParcelUuid uuid : data.getServiceData().keySet()) { in totalBytes() 263 mBluetoothGatt.registerClient(new ParcelUuid(uuid), this); in startRegisteration()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 20 import android.os.ParcelUuid; 80 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData() 95 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid() 96 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testServiceUuid() 111 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() 112 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testManufacturerData() 132 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData()
|
D | ScanFilterTest.java | 24 import android.os.ParcelUuid; 82 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter() 86 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter() 90 .setServiceUuid(ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), in testsetServiceUuidFilter() 91 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")) in testsetServiceUuidFilter() 100 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testsetServiceDataFilter() 166 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); in testReadWriteParcel() 170 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), in testReadWriteParcel() 171 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")).build(); in testReadWriteParcel() 177 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testReadWriteParcel()
|
D | ScanRecordTest.java | 20 import android.os.ParcelUuid; 48 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser() 49 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParser()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDeviceFilter.java | 22 import android.os.ParcelUuid; 100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() 110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 159 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches()
|
D | LocalBluetoothProfileManager.java | 29 import android.os.ParcelUuid; 102 ParcelUuid[] uuids = adapter.getUuids(); in LocalBluetoothProfileManager() 138 void updateLocalProfiles(ParcelUuid[] uuids) { in updateLocalProfiles() 203 ParcelUuid[] uuids = mLocalAdapter.getUuids(); in setBluetoothStateOn() 319 synchronized void updateProfiles(ParcelUuid[] uuids, ParcelUuid[] localUuids, in updateProfiles()
|
D | PbapServerProfile.java | 25 import android.os.ParcelUuid; 46 static final ParcelUuid[] PBAB_CLIENT_UUIDS = {
|
D | LocalBluetoothAdapter.java | 23 import android.os.ParcelUuid; 113 public ParcelUuid[] getUuids() { in getUuids()
|
D | CachedBluetoothDevice.java | 25 import android.os.ParcelUuid; 484 ParcelUuid[] uuids = mDevice.getUuids(); in updateProfiles() 487 ParcelUuid[] localUuids = mLocalAdapter.getUuids(); in updateProfiles() 504 for (ParcelUuid uuid : uuids) { in updateProfiles() 525 ParcelUuid[] uuids = mDevice.getUuids(); in onUuidChanged() 806 ParcelUuid[] uuids = mDevice.getUuids(); in processPhonebookAccess()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMnsService.java | 24 import android.os.ParcelUuid; 38 private static final ParcelUuid MAP_MNS = 39 ParcelUuid.fromString("00001133-0000-1000-8000-00805F9B34FB");
|