Home
last modified time | relevance | path

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

1234567

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothUuid.java25 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 …]
DBluetoothLeCallControl.java29 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/
DAdvertiseData.java22 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 …]
DScanFilter.java32 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 …]
DScanRecord.java26 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/
DContentControlIdKeeperTest.java22 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/
DUuidConstants.java19 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/
DBluetoothUtils.java30 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/
DBluetoothUtilsTest.java26 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/
DBluetoothUuidTest.java21 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/
DBluetoothDeviceTypeChecker.java24 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/
DIBluetoothLeCallControlCallback.aidl22 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()
DIBluetoothSocketManager.aidl20 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()
DIBluetoothCsipSetCoordinator.aidl22 import android.os.ParcelUuid;
53 List getAllGroupIds(in ParcelUuid uuid, in AttributionSource attributionSource); in getAllGroupIds()
75ParcelUuid 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/
DBassConstants.java19 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/
DScanRecordTest.java21 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/
DContentControlIdKeeper.java21 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/
DSdpClientTest.java25 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()
DLeScanningTest.java40 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/
DHapClientTest.java55 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/
DScanFilterQueueTest.java22 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/
DBluetoothCsisBinderTest.java27 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/
DBluetoothSocketManagerBinder.java25 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/
DAdvertiseHelperTest.java25 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/
DPresenceConstants.java19 import android.os.ParcelUuid;
31 public static final ParcelUuid PRESENCE_UUID =
32 ParcelUuid.fromString("0000fcf1-0000-1000-8000-00805f9b34fb");

1234567