/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 23 import android.os.ParcelUuid; 49 public static final ParcelUuid A2DP_SINK = 50 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 54 public static final ParcelUuid A2DP_SOURCE = 55 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 59 public static final ParcelUuid ADV_AUDIO_DIST = 60 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 64 public static final ParcelUuid HSP = 65 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 69 public static final ParcelUuid HSP_AG = [all …]
|
D | BluetoothGattIncludedService.java | 19 import android.os.ParcelUuid; 62 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel() 79 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService()
|
D | BluetoothGattDescriptor.java | 21 import android.os.ParcelUuid; 175 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel() 192 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor()
|
D | BluetoothGattService.java | 20 import android.os.ParcelUuid; 154 out.writeParcelable(new ParcelUuid(mUuid), 0); in writeToParcel() 180 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattService()
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 28 public final class ParcelUuid implements Parcelable { class 38 public ParcelUuid(UUID uuid) { in ParcelUuid() method in ParcelUuid 53 public static ParcelUuid fromString(String uuid) { in fromString() 54 return new ParcelUuid(UUID.fromString(uuid)); in fromString() 103 if (!(object instanceof ParcelUuid)) { in equals() 107 ParcelUuid that = (ParcelUuid) object; in equals() 112 public static final @android.annotation.NonNull Parcelable.Creator<ParcelUuid> CREATOR = 113 new Parcelable.Creator<ParcelUuid>() { 115 public ParcelUuid createFromParcel(Parcel source) { 119 return new ParcelUuid(uuid); [all …]
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 24 import android.os.ParcelUuid; 57 private final ParcelUuid mServiceUuid; 59 private final ParcelUuid mServiceUuidMask; 62 private final ParcelUuid mServiceSolicitationUuid; 64 private final ParcelUuid mServiceSolicitationUuidMask; 67 private final ParcelUuid mServiceDataUuid; 83 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() 84 ParcelUuid uuidMask, ParcelUuid solicitationUuid, in ScanFilter() 85 ParcelUuid solicitationUuidMask, ParcelUuid serviceDataUuid, in ScanFilter() 183 ParcelUuid uuid = in.readParcelable(ParcelUuid.class.getClassLoader()); [all …]
|
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() 145 dest.writeTypedArray(mServiceUuids.toArray(new ParcelUuid[mServiceUuids.size()]), flags); in writeToParcel() 154 for (ParcelUuid uuid : mServiceData.keySet()) { in writeToParcel() 172 ArrayList<ParcelUuid> uuids = in.createTypedArrayList(ParcelUuid.CREATOR); [all …]
|
D | ScanRecord.java | 23 import android.os.ParcelUuid; 64 private final List<ParcelUuid> mServiceUuids; 66 private final List<ParcelUuid> mServiceSolicitationUuids; 70 private final Map<ParcelUuid, byte[]> mServiceData; 93 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 102 public List<ParcelUuid> getServiceSolicitationUuids() { in getServiceSolicitationUuids() 129 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() 138 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() 171 private ScanRecord(List<ParcelUuid> serviceUuids, in ScanRecord() 172 List<ParcelUuid> serviceSolicitationUuids, in ScanRecord() [all …]
|
/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/com/android/internal/app/ |
D | ISoundTriggerService.aidl | 24 import android.os.ParcelUuid; 32 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel() 36 void deleteSoundModel(in ParcelUuid soundModelId); in deleteSoundModel() 38 int startRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback, in startRecognition() 41 int stopRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback); in stopRecognition() 46 int startRecognitionForService(in ParcelUuid soundModelId, in Bundle params, in startRecognitionForService() 49 int stopRecognitionForService(in ParcelUuid soundModelId); in stopRecognitionForService() 51 int unloadSoundModel(in ParcelUuid soundModelId); in unloadSoundModel() 54 boolean isRecognitionActive(in ParcelUuid parcelUuid); in isRecognitionActive() 56 int getModelState(in ParcelUuid soundModelId); in getModelState()
|
/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/core/java/android/companion/ |
D | BluetoothDeviceFilter.java | 31 import android.os.ParcelUuid; 49 private final List<ParcelUuid> mServiceUuids; 50 private final List<ParcelUuid> mServiceUuidMasks; 55 List<ParcelUuid> serviceUuids, in BluetoothDeviceFilter() 56 List<ParcelUuid> serviceUuidMasks) { in BluetoothDeviceFilter() 71 private static List<ParcelUuid> readUuids(Parcel in) { in readUuids() 72 return in.readParcelableList(new ArrayList<>(), ParcelUuid.class.getClassLoader()); in readUuids() 110 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 116 public List<ParcelUuid> getServiceUuidMasks() { in getServiceUuidMasks() 168 private ArrayList<ParcelUuid> mServiceUuid; [all …]
|
D | BluetoothDeviceFilterUtils.java | 28 import android.os.ParcelUuid; 68 static boolean matchesServiceUuids(List<ParcelUuid> serviceUuids, in matchesServiceUuids() 69 List<ParcelUuid> serviceUuidMasks, BluetoothDevice device) { in matchesServiceUuids() 71 ParcelUuid uuid = serviceUuids.get(i); in matchesServiceUuids() 72 ParcelUuid uuidMask = serviceUuidMasks.get(i); in matchesServiceUuids() 80 static boolean matchesServiceUuid(ParcelUuid serviceUuid, ParcelUuid serviceUuidMask, in matchesServiceUuid() 82 ParcelUuid[] uuids = device.getUuids(); in matchesServiceUuid()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | ISoundTriggerDetectionService.aidl | 22 import android.os.ParcelUuid; 30 …void setClient(in ParcelUuid uuid, in Bundle params, in ISoundTriggerDetectionServiceClient client… in setClient() 31 void removeClient(in ParcelUuid uuid); in removeClient() 32 …void onGenericRecognitionEvent(in ParcelUuid uuid, int opId, in SoundTrigger.GenericRecognitionEve… in onGenericRecognitionEvent() 33 void onError(in ParcelUuid uuid, int opId, int status); in onError() 34 void onStopOperation(in ParcelUuid uuid, int opId); in onStopOperation()
|
D | SoundTriggerManager.java | 36 import android.os.ParcelUuid; 99 new ParcelUuid(soundModelId))); in getModel() 111 mSoundTriggerService.deleteSoundModel(new ParcelUuid(soundModelId)); in deleteModel() 293 return mSoundTriggerService.startRecognitionForService(new ParcelUuid(soundModelId), in startRecognition() 311 return mSoundTriggerService.stopRecognitionForService(new ParcelUuid(soundModelId)); in stopRecognition() 329 new ParcelUuid(soundModelId)); in unloadSoundModel() 347 new ParcelUuid(soundModelId)); in isRecognitionActive() 381 return mSoundTriggerService.getModelState(new ParcelUuid(soundModelId)); in getModelState()
|
D | SoundTriggerDetectionService.java | 33 import android.os.ParcelUuid; 218 public void setClient(ParcelUuid puuid, Bundle params, in onBind() 231 public void removeClient(ParcelUuid puuid) { in onBind() 244 public void onGenericRecognitionEvent(ParcelUuid puuid, int opId, in onBind() 259 public void onError(ParcelUuid puuid, int opId, int status) { in onBind() 272 public void onStopOperation(ParcelUuid puuid, int opId) { in onBind()
|
D | SoundTriggerDetector.java | 33 import android.os.ParcelUuid; 272 status = mSoundTriggerService.startRecognition(new ParcelUuid(mSoundModelId), in startRecognition() 288 status = mSoundTriggerService.stopRecognition(new ParcelUuid(mSoundModelId), in stopRecognition()
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
D | GenericSoundModelTest.java | 32 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/ |
D | BluetoothDeviceFilter.java | 22 import android.os.ParcelUuid; 102 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() 112 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 133 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 147 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 161 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches()
|
D | PbapServerProfile.java | 28 import android.os.ParcelUuid; 50 static final ParcelUuid[] PBAB_CLIENT_UUIDS = {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 20 import android.os.ParcelUuid; 210 ParcelUuid createSubscriptionGroup(in int[] subIdList, String callingPackage); in createSubscriptionGroup() 243 void removeSubscriptionsFromGroup(in int[] subIdList, in ParcelUuid groupUuid, in removeSubscriptionsFromGroup() 246 void addSubscriptionsIntoGroup(in int[] subIdList, in ParcelUuid groupUuid, in addSubscriptionsIntoGroup() 249 List<SubscriptionInfo> getSubscriptionsInGroup(in ParcelUuid groupUuid, String callingPackage, in getSubscriptionsInGroup()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerUtil.java | 26 import android.os.ParcelUuid; 83 model = mSoundTriggerService.getSoundModel(new ParcelUuid(modelId)); in getSoundModel() 104 mSoundTriggerService.deleteSoundModel(new ParcelUuid(modelId)); in deleteSoundModel()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 38 import android.os.ParcelUuid; 135 ParcelUuid[] uuids = new ParcelUuid[]{BluetoothUuid.HID}; in updateProfiles_addHidProfileForRemoteDevice() 136 ParcelUuid[] localUuids = new ParcelUuid[]{}; in updateProfiles_addHidProfileForRemoteDevice()
|