/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppPreference.java | 98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { 99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); 115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { 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) { 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) { [all...] |
/external/bluetooth/bluez/lib/ |
uuid.c | 33 #include "uuid.h" 133 * convert the UUID to string, copying a maximum of n characters. 135 int bt_uuid_to_string(const bt_uuid_t *uuid, char *str, size_t n) 137 if (!uuid) { 142 switch (uuid->type) { 144 snprintf(str, n, "%.4x", uuid->value.u16); 147 snprintf(str, n, "%.8x", uuid->value.u32); 160 hton128(&uuid->value.u128, &nvalue); 176 snprintf(str, n, "Type of UUID (%x) unknown.", uuid->type) [all...] |
/libcore/luni/src/main/java/java/util/ |
UUID.java | 30 * UUID is an immutable representation of a 128-bit universally unique 31 * identifier (UUID). 41 public final class UUID implements Serializable, Comparable<UUID> { 62 * The 64 most significant bits of the UUID. 64 * The 64 least significant bits of the UUID. 66 public UUID(long mostSigBits, long leastSigBits) { 117 * Generates a variant 2, version 4 (randomly generated number) UUID as per 120 * @return an UUID instance. 122 public static UUID randomUUID() [all...] |
/external/bluetooth/bluez/attrib/ |
gatt.c | 28 #include <bluetooth/uuid.h> 38 bt_uuid_t uuid; member in struct:discover_primary 46 bt_uuid_t *uuid; member in struct:discover_char 65 g_free(dc->uuid); 70 bt_uuid_t *uuid, uint8_t *pdu, size_t len) 77 if (uuid == NULL) { 86 /* Discover primary service by service UUID */ 88 if (uuid->type == BT_UUID16) { 89 u16 = htobs(uuid->value.u16); 93 htob128(&uuid->value.u128, &u128) 171 bt_uuid_t uuid; local 256 bt_uuid_t uuid; local 273 bt_uuid_t uuid; local 630 uuid_t uuid; local [all...] |
/external/bluetooth/bluez/src/ |
eir.c | 37 #define EIR_UUID16_SOME 0x02 /* 16-bit UUID, more available */ 38 #define EIR_UUID16_ALL 0x03 /* 16-bit UUID, all listed */ 39 #define EIR_UUID32_SOME 0x04 /* 32-bit UUID, more available */ 40 #define EIR_UUID32_ALL 0x05 /* 32-bit UUID, all listed */ 41 #define EIR_UUID128_SOME 0x06 /* 128-bit UUID, more available */ 42 #define EIR_UUID128_ALL 0x07 /* 128-bit UUID, all listed */ 181 struct uuid_info *uuid = list->data; local 182 uint8_t *uuid128_data = uuid->uuid.value.uuid128.data; 184 if (uuid->uuid.type != SDP_UUID128 281 struct uuid_info *uuid = l->data; local [all...] |
/frameworks/base/media/jni/ |
android_media_MediaCrypto.cpp | 46 const uint8_t uuid[16], const void *initData, size_t initSize) { 49 mCrypto = MakeCrypto(uuid, initData, initSize); 86 const uint8_t uuid[16], const void *initData, size_t initSize) { 93 status_t err = crypto->createPlugin(uuid, initData, initSize); 111 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { 118 return crypto->isCryptoSchemeSupported(uuid); 187 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); local 198 env, thiz, (const uint8_t *)uuid, initData, initDataLength); 207 env->ReleaseByteArrayElements(uuidObj, uuid, 0); 208 uuid = NULL 239 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); local [all...] |
/external/bluetooth/bluez/lib/bluetooth/ |
uuid.h | 58 int bt_uuid_to_string(const bt_uuid_t *uuid, char *str, size_t n); 59 int bt_string_to_uuid(bt_uuid_t *uuid, const char *string);
|
/external/clang/test/Parser/ |
MicrosoftExtensions.cpp | 47 struct __declspec(uuid(L"00000000-0000-0000-1234-000000000047")) uuid_attr_bad1 { };// expected-error {{'uuid' attribute requires parameter 1 to be a string}} 48 struct __declspec(uuid(3)) uuid_attr_bad2 { };// expected-error {{'uuid' attribute requires parameter 1 to be a string}} 49 struct __declspec(uuid("0000000-0000-0000-1234-0000500000047")) uuid_attr_bad3 { };// expected-error {{uuid attribute contains a malformed GUID}} 50 struct __declspec(uuid("0000000-0000-0000-Z234-000000000047")) uuid_attr_bad4 { };// expected-error {{uuid attribute contains a malformed GUID}} 51 struct __declspec(uuid("000000000000-0000-1234-000000000047")) uuid_attr_bad5 { };// expected-error {{uuid attribute contains a malformed GUID} [all...] |
/external/webkit/Source/WebCore/platform/ |
UUID.cpp | 32 #include "UUID.h" 60 QUuid uuid = QUuid::createUuid(); local 61 String canonicalUuidStr = uuid.toString().mid(1, 36).toLower(); // remove opening and closing bracket and make it lower. 65 GUID uuid = { 0 }; 66 HRESULT hr = CoCreateGuid(&uuid); 70 int num = StringFromGUID2(uuid, reinterpret_cast<LPOLESTR>(uuidStr), WTF_ARRAY_LENGTH(uuidStr)); 76 CFUUIDRef uuid = CFUUIDCreate(0); 77 CFStringRef uuidStrRef = CFUUIDCreateString(0, uuid); 80 CFRelease(uuid); 86 FILE* fptr = fopen("/proc/sys/kernel/random/uuid", "r") [all...] |
/external/webkit/Source/WebKit/win/Interfaces/ |
DOMExtensions.idl | 34 uuid(E6CEE774-41C6-4c1b-8832-798E49245E6B),
|
DOMPrivate.idl | 39 uuid(7FF28EC8-6DA1-498d-9A43-7E67C2D3128F), 63 uuid(2DF339BC-B48E-4d35-B93A-299756ED0B4B), 109 uuid(C8C5F0CD-07B0-4a32-BFA8-AE465E80DD3C), 131 uuid(6959F712-1563-4661-8D8C-F4C739C55839),
|
IWebCache.idl | 35 uuid(0673E6F5-AE63-4871-AAC6-6A1E0E6A99AB),
|
IWebCookieManager.idl | 44 uuid(7053FE94-3623-444f-A298-209A90879A8C),
|
IWebDocument.idl | 45 uuid(0A6397A7-90FE-49a0-B9C1-44693DD779F7), 108 uuid(0213643B-8DF9-4ba4-9534-61D92CB75007), 135 uuid(B6282B92-6F31-4948-A3A0-89763C56BBBF), 185 uuid(3C9F6251-CFD8-447a-B429-6B6AE627436C),
|
IWebFrameView.idl | 42 uuid(E23E1B15-78F6-4e89-AD2E-49992A040A35),
|
IWebGeolocationProvider.idl | 36 uuid(47F4CCF6-963D-4306-BE0B-8205C94672B5),
|
IWebHTTPURLResponse.idl | 35 uuid(56B54483-FA29-4ce5-96FA-2D9B81D57162),
|
IWebHistoryPrivate.idl | 32 uuid(B811003B-3475-46ad-9697-91D0D181CC05),
|
IWebJavaScriptCollector.idl | 35 uuid(E6A1D169-F44A-4d11-B55B-F0A406F47612),
|
IWebMutableURLRequestPrivate.idl | 45 uuid(AD675B60-2CE9-478c-B2AA-CAD643FF18AC),
|
IWebPluginHalterDelegate.idl | 37 uuid(2e0e5d9e-ffc9-4185-aa15-e66868d548ee),
|
IWebScriptWorld.idl | 34 uuid(EBD45575-8184-4f22-B849-A5FE88336055),
|
IWebSerializedJSValue.idl | 34 uuid(13B3F50A-C996-61A7-2247-3DCC88FB0B84),
|
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 2 * Universally Unique IDentifier (UUID) 12 #include "uuid.h" 64 int is_nil_uuid(const u8 *uuid) 68 if (uuid[i])
|
/frameworks/av/include/media/ |
ICrypto.h | 34 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const = 0; 37 const uint8_t uuid[16], const void *data, size_t size) = 0;
|