Home
last modified time | relevance | path

Searched refs:creator (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java69 Parcelable.Creator<?> creator = readParcelableCreator(p, loader); in BaseParceledListSlice() local
78 final T parcelable = readCreator(creator, p, loader); in BaseParceledListSlice()
106 final T parcelable = readCreator(creator, reply, loader); in BaseParceledListSlice()
119 private T readCreator(Parcelable.Creator<?> creator, Parcel p, ClassLoader loader) { in readCreator() argument
120 if (creator instanceof Parcelable.ClassLoaderCreator<?>) { in readCreator()
122 (Parcelable.ClassLoaderCreator<?>) creator; in readCreator()
125 return (T) creator.createFromParcel(p); in readCreator()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarHelperRegistry.java84 @NonNull Context context, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateWithAppContext() argument
86 .getOrCreateHelper(context.getApplicationContext(), cls, creator); in getOrCreateWithAppContext()
108 @NonNull Context appContext, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateHelper() argument
113 helper = creator.createHelper(appContext); in getOrCreateHelper()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java70 AppearAnimationCreator<T> creator) { in startAnimation2d() argument
72 startAnimations(properties, objects, finishListener, creator); in startAnimation2d()
76 AppearAnimationCreator<T> creator) { in startAnimation() argument
78 startAnimations(properties, objects, finishListener, creator); in startAnimation()
82 final Runnable finishListener, AppearAnimationCreator<T> creator) { in startAnimations() argument
98 creator.createAnimation(objects[row], delay, mDuration, in startAnimations()
105 final Runnable finishListener, AppearAnimationCreator<T> creator) { in startAnimations() argument
122 creator.createAnimation(objects[row][col], delay, mDuration, in startAnimations()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DParcelableTestSupport.java38 Parcelable.Creator<T> creator; in roundTripParcelable() local
41 creator = (Parcelable.Creator<T>) creatorField.get(null); in roundTripParcelable()
45 T toReturn = parcel.readTypedObject(creator); in roundTripParcelable()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DParcelUtils.kt28 val creator: Parcelable.Creator<T> in <lambda>() constant
30 creator = source.javaClass.getField("CREATOR").get(null) as Parcelable.Creator<T> in <lambda>()
44 return creator.createFromParcel(p) in <lambda>()
/frameworks/base/core/java/android/os/
DParcel.java2593 @NonNull Parcelable.Creator<T> creator) { in createTypedSparseArray()
2601 final T value = readTypedObject(creator); in createTypedSparseArray()
2621 @NonNull Parcelable.Creator<T> creator) { in createTypedArrayMap()
2629 final T value = readTypedObject(creator); in createTypedArrayMap()
2969 Parcelable.Creator<?> creator = readParcelableCreator(loader); in readParcelable() local
2970 if (creator == null) { in readParcelable()
2973 if (creator instanceof Parcelable.ClassLoaderCreator<?>) { in readParcelable()
2975 (Parcelable.ClassLoaderCreator<?>) creator; in readParcelable()
2978 return (T) creator.createFromParcel(this); in readParcelable()
2985 public final <T extends Parcelable> T readCreator(@NonNull Parcelable.Creator<?> creator, in readCreator() argument
[all …]
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp75 void *creator = NULL; in CreateFromService() local
80 creator = sniff(source, &confidence, &meta, &freeMeta, plugin, &creatorVersion); in CreateFromService()
81 if (!creator) { in CreateFromService()
89 CMediaExtractor *ret = ((CreatorFunc)creator)(source->wrap(), meta); in CreateFromService()
/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/
DParcelablesTest.kt135 val creator = field.get(null) as Parcelable.Creator<T> in <lambda>() constant
137 return creator.createFromParcel(parcel) in <lambda>()
/frameworks/base/tests/net/java/android/net/ipmemorystore/
DParcelableTests.java118 final Parcelable.Creator<T> creator = (Parcelable.Creator<T>) in parcelingRoundTrip() local
120 final T unmarshalled = (T) creator.createFromParcel(q); in parcelingRoundTrip()
/frameworks/base/core/java/android/os/health/
DHealthStats.java466 Parcelable.Creator<T> creator) { in createParcelableMap() argument
470 result.put(in.readString(), creator.createFromParcel(in)); in createParcelableMap()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java1745 public boolean onPrintJobCreated(final IBinder creator, final int appId, in onPrintJobCreated() argument
1748 creator.linkToDeath(new DeathRecipient() { in onPrintJobCreated()
1751 creator.unlinkToDeath(this, 0); in onPrintJobCreated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1734 final String creator = mAppInfo != null ? mAppInfo.packageName : null; in persistSentMessageIfRequired() local
1735 if (!TextUtils.isEmpty(creator)) { in persistSentMessageIfRequired()
1736 values.put(Sms.CREATOR, creator); in persistSentMessageIfRequired()
/frameworks/layoutlib/create/
DREADME.txt188 As explained earlier, the creator doesn't have any replacement code for methods to override. Instead
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt25559 field public static final java.lang.String CREATOR = "creator";
25782 field public static final java.lang.String CREATOR = "creator";
/frameworks/base/non-updatable-api/
Dcurrent.txt39339 field public static final String CREATOR = "creator";
39591 field public static final String CREATOR = "creator";
/frameworks/base/api/
Dcurrent.txt39483 field public static final String CREATOR = "creator";
39735 field public static final String CREATOR = "creator";