Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManager.java32 <T extends Plugin> T getOneShotPlugin(Class<T> cls); in getOneShotPlugin()
33 <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls); in getOneShotPlugin()
35 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls); in addPluginListener()
36 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
39 Class<?> cls); in addPluginListener()
41 Class cls, boolean allowMultiple); in addPluginListener()
45 <T> boolean dependsOn(Plugin p, Class<T> cls); in dependsOn()
48 public static <P> String getAction(Class<P> cls) { in getAction()
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()
128 public InvalidVersionException(Class<?> cls, boolean tooNew, int expected, int actual) { in InvalidVersionException()
DPluginManagerImpl.java124 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin()
135 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin()
154 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener()
158 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
160 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener() local
164 Class<?> cls) { in addPluginListener()
169 Class cls, boolean allowMultiple) { in addPluginListener()
324 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
349 Class<?> cls, PluginManagerImpl manager) { in createPluginInstanceManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakePluginManager.java33 Class cls, boolean allowMultiple) { in addPluginListener()
38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener()
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
50 Class<?> cls) { in addPluginListener()
60 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
70 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin()
75 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin()
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.java83 public void injectLeakCheckedDependencies(Class<?>... cls) { in injectLeakCheckedDependencies()
101 public <T> T getLeakChecker(Class<T> cls) { in getLeakChecker()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarHelperRegistry.java84 @NonNull Context context, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateWithAppContext()
100 <H> H getHelper(@NonNull Class<H> cls) { in getHelper()
108 @NonNull Context appContext, @NonNull Class<H> cls, @NonNull HelperCreator<H> creator) { in getOrCreateHelper()
134 public <H> void putHelper(@NonNull Class<H> cls, @NonNull H helper) { in putHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginDependencyProvider.java42 public <T> void allowPluginDependency(Class<T> cls) { in allowPluginDependency()
46 public <T> void allowPluginDependency(Class<T> cls, T obj) { in allowPluginDependency()
53 <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/core/java/android/os/
DIIncidentManager.aidl64 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList()
69 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport()
76 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports()
/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.java72 public <T> ExtensionBuilder<T> newExtension(Class<T> cls) { in newExtension()
93 public <P extends T> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls) { in withPlugin()
98 public <P extends T> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls, in withPlugin()
104 public <P> ExtensionController.ExtensionBuilder<T> withPlugin(Class<P> cls, in withPlugin()
208 public <P> void addPlugin(String action, Class<P> cls, PluginConverter<T, P> converter) { in addPlugin()
228 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/content/
DComponentName.java58 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative()
89 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative()
101 public ComponentName(@NonNull String pkg, @NonNull String cls) { in ComponentName()
116 public ComponentName(@NonNull Context pkg, @NonNull String cls) { in ComponentName()
130 public ComponentName(@NonNull Context pkg, @NonNull Class<?> cls) { in ComponentName()
280 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/src/com/android/systemui/
DSysuiBaseFragmentTest.java49 public SysuiBaseFragmentTest(Class<? extends Fragment> cls) { in SysuiBaseFragmentTest()
79 public void injectLeakCheckedDependencies(Class<?>... cls) { in injectLeakCheckedDependencies()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java81 Class<?> cls = Class.forName(className, false, this.getClass().getClassLoader()); in testAllClassInheritance() local
104 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/packages/SystemUI/src/com/android/systemui/
DDependency.java523 protected final <T> T getDependency(Class<T> cls) { in getDependency()
542 protected <T> T createDependency(Object cls) { in createDependency()
564 private <T> void destroyDependency(Class<T> cls, Consumer<T> destroy) { in destroyDependency()
585 public static <T> void destroy(Class<T> cls, Consumer<T> destroy) { in destroy()
593 public static <T> T get(Class<T> cls) { in get()
601 public static <T> T get(DependencyKey<T> cls) { in get()
/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
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp33 static jbyteArray android_net_wifi_readKernelLogNative(JNIEnv *env, jclass cls) { in android_net_wifi_readKernelLogNative()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DCarrierDefaultActivityTestCase.java73 protected <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService()
DTestContext.java34 public <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService()

123