Searched refs:uuids (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanClient.java35 UUID[] uuids; field in class:ScanClient
53 ScanClient(int appIf, boolean isServer, UUID[] uuids) { argument
54 this(appIf, isServer, uuids, DEFAULT_SCAN_SETTINGS, null, null);
67 private ScanClient(int appIf, boolean isServer, UUID[] uuids, ScanSettings settings, argument
71 this.uuids = uuids;
H A DGattService.java588 if (client.uuids.length > 0) {
590 for (UUID search : client.uuids) {
599 if (matches < client.uuids.length) continue;
2282 List<UUID> uuids = new ArrayList<UUID>();
2297 uuids.add(UUID.fromString(String.format(
2308 return uuids;
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DSdpManagerTestServer.java126 String[] uuids = name.split(";");
129 searchAwaitAndValidate(uuids, mDevice, count);
153 public SdpBroadcastReceiver(String[] uuids, CountDownLatch latch) { argument
154 for(String uuid : uuids) {
299 private void searchAwaitAndValidate(final String[] uuids, BluetoothDevice serverDevice, int count) { argument
303 SdpBroadcastReceiver broadcastReceiver = new SdpBroadcastReceiver(uuids, latch);
309 for(String uuid : uuids) {
H A DSdpManagerTest.java165 final String[] uuids = {BluetoothUuid.MAS.toString(),
171 final StringBuilder sb = new StringBuilder(uuids.length*2-1);
172 for(String str : uuids) {
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java121 public static byte[] uuidsToByteArray(ParcelUuid[] uuids) { argument
122 int length = uuids.length * BD_UUID_LEN;
127 for (int i = 0; i < uuids.length; i++) {
128 uuid = uuids[i].getUuid();
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java169 * @param uuids the uuids to be set.
171 boolean setUuids(ParcelUuid[] uuids) { argument
174 AbstractionLayer.BT_PROPERTY_UUIDS, Utils.uuidsToByteArray(uuids));
H A DAdapterService.java219 b.putParcelable("uuids" + i, mUuids[i]);
225 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ argument
233 (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) ||
234 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) &&
241 (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSink) ||
242 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AdvAudioDist)) &&
248 ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP) ||
249 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree)) &&
605 mUuids[i] = msg.getData().getParcelable("uuids" + i);

Completed in 269 milliseconds