Home
last modified time | relevance | path

Searched refs:ParcelUuid (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java19 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 …]
DIBluetoothGattServerCallback.aidl18 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 …]
DIBluetoothGatt.aidl25 import android.os.ParcelUuid;
48 void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback); in registerClient()
67 void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallback callback); in registerServer()
73 in ParcelUuid srvcId, boolean advertisePreferred); in beginServiceDeclaration()
75 in int srvcInstanceId, in ParcelUuid srvcId); in addIncludedService()
76 void addCharacteristic(in int serverIf, in ParcelUuid charId, in addCharacteristic()
78 void addDescriptor(in int serverIf, in ParcelUuid descId, in addDescriptor()
82 in int srvcInstanceId, in ParcelUuid srvcId); in removeService()
87 in int srvcInstanceId, in ParcelUuid srvcId, in sendNotification()
88 in int charInstanceId, in ParcelUuid charId, in sendNotification()
DBluetoothGattServer.java23 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 …]
DIBluetooth.aidl24 import android.os.ParcelUuid;
42 ParcelUuid[] getUuids(); in getUuids()
72 ParcelUuid[] getRemoteUuids(in BluetoothDevice device); in getRemoteUuids()
74 boolean sdpSearch(in BluetoothDevice device, in ParcelUuid uuid); in sdpSearch()
94 …ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int po… in connectSocket()
95 …ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int … in createSocketChannel()
DBluetoothGattIncludedService.java20 import android.os.ParcelUuid;
60 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel()
77 mUuid = ((ParcelUuid)in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService()
DBluetoothGattDescriptor.java21 import android.os.ParcelUuid;
167 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel()
184 mUuid = ((ParcelUuid)in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor()
DBluetoothGattService.java20 import android.os.ParcelUuid;
144 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel()
170 mUuid = ((ParcelUuid)in.readParcelable(null)).getUuid(); in BluetoothGattService()
/frameworks/base/core/java/android/os/
DParcelUuid.java26 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 …]
/frameworks/base/core/java/android/bluetooth/le/
DAdvertiseData.java21 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 …]
DScanFilter.java23 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 …]
DScanRecord.java21 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 …]
DBluetoothLeAdvertiser.java27 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/
DBluetoothUuidTest.java19 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/tests/bluetoothtests/src/android/bluetooth/le/
DAdvertiseDataTest.java20 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()
DScanFilterTest.java24 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()
DScanRecordTest.java20 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/core/java/com/android/internal/app/
DISoundTriggerService.aidl21 import android.os.ParcelUuid;
30 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel()
34 void deleteSoundModel(in ParcelUuid soundModelId); in deleteSoundModel()
36 int startRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback, in startRecognition()
42 int stopRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback); in stopRecognition()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java32 import android.os.ParcelUuid;
79 soundTriggerService.deleteSoundModel(new ParcelUuid(modelUuid)); in tearDown()
103 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); in testUpdateGenericSoundModel()
116 soundTriggerService.deleteSoundModel(new ParcelUuid(model.uuid)); in testDeleteGenericSoundModel()
121 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); in testDeleteGenericSoundModel()
138 int r = soundTriggerService.startRecognition(new ParcelUuid(model.uuid), spyCallback, in testStartStopGenericSoundModel()
144 r = soundTriggerService.stopRecognition(new ParcelUuid(model.uuid), spyCallback); in testStartStopGenericSoundModel()
162 soundTriggerService.startRecognition(new ParcelUuid(model.uuid), spyCallback, config); in testTriggerGenericSoundModel()
234 int r = soundTriggerService.startRecognition(new ParcelUuid(modelInfo.model.uuid), in testFuzzGenericSoundModel()
252 int r = soundTriggerService.stopRecognition(new ParcelUuid(modelInfo.model.uuid), in testFuzzGenericSoundModel()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java22 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()
DLocalBluetoothProfileManager.java32 import android.os.ParcelUuid;
111 ParcelUuid[] uuids = adapter.getUuids(); in LocalBluetoothProfileManager()
147 void updateLocalProfiles(ParcelUuid[] uuids) { in updateLocalProfiles()
255 ParcelUuid[] uuids = mLocalAdapter.getUuids(); in setBluetoothStateOn()
395 synchronized void updateProfiles(ParcelUuid[] uuids, ParcelUuid[] localUuids, in updateProfiles()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java30 import android.os.ParcelUuid;
122 public int startRecognition(ParcelUuid parcelUuid, IRecognitionStatusCallback callback, in startRecognition()
141 public int stopRecognition(ParcelUuid parcelUuid, IRecognitionStatusCallback callback) { in stopRecognition()
151 public SoundTrigger.GenericSoundModel getSoundModel(ParcelUuid soundModelId) { in getSoundModel()
171 public void deleteSoundModel(ParcelUuid soundModelId) { in deleteSoundModel()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerUtil.java27 import android.os.ParcelUuid;
88 model = mSoundTriggerService.getSoundModel(new ParcelUuid(modelId)); in getSoundModel()
110 mSoundTriggerService.deleteSoundModel(new ParcelUuid(modelId)); in deleteSoundModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java25 import android.os.ParcelUuid;
83 new ParcelUuid(soundModelId))); in getModel()
94 mSoundTriggerService.deleteSoundModel(new ParcelUuid(soundModelId)); in deleteModel()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsService.java24 import android.os.ParcelUuid;
38 private static final ParcelUuid MAP_MNS =
39 ParcelUuid.fromString("00001133-0000-1000-8000-00805F9B34FB");

123