Searched defs:classLoader (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DSmokeTestSuiteBuilder.java31 public SmokeTestSuiteBuilder(String name, ClassLoader classLoader) { argument
32 super(name, classLoader);
H A DUnitTestSuiteBuilder.java31 public UnitTestSuiteBuilder(String name, ClassLoader classLoader) { argument
32 super(name, classLoader);
H A DTestGrouping.java57 private final ClassLoader classLoader; field in class:TestGrouping
59 TestGrouping(Comparator<Class<? extends TestCase>> comparator, ClassLoader classLoader) { argument
61 this.classLoader = classLoader;
132 ClassPathPackageInfoSource source = ClassPathPackageInfoSource.forClassPath(classLoader);
H A DTestSuiteBuilder.java67 public TestSuiteBuilder(String name, ClassLoader classLoader) { argument
69 this.testGrouping = new TestGrouping(SORT_BY_FULLY_QUALIFIED_NAME, classLoader);
/frameworks/base/core/jni/
H A Dandroid_os_GraphicsEnvironment.cpp31 void setLayerPaths_native(JNIEnv* env, jobject clazz, jobject classLoader, jstring layerPaths) { argument
32 android_namespace_t* appNamespace = android::FindNamespaceByClassLoader(env, classLoader);
H A Dcom_android_internal_os_ClassLoaderFactory.cpp26 jobject classLoader,
33 classLoader, isShared == JNI_TRUE,
24 createClassloaderNamespace_native(JNIEnv* env, jobject clazz, jobject classLoader, jint targetSdkVersion, jstring librarySearchPath, jstring libraryPermittedPath, jboolean isShared, jboolean isForVendor) argument
H A Dandroid_app_NativeActivity.cpp275 jbyteArray savedState, jobject classLoader, jstring libraryPath) {
287 classLoader,
272 loadNativeCode_native(JNIEnv* env, jobject clazz, jstring path, jstring funcName, jobject messageQueue, jstring internalDataDir, jstring obbDir, jstring externalDataDir, jint sdkVersion, jobject jAssetMgr, jbyteArray savedState, jobject classLoader, jstring libraryPath) argument
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java37 public TestCaseCollector(ClassLoader classLoader, TestCaseFilter filter) { argument
38 mClassLoader = classLoader;
H A DUiAutomatorTestRunner.java398 protected TestCaseCollector getTestCaseCollector(ClassLoader classLoader) { argument
399 return new TestCaseCollector(classLoader, getTestCaseFilter());
/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java118 void addPath(ClassLoader classLoader, String dexPath) { argument
119 if (!(classLoader instanceof PathClassLoader)) {
122 final PathClassLoader baseDexClassLoader = (PathClassLoader) classLoader;
129 void addNative(ClassLoader classLoader, Collection<String> libPaths) { argument
130 if (!(classLoader instanceof PathClassLoader)) {
133 final PathClassLoader baseDexClassLoader = (PathClassLoader) classLoader;
H A DNativeActivity.java90 AssetManager assetMgr, byte[] savedState, ClassLoader classLoader, String libraryPath);
156 BaseDexClassLoader classLoader = (BaseDexClassLoader) getClassLoader();
157 String path = classLoader.findLibrary(libname);
161 " using classloader: " + classLoader.toString());
171 classLoader, classLoader.getLdLibraryPath());
88 loadNativeCode(String path, String funcname, MessageQueue queue, String internalDataPath, String obbPath, String externalDataPath, int sdkVersion, AssetManager assetMgr, byte[] savedState, ClassLoader classLoader, String libraryPath) argument
H A DResourcesManager.java595 @NonNull ClassLoader classLoader, @NonNull ResourcesImpl impl,
606 && Objects.equals(resources.getClassLoader(), classLoader)
615 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader)
616 : new Resources(classLoader);
630 private @NonNull Resources getOrCreateResourcesLocked(@NonNull ClassLoader classLoader, argument
638 Objects.equals(resources.getClassLoader(), classLoader) &&
648 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader)
649 : new Resources(classLoader);
675 * @param classLoader The class loader to use when inflating Resources. If null, the
687 @Nullable ClassLoader classLoader) {
594 getOrCreateResourcesForActivityLocked(@onNull IBinder activityToken, @NonNull ClassLoader classLoader, @NonNull ResourcesImpl impl, @NonNull CompatibilityInfo compatInfo) argument
679 createBaseActivityResources(@onNull IBinder activityToken, @Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @NonNull CompatibilityInfo compatInfo, @Nullable ClassLoader classLoader) argument
734 getOrCreateResources(@ullable IBinder activityToken, @NonNull ResourcesKey key, @NonNull ClassLoader classLoader) argument
833 getResources(@ullable IBinder activityToken, @Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @NonNull CompatibilityInfo compatInfo, @Nullable ClassLoader classLoader) argument
[all...]
/frameworks/base/core/java/android/os/
H A DGraphicsEnvironment.java70 public void setLayerPaths(ClassLoader classLoader, argument
75 mClassLoader = classLoader;
218 private static native void setLayerPaths(ClassLoader classLoader, String layerPaths); argument
/frameworks/base/core/java/com/android/internal/os/
H A DClassLoaderFactory.java88 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent,
99 String errorMessage = createClassloaderNamespace(classLoader,
109 classLoader + ": " + errorMessage);
112 return classLoader;
115 private static native String createClassloaderNamespace(ClassLoader classLoader, argument
H A DRuntimeInit.java285 * @param classLoader the classLoader to load {@className} with
288 ClassLoader classLoader) {
292 cl = Class.forName(className, true, classLoader);
346 ClassLoader classLoader) {
365 return findStaticMain(args.startClass, args.startArgs, classLoader);
287 findStaticMain(String className, String[] argv, ClassLoader classLoader) argument
345 applicationInit(int targetSdkVersion, String[] argv, ClassLoader classLoader) argument
H A DZygoteInit.java902 public static final Runnable zygoteInit(int targetSdkVersion, String[] argv, ClassLoader classLoader) { argument
912 return RuntimeInit.applicationInit(targetSdkVersion, argv, classLoader);
921 int targetSdkVersion, String[] argv, ClassLoader classLoader) {
923 return RuntimeInit.findStaticMain(args.startClass, args.startArgs, classLoader);
920 childZygoteInit( int targetSdkVersion, String[] argv, ClassLoader classLoader) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableInflater.java85 * @param classLoader the class loader used to load custom drawables
88 public DrawableInflater(@NonNull Resources res, @NonNull ClassLoader classLoader) { argument
90 mClassLoader = classLoader;
/frameworks/base/tools/preload/
H A DRecord.java92 final int classLoader; field in class:Record
134 classLoader = Integer.parseInt(parts[4]);
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaAnalyzer.java54 public JavaAnalyzer(ClassLoader classLoader) { argument
56 mClassLoader = classLoader;
184 ClassLoader classLoader = new URLClassLoader(new URL[]{androidJar.toURI().toURL()},
186 new JavaAnalyzer(classLoader);
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java57 private final ClassLoader classLoader; field in class:ClassPathPackageInfoSource
59 private ClassPathPackageInfoSource(ClassLoader classLoader) { argument
60 this.classLoader = classLoader;
68 public static ClassPathPackageInfoSource forClassPath(ClassLoader classLoader) { argument
70 classPathSource = new ClassPathPackageInfoSource(classLoader);
94 (classLoader != null) ? classLoader : CLASS_LOADER));
/frameworks/base/test-runner/tests/src/android/test/
H A DAndroidTestRunnerTest.java284 public StubContext(ClassLoader classLoader) { argument
285 this.mClassLoader = classLoader;
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutLibTestCallback.java66 public LayoutLibTestCallback(ILogger logger, ClassLoader classLoader) { argument
68 mModuleClassLoader = classLoader;
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginInstanceManager.java313 ClassLoader classLoader = mManager.getClassLoader(info.sourceDir, info.packageName);
315 mContext.createApplicationContext(info, 0), classLoader);
316 Class<?> pluginClass = Class.forName(cls, true, classLoader);
391 public PluginContextWrapper(Context base, ClassLoader classLoader) { argument
393 mClassLoader = classLoader;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DDexManagerTests.java524 private void notifyDexLoad(TestData testData, List<String> classLoader, List<String> classPaths, argument
526 mDexManager.notifyDexLoad(testData.mPackageInfo.applicationInfo, classLoader, classPaths,
563 private TestData(String packageName, String loaderIsa, int userId, String classLoader) { argument
566 mClassLoader = classLoader;
/frameworks/base/core/java/android/content/res/
H A DResources.java234 * @param classLoader class loader for the package used to load custom
239 public Resources(@Nullable ClassLoader classLoader) { argument
240 mClassLoader = classLoader == null ? ClassLoader.getSystemClassLoader() : classLoader;

Completed in 395 milliseconds

12