/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/ |
D | DexBuilderTest.java | 40 ClassLoader loader = loadDexFile("trivial.dex"); in loadTrivialDex() local 41 loader.loadClass("android.startop.test.testcases.Trivial"); in loadTrivialDex() 46 ClassLoader loader = loadDexFile("simple.dex"); in return5() local 47 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in return5() 54 ClassLoader loader = loadDexFile("simple.dex"); in returnInteger5() local 55 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnInteger5() 62 ClassLoader loader = loadDexFile("simple.dex"); in returnParam() local 63 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnParam() 71 ClassLoader loader = loadDexFile("simple.dex"); in returnStringLength() local 72 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnStringLength() [all …]
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDex.java | 225 ClassLoader loader = getDexClassloader(mainContext); in doInstallation() local 226 if (loader == null) { in doInstallation() 247 installSecondaryDexes(loader, dexDir, files); in doInstallation() 256 installSecondaryDexes(loader, dexDir, files); in doInstallation() 279 ClassLoader loader; in getDexClassloader() local 281 loader = context.getClassLoader(); in getDexClassloader() 293 if (loader instanceof dalvik.system.BaseDexClassLoader) { in getDexClassloader() 294 return loader; in getDexClassloader() 296 } else if (loader instanceof dalvik.system.DexClassLoader in getDexClassloader() 297 || loader instanceof dalvik.system.PathClassLoader) { in getDexClassloader() [all …]
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | ParceledListSlice.java | 37 private ParceledListSlice(Parcel in, ClassLoader loader) { in ParceledListSlice() argument 38 super(in, loader); in ParceledListSlice() 66 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() argument 67 return from.readParcelableCreator(loader); in readParcelableCreator() 78 public ParceledListSlice createFromParcel(Parcel in, ClassLoader loader) { 79 return new ParceledListSlice(in, loader);
|
D | StringParceledListSlice.java | 36 private StringParceledListSlice(Parcel in, ClassLoader loader) { in StringParceledListSlice() argument 37 super(in, loader); in StringParceledListSlice() 60 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() argument 72 public StringParceledListSlice createFromParcel(Parcel in, ClassLoader loader) { 73 return new StringParceledListSlice(in, loader);
|
D | BaseParceledListSlice.java | 59 BaseParceledListSlice(Parcel p, ClassLoader loader) { in BaseParceledListSlice() argument 67 Parcelable.Creator<?> creator = readParcelableCreator(p, loader); in BaseParceledListSlice() 76 final T parcelable = readCreator(creator, p, loader); in BaseParceledListSlice() 104 final T parcelable = readCreator(creator, reply, loader); in BaseParceledListSlice() 117 private T readCreator(Parcelable.Creator<?> creator, Parcel p, ClassLoader loader) { in readCreator() argument 121 return (T) classLoaderCreator.createFromParcel(p, loader); in readCreator() 209 protected abstract Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader); in readParcelableCreator() argument
|
/frameworks/base/core/java/android/os/ |
D | ParcelableParcel.java | 31 public ParcelableParcel(ClassLoader loader) { in ParcelableParcel() argument 33 mClassLoader = loader; in ParcelableParcel() 36 public ParcelableParcel(Parcel src, ClassLoader loader) { in ParcelableParcel() argument 38 mClassLoader = loader; in ParcelableParcel() 78 public ParcelableParcel createFromParcel(Parcel in, ClassLoader loader) { 79 return new ParcelableParcel(in, loader);
|
D | Parcel.java | 2599 public final void readMap(@NonNull Map outVal, @Nullable ClassLoader loader) { in readMap() argument 2601 readMapInternal(outVal, N, loader); in readMap() 2609 public final void readList(@NonNull List outVal, @Nullable ClassLoader loader) { in readList() argument 2611 readListInternal(outVal, N, loader); in readList() 2622 public final HashMap readHashMap(@Nullable ClassLoader loader) in readHashMap() argument 2629 readMapInternal(m, N, loader); in readHashMap() 2650 public final Bundle readBundle(@Nullable ClassLoader loader) { in readBundle() argument 2658 if (loader != null) { in readBundle() 2659 bundle.setClassLoader(loader); in readBundle() 2681 public final PersistableBundle readPersistableBundle(@Nullable ClassLoader loader) { in readPersistableBundle() argument [all …]
|
/frameworks/base/tools/preload-check/device/src/com/android/preload/check/ |
D | IntegrityCheck.java | 24 ClassLoader loader = IntegrityCheck.class.getClassLoader(); in main() local 26 Util.assertNotInitialized("com.android.preload.check.IntegrityCheck$StatusHelper", loader); in main() 29 /* initialize */ true, loader); in main() 31 Util.assertInitialized("com.android.preload.check.IntegrityCheck$StatusHelper", loader); in main()
|
D | Util.java | 107 ClassLoader loader) { in assertInitializedState() argument 110 Class<?> klass = Class.forName(className, /* initialize */ false, loader); in assertInitializedState() 118 public static void assertNotInitialized(String className, ClassLoader loader) { in assertNotInitialized() argument 119 assertInitializedState(className, false, loader); in assertNotInitialized() 122 public static void assertInitialized(String className, ClassLoader loader) { in assertInitialized() argument 123 assertInitializedState(className, true, loader); in assertInitialized()
|
/frameworks/base/core/java/android/content/pm/ |
D | ParceledListSlice.java | 41 private ParceledListSlice(Parcel in, ClassLoader loader) { in ParceledListSlice() argument 42 super(in, loader); in ParceledListSlice() 71 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() argument 72 return from.readParcelableCreator(loader); in readParcelableCreator() 84 public ParceledListSlice createFromParcel(Parcel in, ClassLoader loader) { 85 return new ParceledListSlice(in, loader);
|
D | StringParceledListSlice.java | 38 private StringParceledListSlice(Parcel in, ClassLoader loader) { in StringParceledListSlice() argument 39 super(in, loader); in StringParceledListSlice() 62 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() argument 74 public StringParceledListSlice createFromParcel(Parcel in, ClassLoader loader) { 75 return new StringParceledListSlice(in, loader);
|
D | BaseParceledListSlice.java | 62 BaseParceledListSlice(Parcel p, ClassLoader loader) { in BaseParceledListSlice() argument 70 Parcelable.Creator<?> creator = readParcelableCreator(p, loader); in BaseParceledListSlice() 78 listElementClass = readVerifyAndAddElement(creator, p, loader, listElementClass); in BaseParceledListSlice() 98 listElementClass = readVerifyAndAddElement(creator, reply, loader, in BaseParceledListSlice() 109 ClassLoader loader, Class<?> listElementClass) { in readVerifyAndAddElement() argument 110 final T parcelable = readCreator(creator, p, loader); in readVerifyAndAddElement() 120 private T readCreator(Parcelable.Creator<?> creator, Parcel p, ClassLoader loader) { in readCreator() argument 124 return (T) classLoaderCreator.createFromParcel(p, loader); in readCreator() 214 protected abstract Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader); in readParcelableCreator() argument
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaParceledListSlice.java | 51 private MediaParceledListSlice(Parcel in, ClassLoader loader) { in MediaParceledListSlice() argument 52 super(in, loader); in MediaParceledListSlice() 81 Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator() argument 82 return from.readParcelableCreator(loader); in readParcelableCreator() 94 public MediaParceledListSlice createFromParcel(Parcel in, ClassLoader loader) { 95 return new MediaParceledListSlice(in, loader);
|
D | BaseMediaParceledListSlice.java | 64 BaseMediaParceledListSlice(Parcel p, ClassLoader loader) { in BaseMediaParceledListSlice() argument 72 Parcelable.Creator<?> creator = readParcelableCreator(p, loader); in BaseMediaParceledListSlice() 81 final T parcelable = readCreator(creator, p, loader); in BaseMediaParceledListSlice() 109 final T parcelable = readCreator(creator, reply, loader); in BaseMediaParceledListSlice() 122 private T readCreator(Parcelable.Creator<?> creator, Parcel p, ClassLoader loader) { in readCreator() argument 126 return (T) classLoaderCreator.createFromParcel(p, loader); in readCreator() 214 abstract Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader); in readParcelableCreator() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WebViewZygoteInit.java | 78 ClassLoader loader = loadedApk.getClassLoader(); in handlePreloadApp() local 79 doPreload(loader, WebViewFactory.getWebViewLibrary(appInfo)); in handlePreloadApp() 94 ClassLoader loader = ApplicationLoaders.getDefault().createAndCacheWebViewClassLoader( in handlePreloadPackage() local 103 doPreload(loader, libFileName); in handlePreloadPackage() 108 private void doPreload(ClassLoader loader, String libFileName) { in doPreload() argument 111 WebViewLibraryLoader.loadNativeLibrary(loader, libFileName); in doPreload() 119 WebViewFactory.getWebViewProviderClass(loader); in doPreload()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 75 ClassLoader loader = getCachedNonBootclasspathSystemLib(zip, parent, classLoaderName, in getSharedLibraryClassLoaderWithSharedLibraries() local 77 if (loader != null) { in getSharedLibraryClassLoaderWithSharedLibraries() 78 return loader; in getSharedLibraryClassLoaderWithSharedLibraries() 116 ClassLoader loader = mLoaders.get(cacheKey); in getClassLoader() local 117 if (loader != null) { in getClassLoader() 118 return loader; in getClassLoader() 142 ClassLoader loader = ClassLoaderFactory.createClassLoader( in getClassLoader() local 145 return loader; in getClassLoader() 191 sharedLibraries.add(cached.loader); in createAndCacheNonBootclasspathSystemClassLoader() 207 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader() [all …]
|
/frameworks/base/tests/AppResourcesLoaders/src/com/android/example/loaders/ |
D | LoadersApplication.java | 21 import android.content.res.loader.ResourcesLoader; 22 import android.content.res.loader.ResourcesProvider; 39 final ResourcesLoader loader = new ResourcesLoader(); in onCreate() local 40 loader.addProvider(ResourcesProvider.loadFromApk(copyResource(LOADER_RESOURCES_APK))); in onCreate() 41 resources.addLoaders(loader); in onCreate()
|
/frameworks/base/libs/hwui/jni/pdf/ |
D | PdfUtils.cpp | 101 FPDF_FILEACCESS loader; in nativeOpen() local 102 loader.m_FileLen = size; in nativeOpen() 103 loader.m_Param = reinterpret_cast<void*>(intptr_t(fd)); in nativeOpen() 104 loader.m_GetBlock = &getBlock; in nativeOpen() 106 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeOpen()
|
/frameworks/base/core/java/android/view/ |
D | AbsSavedState.java | 66 protected AbsSavedState(Parcel source, ClassLoader loader) { in AbsSavedState() argument 67 Parcelable superState = source.readParcelable(loader); in AbsSavedState() 92 public AbsSavedState createFromParcel(Parcel in, ClassLoader loader) { 93 Parcelable superState = in.readParcelable(loader);
|
/frameworks/base/libs/androidfw/tests/data/loader/ |
D | build | 24 aapt2 link -I $FRAMEWORK_RES_APK --manifest AndroidManifest.xml -o loader.apk compiled.flata 25 unzip loader.apk resources.arsc 26 rm loader.apk
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 30 import androidx.loader.app.LoaderManager; 31 import androidx.loader.content.Loader; 340 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished() argument 350 final int id = loader.getId(); in onLoadFinished() 438 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset() argument 543 … final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakePhotoLoader; in onCursorChanged() local 545 loader.setPhotoUri(mResolvedPhotoUri); in onCursorChanged() 546 loader.forceLoad(); in onCursorChanged() 553 … final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakeThumbnailLoader; in onCursorChanged() local 555 loader.setPhotoUri(mThumbnailUri); in onCursorChanged() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixinCompat.java | 28 import androidx.loader.app.LoaderManager; 29 import androidx.loader.content.Loader; 122 public void onLoadFinished(Loader<List<Suggestion>> loader, List<Suggestion> data) { in onLoadFinished() argument 128 public void onLoaderReset(Loader<List<Suggestion>> loader) { in onLoaderReset() argument
|
/frameworks/base/test-runner/src/android/test/ |
D | LoaderTestCase.java | 55 public <T> T getLoaderResultSynchronously(final Loader<T> loader) { in getLoaderResultSynchronously() argument 80 loader.registerListener(0, listener); in getLoaderResultSynchronously() 81 loader.startLoading(); in getLoaderResultSynchronously()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 24 import android.content.res.loader.ResourcesLoader; 75 @Nullable ResourcesLoader[] loader) { in ResourcesKey() argument 80 mLoaders = (loader != null && loader.length == 0) ? null : loader; in ResourcesKey()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrinterRegistry.java | 114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId); in getPrinterProvider() local 115 return (FusedPrintersProvider) loader; in getPrinterProvider() 121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) { 132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
|