/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | HandleMap.java | 39 UUID uuid = null; field in HandleMap.Entry 47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() argument 51 this.uuid = uuid; in Entry() 56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, in Entry() argument 61 this.uuid = uuid; in Entry() 67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() argument 71 this.uuid = uuid; in Entry() 76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() argument 80 this.uuid = uuid; in Entry() 101 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, in addService() argument [all …]
|
D | ServiceDeclaration.java | 36 UUID uuid = null; field in ServiceDeclaration.Entry 44 Entry(UUID uuid, int serviceType, int instance) { in Entry() argument 46 this.uuid = uuid; in Entry() 51 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { in Entry() argument 53 this.uuid = uuid; in Entry() 59 Entry(UUID uuid, int properties, int permissions, int instance) { in Entry() argument 61 this.uuid = uuid; in Entry() 67 Entry(UUID uuid, int permissions) { in Entry() argument 69 this.uuid = uuid; in Entry() 81 void addService(UUID uuid, int serviceType, int instance, int minHandles, in addService() argument [all …]
|
D | GattService.java | 293 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { in registerClient() argument 296 service.registerClient(uuid.getUuid(), callback); in registerClient() 443 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { in registerServer() argument 446 service.registerServer(uuid.getUuid(), callback); in registerServer() 637 UUID uuid = new UUID(uuidMsb, uuidLsb); in onClientRegistered() local 638 if (DBG) Log.d(TAG, "onClientRegistered() - UUID=" + uuid + ", clientIf=" + clientIf); in onClientRegistered() 639 ClientMap.App app = mClientMap.getByUuid(uuid); in onClientRegistered() 645 mClientMap.remove(uuid); in onClientRegistered() 686 UUID uuid = new UUID(srvcUuidMsb, srvcUuidLsb); in onSearchResult() local 689 if (VDBG) Log.d(TAG, "onSearchResult() - address=" + address + ", uuid=" + uuid); in onSearchResult() [all …]
|
D | ContextMap.java | 59 UUID uuid; field in ContextMap.App 79 App(UUID uuid, T callback) { in App() argument 80 this.uuid = uuid; in App() 130 void add(UUID uuid, T callback) { in add() argument 132 mApps.add(new App(uuid, callback)); in add() 139 void remove(UUID uuid) { in remove() argument 144 if (entry.uuid.equals(uuid)) { in remove() 214 App getByUuid(UUID uuid) { in getByUuid() argument 218 if (entry.uuid.equals(uuid)) return entry; in getByUuid() 220 Log.e(TAG, "Context not found for UUID " + uuid); in getByUuid() [all …]
|
D | ScanFilterQueue.java | 55 public UUID uuid; field in ScanFilterQueue.Entry 65 return Objects.hash(address, addr_type, type, uuid, uuid_mask, name, company, in hashCode() 80 Objects.equals(uuid, other.uuid) && in equals() 105 void addUuid(UUID uuid) { in addUuid() argument 108 entry.uuid = uuid; in addUuid() 113 void addUuid(UUID uuid, UUID uuid_mask) { in addUuid() argument 116 entry.uuid = uuid; in addUuid() 121 void addSolicitUuid(UUID uuid) { in addSolicitUuid() argument 124 entry.uuid = uuid; in addSolicitUuid()
|
D | GattDebugUtils.java | 98 UUID uuid = getUuidExtra(intent); in handleDebugAction() local 102 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0); in handleDebugAction() 127 Object uuid = extras != null ? extras.get(extra) : null; in getHandleExtra() local 128 if (uuid != null && uuid.getClass().getName().equals("java.lang.String")) { in getHandleExtra()
|
D | AdvertiseManager.java | 379 UUID uuid = parcelUuid.getUuid(); in setAdvertisingData() local 382 advertisingUuidBytes.putLong(uuid.getLeastSignificantBits()) in setAdvertisingData() 383 .putLong(uuid.getMostSignificantBits()); in setAdvertisingData() 422 ParcelUuid uuid = advertiseData.getServiceData().keySet().iterator().next(); in getServiceData() local 423 byte[] serviceData = advertiseData.getServiceData().get(uuid); in getServiceData() 428 uuid); in getServiceData()
|
D | ScanManager.java | 775 entry.uuid.getLeastSignificantBits(), in addFilterToController() 776 entry.uuid.getMostSignificantBits(), in addFilterToController()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 49 UUID_PARAMS((&attr_ptr->uuid)) 57 static void set_uuid(uint8_t* uuid, jlong uuid_msb, jlong uuid_lsb) in set_uuid() argument 61 uuid[i] = (uuid_lsb >> (8 * i)) & 0xFF; in set_uuid() 62 uuid[i + 8] = (uuid_msb >> (8 * i)) & 0xFF; in set_uuid() 66 static uint64_t uuid_lsb(bt_uuid_t* uuid) in uuid_lsb() argument 74 lsb |= uuid->uu[i]; in uuid_lsb() 80 static uint64_t uuid_msb(bt_uuid_t* uuid) in uuid_msb() argument 88 msb |= uuid->uu[i]; in uuid_msb() 607 void btgatts_register_app_cb(int status, int server_if, bt_uuid_t *uuid) in btgatts_register_app_cb() argument 611 , status, server_if, UUID_PARAMS(uuid)); in btgatts_register_app_cb() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 1114 jbyte *addr = NULL, *uuid = NULL; in connectSocketNative() local 1126 uuid = env->GetByteArrayElements(uuidObj, NULL); in connectSocketNative() 1127 if (!uuid) { in connectSocketNative() 1133 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { in connectSocketNative() 1144 env->ReleaseByteArrayElements(uuidObj, uuid, 0); in connectSocketNative() 1149 if (uuid) env->ReleaseByteArrayElements(uuidObj, uuid, 0); in connectSocketNative() 1157 jbyte *uuid = NULL; in createSocketChannelNative() local 1167 uuid = env->GetByteArrayElements(uuidObj, NULL); in createSocketChannelNative() 1168 if (!uuid) { in createSocketChannelNative() 1173 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { in createSocketChannelNative() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { in getChannelKey() argument 99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey() 115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() argument 116 String key = getChannelKey(remoteDevice, uuid); in getChannel() 121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + in getChannel() 137 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) { in setChannel() argument 138 … if (V) Log.v(TAG, "Setchannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " to " in setChannel() 140 if (channel != getChannel(remoteDevice, uuid)) { in setChannel() 141 String key = getChannelKey(remoteDevice, uuid); in setChannel() 149 public void removeChannel(BluetoothDevice remoteDevice, int uuid) { in removeChannel() argument [all …]
|
D | BluetoothOppObexServerSession.java | 546 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect() 547 if (V) Log.v(TAG, "onConnect(): uuid =" + Arrays.toString(uuid)); in onConnect() 548 if(uuid != null) { in onConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 109 UUID uuid = pUuid.getUuid(); in uuidToByteArray() local 110 msb = uuid.getMostSignificantBits(); in uuidToByteArray() 111 lsb = uuid.getLeastSignificantBits(); in uuidToByteArray() 121 UUID uuid; in uuidsToByteArray() local 124 uuid = uuids[i].getUuid(); in uuidsToByteArray() 125 msb = uuid.getMostSignificantBits(); in uuidsToByteArray() 126 lsb = uuid.getLeastSignificantBits(); in uuidsToByteArray() 136 UUID uuid; in byteArrayToUuid() local
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 1053 ParcelUuid uuid, int port, int flag) { in connectSocket() argument 1061 return service.connectSocket(device, type, uuid, port, flag); in connectSocket() 1065 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 1073 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel() 1636 ParcelUuid uuid, int port, int flag) { in connectSocket() argument 1639 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket() 1648 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 1651 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel() 1907 byte[] uuid, int port, int flag); in connectSocketNative() argument 1909 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 235 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect() 237 if (uuid == null) { in onConnect() 240 if (D) Log.d(TAG, "onConnect(): uuid=" + Arrays.toString(uuid)); in onConnect() 242 if (uuid.length != UUID_LENGTH) { in onConnect() 247 if (uuid[i] != MAP_TARGET[i]) { in onConnect() 252 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 182 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect() 183 if (uuid == null) { in onConnect() 186 if (D) Log.d(TAG, "onConnect(): uuid=" + Arrays.toString(uuid)); in onConnect() 188 if (uuid.length != UUID_LENGTH) { in onConnect() 193 if (uuid[i] != PBAP_TARGET[i]) { in onConnect() 198 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | IntentUtilities.java | 136 String uuid = uri.getQueryParameter(ACCOUNT_UUID_PARAM); in getAccountUuidFromIntent() local 137 return TextUtils.isEmpty(uuid) ? null : uuid; in getAccountUuidFromIntent()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | SimpleViewData.java | 56 String uuid = UUID.randomUUID().toString(); in SimpleViewData() local 57 builder.scheme(SIMPLE_VIEW_URI_SCHEME).appendPath(uuid); in SimpleViewData()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 198 String uuid = UUID.randomUUID().toString(); in addPlaceholder() local 199 builder.scheme(CAMERA_SESSION_SCHEME).authority(GOOGLE_COM).appendPath(uuid); in addPlaceholder()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | CachedBluetoothDevice.java | 505 for (ParcelUuid uuid : uuids) { in updateProfiles() 506 Log.v(TAG, " " + uuid); in updateProfiles()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 253 if (effect.uuid.equals(UUID.fromString("1d4033c0-8557-11df-9f2d-0002a5d5c51b"))) { in onCreate()
|