Home
last modified time | relevance | path

Searched defs:cls (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginManager.java32 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls); in addPluginListener()
34 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener()
37 Class<T> cls); in addPluginListener()
39 Class<T> cls, boolean allowMultiple); in addPluginListener()
43 <T> boolean dependsOn(Plugin p, Class<T> cls); in dependsOn()
46 public static <P> String getAction(Class<P> cls) { in getAction()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakePluginManager.java33 Class<T> cls, boolean allowMultiple) { in addPluginListener()
38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener()
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener()
50 Class<T> cls) { in addPluginListener()
60 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
DFakeExtensionController.java35 public <T> ExtensionBuilder<T> newExtension(Class<T> cls) { in newExtension()
54 public <P extends T> ExtensionBuilder<T> withPlugin(Class<P> cls) { in withPlugin()
59 public <P extends T> ExtensionBuilder<T> withPlugin(Class<P> cls, String action) { in withPlugin()
64 …public <P> ExtensionBuilder<T> withPlugin(Class<P> cls, String action, PluginConverter<T, P> conve… in withPlugin()
DLeakCheckedTest.java81 public void injectLeakCheckedDependencies(Class<?>... cls) { in injectLeakCheckedDependencies()
99 public <T> T getLeakChecker(Class<T> cls) { in getLeakChecker()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarHelperRegistry.java82 @NonNull Context context, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateWithAppContext()
98 <H> H getHelper(@NonNull Class<H> cls) { in getHelper()
106 @NonNull Context appContext, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateHelper()
132 public <H> void putHelper(@NonNull Class<H> cls, @NonNull H helper) { in putHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginDependencyProvider.java43 public <T> void allowPluginDependency(Class<T> cls) { in allowPluginDependency()
47 public <T> void allowPluginDependency(Class<T> cls, T obj) { in allowPluginDependency()
54 <T> T get(Plugin p, Class<T> cls) { in get()
/frameworks/native/libs/incidentcompanion/binder/android/os/
DIIncidentCompanion.aidl63 oneway void sendReportReadyBroadcast(String pkg, String cls); in sendReportReadyBroadcast()
88 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList()
93 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport()
98 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java40 public VersionInfo addClass(Class<?> cls) { in addClass()
49 private void addClass(Class<?> cls, boolean required) { in addClass()
108 private Version createVersion(Class<?> cls) { in createVersion()
116 public <T> boolean hasClass(Class<T> cls) { in hasClass()
130 public InvalidVersionException(Class<?> cls, boolean tooNew, int expected, int actual) { in InvalidVersionException()
DPluginManagerImpl.java88 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener()
93 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener()
95 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener() local
99 Class<T> cls) { in addPluginListener()
104 Class<T> cls, boolean allowMultiple) { in addPluginListener()
213 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionController.java29 <T> ExtensionBuilder<T> newExtension(Class<T> cls); in newExtension()
52 <P extends T> ExtensionBuilder<T> withPlugin(Class<P> cls); in withPlugin()
53 <P extends T> ExtensionBuilder<T> withPlugin(Class<P> cls, String action); in withPlugin()
54 <P> ExtensionBuilder<T> withPlugin(Class<P> cls, String action, in withPlugin()
DExtensionControllerImpl.java73 public <T> ExtensionBuilder<T> newExtension(Class<T> cls) { in newExtension()
94 public <P extends T> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls) { in withPlugin()
99 public <P extends T> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls, in withPlugin()
105 public <P> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls, in withPlugin()
209 public <P> void addPlugin(String action, Class<P> cls, PluginConverter<T, P> converter) { in addPlugin()
229 public PluginItem(String action, Class<P> cls, PluginConverter<T, P> converter) { in PluginItem()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DPluginDependency.java24 public static <T> T get(Plugin p, Class<T> cls) { in get()
29 abstract <T> T get(Plugin p, Class<T> cls); in get()
/frameworks/base/core/java/android/os/
DIIncidentManager.aidl78 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList()
83 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport()
90 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports()
/frameworks/base/core/java/android/content/
DComponentName.java59 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative()
90 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative()
102 public ComponentName(@NonNull String pkg, @NonNull String cls) { in ComponentName()
117 public ComponentName(@NonNull Context pkg, @NonNull String cls) { in ComponentName()
131 public ComponentName(@NonNull Context pkg, @NonNull Class<?> cls) { in ComponentName()
281 String cls = str.substring(sep+1); in unflattenFromString() local
/frameworks/base/cmds/incidentd/src/
DBroadcaster.cpp129 void Broadcaster::clearBroadcasts(const string& pkg, const string& cls, const string& id) { in clearBroadcasts()
269 bool Broadcaster::was_approval_sent(const string& id, const string& pkg, const string& cls) { in was_approval_sent()
278 void Broadcaster::set_approval_sent(const string& id, const string& pkg, const string& cls, in set_approval_sent()
286 bool Broadcaster::was_ready_sent(const string& id, const string& pkg, const string& cls) { in was_ready_sent()
295 void Broadcaster::set_ready_sent(const string& id, const string& pkg, const string& cls) { in set_ready_sent()
301 const string& cls) { in send_approval_broadcasts()
365 const string& cls) { in send_report_ready_broadcasts()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiBaseFragmentTest.java54 public SysuiBaseFragmentTest(Class<? extends Fragment> cls) { in SysuiBaseFragmentTest()
95 public void injectLeakCheckedDependencies(Class<?>... cls) { in injectLeakCheckedDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIInitializerFactory.kt61 val cls = context.classLoader.loadClass(className) in createFromConfigNoAssert() constant
DDependency.java579 protected final <T> T getDependency(Class<T> cls) { in getDependency()
598 public <T> T createDependency(Object cls) { in createDependency()
620 private <T> void destroyDependency(Class<T> cls, Consumer<T> destroy) { in destroyDependency()
644 public static <T> void destroy(Class<T> cls, Consumer<T> destroy) { in destroy()
652 public static <T> T get(Class<T> cls) { in get()
660 public static <T> T get(DependencyKey<T> cls) { in get()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java80 Class<?> cls = Class.forName(className, false, this.getClass().getClassLoader()); in testAllClassInheritance() local
103 private boolean hasSize(Class<?> cls) { in hasSize()
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java124 public void sendReportReadyBroadcast(String pkg, String cls) { in sendReportReadyBroadcast()
196 public List<String> getIncidentReportList(String pkg, String cls) throws RemoteException { in getIncidentReportList()
211 public void deleteIncidentReports(String pkg, String cls, String id) in deleteIncidentReports()
249 public IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id) in getIncidentReport()
/frameworks/base/core/java/android/view/inspector/
DInspectionCompanionProvider.java36 <T> InspectionCompanion<T> provide(@NonNull Class<T> cls); in provide()
DStaticInspectionCompanionProvider.java34 public <T> InspectionCompanion<T> provide(@NonNull Class<T> cls) { in provide()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleProcessCpuThreadReader.cpp261 jclass cls = mEnv->GetObjectClass(mCpuTimeInStateReader); in getCpuFrequencyCount() local
271 jclass cls = mEnv->GetObjectClass(mCpuTimeInStateReader); in startTrackingProcessCpuTimes() local
281 jclass cls = mEnv->GetObjectClass(mCpuTimeInStateReader); in startAggregatingTaskCpuTimes() local
293 jclass cls = mEnv->GetObjectClass(mCpuTimeInStateReader); in getAggregatedTaskCpuFreqTimes() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsModule.java49 Class<?> cls = null; in provideRecentsImpl() local
/frameworks/base/media/mca/filterfw/jni/
Djni_util.h132 jclass cls = env->GetObjectClass(j_object); in GetObjectID() local
144 jclass cls = env->GetObjectClass(j_object); in WrapObject() local
167 jclass cls = env->FindClass(jclass_name_.c_str()); in CreateJavaObject() local

123