/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUuid.java | 25 import android.os.ParcelUuid; 52 public static final ParcelUuid A2DP_SINK = 53 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 61 public static final ParcelUuid A2DP_SOURCE = 62 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 70 public static final ParcelUuid ADV_AUDIO_DIST = 71 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 79 public static final ParcelUuid HSP = 80 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 88 public static final ParcelUuid HSP_AG = [all …]
|
D | BluetoothLeCallControl.java | 29 import android.os.ParcelUuid; 304 public void onAcceptCall(int requestId, ParcelUuid uuid) { in onAcceptCall() 314 public void onTerminateCall(int requestId, ParcelUuid uuid) { in onTerminateCall() 324 public void onHoldCall(int requestId, ParcelUuid uuid) { in onHoldCall() 334 public void onUnholdCall(int requestId, ParcelUuid uuid) { in onUnholdCall() 344 public void onPlaceCall(int requestId, ParcelUuid uuid, String uri) { in onPlaceCall() 354 public void onJoinCalls(int requestId, List<ParcelUuid> parcelUuids) { in onJoinCalls() 356 for (ParcelUuid parcelUuid : parcelUuids) { in onJoinCalls() 636 service.callRemoved(mCcid, new ParcelUuid(callId), reason, mAttributionSource); in onCallRemoved() 669 service.callStateChanged(mCcid, new ParcelUuid(callId), state, mAttributionSource); in onCallStateChanged()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | AdvertiseData.java | 22 import android.os.ParcelUuid; 45 @Nullable private final List<ParcelUuid> mServiceUuids; 47 @NonNull private final List<ParcelUuid> mServiceSolicitationUuids; 52 private final Map<ParcelUuid, byte[]> mServiceData; 57 List<ParcelUuid> serviceUuids, in AdvertiseData() 58 List<ParcelUuid> serviceSolicitationUuids, in AdvertiseData() 61 Map<ParcelUuid, byte[]> serviceData, in AdvertiseData() argument 77 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 86 public List<ParcelUuid> getServiceSolicitationUuids() { in getServiceSolicitationUuids() 108 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() [all …]
|
D | ScanFilter.java | 32 import android.os.ParcelUuid; 65 @Nullable private final ParcelUuid mServiceUuid; 66 @Nullable private final ParcelUuid mServiceUuidMask; 68 @Nullable private final ParcelUuid mServiceSolicitationUuid; 69 @Nullable private final ParcelUuid mServiceSolicitationUuidMask; 71 @Nullable private final ParcelUuid mServiceDataUuid; 91 ParcelUuid uuid, in ScanFilter() 92 ParcelUuid uuidMask, in ScanFilter() 93 ParcelUuid solicitationUuid, in ScanFilter() 94 ParcelUuid solicitationUuidMask, in ScanFilter() [all …]
|
D | ScanRecord.java | 26 import android.os.ParcelUuid; 344 @Nullable private final List<ParcelUuid> mServiceUuids; 345 @Nullable private final List<ParcelUuid> mServiceSolicitationUuids; 349 private final Map<ParcelUuid, byte[]> mServiceData; 377 public List<ParcelUuid> getServiceUuids() { in getServiceUuids() 386 public List<ParcelUuid> getServiceSolicitationUuids() { in getServiceSolicitationUuids() 411 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() 420 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() 490 List<ParcelUuid> serviceUuids, in ScanRecord() 491 List<ParcelUuid> serviceSolicitationUuids, in ScanRecord() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | ContentControlIdKeeperTest.java | 22 import android.os.ParcelUuid; 63 public int testCcidAcquire(ParcelUuid uuid, int context, int expectedListSize) { in testCcidAcquire() 68 Map<ParcelUuid, Pair<Integer, Integer>> uuidToCcidContextPair = in testCcidAcquire() 78 public void testCcidRelease(ParcelUuid uuid, int ccid, int expectedListSize) { in testCcidRelease() 79 Map<ParcelUuid, Pair<Integer, Integer>> uuidToCcidContextPair = in testCcidRelease() 94 ParcelUuid uuid_one = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcid() 95 ParcelUuid uuid_two = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcid() 107 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcidForCompoundContext() 119 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAcquireInvalidContext() 125 .setCcidInformation(any(ParcelUuid.class), any(int.class), any(int.class)); in testAcquireInvalidContext() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | UuidConstants.java | 19 import android.os.ParcelUuid; 30 public static final ParcelUuid FIRA_CP_PARCEL_UUID = BluetoothUuid.parseUuidFrom(FIRA_CP_UUID); 31 public static final ParcelUuid FIRA_CS_PARCEL_UUID = BluetoothUuid.parseUuidFrom(FIRA_CS_UUID); 36 public static final ParcelUuid CP_IN_CONTROL_POINT_UUID = 37 ParcelUuid.fromString("00002A00-0000-1000-8000-D09200000001"); 38 public static final ParcelUuid CP_OUT_CONTROL_POINT_UUID = 39 ParcelUuid.fromString("00002A01-0000-1000-8000-D09200000001"); 40 public static final ParcelUuid CP_FIRA_CONNECTOR_CAPABILITIES_UUID = 41 ParcelUuid.fromString("00002A02-0000-1000-8000-D09200000001"); 45 public static final ParcelUuid CCCD_UUID = BluetoothUuid.parseUuidFrom(new byte[] {0x29, 0x02});
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothUtils.java | 30 import android.os.ParcelUuid; 56 private static final ParcelUuid[] A2DP_SOURCE_UUIDS = 57 new ParcelUuid[]{BluetoothUuid.A2DP_SOURCE}; 58 private static final ParcelUuid[] A2DP_SINK_UUIDS = 59 new ParcelUuid[]{BluetoothUuid.A2DP_SINK}; 60 private static final ParcelUuid[] HFP_HF_UUIDS = 61 new ParcelUuid[]{BluetoothUuid.HFP}; 62 private static final ParcelUuid[] HFP_AG_UUIDS = 63 new ParcelUuid[]{BluetoothUuid.HFP_AG, BluetoothUuid.HSP_AG}; 64 private static final ParcelUuid[] MAP_CLIENT_UUIDS = [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothUtilsTest.java | 26 import android.os.ParcelUuid; 40 private static final ParcelUuid[] EMPTY_UUIDS = new ParcelUuid[]{}; 41 private static final ParcelUuid[] A2DP_SOURCE_UUIDS = 42 new ParcelUuid[]{BluetoothUuid.A2DP_SOURCE}; 43 private static final ParcelUuid[] A2DP_SINK_UUIDS = 44 new ParcelUuid[]{BluetoothUuid.A2DP_SINK}; 45 private static final ParcelUuid[] HFP_HF_UUIDS = 46 new ParcelUuid[]{BluetoothUuid.HFP}; 47 private static final ParcelUuid[] HFP_AG_UUIDS = 48 new ParcelUuid[]{BluetoothUuid.HFP_AG, BluetoothUuid.HSP_AG}; [all …]
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | BluetoothUuidTest.java | 21 import android.os.ParcelUuid; 40 .isEqualTo(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB")); in testUuid16Parser() 47 .isEqualTo(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB")); in testUuid32Parser() 72 .isEqualTo(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-060504030201")); in testUuid128Parser() 79 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 83 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 87 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 91 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 95 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB"))) in testUuidType()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | BluetoothDeviceTypeChecker.java | 24 import android.os.ParcelUuid; 31 private static final ParcelUuid IAP_UUID = 32 ParcelUuid.fromString("00000000-deca-fade-deca-deafdecacafe"); 40 CompletableFuture<ParcelUuid[]> mDeviceUUidsFuture; 79 public boolean deviceContainsUuid(BluetoothDevice device, ParcelUuid uuid) { in deviceContainsUuid() 85 ParcelUuid[] uuidsArray = device.getUuids(); in deviceContainsUuid() 104 private ParcelUuid[] blockingFetchUuids(BluetoothDevice device) { in blockingFetchUuids() 112 return new ParcelUuid[0]; in blockingFetchUuids() 118 return new ParcelUuid[0]; in blockingFetchUuids()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothLeCallControlCallback.aidl | 22 import android.os.ParcelUuid; 32 void onAcceptCall(in int requestId, in ParcelUuid uuid); in onAcceptCall() 34 void onTerminateCall(in int requestId, in ParcelUuid uuid); in onTerminateCall() 36 void onHoldCall(in int requestId, in ParcelUuid uuid); in onHoldCall() 38 void onUnholdCall(in int requestId, in ParcelUuid uuid); in onUnholdCall() 40 void onPlaceCall(in int requestId, in ParcelUuid uuid, in String uri); in onPlaceCall() 42 void onJoinCalls(in int requestId, in List<ParcelUuid> uuids); in onJoinCalls()
|
D | IBluetoothSocketManager.aidl | 20 import android.os.ParcelUuid; 31 …riptor connectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, … in connectSocket() 33 …eSocketChannel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, … in createSocketChannel() 37 … int getL2capLocalChannelId(in ParcelUuid connectionUuid, in AttributionSource attributionSource); in getL2capLocalChannelId() 39 … int getL2capRemoteChannelId(in ParcelUuid connectionUuid, in AttributionSource attributionSource); in getL2capRemoteChannelId()
|
D | IBluetoothCsipSetCoordinator.aidl | 22 import android.os.ParcelUuid; 53 List getAllGroupIds(in ParcelUuid uuid, in AttributionSource attributionSource); in getAllGroupIds() 75 …ParcelUuid lockGroup(int groupId, in IBluetoothCsipSetCoordinatorLockCallback callback, in Attribu… in lockGroup() 82 void unlockGroup(in ParcelUuid lockUuid, in AttributionSource attributionSource); in unlockGroup()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassConstants.java | 19 import android.os.ParcelUuid; 25 public static final ParcelUuid BAAS_UUID = 26 ParcelUuid.fromString("00001852-0000-1000-8000-00805F9B34FB"); 34 public static final ParcelUuid BASIC_AUDIO_UUID = 35 ParcelUuid.fromString("00001851-0000-1000-8000-00805F9B34FB"); 36 public static final ParcelUuid PUBLIC_BROADCAST_UUID = 37 ParcelUuid.fromString("00001856-0000-1000-8000-00805F9B34FB");
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 21 import android.os.ParcelUuid; 182 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser() 183 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParser() 250 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParserMultipleManufacturerSpecificData() 251 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParserMultipleManufacturerSpecificData()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | ContentControlIdKeeper.java | 21 import android.os.ParcelUuid; 44 private static HashMap<ParcelUuid, Pair<Integer, Integer>> sUuidToCcidContextPair = 63 public static synchronized int acquireCcid(ParcelUuid userUuid, int contextType) { in acquireCcid() 115 ParcelUuid uuid = null; in releaseCcid() 119 uuid = (ParcelUuid) entry.getKey(); in releaseCcid() 148 public static synchronized Map<ParcelUuid, Pair<Integer, Integer>>
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | SdpClientTest.java | 25 import android.os.ParcelUuid; 50 private SettableFuture<ParcelUuid[]> mFutureIntent; 61 ParcelUuid[] parcelUuids = 63 BluetoothDevice.EXTRA_UUID, ParcelUuid.class); 92 ParcelUuid[] arr = mFutureIntent.get(); in remoteConnectServiceDiscoveryTest()
|
D | LeScanningTest.java | 40 import android.os.ParcelUuid; 91 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeAllMatches() 99 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withCallbackTypeAllMatches() 101 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withCallbackTypeAllMatches() 135 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeFirstMatchSilentlyFails() 157 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeMatchLostSilentlyFails() 183 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 216 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 218 .containsExactly(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 234 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withPendingIntentAndStaticReceiverAndCallbackTypeAllMatches() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 55 import android.os.ParcelUuid; 168 Map groups2 = new HashMap<Integer, ParcelUuid>(); in setUp() 169 groups2.put(groupId2, ParcelUuid.fromString("00001853-0000-1000-8000-00805F9B34FB")); in setUp() 172 Map groups3 = new HashMap<Integer, ParcelUuid>(); in setUp() 173 groups3.put(groupId3, ParcelUuid.fromString("00001853-0000-1000-8000-00805F9B34FB")); in setUp() 189 doReturn(new ParcelUuid[] {BluetoothUuid.HAS}) in setUp() 350 doReturn(new ParcelUuid[] {}) in testOutgoingConnectMissingHasUuid() 367 doReturn(new ParcelUuid[] {BluetoothUuid.HAS}) in testOutgoingConnectExistingHasUuid() 437 doReturn(new ParcelUuid[] {BluetoothUuid.HAS}) in testConnectTwo() 469 doReturn(new ParcelUuid[] {BluetoothUuid.HAS}) in testGetHapGroupCoordinatedOps() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/ |
D | ScanFilterQueueTest.java | 22 import android.os.ParcelUuid; 175 ParcelUuid serviceUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter() 176 ParcelUuid serviceSolicitationUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter() 179 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | BluetoothCsisBinderTest.java | 27 import android.os.ParcelUuid; 110 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in unlockGroup() 117 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in getAllGroupIds()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | BluetoothSocketManagerBinder.java | 25 import android.os.ParcelUuid; 50 BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) { in connectSocket() 92 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() 137 public int getL2capLocalChannelId(ParcelUuid connectionUuid, AttributionSource source) { in getL2capLocalChannelId() 151 public int getL2capRemoteChannelId(ParcelUuid connectionUuid, AttributionSource source) { in getL2capRemoteChannelId()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | AdvertiseHelperTest.java | 25 import android.os.ParcelUuid; 58 .addServiceUuid(new ParcelUuid(UUID.randomUUID())) in advertiseDataToBytes() 59 .addServiceData(new ParcelUuid(UUID.randomUUID()), serviceData) in advertiseDataToBytes() 60 .addServiceSolicitationUuid(new ParcelUuid(UUID.randomUUID())) in advertiseDataToBytes()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/ |
D | PresenceConstants.java | 19 import android.os.ParcelUuid; 31 public static final ParcelUuid PRESENCE_UUID = 32 ParcelUuid.fromString("0000fcf1-0000-1000-8000-00805f9b34fb");
|