public IVirtualBox createFromParcel(Parcel in) { VBoxSvc vmgr = in.readParcelable(loader); String id = in.readString(); Map<String, Object> cache = new HashMap<String, Object>(); in.readMap(cache, loader); return (IVirtualBox) vmgr.getProxy(IVirtualBox.class, id, cache); }
@Override public State createFromParcel(Parcel in) { final State state = new State(); state.action = in.readInt(); state.userMode = in.readInt(); state.acceptMimes = in.readStringArray(); state.userSortOrder = in.readInt(); state.allowMultiple = in.readInt() != 0; state.showSize = in.readInt() != 0; state.localOnly = in.readInt() != 0; state.forceAdvanced = in.readInt() != 0; state.showAdvanced = in.readInt() != 0; state.stackTouched = in.readInt() != 0; state.restored = in.readInt() != 0; DurableUtils.readFromParcel(in, state.stack); state.currentSearch = in.readString(); in.readMap(state.dirState, null); return state; }
public ImmutableMap(Parcel in) { LinkedHashMap<K, V> temp = new LinkedHashMap<>(); in.readMap(temp, CLASS_LOADER); //noinspection unchecked map = Collections.unmodifiableMap(temp); }