Searched refs:uuidLen (Results 1 – 2 of 2) sorted by relevance
145 final int uuidLen = uuid.length; in advertiseDataToBytes() local146 final int dataLen = uuidLen + (serviceData == null ? 0 : serviceData.length); in advertiseDataToBytes()149 System.arraycopy(uuid, 0, concatenated, 0, uuidLen); in advertiseDataToBytes()152 System.arraycopy(serviceData, 0, concatenated, uuidLen, serviceData.length); in advertiseDataToBytes()155 if (uuidLen == BluetoothUuid.UUID_BYTES_16_BIT) { in advertiseDataToBytes()160 } else if (uuidLen == BluetoothUuid.UUID_BYTES_32_BIT) { in advertiseDataToBytes()
708 final int uuidLen = BluetoothUuid.uuidToBytes(uuid).length;709 size += OVERHEAD_BYTES_PER_FIELD + uuidLen + byteLength(serviceData);