Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DApplicationLoaders.java186 ClassLoader classLoader = getClassLoader(path, Build.VERSION.SDK_INT, true /*isBundled*/, in createAndCacheNonBootclasspathSystemClassLoader() local
190 if (classLoader == null) { in createAndCacheNonBootclasspathSystemClassLoader()
196 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader()
265 void addPath(ClassLoader classLoader, String dexPath) { in addPath() argument
266 if (!(classLoader instanceof PathClassLoader)) { in addPath()
269 final PathClassLoader baseDexClassLoader = (PathClassLoader) classLoader; in addPath()
276 void addNative(ClassLoader classLoader, Collection<String> libPaths) { in addNative() argument
277 if (!(classLoader instanceof PathClassLoader)) { in addNative()
280 final PathClassLoader baseDexClassLoader = (PathClassLoader) classLoader; in addNative()
DResourcesManager.java628 @NonNull ClassLoader classLoader, @NonNull ResourcesImpl impl, in getOrCreateResourcesForActivityLocked() argument
639 && Objects.equals(resources.getClassLoader(), classLoader) in getOrCreateResourcesForActivityLocked()
648 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader) in getOrCreateResourcesForActivityLocked()
649 : new Resources(classLoader); in getOrCreateResourcesForActivityLocked()
663 private @NonNull Resources getOrCreateResourcesLocked(@NonNull ClassLoader classLoader, in getOrCreateResourcesLocked() argument
671 Objects.equals(resources.getClassLoader(), classLoader) && in getOrCreateResourcesLocked()
681 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader) in getOrCreateResourcesLocked()
682 : new Resources(classLoader); in getOrCreateResourcesLocked()
720 @Nullable ClassLoader classLoader) { in createBaseActivityResources() argument
732 classLoader = classLoader != null ? classLoader : ClassLoader.getSystemClassLoader(); in createBaseActivityResources()
[all …]
DNativeActivity.java93 AssetManager assetMgr, byte[] savedState, ClassLoader classLoader, String libraryPath); in loadNativeCode() argument
159 BaseDexClassLoader classLoader = (BaseDexClassLoader) getClassLoader(); in onCreate() local
160 String path = classLoader.findLibrary(libname); in onCreate()
164 " using classloader: " + classLoader.toString()); in onCreate()
174 classLoader, classLoader.getLdLibraryPath()); in onCreate()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java57 private final ClassLoader classLoader; field in ClassPathPackageInfoSource
59 private ClassPathPackageInfoSource(ClassLoader classLoader) { in ClassPathPackageInfoSource() argument
60 this.classLoader = classLoader; in ClassPathPackageInfoSource()
68 public static ClassPathPackageInfoSource forClassPath(ClassLoader classLoader) { in forClassPath() argument
70 classPathSource = new ClassPathPackageInfoSource(classLoader); in forClassPath()
94 (classLoader != null) ? classLoader : CLASS_LOADER)); in createPackageInfo()
/frameworks/base/core/java/com/android/internal/os/
DClassLoaderFactory.java116 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent, in createClassLoader() local
123 String errorMessage = createClassloaderNamespace(classLoader, in createClassLoader()
134 classLoader + ": " + errorMessage); in createClassLoader()
137 return classLoader; in createClassLoader()
141 private static native String createClassloaderNamespace(ClassLoader classLoader, in createClassloaderNamespace() argument
DWrapperInit.java159 ClassLoader classLoader = null; in wrapperInit() local
161 classLoader = ZygoteInit.createPathClassLoader(argv[1], targetSdkVersion); in wrapperInit()
164 Thread.currentThread().setContextClassLoader(classLoader); in wrapperInit()
174 argv, classLoader); in wrapperInit()
DRuntimeInit.java343 ClassLoader classLoader) { in findStaticMain() argument
347 cl = Class.forName(className, true, classLoader); in findStaticMain()
402 String[] argv, ClassLoader classLoader) { in applicationInit() argument
419 return findStaticMain(args.startClass, args.startArgs, classLoader); in applicationInit()
/frameworks/base/telecomm/java/android/telecom/
DParcelableConference.java294 ClassLoader classLoader = ParcelableConference.class.getClassLoader();
295 PhoneAccountHandle phoneAccount = source.readParcelable(classLoader);
299 source.readList(connectionIds, classLoader);
304 StatusHints statusHints = source.readParcelable(classLoader);
305 Bundle extras = source.readBundle(classLoader);
308 Uri address = source.readParcelable(classLoader);
312 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DParcelableCall.java623 ClassLoader classLoader = ParcelableCall.class.getClassLoader();
626 DisconnectCause disconnectCause = source.readParcelable(classLoader);
628 source.readList(cannedSmsResponses, classLoader);
636 GatewayInfo gatewayInfo = source.readParcelable(classLoader);
637 PhoneAccountHandle accountHandle = source.readParcelable(classLoader);
643 source.readList(childCallIds, classLoader);
644 StatusHints statusHints = source.readParcelable(classLoader);
647 source.readList(conferenceableCallIds, classLoader);
648 Bundle intentExtras = source.readBundle(classLoader);
649 Bundle extras = source.readBundle(classLoader);
[all …]
DParcelableConnection.java262 ClassLoader classLoader = ParcelableConnection.class.getClassLoader();
264 PhoneAccountHandle phoneAccount = source.readParcelable(classLoader);
267 Uri address = source.readParcelable(classLoader);
277 StatusHints statusHints = source.readParcelable(classLoader);
278 DisconnectCause disconnectCause = source.readParcelable(classLoader);
281 Bundle extras = Bundle.setDefusable(source.readBundle(classLoader), true);
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java57 private final ClassLoader classLoader; field in TestGrouping
59 TestGrouping(Comparator<Class<? extends TestCase>> comparator, ClassLoader classLoader) { in TestGrouping() argument
61 this.classLoader = classLoader; in TestGrouping()
132 ClassPathPackageInfoSource source = ClassPathPackageInfoSource.forClassPath(classLoader); in testCaseClassesInPackage()
DSmokeTestSuiteBuilder.java31 public SmokeTestSuiteBuilder(String name, ClassLoader classLoader) { in SmokeTestSuiteBuilder() argument
32 super(name, classLoader); in SmokeTestSuiteBuilder()
DUnitTestSuiteBuilder.java32 public UnitTestSuiteBuilder(String name, ClassLoader classLoader) { in UnitTestSuiteBuilder() argument
33 super(name, classLoader); in UnitTestSuiteBuilder()
/frameworks/base/core/jni/
Dcom_android_internal_os_ClassLoaderFactory.cpp26 jobject classLoader, in createClassloaderNamespace_native() argument
34 classLoader, isShared == JNI_TRUE, in createClassloaderNamespace_native()
/frameworks/base/location/java/android/location/
DGpsNavigationMessageEvent.java91 ClassLoader classLoader = getClass().getClassLoader();
92 GpsNavigationMessage navigationMessage = in.readParcelable(classLoader);
DGpsMeasurementsEvent.java110 ClassLoader classLoader = getClass().getClassLoader();
112 GpsClock clock = in.readParcelable(classLoader);
DGnssMeasurementsEvent.java137 ClassLoader classLoader = getClass().getClassLoader();
139 GnssClock clock = in.readParcelable(classLoader);
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorEvent.java80 ClassLoader classLoader = GeofenceHardwareMonitorEvent.class.getClassLoader();
84 Location location = source.readParcelable(classLoader);
/frameworks/base/telephony/java/android/telephony/ims/
DImsExternalCallState.java147 ClassLoader classLoader = ImsExternalCallState.class.getClassLoader(); in ImsExternalCallState() local
148 mAddress = in.readParcelable(classLoader); in ImsExternalCallState()
149 mLocalAddress = in.readParcelable(classLoader); in ImsExternalCallState()
/frameworks/base/core/java/android/os/
DTimestampedValue.java107 @NonNull Parcel source, @Nullable ClassLoader classLoader) {
109 Object value = source.readValue(classLoader);
/frameworks/base/media/java/android/media/midi/
DMidiDeviceStatus.java117 ClassLoader classLoader = MidiDeviceInfo.class.getClassLoader();
118 MidiDeviceInfo deviceInfo = in.readParcelable(classLoader);
/frameworks/base/tools/preload/
DRecord.java92 final int classLoader; field in Record
134 classLoader = Integer.parseInt(parts[4]); in Record()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java73 ClassLoader classLoader = TestDelegates.class.getClassLoader(); in loadAndCompareClasses() local
74 Class<?> originalClass = classLoader.loadClass(originalClassName); in loadAndCompareClasses()
75 Class<?> delegateClass = classLoader.loadClass(delegateClassName); in loadAndCompareClasses()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DConferenceParticipant.java109 ClassLoader classLoader = ConferenceParticipant.class.getClassLoader();
110 Uri handle = source.readParcelable(classLoader);
112 Uri endpoint = source.readParcelable(classLoader);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java37 public TestCaseCollector(ClassLoader classLoader, TestCaseFilter filter) { in TestCaseCollector() argument
38 mClassLoader = classLoader; in TestCaseCollector()

12