Home
last modified time | relevance | path

Searched refs:Parcelable (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/frameworks/base/core/java/android/view/
DAbsSavedState.java20 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);
DDisplayAddress.java22 import android.os.Parcelable;
28 public abstract class DisplayAddress implements Parcelable {
122 public static final @NonNull Parcelable.Creator<Physical> CREATOR =
123 new Parcelable.Creator<Physical>() {
166 public static final @NonNull Parcelable.Creator<Network> CREATOR =
167 new Parcelable.Creator<Network>() {
/frameworks/base/core/java/android/os/
DParcelableHolder.java27 public final class ParcelableHolder implements Parcelable {
33 private Parcelable mParcelable;
40 private @Parcelable.Stability int mStability = Parcelable.PARCELABLE_STABILITY_LOCAL;
42 public ParcelableHolder(@Parcelable.Stability int stability) { in ParcelableHolder()
56 public @Parcelable.Stability int getStability() { in getStability()
61 public static final Parcelable.Creator<ParcelableHolder> CREATOR =
62 new Parcelable.Creator<ParcelableHolder>() {
83 public synchronized boolean setParcelable(@Nullable Parcelable p) { in setParcelable()
102 public synchronized <T extends Parcelable> T getParcelable(@NonNull Class<T> clazz) { in getParcelable()
171 return mParcel.hasFileDescriptors() ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents()
DBundle.java38 public final class Bundle extends BaseBundle implements Cloneable, Parcelable {
333 if (obj instanceof Parcelable) { in hasFileDescriptors()
334 if ((((Parcelable)obj).describeContents() in hasFileDescriptors()
335 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0) { in hasFileDescriptors()
339 } else if (obj instanceof Parcelable[]) { in hasFileDescriptors()
340 Parcelable[] array = (Parcelable[]) obj; in hasFileDescriptors()
342 Parcelable p = array[n]; in hasFileDescriptors()
344 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0)) { in hasFileDescriptors()
350 SparseArray<? extends Parcelable> array = in hasFileDescriptors()
351 (SparseArray<? extends Parcelable>) obj; in hasFileDescriptors()
[all …]
/frameworks/base/core/java/android/content/pm/
DParceledListSlice.java22 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/native/include/binder/
DParcelable.h35 class Parcelable {
37 virtual ~Parcelable() = default;
39 Parcelable() = default;
40 Parcelable(const Parcelable&) = default;
/frameworks/native/libs/binder/include/binder/
DParcelable.h35 class Parcelable {
37 virtual ~Parcelable() = default;
39 Parcelable() = default;
40 Parcelable(const Parcelable&) = default;
/frameworks/libs/net/common/devicetests/com/android/testutils/
DParcelUtils.kt20 import android.os.Parcelable in <lambda>()
27 fun <T : Parcelable> parcelingRoundTrip(source: T): T { in <lambda>()
28 val creator: Parcelable.Creator<T> in <lambda>()
30 creator = source.javaClass.getField("CREATOR").get(null) as Parcelable.Creator<T> in <lambda>()
52 fun <T : Parcelable> assertParcelingIsLossless( in assertParcelingIsLossless()
61 fun <T : Parcelable> assertParcelSane( in assertParcelSane()
/frameworks/base/telecomm/java/android/telecom/
DTelecomAnalytics.java21 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> () {
DParcelableCallAnalytics.java21 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 {
138 public static final @android.annotation.NonNull Parcelable.Creator<AnalyticsEvent> CREATOR =
139 new Parcelable.Creator<AnalyticsEvent> () {
185 public static final class EventTiming implements Parcelable {
203 public static final @android.annotation.NonNull Parcelable.Creator<EventTiming> CREATOR =
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbConfiguration.java22 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(UsbInterface.class.getClassLoader());
DUsbInterface.java21 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/core/tests/coretests/src/android/app/timezonedetector/
DParcelableTestSupport.java22 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/core/java/android/net/
DIpSecUdpEncapResponse.java20 import android.os.Parcelable;
30 public final class IpSecUdpEncapResponse implements Parcelable {
47 return (fileDescriptor != null) ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents()
55 out.writeParcelable(fileDescriptor, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in writeToParcel()
86 …public static final @android.annotation.NonNull Parcelable.Creator<IpSecUdpEncapResponse> CREATOR =
87 new Parcelable.Creator<IpSecUdpEncapResponse>() {
DTestNetworkInterface.java21 import android.os.Parcelable;
29 public final class TestNetworkInterface implements Parcelable {
35 return (mFileDescriptor != null) ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents()
62 public static final Parcelable.Creator<TestNetworkInterface> CREATOR =
63 new Parcelable.Creator<TestNetworkInterface>() {
DConnectivityMetricsEvent.java20 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> (){
DMatchAllNetworkSpecifier.java22 import android.os.Parcelable;
33 public final class MatchAllNetworkSpecifier extends NetworkSpecifier implements Parcelable {
77 public static final @NonNull Parcelable.Creator<MatchAllNetworkSpecifier> CREATOR =
78 new Parcelable.Creator<MatchAllNetworkSpecifier>() {
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java23 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/telephony/java/android/telephony/
DCallAttributes.java23 import android.os.Parcelable;
34 public final class CallAttributes implements Parcelable {
133 public @Parcelable.ContentsFlags int describeContents() { in describeContents()
140 public void writeToParcel(Parcel dest, @Parcelable.WriteFlags int flags) { in writeToParcel()
146 …ublic static final @android.annotation.NonNull Parcelable.Creator<CallAttributes> CREATOR = new Pa…
/frameworks/base/media/apex/java/android/media/
DSession2CommandGroup.java24 import android.os.Parcelable;
38 public final class Session2CommandGroup implements Parcelable {
41 … public static final @android.annotation.NonNull Parcelable.Creator<Session2CommandGroup> CREATOR =
42 new Parcelable.Creator<Session2CommandGroup>() {
73 Parcelable[] commands = in.readParcelableArray(Session2Command.class.getClassLoader()); in Session2CommandGroup()
75 for (Parcelable command : commands) { in Session2CommandGroup()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java21 import android.os.Parcelable;
35 public final class BluetoothHealthAppConfiguration implements Parcelable {
100 …public static final @android.annotation.NonNull Parcelable.Creator<BluetoothHealthAppConfiguration…
101 new Parcelable.Creator<BluetoothHealthAppConfiguration>() {
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java20 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/media/java/android/media/
DRemoteDisplayState.java21 import android.os.Parcelable;
32 public final class RemoteDisplayState implements Parcelable {
79 public static final @android.annotation.NonNull Parcelable.Creator<RemoteDisplayState> CREATOR =
80 new Parcelable.Creator<RemoteDisplayState>() {
92 public static final class RemoteDisplayInfo implements Parcelable {
179 … public static final @android.annotation.NonNull Parcelable.Creator<RemoteDisplayInfo> CREATOR =
180 new Parcelable.Creator<RemoteDisplayInfo>() {
/frameworks/base/core/java/android/security/keymaster/
DKeymasterBlob.java21 import android.os.Parcelable;
26 public class KeymasterBlob implements Parcelable {
33 public static final @android.annotation.NonNull Parcelable.Creator<KeymasterBlob> CREATOR = new
34 Parcelable.Creator<KeymasterBlob>() {
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java33 import android.os.Parcelable;
76 public static class ModuleProperties implements Parcelable {
145 public static final @android.annotation.NonNull Parcelable.Creator<ModuleProperties> CREATOR
146 = new Parcelable.Creator<ModuleProperties>() {
300 public static class Keyphrase implements Parcelable {
331 public static final @android.annotation.NonNull Parcelable.Creator<Keyphrase> CREATOR
332 = new Parcelable.Creator<Keyphrase>() {
429 public static class KeyphraseSoundModel extends SoundModel implements Parcelable {
441 … public static final @android.annotation.NonNull Parcelable.Creator<KeyphraseSoundModel> CREATOR
442 = new Parcelable.Creator<KeyphraseSoundModel>() {
[all …]

12345678910>>...44