/external/chromium_org/device/bluetooth/ |
bluetooth_utils.cc | 22 std::string CanonicalUuid(std::string uuid) { 23 if (uuid.empty()) 26 if (uuid.size() < 11 && uuid.find("0x") == 0) 27 uuid = uuid.substr(2); 29 if (!(uuid.size() == 4 || uuid.size() == 8 || uuid.size() == 36)) 32 if (uuid.size() == 4 || uuid.size() == 8) [all...] |
bluetooth_utils.h | 15 // Takes a 4, 8 or 36 character UUID, validates it and returns it in 36 16 // character format with all hex digits lower case. If |uuid| is invalid, the 25 std::string CanonicalUuid(std::string uuid);
|
/external/e2fsprogs/lib/uuid/ |
unparse.c | 2 * unparse.c -- convert a UUID to string 53 struct uuid uuid; local 55 uuid_unpack(uu, &uuid); 57 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, 58 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, 59 uuid.node[0], uuid.node[1], uuid.node[2] [all...] |
uuidP.h | 2 * uuid.h -- private header file for uuids 38 #include <uuid/uuid_types.h> 42 #include <uuid/uuid.h> 50 struct uuid { struct 62 void uuid_pack(const struct uuid *uu, uuid_t ptr); 63 void uuid_unpack(const uuid_t in, struct uuid *uu);
|
parse.c | 2 * parse.c --- UUID parsing 44 struct uuid uuid; local 65 uuid.time_low = strtoul(in, NULL, 16); 66 uuid.time_mid = strtoul(in+9, NULL, 16); 67 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); 68 uuid.clock_seq = strtoul(in+19, NULL, 16); 74 uuid.node[i] = strtoul(buf, NULL, 16); 77 uuid_pack(&uuid, uu);
|
uuid_time.c | 2 * uuid_time.c --- Interpret the time field from a uuid. This program 3 * violates the UUID abstraction barrier by reaching into the guts 4 * of a UUID and interpreting it. 40 #define UUID MYUUID 59 struct uuid uuid; local 63 uuid_unpack(uu, &uuid); 65 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); 66 clock_reg = uuid.time_low | ((uint64_t) high << 32) 80 struct uuid uuid; local 88 struct uuid uuid; local [all...] |
/external/chromium_org/webkit/browser/blob/ |
blob_storage_host.cc | 33 bool BlobStorageHost::StartBuildingBlob(const std::string& uuid) { 34 if (!context_.get() || uuid.empty() || context_->IsInUse(uuid)) 36 context_->StartBuildingBlob(uuid); 37 blobs_inuse_map_[uuid] = 1; 42 const std::string& uuid, const BlobData::Item& data_item) { 43 if (!context_.get() || !IsBeingBuiltInHost(uuid)) 45 context_->AppendBlobDataItem(uuid, data_item); 49 bool BlobStorageHost::CancelBuildingBlob(const std::string& uuid) { 50 if (!context_.get() || !IsBeingBuiltInHost(uuid)) [all...] |
blob_storage_host.h | 37 // like a non-existent or pre-existent uuid or url. 38 bool StartBuildingBlob(const std::string& uuid) WARN_UNUSED_RESULT; 39 bool AppendBlobDataItem(const std::string& uuid, 41 bool CancelBuildingBlob(const std::string& uuid) WARN_UNUSED_RESULT; 42 bool FinishBuildingBlob(const std::string& uuid, 44 bool IncrementBlobRefCount(const std::string& uuid) WARN_UNUSED_RESULT; 45 bool DecrementBlobRefCount(const std::string& uuid) WARN_UNUSED_RESULT; 47 const std::string& uuid) WARN_UNUSED_RESULT; 53 bool IsInUseInHost(const std::string& uuid); 54 bool IsBeingBuiltInHost(const std::string& uuid); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/ |
UUIDTest.java | 20 import java.util.UUID; 29 * @see UUID#UUID(long, long) 32 UUID uuid = new UUID(0xf81d4fae7dec11d0L, 0xa76500a0c91e6bf6L); local 33 assertEquals(2, uuid.variant()); 34 assertEquals(1, uuid.version()); 35 assertEquals(0x1d07decf81d4faeL, uuid.timestamp()); 36 assertEquals(130742845922168750L, uuid.timestamp()) 45 UUID uuid = new UUID(0, 0); local 57 UUID uuid = new UUID(0, 0); local 69 UUID uuid = new UUID(0, 0); local 87 UUID uuid = new UUID(0, 0x0000000000000000L); local 120 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 143 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 169 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 207 UUID uuid = new UUID(0, 0); local 240 UUID uuid = new UUID(0xf81d4fae7dec11d0L, 0xa76500a0c91e6bf6L); local 269 UUID uuid = UUID.randomUUID(); local 283 UUID uuid = UUID.nameUUIDFromBytes(name); local 364 UUID uuid = UUID.fromString("0-0-0-0-0"); local [all...] |
/external/e2fsprogs/lib/e2p/ |
uuid.c | 2 * uuid.c -- utility routines for manipulating UUID's. 16 struct uuid { struct 24 /* Returns 1 if the uuid is the NULL uuid */ 36 static void e2p_unpack_uuid(void *in, struct uuid *uu) 64 struct uuid uuid; local 66 e2p_unpack_uuid(uu, &uuid); 69 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version [all...] |
/system/extras/ext4_utils/ |
uuid.c | 27 #include "uuid.h" 30 struct uuid { struct 53 struct uuid *uuid = (struct uuid *)result; local 56 memcpy(uuid, sha1, sizeof(struct uuid)); 58 uuid->time_low = ntohl(uuid->time_low); 59 uuid->time_mid = ntohs(uuid->time_mid) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothUuid.java | 23 import java.util.UUID; 35 * uuid * 2^96 + BASE_UUID 84 public static boolean isAudioSource(ParcelUuid uuid) { 85 return uuid.equals(AudioSource); 88 public static boolean isAudioSink(ParcelUuid uuid) { 89 return uuid.equals(AudioSink); 92 public static boolean isAdvAudioDist(ParcelUuid uuid) { 93 return uuid.equals(AdvAudioDist); 96 public static boolean isHandsfree(ParcelUuid uuid) { 97 return uuid.equals(Handsfree) 213 UUID uuid = parcelUuid.getUuid(); local 224 UUID uuid = parcelUuid.getUuid(); local [all...] |
/external/e2fsprogs/contrib/python-uuid/ |
uuid.c | 3 #include <uuid/uuid.h> 8 char uuid[37]; local 11 uuid_unparse(u, uuid); 12 return Py_BuildValue("s", uuid); 16 {"generate", _uuid_generate, METH_VARARGS, "Generate UUID"},
|
setup.py | 4 uuid = Extension('e2fsprogs_uuid', variable 5 sources = ['uuid.c'], 6 libraries = ['uuid']) 10 description = 'This is python uuid interface', 11 ext_modules = [uuid])
|
/frameworks/base/media/java/android/media/ |
MediaCrypto.java | 20 import java.util.UUID; 33 * Query if the given scheme identified by its UUID is supported on 35 * @param uuid The UUID of the crypto scheme. 37 public static final boolean isCryptoSchemeSupported(UUID uuid) { 38 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid)); 41 private static final byte[] getByteArrayFromUUID(UUID uuid) { 42 long msb = uuid.getMostSignificantBits() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ServiceDeclaration.java | 22 import java.util.UUID; 36 UUID uuid = null; field in class:ServiceDeclaration.Entry 44 Entry(UUID uuid, int serviceType, int instance) { 46 this.uuid = uuid; 51 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { 53 this.uuid = uuid [all...] |
/external/chromium_org/chrome/common/extensions/permissions/ |
bluetooth_permission.h | 22 // A Bluetooth profile uuid that should be checked for permission to access. 24 explicit CheckParam(std::string uuid) 25 : uuid(uuid) {} 26 const std::string uuid; member in struct:extensions::BluetoothPermission::CheckParam
|
bluetooth_permission_data.h | 26 explicit BluetoothPermissionData(const std::string& uuid); 29 // matches the uuid of this object. 41 // The uuid |this| matches against. 42 const std::string& uuid() const { return uuid_; } function in class:extensions::BluetoothPermissionData 46 std::string& uuid() { return uuid_; } function in class:extensions::BluetoothPermissionData
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_uuid.py | 3 import uuid namespace 28 'urn:uuid:00000000-0000-0000-0000-000000000000', 29 0, 0, uuid.RESERVED_NCS, None), 37 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 38 0x607040500010203L, 0x809, uuid.RESERVED_NCS, None), 46 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 47 0x82e946702d9e6d5L, 0xf9b, uuid.RFC_4122, 3), 55 'urn:uuid:12345678-1234-5678-1234-567812345678', 56 0x678123412345678L, 0x1234, uuid.RESERVED_NCS, None), 64 'urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_uuid.py | 3 import uuid namespace 28 'urn:uuid:00000000-0000-0000-0000-000000000000', 29 0, 0, uuid.RESERVED_NCS, None), 37 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 38 0x607040500010203L, 0x809, uuid.RESERVED_NCS, None), 46 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 47 0x82e946702d9e6d5L, 0xf9b, uuid.RFC_4122, 3), 55 'urn:uuid:12345678-1234-5678-1234-567812345678', 56 0x678123412345678L, 0x1234, uuid.RESERVED_NCS, None), 64 'urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8' [all...] |
/device/lge/hammerhead/ |
audio_effects.conf | 39 # list of effects to load. Each effect element must contain a "library" and a "uuid" element. 42 # The name of the effect element is indicative, only the value of the "uuid" element 44 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 45 # generic effect type UUID. 49 # uuid <effect uuid> 60 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 66 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy 73 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzz [all...] |
/device/asus/flo/ |
audio_effects.conf | 36 # list of effects to load. Each effect element must contain a "library" and a "uuid" element. 39 # The name of the effect element is indicative, only the value of the "uuid" element 41 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 42 # generic effect type UUID. 46 # uuid <effect uuid> 54 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 58 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 62 uuid ce772f20-847d-11df-bb17-0002a5d5c51 [all...] |
/device/lge/mako/ |
audio_effects.conf | 29 # list of effects to load. Each effect element must contain a "library" and a "uuid" element. 32 # The name of the effect element is indicative, only the value of the "uuid" element 34 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 35 # generic effect type UUID. 39 # uuid <effect uuid> 47 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 51 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 55 uuid ce772f20-847d-11df-bb17-0002a5d5c51 [all...] |
/external/clang/test/CodeGenCXX/ |
microsoft-uuidof-unsupported-target.cpp | 11 struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S { };
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceInfo.java | 22 import java.util.UUID; 56 * @param uuid a string representation of this UUID in the following format, 71 public static WifiP2pUpnpServiceInfo newInstance(String uuid, 73 if (uuid == null || device == null) { 74 throw new IllegalArgumentException("uuid or device cannnot be null"); 76 UUID.fromString(uuid); 80 info.add(createSupplicantQuery(uuid, null)); 81 info.add(createSupplicantQuery(uuid, "upnp:rootdevice")) [all...] |