Home | History | Annotate | Download | only in recommendation

Lines Matching defs:parcel

22 import android.os.Parcel;
89 * Read a list of blobs from the parcel and return it as a list of {@link InetAddress
92 * @param parcel the parcel to read the blobs from
96 * @see #writeToParcel(Parcel, int)
98 @NonNull private static ArrayList<InetAddress> readDiscoveredPrinters(@NonNull Parcel parcel) {
99 int numDiscoveredPrinters = parcel.readInt();
104 discoveredPrinters.add(InetAddress.getByAddress(parcel.readBlob()));
114 * Create a new recommendation from a parcel.
116 * @param parcel The parcel containing the data
120 private RecommendationInfo(@NonNull Parcel parcel) {
121 this(parcel.readCharSequence(), parcel.readCharSequence(), readDiscoveredPrinters(parcel),
122 parcel.readByte() != 0);
166 public void writeToParcel(Parcel dest, int flags) {
183 * @see #RecommendationInfo(Parcel)
188 public RecommendationInfo createFromParcel(Parcel in) {