/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ServiceDeclaration.java | 34 UUID uuid = null; field in class:ServiceDeclaration.Entry 42 Entry(UUID uuid, int serviceType, int instance) { argument 44 this.uuid = uuid; 49 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { argument 51 this.uuid = uuid; 57 Entry(UUID uuid, int properties, int permissions, int instance) { argument 59 this.uuid = uuid; 65 Entry(UUID uuid, int permissions) argument 77 addService(UUID uuid, int serviceType, int instance, int minHandles, boolean advertisePreferred) argument 89 addIncludedService(UUID uuid, int serviceType, int instance) argument 98 addCharacteristic(UUID uuid, int properties, int permissions) argument 105 addDescriptor(UUID uuid, int permissions) argument 121 isServiceAdvertisePreferred(UUID uuid) argument [all...] |
H A D | HandleMap.java | 39 UUID uuid = null; field in class:HandleMap.Entry 47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument 51 this.uuid = uuid; 56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument 61 this.uuid = uuid; 67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument 71 this.uuid = uuid; 75 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) argument 99 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, boolean advertisePreferred) argument 104 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument 109 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument 134 getServiceHandle(UUID uuid, int serviceType, int instance) argument 147 getCharacteristicHandle(int serviceHandle, UUID uuid, int instance) argument [all...] |
H A D | GattDbElement.java | 40 public UUID uuid; field in class:GattDbElement
|
H A D | ScanFilterQueue.java | 54 public UUID uuid; field in class:ScanFilterQueue.Entry 64 return Objects.hash(address, addr_type, type, uuid, uuid_mask, 81 Objects.equals(uuid, other.uuid) && 106 void addUuid(UUID uuid) { argument 109 entry.uuid = uuid; 114 void addUuid(UUID uuid, UUID uuid_mask) { argument 117 entry.uuid = uuid; 122 addSolicitUuid(UUID uuid) argument [all...] |
H A D | ContextMap.java | 66 UUID uuid; field in class:ContextMap.App 92 App(UUID uuid, T callback, String name, AppScanStats appScanStats) { argument 93 this.uuid = uuid; 148 void add(UUID uuid, T callback, GattService service) { argument 161 mApps.add(new App(uuid, callback, appName, appScanStats)); 169 void remove(UUID uuid) { argument 174 if (entry.uuid.equals(uuid)) { 260 App getByUuid(UUID uuid) { argument [all...] |
H A D | GattDebugUtils.java | 47 private static final String EXTRA_UUID = "uuid"; 98 UUID uuid = getUuidExtra(intent); 102 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0); 127 Object uuid = extras != null ? extras.get(extra) : null; 128 if (uuid != null && uuid.getClass().getName().equals("java.lang.String")) { 178 b.append("\n [--es uuid <uuid>] Optional; Can be either full 128-bit");
|
H A D | GattService.java | 344 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { argument 347 service.registerClient(uuid.getUuid(), callback); 466 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { argument 469 service.registerServer(uuid.getUuid(), callback); 688 UUID uuid = new UUID(uuidMsb, uuidLsb); 689 if (DBG) Log.d(TAG, "onClientRegistered() - UUID=" + uuid + ", clientIf=" + clientIf); 690 ClientMap.App app = mClientMap.getByUuid(uuid); 696 mClientMap.remove(uuid); 766 if (DBG) Log.d(TAG, "got service with UUID=" + el.uuid); 768 currSrvc = new BluetoothGattService(el.uuid, e 1380 registerClient(UUID uuid, IBluetoothGattCallback callback) argument 1905 registerServer(UUID uuid, IBluetoothGattServerCallback callback) argument 2059 isHidUuid(final UUID uuid) argument 2066 isFidoUUID(final UUID uuid) argument [all...] |
H A D | AdvertiseManager.java | 379 UUID uuid = parcelUuid.getUuid(); 382 advertisingUuidBytes.putLong(uuid.getLeastSignificantBits()) 383 .putLong(uuid.getMostSignificantBits()); 422 ParcelUuid uuid = advertiseData.getServiceData().keySet().iterator().next(); 423 byte[] serviceData = advertiseData.getServiceData().get(uuid); 428 uuid);
|
H A D | AppScanStats.java | 250 appEntry.uuid + "\n");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
H A D | SdpManager.java | 97 private native boolean sdpSearchNative(byte[] address, byte[] uuid); argument 126 public SdpSearchInstance(int status, BluetoothDevice device, ParcelUuid uuid){ argument 128 this.mUuid = uuid; 192 ParcelUuid uuid = Utils.byteArrayToUuid(uuidBytes)[0]; 195 && inst.getUuid().equals(uuid)) { 202 boolean isSearching(BluetoothDevice device, ParcelUuid uuid) { argument 206 && inst.getUuid().equals(uuid)) { 249 void sdpMasRecordFoundCallback(int status, byte[] address, byte[] uuid, argument 260 SdpSearchInstance inst = sSdpSearchTracker.getSearchInstance(address, uuid); 276 if(D) Log.d(TAG, "UUID: " + Arrays.toString(uuid)); 282 sdpMnsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, boolean moreResults) argument 311 sdpPseRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedRepositories, String serviceName, boolean moreResults) argument 341 sdpOppOpsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, String serviceName, byte[] formatsList, boolean moreResults) argument 371 sdpSapsRecordFoundCallback(int status, byte[] address, byte[] uuid, int rfcommCannelNumber, int profileVersion, String serviceName, boolean moreResults) argument 397 sdpRecordFoundCallback(int status, byte[] address, byte[] uuid, int size_record, byte[] record) argument 420 sdpSearch(BluetoothDevice device, ParcelUuid uuid) 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...] |
H A D | BluetoothOppObexServerSession.java | 537 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 538 if (V) Log.v(TAG, "onConnect(): uuid =" + Arrays.toString(uuid)); 539 if(uuid != null) {
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | SdpManagerTestServer.java | 154 for(String uuid : uuids) { 155 if(uuid.toString().equals(BluetoothUuid.MAS.toString())) 157 if(uuid.toString().equals(BluetoothUuid.MNS.toString())) 159 if(uuid.toString().equals(BluetoothUuid.PBAP_PSE.toString())) 161 if(uuid.toString().equals(BluetoothUuid.ObexObjectPush.toString())) 163 if(uuid.toString().equals(BluetoothUuid.SAP.toString())) 175 ParcelUuid uuid = intent.getParcelableExtra(BluetoothDevice.EXTRA_UUID); 176 Log.v(TAG, "Received UUID: " + uuid.toString()); 177 if(hasMas && uuid.toString().equals(BluetoothUuid.MAS.toString())) { 201 } else if(hasMns && uuid [all...] |
H A D | ObexTest.java | 644 ParcelUuid uuid = intent.getParcelableExtra(BluetoothDevice.EXTRA_UUID); 645 Log.v(TAG, "Received UUID: " + uuid.toString()); 647 if(uuid.toString().equals(SDP_UUID_OBEX_MAS.toString())) { 648 assertEquals(SDP_UUID_OBEX_MAS.toString(), uuid.toString());
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_sdp.cpp | 42 // The btcore->uuid module should be used for all instances. 135 jbyte *addr = NULL, *uuid = NULL; local 146 uuid = env->GetByteArrayElements(uuidObj, NULL); 147 if (!uuid) { 148 ALOGE("failed to get uuid"); 151 ALOGD("%s UUID %.*s",__FUNCTION__,16, (uint8_t*)uuid); 155 (const uint8_t*)uuid)) != BT_STATUS_SUCCESS) { 164 if (uuid) env->ReleaseByteArrayElements(uuidObj, uuid, 0); 173 jbyteArray uuid local [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(const bt_uuid_t* uuid) argument 74 lsb |= uuid->uu[i]; 80 static uint64_t uuid_msb(const bt_uuid_t* uuid) argument 88 msb |= uuid->uu[i]; 582 jobject uuid = sCallbackEnv->NewObject(uuidClazz, uuidConstructor, uuid_msb(&curr.uuid), uuid_ls local 655 btgatts_register_app_cb(int status, int server_if, bt_uuid_t *uuid) argument 994 bt_uuid_t uuid; local 1293 bt_uuid_t uuid, uuid_mask; local 1480 bt_uuid_t uuid; local [all...] |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 1097 jbyte *addr = NULL, *uuid = NULL; local 1110 uuid = env->GetByteArrayElements(uuidObj, NULL); 1111 if (!uuid) { 1112 ALOGE("failed to get uuid"); 1118 (const uint8_t*) uuid, channel, &socket_fd, flag, callingUid)) 1130 env->ReleaseByteArrayElements(uuidObj, uuid, 0); 1135 if (uuid) env->ReleaseByteArrayElements(uuidObj, uuid, 0); 1144 jbyte *uuid = NULL; local 1157 uuid [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | PlaceholderItem.java | 59 String uuid = UUID.randomUUID().toString(); 60 builder.scheme(SIMPLE_VIEW_URI_SCHEME).appendPath(uuid); 65 uuid,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 113 UUID uuid = pUuid.getUuid(); 114 msb = uuid.getMostSignificantBits(); 115 lsb = uuid.getLeastSignificantBits(); 125 UUID uuid; 128 uuid = uuids[i].getUuid(); 129 msb = uuid.getMostSignificantBits(); 130 lsb = uuid.getLeastSignificantBits(); 140 UUID uuid;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | IntentUtilities.java | 136 String uuid = uri.getQueryParameter(ACCOUNT_UUID_PARAM); 137 return TextUtils.isEmpty(uuid) ? null : uuid;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
H A D | NewStorageActivity.java | 430 final String uuid = info.getFsUuid(); 438 if (info.getType() != VolumeInfo.TYPE_PUBLIC || TextUtils.isEmpty(uuid)) { 441 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid); 503 final String uuid = info.getFsUuid(); 505 if (info.getType() != VolumeInfo.TYPE_PUBLIC || TextUtils.isEmpty(uuid)) { 508 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 186 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 187 if (uuid == null) { 190 if (D) Log.d(TAG, "onConnect(): uuid=" + Arrays.toString(uuid)); 192 if (uuid.length != UUID_LENGTH) { 197 if (uuid[i] != PBAP_TARGET[i]) { 202 reply.setHeader(HeaderSet.WHO, uuid); 219 if (V) Log.v(TAG, "onConnect(): uuid is ok, will send out " +
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterService.java | 1321 ParcelUuid uuid, int port, int flag) { 1329 return service.connectSocket(device, type, uuid, port, flag); 1333 ParcelUuid uuid, int port, int flag) { 1341 return service.createSocketChannel(type, serviceName, uuid, port, flag); 1343 public boolean sdpSearch(BluetoothDevice device, ParcelUuid uuid) { argument 1351 return service.sdpSearch(device,uuid); 1587 boolean sdpSearch(BluetoothDevice device,ParcelUuid uuid) { argument 1590 mSdpManager.sdpSearch(device,uuid); 2092 ParcelUuid uuid, int port, int flag) { 2095 type, Utils.uuidToByteArray(uuid), por 1320 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument 1332 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 2091 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument 2103 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 2542 sdpSearchNative(byte[] address, byte[] uuid) argument 2558 connectSocketNative(byte[] address, int type, byte[] uuid, int port, int flag, int callingUid) argument 2560 createSocketChannelNative(int type, String serviceName, byte[] uuid, int port, int flag, int callingUid) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | Storage.java | 280 String uuid = UUID.randomUUID().toString(); 281 builder.scheme(CAMERA_SESSION_SCHEME).authority(GOOGLE_COM).appendPath(uuid);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapObexServer.java | 314 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 316 if (uuid == null) { 319 if (D) Log.d(TAG, "onConnect(): uuid=" + Arrays.toString(uuid)); 321 if (uuid.length != UUID_LENGTH) { 326 if (uuid[i] != MAP_TARGET[i]) { 331 reply.setHeader(HeaderSet.WHO, uuid); 367 if (V) Log.v(TAG, "onConnect(): uuid is ok, will send out " +
|