PendingPermissionRequest(Parcel in) { instanceId = in.readString(); permissions = in.createStringArray(); requestCode = in.readInt(); }
/* package */ ChapterTocFrame(Parcel in) { super(ID); this.elementId = castNonNull(in.readString()); this.isRoot = in.readByte() != 0; this.isOrdered = in.readByte() != 0; this.children = in.createStringArray(); int subFrameCount = in.readInt(); subFrames = new Id3Frame[subFrameCount]; for (int i = 0; i < subFrameCount; i++) { subFrames[i] = in.readParcelable(Id3Frame.class.getClassLoader()); } }
protected SessionParams(Parcel in) { this.mode = in.readInt(); this.installFlags = in.readInt(); this.installLocation = in.readInt(); this.sizeBytes = in.readLong(); this.appPackageName = in.readString(); this.appIcon = in.readParcelable(Bitmap.class.getClassLoader()); this.appLabel = in.readString(); this.appIconLastModified = in.readLong(); this.originatingUri = in.readParcelable(Uri.class.getClassLoader()); this.referrerUri = in.readParcelable(Uri.class.getClassLoader()); this.abiOverride = in.readString(); this.volumeUuid = in.readString(); this.grantedRuntimePermissions = in.createStringArray(); }
protected GalleryApiInfo(Parcel in) { this.gid = in.readLong(); this.token = in.readString(); this.archiverKey = in.readString(); this.title = in.readString(); this.titleJpn = in.readString(); this.category = in.readInt(); this.thumb = in.readString(); this.uploader = in.readString(); this.posted = in.readLong(); this.filecount = in.readInt(); this.filesize = in.readLong(); this.expunged = in.readByte() != 0; this.rating = in.readFloat(); this.torrentcount = in.readInt(); this.tags = in.createStringArray(); }
protected GalleryInfo(Parcel in) { this.gid = in.readLong(); this.token = in.readString(); this.title = in.readString(); this.titleJpn = in.readString(); this.thumb = in.readString(); this.category = in.readInt(); this.posted = in.readString(); this.uploader = in.readString(); this.rating = in.readFloat(); this.simpleLanguage = in.readString(); this.simpleTags = in.createStringArray(); this.thumbWidth = in.readInt(); this.thumbHeight = in.readInt(); this.spanSize = in.readInt(); this.spanIndex = in.readInt(); this.spanGroupIndex = in.readInt(); }
@Test public void testWriteAndCreateNullStringArray() throws Exception { parcel.writeStringArray(null); parcel.setDataPosition(0); assertThat(parcel.createStringArray()).isNull(); }
@Test public void testCreateStringArray() { String[] strs = { "a1", "b2" }; parcel.writeStringArray(strs); parcel.setDataPosition(0); String[] newStrs = parcel.createStringArray(); assertTrue(Arrays.equals(strs, newStrs)); }
private Statm(Parcel in) { super(in); this.fields = in.createStringArray(); }
private Stat(Parcel in) { super(in); this.fields = in.createStringArray(); }
this.mItems = in.createStringArray(); mSelectedItemPosition = in.readInt();
private Vitamin(Parcel in){ theName = in.readString(); theBenefits = in.createStringArray(); theFoods = in.createStringArray(); }
protected Action(Parcel in) { permissions = in.createStringArray(); action = in.readInt(); fromIntention = in.readInt(); }
private Tool(Parcel in) { this.mName = in.readString(); this.mPrice = in.readString(); this.mDetails = in.createStringArray(); this.mDescription = in.readString(); }
public SavedState(@NonNull Parcel source) { super(source); values = new HashSet<>(); String[] strings = source.createStringArray(); Collections.addAll(values, strings); }
public RemoteInputParcel(Parcel in) { label = in.readString(); resultKey = in.readString(); choices = in.createStringArray(); allowFreeFormInput = in.readByte() != 0; extras = in.readParcelable(Bundle.class.getClassLoader()); }
protected DiootoConfig(Parcel in) { this.type = in.readInt(); this.imageUrls = in.createStringArray(); this.isFullScreen = in.readByte() != 0; this.contentViewOriginModels = in.createTypedArrayList(ContentViewOriginModel.CREATOR); this.position = in.readInt(); }
protected ClassCaller(Parcel in) { this.packageName = in.readString(); this.className = in.readString(); this.sParamsType = in.createStringArray(); this.params = in.readArray(Object[].class.getClassLoader()); }
protected SystemServiceCaller(Parcel in) { this.serviceName = in.readString(); this.methodName = in.readString(); this.sParamsType = in.createStringArray(); this.params = in.readArray(Object[].class.getClassLoader()); }
@Override public SingleModels createFromParcel(Parcel source) { SingleModels models = new SingleModels(); models.name = source.readString(); models.names = source.createStringArray(); return models; }
protected IssueRequest(Parcel in) { super(in); this.title = in.readString(); this.body = in.readString(); this.assignee = in.readString(); this.milestone = (Integer) in.readValue(Integer.class.getClassLoader()); this.milestoneName = in.readString(); this.labels = in.createStringArray(); int tmpState = in.readInt(); this.state = tmpState == -1 ? null : IssueState.values()[tmpState]; }