Home
last modified time | relevance | path

Searched refs:classLoader (Results 1 – 12 of 12) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibAppComponentFactory.java33 public Activity instantiateActivity(ClassLoader classLoader, String className, Intent intent) in instantiateActivity() argument
37 return super.instantiateActivity(classLoader, className, intent); in instantiateActivity()
43 classLoader, EventLibActivity.class.getName(), intent); in instantiateActivity()
50 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver() argument
54 return super.instantiateReceiver(classLoader, className, intent); in instantiateReceiver()
61 classLoader, EventLibBroadcastReceiver.class.getName(), intent); in instantiateReceiver()
/cts/common/device-side/bedstead/testapp/src/main/testapps/java/com/android/bedstead/testapp/
DTestAppAppComponentFactory.java36 public Activity instantiateActivity(ClassLoader classLoader, String className, Intent intent) in instantiateActivity() argument
40 return super.instantiateActivity(classLoader, className, intent); in instantiateActivity()
46 classLoader, BaseTestAppActivity.class.getName(), intent); in instantiateActivity()
53 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver() argument
57 return super.instantiateReceiver(classLoader, className, intent); in instantiateReceiver()
64 classLoader, BaseTestAppBroadcastReceiver.class.getName(), intent); in instantiateReceiver()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DTestResultObserver.java54 ClassLoader classLoader = getClass().getClassLoader(); in finalizeErrorString() local
56 while (classLoader != null) { in finalizeErrorString()
57 mErrorString.append(" ").append(classLoader).append("\n"); in finalizeErrorString()
58 classLoader = classLoader.getParent(); in finalizeErrorString()
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/
DAttachingTest.java58 private ClassLoader classLoader; field in AttachingTest
62 public AttachingTest(String agentString, ClassLoader classLoader, in AttachingTest() argument
65 this.classLoader = classLoader; in AttachingTest()
191 Debug.attachJvmtiAgent(tmpFile.getAbsolutePath(), null, classLoader); in a_attachInvalidAgent() local
196 Debug.attachJvmtiAgent(agentString + ".invalid", null, classLoader); in a_attachInvalidPath()
201 Debug.attachJvmtiAgent(null, null, classLoader); in a_attachNullAgent()
209 Debug.attachJvmtiAgent(tmpFile.getAbsolutePath(), null, classLoader); in a_attachWithEquals() local
214 Debug.attachJvmtiAgent(agentString, null, classLoader); in a_attachWithNullOptions()
219 Debug.attachJvmtiAgent(agentString, "b", classLoader); in a_attachWithBadOptions()
225 Debug.attachJvmtiAgent(agentString, "a", classLoader); in b_attach()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java51 public static ResourcePath get(ClassLoader classLoader, String resourceName) in get() argument
53 return new ResourcePath(classLoader, resourceName); in get()
109 ResourcePath(ClassLoader classLoader, String path) throws IOException { in ResourcePath() argument
110 this.url = classLoader.getResource(path); in ResourcePath()
112 throw new IOException("Could not find resource '" + path + "' in " + classLoader); in ResourcePath()
/cts/tests/tests/permission3/UsePermissionApp22CalendarOnly/src/android/permission3/cts/usepermission/
DCheckPermissionService.kt37 extras.classLoader = testContext.classLoader in onHandleIntent()
/cts/hostsidetests/jvmti/redefining/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI() argument
/cts/hostsidetests/jvmti/tagging/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI() argument
/cts/hostsidetests/jvmti/allocation-tracking/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI() argument
/cts/hostsidetests/packagemanager/domainverification/host/src/com/android/cts/packagemanager/verify/domain/host/
DDomainVerificationHostUtils.kt39 javaClass.classLoader!!.getResource(javaResourceName)!!.openStream().use { input -> in <lambda>()
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/
DApkGenerator.kt91 ApkGenerator::class.java.classLoader!!.getResource(GENERATED_APKS_FILE)!!.openStream() in <lambda>()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java798 final ClassLoader classLoader = cls.getClassLoader(); in loadCompanion() local
803 (Class<InspectionCompanion<T>>) classLoader.loadClass(companionName); in loadCompanion()