Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/app/
DAppComponentFactory.java50 return (Application) cl.loadClass(className).newInstance(); in instantiateApplication()
69 return (Activity) cl.loadClass(className).newInstance(); in instantiateActivity()
84 return (BroadcastReceiver) cl.loadClass(className).newInstance(); in instantiateReceiver()
103 return (Service) cl.loadClass(className).newInstance(); in instantiateService()
121 return (ContentProvider) cl.loadClass(className).newInstance(); in instantiateProvider()
/frameworks/support/compat/src/main/java/androidx/core/app/
DAppComponentFactory.java104 return (Application) cl.loadClass(className).getDeclaredConstructor().newInstance(); in instantiateApplicationCompat()
127 return (Activity) cl.loadClass(className).getDeclaredConstructor().newInstance(); in instantiateActivityCompat()
146 return (BroadcastReceiver) cl.loadClass(className).getDeclaredConstructor() in instantiateReceiverCompat()
170 return (Service) cl.loadClass(className).getDeclaredConstructor().newInstance(); in instantiateServiceCompat()
192 return (ContentProvider) cl.loadClass(className).getDeclaredConstructor().newInstance(); in instantiateProviderCompat()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java76 Class<ClassWithNative> clazz1 = (Class<ClassWithNative>) cl1.loadClass(NATIVE_CLASS_NAME); in testNoOp()
104 Class<?> clazz2 = loadClass(NATIVE_CLASS_NAME); in testNoOp()
159 Class<?> clazz2 = loadClass(NATIVE_CLASS_NAME); in testConstructorAfterDelegate()
191 Class<?> outerClazz2 = loadClass(OUTER_CLASS_NAME); in testInnerConstructorAfterDelegate()
194 Class<?> clazz2 = loadClass(INNER_CLASS_NAME); in testInnerConstructorAfterDelegate()
226 Class<?> clazz2 = loadClass(STATIC_INNER_CLASS_NAME); in testStaticInnerConstructorAfterDelegate()
258 Class<?> clazz2 = loadClass(NATIVE_CLASS_NAME); in testDelegateNative()
323 Class<?> outerClazz2 = loadClass(OUTER_CLASS_NAME); in testDelegateInner()
356 Class<?> innerClazz2 = loadClass(INNER_CLASS_NAME); in testDelegateInner()
405 Class<?> outerClazz2 = loadClass(OUTER_CLASS_NAME); in testDelegateStaticInner()
[all …]
DStubMethodAdapterTest.java65 Class<?> aClass = myClassLoader.loadClass(newClassName); in testBoolean()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteLayoutlibCallbackAdapter.java238 public Object loadClass(String name, Class[] constructorSignature, Object[] constructorArgs) in loadClass() method in RemoteLayoutlibCallbackAdapter
240 return super.loadClass(name, constructorSignature, constructorArgs); in loadClass()
268 return mPathClassLoader.loadClass(name); in findClass()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DEmojiEditableFactory.java53 sWatcherClass = getClass().getClassLoader().loadClass(className); in EmojiEditableFactory()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java73 Class<?> originalClass = classLoader.loadClass(originalClassName); in loadAndCompareClasses()
74 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java72 Class<?> rClass = mModuleClassLoader.loadClass(PACKAGE_NAME + ".R"); in initResources()
110 Class<?> viewClass = mModuleClassLoader.loadClass(name); in loadView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemBars.java60 cls = mContext.getClassLoader().loadClass(clsName); in createStatusBarFromConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginManagerImpl.java339 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in PluginManagerImpl.ClassLoaderFilter
340 if (!name.startsWith(mPackage)) super.loadClass(name, resolve); in loadClass()
341 return mBase.loadClass(name); in loadClass()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceInflater.java231 clazz = classLoader.loadClass(name); in createItem()
236 clazz = classLoader.loadClass(prefix + name); in createItem()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DReflectionInflater.java99 (Class<? extends T>) mContext.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/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
DEmojiEditableFactoryTest.java82 clazz = getClass().getClassLoader().loadClass(className); in testNewEditable_returnsEmojiSpannableIfWatcherClassExists()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterFactory.java130 filterClass = mCurrentClassLoader.loadClass(packageName + "." + name); in getFilterClass()
/frameworks/base/core/java/android/content/pm/
DPackageBackwardCompatibility.java88 .loadClass(className) in addOptionalUpdater()
/frameworks/base/tests/DexLoggerIntegrationTests/src/com/android/server/pm/dex/
DDexLoggerIntegrationTests.java107 loader.loadClass("com.android.dcl.Simple"); in setUpAll()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java119 mClass = ViewRootImpl.class.getClassLoader().loadClass( in AttachInfoAccessor()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java203 mClassLoader.loadClass(className).asSubclass(Drawable.class); in inflateFromClass()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java122 return layoutlibCallback.loadClass(layoutMgrClassName, new Class[0], new Object[0]); in createAdapter()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaAnalyzer.java127 return new JavaClass(mClassLoader.loadClass(className)); in loadRecursively()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java222 Class<?> clazz = this.getClass().getClassLoader().loadClass(className); in isTestClass()

123