Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DHandleMap.java39 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 …]
DServiceDeclaration.java36 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 …]
DGattService.java283 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { in registerClient() argument
286 service.registerClient(uuid.getUuid(), callback); in registerClient()
433 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { in registerServer() argument
436 service.registerServer(uuid.getUuid(), callback); in registerServer()
630 UUID uuid = new UUID(uuidMsb, uuidLsb); in onClientRegistered() local
631 if (DBG) Log.d(TAG, "onClientRegistered() - UUID=" + uuid + ", clientIf=" + clientIf); in onClientRegistered()
632 ClientMap.App app = mClientMap.getByUuid(uuid); in onClientRegistered()
675 UUID uuid = new UUID(srvcUuidMsb, srvcUuidLsb); in onSearchResult() local
678 if (VDBG) Log.d(TAG, "onSearchResult() - address=" + address + ", uuid=" + uuid); in onSearchResult()
685 new ParcelUuid(uuid)); in onSearchResult()
[all …]
DScanFilterQueue.java55 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()
DContextMap.java59 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()
197 App getByUuid(UUID uuid) { in getByUuid() argument
201 if (entry.uuid.equals(uuid)) return entry; in getByUuid()
203 Log.e(TAG, "Context not found for UUID " + uuid); in getByUuid()
305 b.append("\nUUID: " + entry.uuid); in dump()
DAdvertiseManager.java335 UUID uuid = parcelUuid.getUuid(); in setAdvertisingData() local
338 advertisingUuidBytes.putLong(uuid.getLeastSignificantBits()) in setAdvertisingData()
339 .putLong(uuid.getMostSignificantBits()); in setAdvertisingData()
372 ParcelUuid uuid = advertiseData.getServiceData().keySet().iterator().next(); in getServiceData() local
373 byte[] serviceData = advertiseData.getServiceData().get(uuid); in getServiceData()
378 uuid); in getServiceData()
DGattDebugUtils.java118 UUID uuid = getUuidExtra(intent); in handleDebugAction() local
122 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0); in handleDebugAction()
147 Object uuid = extras != null ? extras.get(extra) : null; in getHandleExtra() local
148 if (uuid != null && uuid.getClass().getName().equals("java.lang.String")) { in getHandleExtra()
DScanManager.java774 entry.uuid.getLeastSignificantBits(), in addFilterToController()
775 entry.uuid.getMostSignificantBits(), in addFilterToController()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp49 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()
606 void btgatts_register_app_cb(int status, int server_if, bt_uuid_t *uuid) in btgatts_register_app_cb() argument
610 , status, server_if, UUID_PARAMS(uuid)); in btgatts_register_app_cb()
[all …]
Dcom_android_bluetooth_btservice_AdapterService.cpp1114 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/
DBluetoothOppPreference.java98 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 …]
DBluetoothOppObexServerSession.java545 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect()
546 if (V) Log.v(TAG, "onConnect(): uuid =" + Arrays.toString(uuid)); in onConnect()
547 if(uuid != null) { in onConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java104 UUID uuid = pUuid.getUuid(); in uuidToByteArray() local
105 msb = uuid.getMostSignificantBits(); in uuidToByteArray()
106 lsb = uuid.getLeastSignificantBits(); in uuidToByteArray()
116 UUID uuid; in uuidsToByteArray() local
119 uuid = uuids[i].getUuid(); in uuidsToByteArray()
120 msb = uuid.getMostSignificantBits(); in uuidsToByteArray()
121 lsb = uuid.getLeastSignificantBits(); in uuidsToByteArray()
131 UUID uuid; in byteArrayToUuid() local
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1024 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1032 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
1036 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1044 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1594 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1597 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket()
1606 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1609 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel()
1843 byte[] uuid, int port, int flag); in connectSocketNative() argument
1845 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java237 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect()
239 if (uuid == null) { in onConnect()
242 if (D) Log.d(TAG, "onConnect(): uuid=" + Arrays.toString(uuid)); in onConnect()
244 if (uuid.length != UUID_LENGTH) { in onConnect()
249 if (uuid[i] != MAP_TARGET[i]) { in onConnect()
254 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java182 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/
DIntentUtilities.java136 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/
DSimpleViewData.java57 String uuid = UUID.randomUUID().toString(); in SimpleViewData() local
58 builder.scheme(SIMPLE_VIEW_URI_SCHEME).appendPath(uuid); in SimpleViewData()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java198 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/
DCachedBluetoothDevice.java499 for (ParcelUuid uuid : uuids) { in updateProfiles()
500 Log.v(TAG, " " + uuid); in updateProfiles()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java253 if (effect.uuid.equals(UUID.fromString("1d4033c0-8557-11df-9f2d-0002a5d5c51b"))) { in onCreate()