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

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceFilter.java100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); argument
110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { argument
111 if (uuids != null) {
112 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS)) {
115 if (BluetoothUuid.containsAnyUuid(uuids, HeadsetProfile.UUIDS)) {
131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { argument
132 if (uuids != null) {
133 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.ObexObjectPush)) {
145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { argument
146 if (uuids !
159 matches(ParcelUuid[] uuids, BluetoothClass btClass) argument
[all...]
H A DLocalBluetoothProfileManager.java108 ParcelUuid[] uuids = adapter.getUuids();
110 // uuids may be null if Bluetooth is turned off
111 if (uuids != null) {
112 updateLocalProfiles(uuids);
142 * @param uuids
144 void updateLocalProfiles(ParcelUuid[] uuids) { argument
146 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) {
158 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree_AG) ||
159 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP_AG)) {
172 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUui
325 updateProfiles(ParcelUuid[] uuids, ParcelUuid[] localUuids, Collection<LocalBluetoothProfile> profiles, Collection<LocalBluetoothProfile> removedProfiles, boolean isPanNapConnected, BluetoothDevice device) argument
[all...]
H A DCachedBluetoothDevice.java485 ParcelUuid[] uuids = mDevice.getUuids();
486 if (uuids == null) return false;
496 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles,
505 for (ParcelUuid uuid : uuids) {
780 ParcelUuid[] uuids = mDevice.getUuids();
781 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanClient.java35 UUID[] uuids; field in class:ScanClient
49 ScanClient(int appIf, boolean isServer, UUID[] uuids) { argument
50 this(appIf, isServer, uuids, DEFAULT_SCAN_SETTINGS, null, null);
63 private ScanClient(int appIf, boolean isServer, UUID[] uuids, ScanSettings settings, argument
67 this.uuids = uuids;
H A DGattService.java561 if (client.uuids.length > 0) {
563 for (UUID search : client.uuids) {
572 if (matches < client.uuids.length) continue;
2191 List<UUID> uuids = new ArrayList<UUID>();
2206 uuids.add(UUID.fromString(String.format(
2217 return uuids;
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java117 public static byte[] uuidsToByteArray(ParcelUuid[] uuids) { argument
118 int length = uuids.length * BD_UUID_LEN;
123 for (int i = 0; i < uuids.length; i++) {
124 uuid = uuids[i].getUuid();
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java165 * @param uuids the uuids to be set.
167 boolean setUuids(ParcelUuid[] uuids) { argument
170 AbstractionLayer.BT_PROPERTY_UUIDS, Utils.uuidsToByteArray(uuids));
H A DAdapterService.java210 b.putParcelable("uuids" + i, mUuids[i]);
216 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ argument
224 (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) ||
225 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) &&
232 (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSink) ||
233 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AdvAudioDist)) &&
239 ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP) ||
240 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree)) &&
537 mUuids[i] = msg.getData().getParcelable("uuids" + i);

Completed in 184 milliseconds