Home | History | Annotate | Download | only in os

Lines Matching defs:ParcelUuid

26 public final class ParcelUuid implements Parcelable {
31 * Constructor creates a ParcelUuid instance from the
36 public ParcelUuid(UUID uuid) {
41 * Creates a new ParcelUuid from a string representation of {@link UUID}.
45 * @return a ParcelUuid instance.
51 public static ParcelUuid fromString(String uuid) {
52 return new ParcelUuid(UUID.fromString(uuid));
56 * Get the {@link UUID} represented by the ParcelUuid.
58 * @return UUID contained in the ParcelUuid.
65 * Returns a string representation of the ParcelUuid
82 * Compares this ParcelUuid to another object for equality. If {@code object}
83 * is not {@code null}, is a ParcelUuid instance, and all bits are equal, then
88 * @return {@code true} if this ParcelUuid is equal to {@code object}
101 if (!(object instanceof ParcelUuid)) {
105 ParcelUuid that = (ParcelUuid) object;
110 public static final Parcelable.Creator<ParcelUuid> CREATOR =
111 new Parcelable.Creator<ParcelUuid>() {
112 public ParcelUuid createFromParcel(Parcel source) {
116 return new ParcelUuid(uuid);
119 public ParcelUuid[] newArray(int size) {
120 return new ParcelUuid[size];