Home
last modified time | relevance | path

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

12

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java157 ClassLoader classLoader = getClass().getClassLoader(); in EnvironmentImpl() local
158 Properties configProperties = loadConfigProperties(classLoader); in EnvironmentImpl()
160 createGeoDataFileManager(context, classLoader, configProperties); in EnvironmentImpl()
168 mMetricsReporter = createMetricsReporter(classLoader, configProperties); in EnvironmentImpl()
186 @NonNull Context context, @NonNull ClassLoader classLoader, in createGeoDataFileManager() argument
191 Class<?> clazz = classLoader.loadClass(className); in createGeoDataFileManager()
204 @NonNull ClassLoader classLoader, @NonNull Properties configProperties) { in createMetricsReporter()
207 Class<?> clazz = classLoader.loadClass(className); in createMetricsReporter()
214 private static Properties loadConfigProperties(ClassLoader classLoader) { in loadConfigProperties() argument
217 classLoader.getResourceAsStream(RESOURCE_CONFIG_PROPERTIES_NAME)) { in loadConfigProperties()
/packages/modules/GeoTZ/app/src/main/java/com/android/geotz/app/
DGeoDataFileManagerImpl.java57 ClassLoader classLoader = getClass().getClassLoader(); in init() local
63 copyResource(classLoader, geoDataResource, geoDataFile, expectedSha256); in init()
75 private static void copyResource(@NonNull ClassLoader classLoader, @NonNull String resourceName, in copyResource() argument
78 try (InputStream resourceStream = classLoader.getResourceAsStream(resourceName)) { in copyResource()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/codeinspection/
DClassScanner.java36 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in getClassesForPackage() local
37 ClassPath classPath = ClassPath.from(classLoader); in getClassesForPackage()
49 Class clazz = classLoader.loadClass(info.getName()); in getClassesForPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
DClassScanner.java36 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in getClassesForPackage() local
37 ClassPath classPath = ClassPath.from(classLoader); in getClassesForPackage()
49 Class clazz = classLoader.loadClass(info.getName()); in getClassesForPackage()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSandboxedSdkContext.java68 @NonNull ClassLoader classLoader, in SandboxedSdkContext() argument
76 classLoader, in SandboxedSdkContext()
88 @NonNull ClassLoader classLoader, in SandboxedSdkContext() argument
117 mClassLoader = classLoader; in SandboxedSdkContext()
/packages/apps/Dialer/java/com/android/dialer/callintent/
DCallIntent.java278 ClassLoader classLoader = CallIntent.class.getClassLoader();
279 callIntentBuilder.setNumber(source.readParcelable(classLoader));
288 .setPhoneAccountHandle(source.readParcelable(classLoader))
292 Bundle stringInCallUiIntentExtrasBundle = source.readBundle(classLoader);
297 Bundle longInCallUiIntentExtrasBundle = source.readBundle(classLoader);
DCallIntentBuilder.java101 ClassLoader classLoader = CallIntentBuilder.class.getClassLoader(); in CallIntentBuilder() local
102 uri = parcel.readParcelable(classLoader); in CallIntentBuilder()
110 phoneAccountHandle = parcel.readParcelable(classLoader); in CallIntentBuilder()
115 inCallUiIntentExtras.putAll(parcel.readBundle(classLoader)); in CallIntentBuilder()
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp22CalendarOnly/src/android/permissionui/cts/usepermission/
DCheckPermissionService.kt34 extras.classLoader = testContext.classLoader in onHandleIntent()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginLoaderImpl.java43 ClassLoader classLoader, in loadPlugin() argument
60 classLoader, containerClassesAllowlist, containerPackagesAllowlist); in loadPlugin()
DPluginLoader.java42 ClassLoader classLoader, in loadPlugin() argument
/packages/apps/Launcher3/tests/src_deviceless/com/android/launcher3/util/
DRobolectricDeviceRunner.kt48 bootstrappedMethod.declaringClass.classLoader, in getName()
69 method.declaringClass.classLoader, in getHelperTestRunner()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DHiltExt.kt45 T::class.java.classLoader, T::class.java.name) in activity()
73 T::class.java.classLoader, T::class.java.name) in activity()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/process/
DOnDevicePersonalizationPlugin.java44 public void setClassLoader(ClassLoader classLoader) { in setClassLoader() argument
45 mClassLoader = classLoader; in setClassLoader()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java385 final ClassLoader classLoader = MmsRequest.class.getClassLoader(); in MmsRequest() local
388 mPduUri = in.readParcelable(classLoader); in MmsRequest()
389 mPendingIntent = in.readParcelable(classLoader); in MmsRequest()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DOpUsageLiveData.kt212 parcel.readParcelable(UserHandle::class.java.classLoader)!! in createFromParcel()
221 parcel.readParcelable(UserHandle::class.java.classLoader)!!, in createFromParcel()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ext/
DParcelExt.kt26 return readParcelable(T::class.java.classLoader, T::class.java) in readParcelable()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/
DPlugin.java44 default void setClassLoader(ClassLoader classLoader) {} in setClassLoader() argument
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DSettingsShadowActivityManager.kt24 return Proxy.newProxyInstance(clazz.classLoader, arrayOf<Class<*>>(clazz)) { in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperAction.kt32 parcel.readParcelable(Uri::class.java.classLoader, Uri::class.java),
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/data/
DOpUsageLiveDataTest.kt48 return parcel.readParcelable(OpAccess::class.java.classLoader)!! in parcelUnparcel()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLauncherMultivalentJUnit.kt40 (testClass.javaClass.classLoader.loadClass(ROBOLECTRIC_RUNNER) as Class<Runner>) in <lambda>()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestInstrumentationRunner.java49 (classLoader, className, intent) -> newActivity.newInstance()); in registerReplacedActivity()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/
DClockRegistryProvider.kt77 this::class.java.classLoader, in get()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionParameters.kt44 parcel.readParcelable(DeletionType::class.java.classLoader, DeletionType::class.java)
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java103 (classLoader, className, intent) -> new TermsActivity( in setUp()

12