Home
last modified time | relevance | path

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

/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() argument
38 return super.instantiateActivity(classLoader, className, intent); in instantiateActivity()
44 classLoader, EventLibActivity.class.getName(), intent); in instantiateActivity()
51 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver() argument
55 return super.instantiateReceiver(classLoader, className, intent); in instantiateReceiver()
62 classLoader, EventLibDeviceAdminReceiver.class.getName(), in instantiateReceiver()
71 classLoader, EventLibDelegatedAdminReceiver.class.getName(), in instantiateReceiver()
82 classLoader, EventLibBroadcastReceiver.class.getName(), intent); in instantiateReceiver()
89 public Service instantiateService(ClassLoader classLoader, String className, Intent intent) in instantiateService() argument
92 return super.instantiateService(classLoader, className, intent); in instantiateService()
[all …]
/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() argument
143 return super.instantiateActivity(classLoader, className, intent); in instantiateActivity()
149 classLoader, BaseTestAppActivity.class.getName(), intent); in instantiateActivity()
156 public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String className, in instantiateReceiver() argument
162 return super.instantiateReceiver(classLoader, className, intent); in instantiateReceiver()
169 classLoader, BaseTestAppDeviceAdminReceiver.class.getName(), in instantiateReceiver()
178 classLoader, BaseTestAppDelegatedAdminReceiver.class.getName(), in instantiateReceiver()
188 classLoader, BaseTestAppBroadcastReceiver.class.getName(), intent); in instantiateReceiver()
195 public Service instantiateService(ClassLoader classLoader, String className, Intent intent) in instantiateService() argument
200 return super.instantiateService(classLoader, className, intent); in instantiateService()
[all …]
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DTestResultObserver.java61 ClassLoader classLoader = getClass().getClassLoader(); in finalizeErrorString() local
63 while (classLoader != null) { in finalizeErrorString()
64 mErrorString.append(" ").append(classLoader.toString()).append("\n"); in finalizeErrorString()
65 classLoader = classLoader.getParent(); in finalizeErrorString()
DResourceStore.java56 public static Stream<VirtualPath> readResource(ClassLoader classLoader, String resourceName) { in readResource() argument
58 VirtualPath resourcePath = VirtualPath.get(classLoader, resourceName); in readResource()
DAbstractApiTest.java258 ClassLoader classLoader,
261 .flatMap(resourceName -> ResourceStore.readResource(classLoader, resourceName));
/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.java52 public static ResourcePath get(ClassLoader classLoader, String resourceName) in get() argument
54 return new ResourcePath(classLoader, resourceName); in get()
163 ResourcePath(ClassLoader classLoader, String path) throws IOException { in ResourcePath() argument
164 this.url = classLoader.getResource(path); in ResourcePath()
166 throw new IOException("Could not find resource '" + path + "' in " + classLoader); in ResourcePath()
/cts/hostsidetests/compilation/app_using_other_app/src/android/compilation/cts/appusingotherapp/
DUsingOtherAppTest.java46 ClassLoader classLoader = otherAppContext.getClassLoader(); in useOtherApp() local
47 Class<?> c = classLoader.loadClass("android.compilation.cts.appusedbyotherapp.MyActivity"); in useOtherApp()
/cts/hostsidetests/jvmti/tagging/app/src/art/
DMain.java23 public static native void bindAgentJNI(String className, ClassLoader classLoader); in bindAgentJNI() argument
/cts/hostsidetests/jvmti/redefining/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/tests/signature/api-check/shared-libs-api/src/android/signature/cts/api/
DSignatureMultiLibsTest.java110 ClassLoader classLoader = SignatureMultiLibsTest.class.getClassLoader(); in retrieveTestableSharedLibraries() local
111 try (InputStream is = classLoader.getResourceAsStream(SHARED_LIBRARY_LIST_RESOURCE_NAME)) { in retrieveTestableSharedLibraries()
/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/packageinstaller/packagescheme/src/android/packageinstaller/packagescheme/cts/
DPackageSchemeTestBase.kt219 val resourceAsStream = javaClass.classLoader.getResourceAsStream(resourceName) 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()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt605 field public static final int classLoader = 16844139; // 0x101056b