Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 35) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/app/
H A DAppComponentFactory.java56 public @NonNull ClassLoader instantiateClassLoader(@NonNull ClassLoader cl, in instantiateClassLoader() argument
58 return cl; in instantiateClassLoader()
73 public @NonNull Application instantiateApplication(@NonNull ClassLoader cl, in instantiateApplication() argument
76 return (Application) cl.loadClass(className).newInstance(); in instantiateApplication()
95 return (Activity) cl.loadClass(className).newInstance(); in instantiateActivity()
107 public @NonNull BroadcastReceiver instantiateReceiver(@NonNull ClassLoader cl, in instantiateReceiver() argument
110 return (BroadcastReceiver) cl.loadClass(className).newInstance(); in instantiateReceiver()
126 public @NonNull Service instantiateService(@NonNull ClassLoader cl, in instantiateService() argument
129 return (Service) cl.loadClass(className).newInstance(); in instantiateService()
144 public @NonNull ContentProvider instantiateProvider(@NonNull ClassLoader cl, in instantiateProvider() argument
[all …]
H A DLoadedApk.java269 private AppComponentFactory createAppFactory(ApplicationInfo appInfo, ClassLoader cl) { in createAppFactory() argument
270 if (mIncludeCode && appInfo.appComponentFactory != null && cl != null) { in createAppFactory()
273 cl.loadClass(appInfo.appComponentFactory).newInstance(); in createAppFactory()
1443 final java.lang.ClassLoader cl = getClassLoader(); in makeApplicationInner() local
1460 rewriteRValues(cl, packageIdentifiers.valueAt(i), id); in makeApplicationInner()
1468 cl, appClass, appContext); in makeApplicationInner()
1505 private void rewriteRValues(ClassLoader cl, String packageName, int id) { in rewriteRValues() argument
1508 rClazz = cl.loadClass(packageName + ".R"); in rewriteRValues()
1803 ClassLoader cl = mReceiver.getClass().getClassLoader(); in getRunnable() local
1804 intent.setExtrasClassLoader(cl); in getRunnable()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIAppComponentFactoryBase.kt78 override fun instantiateApplicationCompat(cl: ClassLoader, className: String): Application {
79 val app = super.instantiateApplicationCompat(cl, className)
91 override fun instantiateProviderCompat(cl: ClassLoader, className: String): ContentProvider {
92 val contentProvider = super.instantiateProviderCompat(cl, className)
115 cl: ClassLoader,
125 ?: super.instantiateActivityCompat(cl, className, intent)
129 cl: ClassLoader,
139 ?: super.instantiateServiceCompat(cl, className, intent)
143 cl: ClassLoader,
153 ?: super.instantiateReceiverCompat(cl, className, intent)
/aosp14/frameworks/base/tools/bit/
H A Dmake.cpp55 Module::HasClass(const string& cl) in HasClass() argument
58 if (*c == cl) { in HasClass()
246 string cl = module.classes[i]; in read_modules() local
247 if (!(cl == "JAVA_LIBRARIES" || cl == "EXECUTABLES" || cl == "SHARED_LIBRARIES" in read_modules()
248 || cl == "APPS" || cl == "NATIVE_TESTS")) { in read_modules()
H A Dmake.h33 bool HasClass(const string& cl);
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java580 if (cl.mToK != null) { in validateCycle()
587 if (cl.mToF != null) { in validateCycle()
614 if (cl.mToK != null) { in validateDAGRecurse()
618 if (cl.mToF != null) { in validateDAGRecurse()
723 nf.mOutputs.add(cl); in addConnection()
724 nt.mInputs.add(cl); in addConnection()
758 nf.mOutputs.add(cl); in addConnection()
759 nt.mInputs.add(cl); in addConnection()
828 src[ct] = cl.mFrom.getID(mRS); in create()
829 if (cl.mToK != null) { in create()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DAppZygoteInit.java82 Class<?> cl; in handlePreloadApp() local
87 cl = Class.forName(preloadName.getClassName(), true, loader); in handlePreloadApp()
88 if (!ZygotePreload.class.isAssignableFrom(cl)) { in handlePreloadApp()
92 Constructor<?> ctor = cl.getConstructor(); in handlePreloadApp()
H A DRuntimeInit.java307 Class<?> cl; in findStaticMain() local
310 cl = Class.forName(className, true, classLoader); in findStaticMain()
319 m = cl.getMethod("main", new Class[] { String[].class }); in findStaticMain()
H A DZygoteInit.java573 ClassLoader cl = getOrCreateSystemServerClassLoader(); in handleSystemServerProcess() local
574 if (cl != null) { in handleSystemServerProcess()
575 Thread.currentThread().setContextClassLoader(cl); in handleSystemServerProcess()
583 parsedArgs.mRemainingArgs, cl); in handleSystemServerProcess()
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DRawBatteryStats.java873 public <T extends Record> T getSingle(Class<T> cl) { in getSingle() argument
874 final List<Record> list = mRecordsByType.get(cl.getName()); in getSingle()
892 public <T extends Record> T getSingle(Class<T> cl, int uid) { in getSingle() argument
893 final List<Record> list = mRecordsByType.get(cl.getName()); in getSingle()
910 public <T extends Record> List<T> getMultiple(Class<T> cl) { in getMultiple() argument
911 final List<Record> list = mRecordsByType.get(cl.getName()); in getMultiple()
1126 for (Class<?> cl: RawBatteryStats.class.getClasses()) {
1127 final Line lineAnnotation = cl.getAnnotation(Line.class);
1131 for (java.lang.reflect.Field field: cl.getFields()) {
1149 + cl.getName() + "." + field.getName());
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityNr.java127 GsmCellLocation cl = new GsmCellLocation(); in asCellLocation() local
129 cl.setLacAndCid(tac, -1); in asCellLocation()
130 cl.setPsc(0); in asCellLocation()
131 return cl; in asCellLocation()
H A DCellIdentityGsm.java235 GsmCellLocation cl = new GsmCellLocation(); in asCellLocation() local
238 cl.setLacAndCid(lac, cid); in asCellLocation()
239 cl.setPsc(-1); in asCellLocation()
240 return cl; in asCellLocation()
H A DCellIdentityTdscdma.java223 GsmCellLocation cl = new GsmCellLocation(); in asCellLocation() local
226 cl.setLacAndCid(lac, cid); in asCellLocation()
227 cl.setPsc(-1); // There is no PSC for TD-SCDMA; not using this for CPI to stem shenanigans in asCellLocation()
228 return cl; in asCellLocation()
H A DCellIdentityWcdma.java247 GsmCellLocation cl = new GsmCellLocation(); in asCellLocation() local
251 cl.setLacAndCid(lac, cid); in asCellLocation()
252 cl.setPsc(psc); in asCellLocation()
254 return cl; in asCellLocation()
H A DCellIdentityLte.java301 GsmCellLocation cl = new GsmCellLocation(); in asCellLocation() local
304 cl.setLacAndCid(tac, cid); in asCellLocation()
305 cl.setPsc(0); in asCellLocation()
306 return cl; in asCellLocation()
H A DCellIdentityCdma.java213 CdmaCellLocation cl = new CdmaCellLocation(); in asCellLocation() local
218 cl.setCellLocationData(bsid, mLatitude, mLongitude, sid, nid); in asCellLocation()
219 return cl; in asCellLocation()
/aosp14/frameworks/base/core/java/android/os/
H A DDebug.java2278 private static boolean fieldTypeMatches(Field field, Class<?> cl) { in fieldTypeMatches() argument
2280 if (fieldClass == cl) { in fieldTypeMatches()
2289 primitiveTypeField = cl.getField("TYPE"); in fieldTypeMatches()
2357 public static void setFieldsOn(Class<?> cl) { in setFieldsOn() argument
2358 setFieldsOn(cl, false); in setFieldsOn()
2416 public static void setFieldsOn(Class<?> cl, boolean partial) { in setFieldsOn() argument
2422 for (Field field : cl.getDeclaredFields()) { in setFieldsOn()
2424 final String propertyName = cl.getName() + "." + field.getName(); in setFieldsOn()
2438 "setFieldsOn(" + (cl == null ? "null" : cl.getName()) + in setFieldsOn()
H A DParcel.java3913 @Nullable ClassLoader cl) { in readParcelableList() argument
3914 return readParcelableListInternal(list, cl, /*clazz*/ null); in readParcelableList()
3934 @Nullable ClassLoader cl, @NonNull Class<? extends T> clazz) { in readParcelableList() argument
3937 return readParcelableListInternal(list, cl, clazz); in readParcelableList()
3945 @Nullable ClassLoader cl, @Nullable Class<? extends T> clazz) { in readParcelableListInternal() argument
3955 list.set(i, (T) readParcelableInternal(cl, clazz)); in readParcelableListInternal()
3958 list.add((T) readParcelableInternal(cl, clazz)); in readParcelableListInternal()
5140 Class<?> cl = Class.forName(name, false, loader); in readSerializableInternal() local
5141 if (!clazz.isAssignableFrom(cl)) { in readSerializableInternal()
5143 + cl.getName() + " is not a subclass of required class " in readSerializableInternal()
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DHeavyHitterSketchTest.java84 final List<Pair<Integer, Float>> cl = counter.getTopHeavyHitters(capacity - 1); in getTopHeavyHitters() local
86 final Pair<Integer, Float> pair = cl.get(i); in getTopHeavyHitters()
/aosp14/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java293 public void setExtrasClassLoader(ClassLoader cl) { in setExtrasClassLoader() argument
295 mResultExtras.setClassLoader(cl); in setExtrasClassLoader()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceBroker.java1620 mCommunicationRouteClients.forEach((cl) -> { in dump()
1621 pw.println(" " + prefix + cl.toString()); }); in dump()
2451 for (CommunicationRouteClient cl : mCommunicationRouteClients) { in removeCommunicationRouteClient()
2452 if (cl.getBinder() == cb) { in removeCommunicationRouteClient()
2454 cl.unregisterDeathRecipient(); in removeCommunicationRouteClient()
2456 removeMsgForCheckClientState(cl.getUid()); in removeCommunicationRouteClient()
2457 mCommunicationRouteClients.remove(cl); in removeCommunicationRouteClient()
2458 return cl; in removeCommunicationRouteClient()
2487 for (CommunicationRouteClient cl : mCommunicationRouteClients) { in getCommunicationRouteClientForUid()
2488 if (cl.getUid() == uid) { in getCommunicationRouteClientForUid()
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java2354 final ClassLoader cl = getClass().getClassLoader(); in ShortcutInfo() local
2360 mActivity = source.readParcelable(cl, android.content.ComponentName.class); in ShortcutInfo()
2370 mIcon = source.readParcelable(cl, android.graphics.drawable.Icon.class); in ShortcutInfo()
2377 mIntents = source.readParcelableArray(cl, Intent.class); in ShortcutInfo()
2378 mIntentPersistableExtrases = source.readParcelableArray(cl, PersistableBundle.class); in ShortcutInfo()
2380 mExtras = source.readParcelable(cl, android.os.PersistableBundle.class); in ShortcutInfo()
2398 mPersons = source.readParcelableArray(cl, Person.class); in ShortcutInfo()
2399 mLocusId = source.readParcelable(cl, android.content.LocusId.class); in ShortcutInfo()
/aosp14/frameworks/base/core/java/android/view/
H A DLayoutInflater.java755 ClassLoader cl = mContext.getClassLoader(); in verifyClassLoader() local
757 if (constructorLoader == cl) { in verifyClassLoader()
760 cl = cl.getParent(); in verifyClassLoader()
761 } while (cl != null); in verifyClassLoader()
/aosp14/frameworks/base/tools/aapt/
H A DResourceTable.cpp3104 if (cl == NULL) { in flatten()
3108 if (cl->getPublic()) { in flatten()
3116 const size_t CN = cl->getEntries().size(); in flatten()
3126 cl->getEntries().keyAt(ci).diff(cl->getEntries().keyAt(cj))); in flatten()
3224 if (cl != NULL) { in flatten()
4253 const sp<ConfigList>& cl = privateAttrs[i]; in movePrivateAttrs() local
4256 attr->removeEntry(cl->getName()); in movePrivateAttrs()
4329 const sp<ConfigList>& cl = configs[ci]; in getConfigList() local
4330 if (cl == NULL || cl->getName() != name) { in getConfigList()
4334 return cl; in getConfigList()
[all …]
/aosp14/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java1798 final ClassLoader cl = getClass().getClassLoader(); in Ranking() local
1815 mChannel = in.readParcelable(cl, android.app.NotificationChannel.class); // may be null in Ranking()
1828 mShortcutInfo = in.readParcelable(cl, android.content.pm.ShortcutInfo.class); in Ranking()
2279 final ClassLoader cl = getClass().getClassLoader(); in RankingMap() local

12