/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/ |
D | DexBuilderTest.java | 37 ClassLoader loader = loadDexFile("trivial.dex"); in loadTrivialDex() local 38 loader.loadClass("android.startop.test.testcases.Trivial"); in loadTrivialDex() 43 ClassLoader loader = loadDexFile("simple.dex"); in return5() local 44 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in return5() 51 ClassLoader loader = loadDexFile("simple.dex"); in returnInteger5() local 52 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnInteger5() 59 ClassLoader loader = loadDexFile("simple.dex"); in returnParam() local 60 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnParam() 68 ClassLoader loader = loadDexFile("simple.dex"); in returnStringLength() local 69 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnStringLength() [all …]
|
/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 | 2226 public final void readMap(@NonNull Map outVal, @Nullable ClassLoader loader) { in readMap() argument 2228 readMapInternal(outVal, N, loader); in readMap() 2236 public final void readList(@NonNull List outVal, @Nullable ClassLoader loader) { in readList() argument 2238 readListInternal(outVal, N, loader); in readList() 2249 public final HashMap readHashMap(@Nullable ClassLoader loader) in readHashMap() argument 2256 readMapInternal(m, N, loader); in readHashMap() 2277 public final Bundle readBundle(@Nullable ClassLoader loader) { in readBundle() argument 2285 if (loader != null) { in readBundle() 2286 bundle.setClassLoader(loader); in readBundle() 2308 public final PersistableBundle readPersistableBundle(@Nullable ClassLoader loader) { in readPersistableBundle() argument [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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 92 public void preloadPlan(PreloadOptions opts, RecentsTaskLoader loader, int runningTaskId, in preloadPlan() argument 122 ActivityInfo info = loader.getAndUpdateActivityInfo(taskKey); in preloadPlan() 129 ? loader.getAndUpdateActivityTitle(taskKey, t.taskDescription) in preloadPlan() 132 ? loader.getAndUpdateContentDescription(taskKey, t.taskDescription) in preloadPlan() 135 ? loader.getAndUpdateActivityIcon(taskKey, t.taskDescription, false) in preloadPlan() 137 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, in preloadPlan() 139 int activityColor = loader.getActivityPrimaryColor(t.taskDescription); in preloadPlan() 140 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); in preloadPlan() 170 public void executePlan(Options opts, RecentsTaskLoader loader) { in executePlan() argument 191 task.icon = loader.getAndUpdateActivityIcon(taskKey, task.taskDescription, in executePlan() [all …]
|
/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 | 61 BaseParceledListSlice(Parcel p, ClassLoader loader) { in BaseParceledListSlice() argument 69 Parcelable.Creator<?> creator = readParcelableCreator(p, loader); in BaseParceledListSlice() 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 123 return (T) classLoaderCreator.createFromParcel(p, loader); in readCreator() 213 protected abstract Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader); in readParcelableCreator() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 74 ClassLoader loader = getCachedNonBootclasspathSystemLib(zip, parent, classLoaderName, in getSharedLibraryClassLoaderWithSharedLibraries() local 76 if (loader != null) { in getSharedLibraryClassLoaderWithSharedLibraries() 77 return loader; in getSharedLibraryClassLoaderWithSharedLibraries() 107 ClassLoader loader = mLoaders.get(cacheKey); in getClassLoader() local 108 if (loader != null) { in getClassLoader() 109 return loader; in getClassLoader() 132 ClassLoader loader = ClassLoaderFactory.createClassLoader( in getClassLoader() local 135 return loader; in getClassLoader() 181 sharedLibraries.add(cached.loader); in createAndCacheNonBootclasspathSystemClassLoader() 196 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader() [all …]
|
D | LoaderManager.java | 119 public void onLoadFinished(Loader<D> loader, D data); in onLoadFinished() argument 128 public void onLoaderReset(Loader<D> loader); in onLoaderReset() argument 402 public void onLoadCanceled(Loader<Object> loader) { in onLoadCanceled() argument 431 public void onLoadComplete(Loader<Object> loader, Object data) { in onLoadComplete() argument 465 callOnLoadFinished(loader, data); in onLoadComplete() 487 void callOnLoadFinished(Loader<Object> loader, Object data) { in callOnLoadFinished() argument 495 if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": " in callOnLoadFinished() 496 + loader.dataToString(data)); in callOnLoadFinished() 497 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished() 564 Loader<Object> loader = callback.onCreateLoader(id, args); in createLoader() local [all …]
|
/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()
|
D | AppZygoteInit.java | 77 ClassLoader loader = loadedApk.getClassLoader(); in handlePreloadApp() local 87 cl = Class.forName(preloadName.getClassName(), true, loader); in handlePreloadApp() 106 socketOut.writeInt(loader != null ? 1 : 0); in handlePreloadApp()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfUtils.cpp | 100 FPDF_FILEACCESS loader; in nativeOpen() local 101 loader.m_FileLen = size; in nativeOpen() 102 loader.m_Param = reinterpret_cast<void*>(intptr_t(fd)); in nativeOpen() 103 loader.m_GetBlock = &getBlock; in nativeOpen() 105 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/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/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
|
D | SuggestionControllerMixin.java | 123 public void onLoadFinished(Loader<List<Suggestion>> loader, List<Suggestion> data) { in onLoadFinished() argument 129 public void onLoaderReset(Loader<List<Suggestion>> loader) { in onLoaderReset() argument
|
/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/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) {
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 154 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in onTaskStackChangedBackground() local 156 loader.preloadTasks(plan, -1); in onTaskStackChangedBackground() 183 loader.loadTasks(plan, launchOpts); in onTaskStackChangedBackground() 314 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in onBootCompleted() local 316 loader.preloadTasks(plan, -1); in onBootCompleted() 318 launchOpts.numVisibleTasks = loader.getIconCacheSize(); in onBootCompleted() 319 launchOpts.numVisibleTaskThumbnails = loader.getThumbnailCacheSize(); in onBootCompleted() 321 loader.loadTasks(plan, launchOpts); in onBootCompleted() 518 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); 520 loader.preloadTasks(sInstanceLoadPlan, runningTask.id); [all …]
|
D | RecentsActivity.java | 415 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in reloadStackView() local 425 loader.preloadTasks(loadPlan, launchState.launchedToTaskId); in reloadStackView() 432 loader.loadTasks(loadPlan, loadOpts); in reloadStackView() 584 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in onTrimMemory() local 585 if (loader != null) { in onTrimMemory() 586 loader.onTrimMemory(level); in onTrimMemory() 745 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in onBusEvent() local 746 loader.deleteTaskData(event.task, false); in onBusEvent() 807 RecentsTaskLoader loader = LegacyRecentsImpl.getTaskLoader(); in reloadTaskStack() local 809 loader.preloadTasks(loadPlan, -1 /* runningTaskId */); in reloadTaskStack() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CarrierConfigManager.java | 3429 ICarrierConfigLoader loader = getICarrierConfigLoader(); in getConfigForSubId() local 3430 if (loader == null) { in getConfigForSubId() 3435 return loader.getConfigForSubId(subId, mContext.getOpPackageName()); in getConfigForSubId() 3467 ICarrierConfigLoader loader = getICarrierConfigLoader(); in overrideConfig() local 3468 if (loader == null) { in overrideConfig() 3473 loader.overrideConfig(subscriptionId, overrideValues); in overrideConfig() 3542 ICarrierConfigLoader loader = getICarrierConfigLoader(); in notifyConfigChangedForSubId() local 3543 if (loader == null) { in notifyConfigChangedForSubId() 3548 loader.notifyConfigChangedForSubId(subId); in notifyConfigChangedForSubId() 3567 ICarrierConfigLoader loader = getICarrierConfigLoader(); in updateConfigForPhoneId() local [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 40 TaskSnapshotCache(WindowManagerService service, TaskSnapshotLoader loader) { in TaskSnapshotCache() argument 42 mLoader = loader; in TaskSnapshotCache()
|
/frameworks/native/vulkan/ |
D | README.md | 3 This subdirectory contains Android's Vulkan loader, as well as some Vulkan-related tools useful to … 13 We generate several parts of the loader and tools from a Vulkan API description file, stored in `ap…
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder_test.cc | 30 art::ArtDexFileLoader loader; in EncodeAndVerify() local 32 std::unique_ptr<const art::DexFile> loaded_dex_file{loader.Open(image.ptr<const uint8_t>(), in EncodeAndVerify()
|