Home
last modified time | relevance | path

Searched refs:loadClass (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/app/
DAppComponentFactory.java76 return (Application) cl.loadClass(className).newInstance(); in instantiateApplication()
95 return (Activity) cl.loadClass(className).newInstance(); in instantiateActivity()
110 return (BroadcastReceiver) cl.loadClass(className).newInstance(); in instantiateReceiver()
129 return (Service) cl.loadClass(className).newInstance(); in instantiateService()
147 return (ContentProvider) cl.loadClass(className).newInstance(); in instantiateProvider()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java84 Class<ClassWithNative> clazz1 = (Class<ClassWithNative>) cl1.loadClass(NATIVE_CLASS_NAME); in testNoOp()
112 Class<?> clazz2 = loadClass(NATIVE_CLASS_NAME); in testNoOp()
167 Class<?> clazz2 = loadClass(NATIVE_CLASS_NAME); in testConstructorAfterDelegate()
199 Class<?> outerClazz2 = loadClass(OUTER_CLASS_NAME); in testInnerConstructorAfterDelegate()
202 Class<?> clazz2 = loadClass(INNER_CLASS_NAME); in testInnerConstructorAfterDelegate()
234 Class<?> clazz2 = loadClass(STATIC_INNER_CLASS_NAME); in testStaticInnerConstructorAfterDelegate()
266 Class<?> clazz2 = loadClass(CLASS_WITH_STATIC_INIT_NAME); in testDelegateStaticInitializer()
270 Class<?> delegateClass = loadClass(CLASS_WITH_STATIC_INIT_NAME + "_Delegate"); in testDelegateStaticInitializer()
300 Class<?> clazz2 = loadClass(INNER_CLASS_WITH_STATIC_INIT_NAME); in testDelegateInnerClassStaticInitializer()
304 Class<?> delegateClass = loadClass(INNER_CLASS_WITH_STATIC_INIT_DELEGATE_NAME); in testDelegateInnerClassStaticInitializer()
[all …]
DStubClassAdapterTest.java47 Class<?> aClass = myClassLoader.loadClass(newClassName); in testStubbedClass()
DRefactorClassAdapterTest.java60 Class<?> clazz2 = loadClass(USAGE_CLASS_NAME); in testRefactorWithLambdas()
DStubMethodAdapterTest.java65 Class<?> aClass = myClassLoader.loadClass(newClassName); in testBoolean()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutlibBridgeClientCallback.java68 Class<?> rClass = mModuleClassLoader.loadClass(mPackageName + ".R"); in initResources()
101 Class<?> viewClass = mModuleClassLoader.loadClass(name); in loadView()
185 return mModuleClassLoader.loadClass(name); in findClass()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java107 return callback.loadClass(linearLayoutMgrClassName, LLM_CONSTRUCTOR_SIGNATURE, in createLayoutManager()
123 return layoutlibCallback.loadClass(adapterClassName, new Class[0], new Object[0]); in createAdapter()
DSupportPreferencesUtil.java72 Object instance = callback.loadClass(className, constructorSignature, constructorArgs); in instantiateClass()
/frameworks/base/core/java/android/view/inspector/
DStaticInspectionCompanionProvider.java39 (Class<InspectionCompanion<T>>) cls.getClassLoader().loadClass(companionName); in provide()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java261 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in PluginManagerImpl.ClassLoaderFilter
264 return mBase.loadClass(name); in loadClass()
267 return super.loadClass(name, resolve); in loadClass()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogGroupReader.kt40 val clazz = classLoader.loadClass(className) in <lambda>()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java75 Class<?> originalClass = classLoader.loadClass(originalClassName); in loadAndCompareClasses()
76 Class<?> delegateClass = classLoader.loadClass(delegateClassName); in loadAndCompareClasses()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java92 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName); in loadTestClass()
232 return mContext.getClassLoader().loadClass(suiteClassName); in loadSuiteClass()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsModule.java76 cls = context.getClassLoader().loadClass(clsName); in provideRecentsImpl()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DReflectionInflater.java95 (Class<? extends T>) context.getClassLoader().loadClass(qualifiedName); in createItem()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectFactory.java475 effectClass = contextClassLoader.loadClass(packageName + className); in getEffectClassByName()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFactory.java97 filterClass = mCurrentClassLoader.loadClass(packageName + "." + className); in createFilterByClassName()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java84 Class<?> clazz = mClassLoader.loadClass(className); in addTestClass()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterFactory.java130 filterClass = mCurrentClassLoader.loadClass(packageName + "." + name); in getFilterClass()
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DPackageBackwardCompatibility.java91 Class clazz = ParsingPackage.class.getClassLoader().loadClass(className); in addUpdaterForAndroidTestBase()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java200 mClassLoader.loadClass(className).asSubclass(Drawable.class); in inflateFromClass()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java132 loader.loadClass("com.android.dcl.Simple"); in testGeneratesEvents_standardClassLoader()
155 loader.loadClass("com.android.dcl.Simple"); in testGeneratesEvents_unknownClassLoader()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java222 Class<?> clazz = this.getClass().getClassLoader().loadClass(className); in isTestClass()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java77 Class<?> extractorClass = mContext.getClassLoader().loadClass(extractorNames[i]); in RankingHelper()
/frameworks/base/core/java/android/preference/
DGenericInflater.java383 Class clazz = mContext.getClassLoader().loadClass( in createItem()

12