/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ContextMap.java | 59 UUID uuid; field in class:ContextMap.App 73 App(UUID uuid, T callback) { argument 74 this.uuid = uuid; 115 void add(UUID uuid, T callback) { argument 117 mApps.add(new App(uuid, callback)); 182 App getByUuid(UUID uuid) { argument 186 if (entry.uuid.equals(uuid)) return entry; 188 Log.e(TAG, "Context not found for UUID " + uuid); [all...] |
H A D | HandleMap.java | 39 UUID uuid = null; field in class:HandleMap.Entry 46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument 50 this.uuid = uuid; 55 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument 59 this.uuid = uuid; 64 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { argument 68 this.uuid = uuid; 89 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance) argument 93 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument 98 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument 123 getServiceHandle(UUID uuid, int serviceType, int instance) argument 136 getCharacteristicHandle(int serviceHandle, UUID uuid, int instance) argument [all...] |
H A D | ServiceDeclaration.java | 36 UUID uuid = null; field in class:ServiceDeclaration.Entry 43 Entry(UUID uuid, int serviceType, int instance) { argument 45 this.uuid = uuid; 50 Entry(UUID uuid, int properties, int permissions, int instance) { argument 52 this.uuid = uuid; 58 Entry(UUID uuid, int permissions) { argument 60 this.uuid = uuid; 72 addService(UUID uuid, int serviceType, int instance, int minHandles) argument 81 addIncludedService(UUID uuid, int serviceType, int instance) argument 88 addCharacteristic(UUID uuid, int properties, int permissions) argument 93 addDescriptor(UUID uuid, int permissions) argument [all...] |
H A D | GattService.java | 244 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { argument 247 service.registerClient(uuid.getUuid(), callback); 388 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { argument 391 service.registerServer(uuid.getUuid(), callback); 543 UUID uuid = new UUID(uuidMsb, uuidLsb); 544 if (DBG) Log.d(TAG, "onClientRegistered() - UUID=" + uuid + ", clientIf=" + clientIf); 545 ClientMap.App app = mClientMap.getByUuid(uuid); 587 UUID uuid = new UUID(srvcUuidMsb, srvcUuidLsb); 590 if (DBG) Log.d(TAG, "onSearchResult() - address=" + address + ", uuid=" + uuid); 939 registerClient(UUID uuid, IBluetoothGattCallback callback) argument 1363 registerServer(UUID uuid, IBluetoothGattServerCallback callback) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppPreference.java | 98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { argument 99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); 115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { argument 116 String key = getChannelKey(remoteDevice, uuid); 121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + 137 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) { argument 138 if (V) Log.v(TAG, "Setchannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " to " 140 if (channel != getChannel(remoteDevice, uuid)) { 141 String key = getChannelKey(remoteDevice, uuid); 149 public void removeChannel(BluetoothDevice remoteDevice, int uuid) { argument [all...] |
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 830 jbyte *addr = NULL, *uuid = NULL; local 842 uuid = env->GetByteArrayElements(uuidObj, NULL); 843 if (!uuid) { 844 ALOGE("failed to get uuid"); 849 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { 860 env->ReleaseByteArrayElements(uuidObj, uuid, 0); 865 if (uuid) env->ReleaseByteArrayElements(uuidObj, uuid, 0); 873 jbyte *uuid = NULL; local 881 uuid [all...] |
H A 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) argument 61 uuid[i] = (uuid_lsb >> (8 * i)) & 0xFF; 62 uuid[i + 8] = (uuid_msb >> (8 * i)) & 0xFF; 66 static uint64_t uuid_lsb(bt_uuid_t* uuid) argument 74 lsb |= uuid->uu[i]; 80 static uint64_t uuid_msb(bt_uuid_t* uuid) argument 88 msb |= uuid->uu[i]; 460 void btgatts_register_app_cb(int status, int server_if, bt_uuid_t *uuid) argument 464 , status, server_if, UUID_PARAMS(uuid)); 758 bt_uuid_t uuid; local 1089 bt_uuid_t uuid; local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Account.java | 491 * @return {@link Uri} to an {@link Account} with a {@code uuid}. 493 public static Uri getShortcutSafeUriFromUuid(String uuid) { argument 494 return CONTENT_URI.buildUpon().appendEncodedPath(uuid).build(); 536 public static long getAccountIdFromUuid(Context context, String uuid) { argument 539 UUID_SELECTION, new String[] {uuid}, null, 0, -1L);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterService.java | 854 ParcelUuid uuid, int port, int flag) { 862 return service.connectSocket(device, type, uuid, port, flag); 866 ParcelUuid uuid, int port, int flag) { 874 return service.createSocketChannel(type, serviceName, uuid, port, flag); 1322 ParcelUuid uuid, int port, int flag) { 1325 type, Utils.uuidToByteArray(uuid), port, flag); 1334 ParcelUuid uuid, int port, int flag) { 1337 Utils.uuidToByteArray(uuid), port, flag); 1420 byte[] uuid, int port, int flag); 1422 byte[] uuid, in 853 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument 865 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 1321 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument 1333 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 1419 connectSocketNative(byte[] address, int type, byte[] uuid, int port, int flag) argument 1421 createSocketChannelNative(int type, String serviceName, byte[] uuid, int port, int flag) argument [all...] |