Searched refs:uuid (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DServiceDeclaration.java34 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 DHandleMap.java39 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 DGattDbElement.java40 public UUID uuid; field in class:GattDbElement
H A DScanFilterQueue.java54 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 DContextMap.java66 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 DGattDebugUtils.java47 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 DGattService.java344 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 DAdvertiseManager.java379 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 DAppScanStats.java250 appEntry.uuid + "\n");
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java97 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 DBluetoothOppPreference.java98 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 DBluetoothOppObexServerSession.java537 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 DSdpManagerTestServer.java154 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 DObexTest.java644 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 Dcom_android_bluetooth_sdp.cpp42 // 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 Dcom_android_bluetooth_gatt.cpp49 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 Dcom_android_bluetooth_btservice_AdapterService.cpp1097 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 DPlaceholderItem.java59 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 DUtils.java113 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 DIntentUtilities.java136 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 DNewStorageActivity.java430 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 DBluetoothPbapObexServer.java186 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 DAdapterService.java1321 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 DStorage.java280 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 DBluetoothMapObexServer.java314 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 " +

Completed in 849 milliseconds

12