/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/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 | 2231 public final void readMap(@NonNull Map outVal, @Nullable ClassLoader loader) { in readMap() argument 2233 readMapInternal(outVal, N, loader); in readMap() 2241 public final void readList(@NonNull List outVal, @Nullable ClassLoader loader) { in readList() argument 2243 readListInternal(outVal, N, loader); in readList() 2254 public final HashMap readHashMap(@Nullable ClassLoader loader) in readHashMap() argument 2261 readMapInternal(m, N, loader); in readHashMap() 2282 public final Bundle readBundle(@Nullable ClassLoader loader) { in readBundle() argument 2290 if (loader != null) { in readBundle() 2291 bundle.setClassLoader(loader); in readBundle() 2313 public final PersistableBundle readPersistableBundle(@Nullable ClassLoader loader) { in readPersistableBundle() argument [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/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/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/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/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/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/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
|
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/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/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 | 4347 ICarrierConfigLoader loader = getICarrierConfigLoader(); in getConfigForSubId() local 4348 if (loader == null) { in getConfigForSubId() 4353 return loader.getConfigForSubIdWithFeature(subId, mContext.getOpPackageName(), in getConfigForSubId() 4414 ICarrierConfigLoader loader = getICarrierConfigLoader(); in overrideConfig() local 4415 if (loader == null) { in overrideConfig() 4420 loader.overrideConfig(subscriptionId, overrideValues, persistent); in overrideConfig() 4489 ICarrierConfigLoader loader = getICarrierConfigLoader(); in notifyConfigChangedForSubId() local 4490 if (loader == null) { in notifyConfigChangedForSubId() 4495 loader.notifyConfigChangedForSubId(subId); in notifyConfigChangedForSubId() 4514 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()
|