Home
last modified time | relevance | path

Searched refs:ClassLoader (Results 1 – 25 of 51) sorted by relevance

123

/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DMyFactory.java28 public Application instantiateApplication(ClassLoader cl, String className) in instantiateApplication()
37 public Activity instantiateActivity(ClassLoader cl, String className, Intent intent) in instantiateActivity()
46 public BroadcastReceiver instantiateReceiver(ClassLoader cl, String className, Intent intent) in instantiateReceiver()
55 public ContentProvider instantiateProvider(ClassLoader cl, String className) in instantiateProvider()
64 public Service instantiateService(ClassLoader cl, String className, Intent intent) in instantiateService()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderHelper.java44 ClassLoader loader = getClass().getClassLoader(); in getHashCodeNative()
48 private native int nativeGetHashCode(ClassLoader loader, Class<?> classLoaderClass); in nativeGetHashCode()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DPathClassLoaderFactory.java26 public ClassLoader instantiateClassLoader(ClassLoader defaultCL, ApplicationInfo aInfo) { in instantiateClassLoader()
DInMemoryDexClassLoaderFactory.java30 public ClassLoader instantiateClassLoader(ClassLoader defaultCL, ApplicationInfo aInfo) { in instantiateClassLoader()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DBaseReceiver.java30 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
31 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_a/src/com/android/cts/classloadersplitapp/feature_a/
DFeatureAReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
32 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_b/src/com/android/cts/classloadersplitapp/feature_b/
DFeatureBReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
32 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DPresubmitSetupValidation.java53 ClassLoader loader = ClassLoader.getSystemClassLoader(); in testDependencyCommonsCompress()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibAppComponentFactory.java34 public Activity instantiateActivity(ClassLoader classLoader, String className, Intent intent) in instantiateActivity()
51 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver()
89 public Service instantiateService(ClassLoader classLoader, String className, Intent intent) in instantiateService()
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/
DUsesLibraryTest.java42 ClassLoader loader = getClass().getClassLoader(); in testUsesLibrary()
54 ClassLoader loader = getClass().getClassLoader(); in testMissingLibrary()
72 ClassLoader loader = getClass().getClassLoader(); in testDuplicateLibrary()
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java74 ClassLoader.getSystemClassLoader().getParent()); in testCustomDexClassLoader()
92 ClassLoader.getSystemClassLoader().getParent()); in testCustomPathClassLoader()
DCustomPathClassLoader.java24 public CustomPathClassLoader(String dexPath, ClassLoader parent) { in CustomPathClassLoader()
DCustomDexClassLoader.java24 public CustomDexClassLoader(String dexPath, String optimizedDirectory, ClassLoader parent) { in CustomDexClassLoader()
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/
DAttachingTest.java58 private ClassLoader classLoader;
62 public AttachingTest(String agentString, ClassLoader classLoader, in AttachingTest()
137 private static InputStream getAgentInputStream(ClassLoader cl, String lib) throws Exception { in getAgentInputStream()
155 ClassLoader cl = AttachingTest.class.getClassLoader(); in copyAgentToFile()
/cts/hostsidetests/jvmti/tagging/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI()
/cts/hostsidetests/jvmti/redefining/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI()
/cts/hostsidetests/jvmti/allocation-tracking/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI()
/cts/hostsidetests/compilation/status_checker_app/src/android/compilation/cts/statuscheckerapp/
DStatusCheckerAppTest.java88 BiFunction<String, ClassLoader, ClassLoader> classLoaderCtor) throws Exception { in createAndLoadSecondaryDex() argument
153 public CustomClassLoader(String dexPath, ClassLoader parent) { in CustomClassLoader()
/cts/hostsidetests/security/app/src/android/security/cts/
DZipPathValidatorDeviceTest.java200 ClassLoader pcl = ZipPathValidatorDeviceTest.class.getClassLoader(); in loadingApksWillNotCallZipPathValidator_changeEnabledOrDisabled()
208 ClassLoader cl = new BaseDexClassLoader(jar.getPath(), null, null, in loadingApksWillNotCallZipPathValidator_changeEnabledOrDisabled()
209 ClassLoader.getSystemClassLoader()); in loadingApksWillNotCallZipPathValidator_changeEnabledOrDisabled()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAppComponentFactory.java138 public Activity instantiateActivity(ClassLoader classLoader, String className, Intent intent) in instantiateActivity()
156 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver()
195 public Service instantiateService(ClassLoader classLoader, String className, Intent intent) in instantiateService()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java52 public static ResourcePath get(ClassLoader classLoader, String resourceName) in get()
163 ResourcePath(ClassLoader classLoader, String path) throws IOException { in ResourcePath()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DBootClassPathClassesProvider.java104 ClassLoader cl = BootClassPathClassesProvider.class.getClassLoader(); in copyAgentToFile()
126 private static native String[] getClassloaderDescriptors(ClassLoader loader); in getClassloaderDescriptors()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvUtil.java45 ClassLoader.getSystemClassLoader() in getHdmiDeviceType()
/cts/hostsidetests/compilation/app_using_other_app/src/android/compilation/cts/appusingotherapp/
DUsingOtherAppTest.java46 ClassLoader classLoader = otherAppContext.getClassLoader(); in useOtherApp()
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java140 AbsSavedStateImpl(Parcel source, ClassLoader loader) { in AbsSavedStateImpl()
152 public AbsSavedStateImpl createFromParcel(Parcel source, ClassLoader loader) {

123