/external/skia/src/pdf/ |
SkPDFMetadata.h | 24 struct UUID { 27 UUID uuid() const; 28 static SkPDFObject* CreatePdfId(const UUID& doc, const UUID& instance); 29 SkPDFObject* createXMPObject(const UUID& doc, const UUID& instance) const;
|
/libcore/luni/src/test/java/libcore/java/util/ |
UUIDTest.java | 19 import java.util.UUID; 28 UUID.fromString("+f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); 33 UUID.fromString("f81d4fae-+7dec-11d0-a765-00a0c91e6bf6"); 38 UUID.fromString("f81d4fae-7dec-+11d0-a765-00a0c91e6bf6"); 43 UUID.fromString("f81d4fae-7dec-11d0-+a765-00a0c91e6bf6"); 48 UUID.fromString("f81d4fae-7dec-11d0-a765-+00a0c91e6bf6");
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Defaults.java | 21 import java.util.UUID; 28 static final UUID UUID = new UUID(0L, 0L);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/ |
BeanWithId.java | 18 import java.util.UUID; 22 private UUID id; 32 public UUID getId() { 36 public void setId(UUID id) {
|
/system/bt/service/common/bluetooth/ |
uuid.h | 28 class UUID { 38 // Creates and returns a random 128-bit UUID. 39 static UUID GetRandom(); 41 // Creates and returns a UUID in which all 128 bits are equal to 0. 42 static UUID GetNil(); 44 // Creates and returns a UUID in which all 128 bits are equal to 1. 45 static UUID GetMax(); 47 // Construct a Bluetooth 'base' UUID. 48 UUID(); 51 explicit UUID(const bt_uuid_t& uuid) [all...] |
uuid.cpp | 17 #include "service/common/bluetooth/uuid.h" 33 const UUID::UUID128Bit kSigBaseUUID = { 41 UUID UUID::GetRandom() { 44 return UUID(bytes); 48 UUID UUID::GetNil() { 51 return UUID(bytes); 55 UUID UUID::GetMax() [all...] |
scan_filter.h | 21 #include <bluetooth/uuid.h> 48 // The service UUID and its mask used while filtering scan results. See 52 UUID* service_uuid() const { return service_uuid_.get(); } 53 UUID* service_uuid_mask() const { return service_uuid_mask_.get(); } 55 // Sets the service UUID for this filter. 56 void SetServiceUuid(const UUID& service_uuid); 58 // Sets the service UUID for this filter with a 128-bit mask. The mask allows 60 // 128-bits of a UUID, set the corresponding bit in the mask to 1 to match the 62 void SetServiceUuidWithMask(const UUID& service_uuid, const UUID& mask) [all...] |
scan_filter.cpp | 28 service_uuid_.reset(new UUID(*other.service_uuid_)); 31 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_)); 39 service_uuid_.reset(new UUID(*other.service_uuid_)); 44 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_)); 59 void ScanFilter::SetServiceUuid(const UUID& service_uuid) { 60 service_uuid_.reset(new UUID(service_uuid)); 64 void ScanFilter::SetServiceUuidWithMask(const UUID& service_uuid, 65 const UUID& mask) { 66 service_uuid_.reset(new UUID(service_uuid)); 67 service_uuid_mask_.reset(new UUID(mask)) [all...] |
gatt_identifier.h | 22 #include <bluetooth/uuid.h> 40 const UUID& uuid, 43 int id, const UUID& uuid, 46 int id, const UUID& uuid, 54 const UUID& service_uuid, 55 const UUID& characteristic_uuid, 56 const UUID& descriptor_uuid [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/system/bt/service/example/heart_rate/ |
constants.h | 19 #include <bluetooth/uuid.h> 31 const bluetooth::UUID kCCCDescriptorUUID("2902"); 32 const bluetooth::UUID kHRServiceUUID("180D"); 33 const bluetooth::UUID kHRMeasurementUUID("2A37"); 34 const bluetooth::UUID kBodySensorLocationUUID("2A38"); 35 const bluetooth::UUID kHRControlPointUUID("2A39");
|
/system/bt/service/test/ |
uuid_unittest.cpp | 23 #include "service/common/bluetooth/uuid.h" 29 const std::array<uint8_t, UUID::kNumBytes128> kBtSigBaseUUID = { 36 // Verify that an uninitialized UUID is equal 37 // To the BT SIG Base UUID. 39 UUID uuid; local 40 ASSERT_TRUE(uuid.is_valid()); 41 ASSERT_TRUE(uuid.GetFullBigEndian() == kBtSigBaseUUID); 44 // Verify that we initialize a 16-bit UUID in a 50 UUID uuid(UUID::UUID16Bit({{ 0xde, 0xad }})) [all...] |
/system/bt/service/ |
bluetooth_instance.h | 25 #include "service/common/bluetooth/uuid.h" 30 // that is registered with the underlying Bluetooth stack using a UUID and has a 37 virtual const UUID& GetAppIdentifier() const = 0; 61 BLEStatus status, const UUID& app_uuid, 68 virtual bool RegisterInstance(const UUID& app_uuid,
|
gatt_server_old.h | 25 #include "service/common/bluetooth/uuid.h" 74 bool Initialize(const UUID& service_id, int* gatt_pipe); 77 bool SetAdvertisement(const std::vector<UUID>& ids, 83 bool SetScanResponse(const std::vector<UUID>& ids, 89 bool AddCharacteristic(const UUID &id, int properties, int permissions); 93 bool AddBlob(const UUID &id, const UUID &control_id, int properties, 98 bool SetCharacteristicValue(const UUID &id, const std::vector<uint8_t> &value); 101 bool GetCharacteristicValue(const UUID &id, std::vector<uint8_t> *value);
|
gatt_client.h | 25 #include "service/common/bluetooth/uuid.h" 38 const UUID& GetAppIdentifier() const override; 46 GattClient(const UUID& uuid, int client_id); 49 UUID app_identifier_; 67 bool RegisterInstance(const UUID& uuid, 79 std::unordered_map<UUID, RegisterCallback> pending_calls_;
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
StartupAnnounceMessage.java | 22 import java.util.UUID; 31 private final UUID trialId; 33 public StartupAnnounceMessage(UUID trialId) { 37 public UUID trialId() {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
UUIDConverter.java | 20 import java.util.UUID; 23 * UUID from/to byte array. 26 public static byte[] convert(UUID uuid) { 28 long msb = uuid.getMostSignificantBits(); 29 long lsb = uuid.getLeastSignificantBits(); 43 public static UUID convert(byte[] uuidBytes) { 46 return new UUID(b.getLong(), b.getLong());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
GattDbElement.java | 22 import java.util.UUID; 40 public UUID uuid; field in class:GattDbElement
|
ServiceDeclaration.java | 20 import java.util.UUID; 34 UUID uuid = null; field in class:ServiceDeclaration.Entry 42 Entry(UUID uuid, int serviceType, int instance) { 44 this.uuid = uuid; 49 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { 51 this.uuid = uuid [all...] |
/frameworks/base/core/java/android/os/ |
ParcelUuid.java | 19 import java.util.UUID; 22 * This class is a Parcelable wrapper around {@link UUID} which is an 28 private final UUID mUuid; 32 * given {@link UUID}. 34 * @param uuid UUID 36 public ParcelUuid(UUID uuid) { 37 mUuid = uuid; 41 * Creates a new ParcelUuid from a string representation of {@link UUID} [all...] |
/frameworks/base/media/java/android/media/ |
MediaCrypto.java | 21 import java.util.UUID; 34 * Query if the given scheme identified by its UUID is supported on 36 * @param uuid The UUID of the crypto scheme. 38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { 39 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid)); 43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { 44 long msb = uuid.getMostSignificantBits() [all...] |
/frameworks/base/media/java/android/media/soundtrigger/ |
SoundTriggerManager.java | 32 import java.util.UUID; 49 // Stores a mapping from the sound model UUID to the SoundTriggerInstance created by 51 private final HashMap<UUID, SoundTriggerDetector> mReceiverInstanceMap; 62 mReceiverInstanceMap = new HashMap<UUID, SoundTriggerDetector>(); 77 * Returns the sound trigger model represented by the given UUID. An instance of {@link Model} 80 public Model getModel(UUID soundModelId) { 90 * Deletes the sound model represented by the provided UUID. 92 public void deleteModel(UUID soundModelId) { 103 * invalidates any previously returned instances for the same sound model Uuid. 105 * @param soundModelId UUID of the sound model to create the receiver object for [all...] |
/libcore/ojluni/src/main/java/java/util/ |
UUID.java | 31 * A class that represents an immutable universally unique identifier (UUID). 32 * A UUID represents a 128-bit value. 36 * constructors allow the creation of any variant of UUID (described below). 38 * <p> The layout of a variant 2 (Leach-Salz) UUID is as follows: 55 * {@code UUID}. The bit layout described above is valid only for a {@code 56 * UUID} with a variant value of 2, which indicates the Leach-Salz variant. 59 * UUID}. There are four different basic types of UUIDs: time-based, DCE 63 * <p> For more information including algorithms used to create {@code UUID}s, 65 * Universally Unique IDentifier (UUID) URN Namespace</i></a>, section 4.2 66 * "Algorithms for Creating a Time-Based UUID" [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattDescriptor.java | 22 import java.util.UUID; 91 * The UUID of this descriptor. 94 protected UUID mUuid; 124 * @param uuid The UUID for this descriptor 127 public BluetoothGattDescriptor(UUID uuid, int permissions) { 128 initDescriptor(null, uuid, 0, permissions); 136 * @param uuid The UUID for this descripto [all...] |
/prebuilts/gdb/darwin-x86/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...] |