/** Removes all elements from the mapping of this Bundle. */ @Override public void clear() { super.clear(); mHasFds = false; mFdsKnown = true; }
/** * Writes the Bundle contents to a Parcel, typically in order for it to be passed through an * IBinder connection. * * @param parcel The parcel to copy this bundle to. */ @Override public void writeToParcel(Parcel parcel, int flags) { final boolean oldAllowFds = parcel.pushAllowFds(mAllowFds); try { super.writeToParcelInner(parcel, flags); } finally { parcel.restoreAllowFds(oldAllowFds); } }
/** * Inserts a char array value into the mapping of this Bundle, replacing any existing value for * the given key. Either key or value may be null. * * @param key a String, or null * @param value a char array object, or null */ @Override public void putCharArray(@Nullable String key, @Nullable char[] value) { super.putCharArray(key, value); }
/** * Inserts a short array value into the mapping of this Bundle, replacing any existing value for * the given key. Either key or value may be null. * * @param key a String, or null * @param value a short array object, or null */ @Override public void putShortArray(@Nullable String key, @Nullable short[] value) { super.putShortArray(key, value); }
/** * Inserts a byte array value into the mapping of this Bundle, replacing any existing value for * the given key. Either key or value may be null. * * @param key a String, or null * @param value a byte array object, or null */ @Override public void putByteArray(@Nullable String key, @Nullable byte[] value) { super.putByteArray(key, value); }
/** * Inserts a Serializable value into the mapping of this Bundle, replacing any existing value for * the given key. Either key or value may be null. * * @param key a String, or null * @param value a Serializable object, or null */ @Override public void putSerializable(@Nullable String key, @Nullable Serializable value) { super.putSerializable(key, value); }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing any * existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ @Override public void putCharSequenceArrayList( @Nullable String key, @Nullable ArrayList<CharSequence> value) { super.putCharSequenceArrayList(key, value); }
/** * Inserts an ArrayList<String> value into the mapping of this Bundle, replacing any existing * value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<String> object, or null */ @Override public void putStringArrayList(@Nullable String key, @Nullable ArrayList<String> value) { super.putStringArrayList(key, value); }
/** * Reads the Parcel contents into this Bundle, typically in order for it to be passed through an * IBinder connection. * * @param parcel The parcel to overwrite this bundle from. */ public void readFromParcel(Parcel parcel) { super.readFromParcelInner(parcel); mHasFds = mParcelledData.hasFileDescriptors(); mFdsKnown = true; }
/** * Inserts a float value into the mapping of this Bundle, replacing any existing value for the * given key. * * @param key a String, or null * @param value a float */ @Override public void putFloat(@Nullable String key, float value) { super.putFloat(key, value); }
/** * Inserts a short value into the mapping of this Bundle, replacing any existing value for the * given key. * * @param key a String, or null * @param value a short */ @Override public void putShort(@Nullable String key, short value) { super.putShort(key, value); }
/** * Inserts a char value into the mapping of this Bundle, replacing any existing value for the * given key. * * @param key a String, or null * @param value a char */ @Override public void putChar(@Nullable String key, char value) { super.putChar(key, value); }
/** * Inserts a byte value into the mapping of this Bundle, replacing any existing value for the * given key. * * @param key a String, or null * @param value a byte */ @Override public void putByte(@Nullable String key, byte value) { super.putByte(key, value); }
/** * Changes the ClassLoader this Bundle uses when instantiating objects. * * @param loader An explicit ClassLoader to use when instantiating objects inside of the Bundle. */ @Override public void setClassLoader(ClassLoader loader) { super.setClassLoader(loader); }
/** * Inserts a float array value into the mapping of this Bundle, replacing any existing value for * the given key. Either key or value may be null. * * @param key a String, or null * @param value a float array object, or null */ @Override public void putFloatArray(@Nullable String key, @Nullable float[] value) { super.putFloatArray(key, value); }
/** * Inserts a CharSequence array value into the mapping of this Bundle, replacing any existing * value for the given key. Either key or value may be null. * * @param key a String, or null * @param value a CharSequence array object, or null */ @Override public void putCharSequenceArray(@Nullable String key, @Nullable CharSequence[] value) { super.putCharSequenceArray(key, value); }
/** * Inserts an ArrayList<Integer> value into the mapping of this Bundle, replacing any existing * value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<Integer> object, or null */ @Override public void putIntegerArrayList(@Nullable String key, @Nullable ArrayList<Integer> value) { super.putIntegerArrayList(key, value); }