Lines Matching refs:loader

119  * that class to be reconstructed from the appropriate class loader when
1823 public final void readMap(Map outVal, ClassLoader loader) {
1825 readMapInternal(outVal, N, loader);
1830 * dataPosition(), using the given class loader to load any enclosed
1831 * Parcelables. If it is null, the default class loader is used.
1833 public final void readList(List outVal, ClassLoader loader) {
1835 readListInternal(outVal, N, loader);
1842 * class loader to load any enclosed Parcelables. Returns null if
1845 public final HashMap readHashMap(ClassLoader loader)
1852 readMapInternal(m, N, loader);
1867 * dataPosition(), using the given class loader to initialize the class
1868 * loader of the Bundle for later retrieval of Parcelable objects.
1871 public final Bundle readBundle(ClassLoader loader) {
1879 if (loader != null) {
1880 bundle.setClassLoader(loader);
1896 * dataPosition(), using the given class loader to initialize the class
1897 * loader of the Bundle for later retrieval of Parcelable objects.
1900 public final PersistableBundle readPersistableBundle(ClassLoader loader) {
1908 if (loader != null) {
1909 bundle.setClassLoader(loader);
2026 * null. The given class loader will be used to load any enclosed
2029 public final ArrayList readArrayList(ClassLoader loader) {
2035 readListInternal(l, N, loader);
2042 * null. The given class loader will be used to load any enclosed
2045 public final Object[] readArray(ClassLoader loader) {
2051 readArrayInternal(l, N, loader);
2058 * null. The given class loader will be used to load any enclosed
2061 public final SparseArray readSparseArray(ClassLoader loader) {
2067 readSparseArrayInternal(sa, N, loader);
2343 * Read a typed object from a parcel. The given class loader will be
2345 * loader will be used.
2347 public final Object readValue(ClassLoader loader) {
2361 return readHashMap(loader);
2364 return readParcelable(loader);
2385 return readArrayList(loader);
2403 return readArray(loader);
2415 return readSerializable(loader);
2418 return readParcelableArray(loader);
2421 return readSparseArray(loader);
2427 return readBundle(loader); // loading will be deferred
2430 return readPersistableBundle(loader);
2449 * Read and return a new Parcelable from the parcel. The given class loader
2451 * class loader will be used.
2452 * @param loader A ClassLoader from which to instantiate the Parcelable
2453 * object, or null for the default class loader.
2460 public final <T extends Parcelable> T readParcelable(ClassLoader loader) {
2461 Parcelable.Creator<?> creator = readParcelableCreator(loader);
2468 return (T) classLoaderCreator.createFromParcel(this, loader);
2476 ClassLoader loader) {
2480 return (T) classLoaderCreator.createFromParcel(this, loader);
2486 public final Parcelable.Creator<?> readParcelableCreator(ClassLoader loader) {
2493 HashMap<String,Parcelable.Creator<?>> map = mCreators.get(loader);
2496 mCreators.put(loader, map);
2501 // If loader == null, explicitly emulate Class.forName(String) "caller
2504 (loader == null ? getClass().getClassLoader() : loader);
2558 * The given class loader will be used to load any enclosed
2562 public final Parcelable[] readParcelableArray(ClassLoader loader) {
2569 p[i] = readParcelable(loader);
2583 private final Serializable readSerializable(final ClassLoader loader) {
2600 if (loader != null) {
2601 Class<?> c = Class.forName(osClass.getName(), false, loader);
2697 ClassLoader loader) {
2699 Object key = readValue(loader);
2700 Object value = readValue(loader);
2707 ClassLoader loader) {
2717 Object value = readValue(loader);
2728 ClassLoader loader) {
2738 Object value = readValue(loader);
2747 public void readArrayMap(ArrayMap outVal, ClassLoader loader) {
2752 readArrayMapInternal(outVal, N, loader);
2758 * @param loader The class loader to use.
2762 public @Nullable ArraySet<? extends Object> readArraySet(ClassLoader loader) {
2769 Object value = readValue(loader);
2776 ClassLoader loader) {
2778 Object value = readValue(loader);
2786 ClassLoader loader) {
2788 Object value = readValue(loader);
2795 ClassLoader loader) {
2798 Object value = readValue(loader);