/frameworks/base/core/java/android/view/ |
D | AbsSavedState.java | 20 import android.os.Parcelable; 26 public abstract class AbsSavedState implements Parcelable { 29 private final Parcelable mSuperState; 43 protected AbsSavedState(Parcelable superState) { in AbsSavedState() 67 Parcelable superState = source.readParcelable(loader); in AbsSavedState() 71 final public Parcelable getSuperState() { in getSuperState() 83 public static final @android.annotation.NonNull Parcelable.Creator<AbsSavedState> CREATOR 84 = new Parcelable.ClassLoaderCreator<AbsSavedState>() { 93 Parcelable superState = in.readParcelable(loader);
|
D | TaskTransitionSpec.java | 20 import android.os.Parcelable; 30 public class TaskTransitionSpec implements Parcelable { 54 public static final @android.annotation.NonNull Parcelable.Creator<TaskTransitionSpec> 55 CREATOR = new Parcelable.Creator<TaskTransitionSpec>() {
|
/frameworks/base/core/java/android/os/ |
D | ParcelableHolder.java | 71 public final class ParcelableHolder implements Parcelable { 77 private Parcelable mParcelable; 84 private @Parcelable.Stability int mStability = Parcelable.PARCELABLE_STABILITY_LOCAL; 86 public ParcelableHolder(@Parcelable.Stability int stability) { in ParcelableHolder() 100 public @Parcelable.Stability int getStability() { in getStability() 105 public static final Parcelable.Creator<ParcelableHolder> CREATOR = 106 new Parcelable.Creator<ParcelableHolder>() { 129 public void setParcelable(@Nullable Parcelable p) { in setParcelable() 153 public <T extends Parcelable> T getParcelable(@NonNull Class<T> clazz) { in getParcelable() 240 return mParcel.hasFileDescriptors() ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents()
|
D | BatteryProperty.java | 19 import android.os.Parcelable; 29 public class BatteryProperty implements Parcelable { 70 public static final @android.annotation.NonNull Parcelable.Creator<BatteryProperty> CREATOR 71 = new Parcelable.Creator<BatteryProperty>() {
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | ParceledListSlice.java | 21 import android.os.Parcelable; 32 public class ParceledListSlice<T extends Parcelable> extends BaseParceledListSlice<T> { 41 public static <T extends Parcelable> ParceledListSlice<T> emptyList() { in emptyList() 62 dest.writeParcelableCreator((Parcelable) parcelable); in writeParcelableCreator() 66 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() 71 public static final Parcelable.ClassLoaderCreator<ParceledListSlice> CREATOR = 72 new Parcelable.ClassLoaderCreator<ParceledListSlice>() {
|
/frameworks/native/include/binder/ |
D | Parcelable.h | 34 class Parcelable { 36 virtual ~Parcelable() = default; 38 Parcelable() = default; 39 Parcelable(const Parcelable&) = default;
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcelable.h | 34 class Parcelable { 36 virtual ~Parcelable() = default; 38 Parcelable() = default; 39 Parcelable(const Parcelable&) = default;
|
/frameworks/base/core/java/android/content/pm/ |
D | ParceledListSlice.java | 22 import android.os.Parcelable; 35 public class ParceledListSlice<T extends Parcelable> extends BaseParceledListSlice<T> { 45 public static <T extends Parcelable> ParceledListSlice<T> emptyList() { in emptyList() 67 dest.writeParcelableCreator((Parcelable) parcelable); in writeParcelableCreator() 71 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() 77 public static final Parcelable.ClassLoaderCreator<ParceledListSlice> CREATOR = 78 new Parcelable.ClassLoaderCreator<ParceledListSlice>() {
|
/frameworks/base/errorprone/tests/res/android/os/ |
D | Parcel.java | 38 public final void writeParcelable(Parcelable p, int flags) { in writeParcelable() 45 public final <T extends Parcelable> void writeParcelableList(List<T> val, int flags) { in writeParcelableList() 48 public <T extends Parcelable> void writeTypedList(List<T> val, int flags) { in writeTypedList() 51 public final <T extends Parcelable> void writeParcelableArray(T[] value, int flags) { in writeParcelableArray() 54 public final <T extends Parcelable> void writeTypedArray(T[] val, int flags) { in writeTypedArray()
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | ParcelUtils.kt | 22 import android.os.Parcelable in <lambda>() 29 fun <T : Parcelable> parcelingRoundTrip(source: T): T { in <lambda>() 30 val creator: Parcelable.Creator<T> in <lambda>() 32 creator = source.javaClass.getField("CREATOR").get(null) as Parcelable.Creator<T> in <lambda>() 54 fun <T : Parcelable> assertParcelingIsLossless( in assertParcelingIsLossless() 63 fun <T : Parcelable> assertParcelSane( in assertParcelSane()
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable_holder.rs | 20 BorrowedParcel, Deserialize, Parcel, Parcelable, Serialize, NON_NULL_PARCELABLE_FLAG, 44 trait AnyParcelable: DowncastSync + Parcelable + std::fmt::Debug {} 46 impl<T> AnyParcelable for T where T: DowncastSync + Parcelable + std::fmt::Debug {} 51 Parcelable { parcelable: Arc<dyn AnyParcelable>, name: String }, enumerator 92 T: Any + Parcelable + ParcelableMetadata + std::fmt::Debug + Send + Sync, in set_parcelable() 99 ParcelableHolderData::Parcelable { parcelable: p, name: T::get_descriptor().into() }; in set_parcelable() 119 T: Any + Parcelable + ParcelableMetadata + Default + std::fmt::Debug + Send + Sync, in get_parcelable() 125 ParcelableHolderData::Parcelable { ref parcelable, ref name } => { in get_parcelable() 151 *data = ParcelableHolderData::Parcelable { parcelable, name }; in get_parcelable() 184 impl Parcelable for ParcelableHolder { [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbConfiguration.java | 22 import android.os.Parcelable; 39 public class UsbConfiguration implements Parcelable { 47 private @Nullable Parcelable[] mInterfaces; 151 public void setInterfaces(@NonNull Parcelable[] interfaces) { in setInterfaces() 168 public static final @android.annotation.NonNull Parcelable.Creator<UsbConfiguration> CREATOR = 169 new Parcelable.Creator<UsbConfiguration>() { 175 Parcelable[] interfaces = in.readParcelableArray(
|
D | UsbInterface.java | 21 import android.os.Parcelable; 37 public class UsbInterface implements Parcelable { 47 private Parcelable[] mEndpoints; 146 public void setEndpoints(Parcelable[] endpoints) { in setEndpoints() 165 public static final @android.annotation.NonNull Parcelable.Creator<UsbInterface> CREATOR = 166 new Parcelable.Creator<UsbInterface>() { 174 Parcelable[] endpoints = in.readParcelableArray(UsbEndpoint.class.getClassLoader());
|
/frameworks/base/telecomm/java/android/telecom/ |
D | TelecomAnalytics.java | 21 import android.os.Parcelable; 30 public final class TelecomAnalytics implements Parcelable { 31 public static final @android.annotation.NonNull Parcelable.Creator<TelecomAnalytics> CREATOR = 32 new Parcelable.Creator<TelecomAnalytics> () { 45 public static final class SessionTiming extends TimedEvent<Integer> implements Parcelable { 46 public static final @android.annotation.NonNull Parcelable.Creator<SessionTiming> CREATOR = 47 new Parcelable.Creator<SessionTiming> () {
|
D | ParcelableCallAnalytics.java | 21 import android.os.Parcelable; 31 public class ParcelableCallAnalytics implements Parcelable { 33 public static final class VideoEvent implements Parcelable { 39 public static final @android.annotation.NonNull Parcelable.Creator<VideoEvent> CREATOR = 40 new Parcelable.Creator<VideoEvent> () { 94 public static final class AnalyticsEvent implements Parcelable { 140 public static final @android.annotation.NonNull Parcelable.Creator<AnalyticsEvent> CREATOR = 141 new Parcelable.Creator<AnalyticsEvent> () { 187 public static final class EventTiming implements Parcelable { 206 public static final @android.annotation.NonNull Parcelable.Creator<EventTiming> CREATOR = [all …]
|
/frameworks/base/core/java/android/companion/ |
D | AssociatedDevice.java | 21 import android.os.Parcelable; 36 public final class AssociatedDevice implements Parcelable { 41 @NonNull private final Parcelable mDevice; 44 public AssociatedDevice(@NonNull Parcelable device) { in AssociatedDevice() 49 Creator<? extends Parcelable> creator = getDeviceCreator(in.readInt()); in AssociatedDevice() 108 private static Creator<? extends Parcelable> getDeviceCreator(int deviceType) { in getDeviceCreator() 118 public static final Parcelable.Creator<AssociatedDevice> CREATOR = 119 new Parcelable.Creator<AssociatedDevice>() {
|
/frameworks/base/core/java/com/android/internal/preference/ |
D | YesNoPreference.java | 23 import android.os.Parcelable; 102 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() 103 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState() 115 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState() 141 public SavedState(Parcelable superState) { in SavedState() 145 public static final Parcelable.Creator<SavedState> CREATOR = 146 new Parcelable.Creator<SavedState>() {
|
/frameworks/base/core/tests/coretests/src/android/app/time/ |
D | ParcelableTestSupport.java | 22 import android.os.Parcelable; 33 public static <T extends Parcelable> T roundTripParcelable(T parcelable) { in roundTripParcelable() 38 Parcelable.Creator<T> creator; in roundTripParcelable() 41 creator = (Parcelable.Creator<T>) creatorField.get(null); in roundTripParcelable() 50 public static <T extends Parcelable> void assertRoundTripParcelable(T instance) { in assertRoundTripParcelable()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallInfo.java | 20 import android.os.Parcelable; 25 public class CallInfo implements Parcelable { 48 public static final Parcelable.Creator<CallInfo> CREATOR 49 = new Parcelable.Creator<CallInfo> () {
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | VendorTagDescriptor.java | 20 import android.os.Parcelable; 30 public final class VendorTagDescriptor implements Parcelable { 35 … public static final @android.annotation.NonNull Parcelable.Creator<VendorTagDescriptor> CREATOR = 36 new Parcelable.Creator<VendorTagDescriptor>() {
|
D | VendorTagDescriptorCache.java | 20 import android.os.Parcelable; 30 public final class VendorTagDescriptorCache implements Parcelable { 35 …public static final @android.annotation.NonNull Parcelable.Creator<VendorTagDescriptorCache> CREAT… 36 new Parcelable.Creator<VendorTagDescriptorCache>() {
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputConnectionCommandHeader.java | 21 import android.os.Parcelable; 27 public final class InputConnectionCommandHeader implements Parcelable { 50 public static final Parcelable.Creator<InputConnectionCommandHeader> CREATOR = 51 new Parcelable.Creator<InputConnectionCommandHeader>() {
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeyAttestationApplicationId.java | 20 import android.os.Parcelable; 30 public class KeyAttestationApplicationId implements Parcelable { 58 …public static final @android.annotation.NonNull Parcelable.Creator<KeyAttestationApplicationId> CR… 59 = new Parcelable.Creator<KeyAttestationApplicationId>() {
|
/frameworks/base/core/java/android/net/ |
D | MatchAllNetworkSpecifier.java | 23 import android.os.Parcelable; 34 public final class MatchAllNetworkSpecifier extends NetworkSpecifier implements Parcelable { 67 public static final @NonNull Parcelable.Creator<MatchAllNetworkSpecifier> CREATOR = 68 new Parcelable.Creator<MatchAllNetworkSpecifier>() {
|
D | ConnectivityMetricsEvent.java | 20 import android.os.Parcelable; 29 public final class ConnectivityMetricsEvent implements Parcelable { 40 public Parcelable data; 54 …public static final @android.annotation.NonNull Parcelable.Creator<ConnectivityMetricsEvent> CREAT… 55 = new Parcelable.Creator<ConnectivityMetricsEvent> (){
|