Home
last modified time | relevance | path

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

1234567891011

/aosp12/libnativehelper/
H A DJniConstants.c53 #define CLASS_NAME(cls) g_ ## cls argument
54 #define METHOD_NAME(cls, method) g_ ## cls ## _ ## method argument
55 #define FIELD_NAME(cls, field) g_ ## cls ## _ ## field argument
61 #define JCLASS_DECLARE_STORAGE(cls, ...) \ argument
66 #define JMETHODID_DECLARE_STORAGE(cls, method, ...) \ argument
71 #define JFIELDID_DECLARE_STORAGE(cls, field, ...) \ in JMETHODID_CONSTANTS_LIST() argument
81 jclass cls = (*env)->FindClass(env, signature); local
89 static jmethodID FindMethod(JNIEnv* env, jclass cls, in FindMethod()
101 static jfieldID FindField(JNIEnv* env, jclass cls, in FindField()
153 #define JCLASS_INVALIDATE(cls, ...) CLASS_NAME(cls) = NULL; in jniUninitializeConstants() argument
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dmake_ctocpp_impl.py27 def ctocpp_make_impl_proto(cls, func): argument
152 def ctocpp_make_static_param(cls, funcs, prefix): argument
171 def ctocpp_make_static_params(cls, header): argument
178 def ctocpp_get_static_funcion(cls, func, suffix, dir_name, retval_default): argument
203 def ctocpp_get_virtual_funcion(cls, func, suffix, dir_name, macro_retval_default): argument
249 def ctocpp_make_function_impl(cls, func, suffix, dir_name): argument
330 def ctocpp_make_function_body(cls, funcs, dir_name): argument
346 def ctocpp_make_functions_body(cls, header, dir_name): argument
355 def ctocpp_make_include_files(cls, body, header, dir_name): argument
371 def ctocpp_make_unwrap_derived(cls, header, clsname): argument
H A Dmake_cpptoc_impl.py167 def make_cpptoc_function_impl(cls, name, func, defined_names): argument
245 def make_cpptoc_function_body(cls, funcs, prefix, defined_names): argument
261 def cpptoc_make_function_assign(cls, prefix, header): argument
282 def make_cpptoc_static_function_impl(cls, funcs, defined_names): argument
317 def cpptoc_make_unwrap_derived(cls, header, clsname): argument
328 def cpptoc_make_include_file(cls, body, header, dir_name): argument
344 def cpptoc_make_class_function(cls, prefix, header, dir_name): argument
367 def cpptoc_make_c_function_body(cls, header, dir_name, defined_names): argument
H A Dmake_file_base.py56 def make_def_file(cls, class_name): argument
82 def make_include_file(cls, ident, header, dir_name, class_name): argument
103 def make_class_define(cls, ident, base_class, class_name, funcs_body): argument
120 def make_wrapper_type(cls, ident): argument
131 def get_derived_classes(cls, header): argument
177 def get_class_func_list(cls, header): argument
196 def get_func_pointer_name(cls, func, prefix, suffix): argument
H A Dmake_ctocpp_header.py27 def make_function_body(cls): argument
44 def make_functions_body(cls, header): argument
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginManager.java34 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls); in addPluginListener()
36 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener()
39 Class<T> cls); in addPluginListener()
41 Class<T> 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()
H A 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()
/aosp12/system/extras/simpleperf/scripts/test/
H A Dtest_utils.py41 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str], argument
72 def log(cls, s: str): argument
78 def testdata_path(cls, testdata_name: str) -> str: argument
83 def get_test_dir(cls, test_name: str) -> Path: argument
88 def script_path(cls, script_name: str) -> str: argument
93 def get_device_features(cls): argument
103 def is_trace_offcpu_supported(cls): argument
107 def get_32bit_abi(cls): argument
111 def write_progress(cls, progress: str): argument
H A Dcpp_app_test.py26 def setUpClass(cls): argument
82 def setUpClass(cls): argument
94 def setUpClass(cls): argument
126 def setUpClass(cls): argument
157 def setUpClass(cls): argument
166 def setUpClass(cls): argument
176 def setUpClass(cls): argument
H A Dkotlin_app_test.py26 def setUpClass(cls): argument
90 def setUpClass(cls): argument
102 def setUpClass(cls): argument
/ohos5.0/build/templates/common/
H A Dinclude_relative_path_check.py27 def get_components_from_inherit_attr(cls, components, inherit, project): argument
37 def check(cls, include): argument
43 def scan_files(cls, components, proj_path): argument
60 def scan_each_file(cls, component, file, project_path, results): argument
74 def analysis(cls, config: str, project_path: str, components_info: str, output_path: str): argument
97 def __get_need_scan_path(cls, components, project, components_info_path): argument
117 def __get_components(cls, config: str, project: str): argument
/aosp12/art/test/688-shared-library/src-art/
H A DMain.java45 Class<?> cls = loader.loadClass("Main"); in testNoLibrary() local
55 Class<?> cls = delegateFirst.loadClass("Main"); in testOneLibrary() local
74 Class<?> cls = delegateFirst.loadClass("Main"); in testTwoLibraries1() local
93 Class<?> cls = delegateFirst.loadClass("Main"); in testTwoLibraries2() local
114 Class<?> cls = delegateFirst.loadClass("Main"); in testTransitive1() local
136 Class<?> cls = delegateFirst.loadClass("Main"); in testTransitive2() local
159 Class<?> cls = delegateFirst.loadClass("Main"); in testTransitive3() local
182 Class<?> cls = delegateFirst.loadClass("Main"); in testTransitive4() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A 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()
H A 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()
/aosp12/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginDependencyProvider.java44 public <T> void allowPluginDependency(Class<T> cls) { in allowPluginDependency()
48 public <T> void allowPluginDependency(Class<T> cls, T obj) { in allowPluginDependency()
55 <T> T get(Plugin p, Class<T> cls) { in get()
/aosp12/art/tools/veridex/
H A Dflow_analysis.cc116 VeriClass* cls, in UpdateRegister()
132 void VeriFlowAnalysis::UpdateRegister(uint32_t dex_register, const VeriClass* cls) { in UpdateRegister()
154 VeriClass* cls = resolver_->GetVeriClass(proto_id.return_type_idx_); in GetReturnType() local
161 VeriClass* cls = resolver_->GetVeriClass(field_id.type_idx_); in GetFieldType() local
535 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() local
542 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() local
550 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() local
726 RegisterValue cls = GetRegister(GetParameterAt(instruction, is_range, args, 0)); in AnalyzeInvoke() local
733 RegisterValue cls = GetRegister(GetParameterAt(instruction, is_range, args, 0)); in AnalyzeInvoke() local
740 const VeriClass* cls = obj.GetType(); in AnalyzeInvoke() local
[all …]
/aosp12/frameworks/native/libs/incidentcompanion/binder/android/os/
H A 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()
/aosp12/art/test/1339-dead-reference-safe/src/
H A DMain.java24 public static boolean ensureCompiled(Class cls, String methodName) throws NoSuchMethodException { in ensureCompiled()
63 public static native boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint()
64 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled()
/aosp12/build/make/tools/
H A Dcheck_elf_file.py164 def _read_elf_header(cls, elf_file_path): argument
175 def open(cls, elf_file_path, llvm_readobj): argument
187 def _find_prefix(cls, pattern, lines_it): argument
196 def _read_llvm_readobj(cls, elf_file_path, header, llvm_readobj): argument
207 def _parse_llvm_readobj(cls, elf_file_path, header, lines): argument
227 def _parse_dynamic_table(cls, elf_file_path, lines_it): argument
281 def _parse_dynamic_symbols(cls, lines_it): argument
301 def _parse_dynamic_symbols_internal(cls, lines_it): argument
455 def _find_symbol_from_libs(cls, libs, name, version): argument
/aosp12/art/test/667-jit-jni-stub/src/
H A DMain.java174 public native static void callThrough(Class<?> cls, String methodName); in callThrough()
179 public native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled()
180 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint()
181 public native static boolean hasJitCompiledCode(Class<?> cls, String methodName); in hasJitCompiledCode()
/aosp12/art/test/724-invoke-super-npe/src/
H A DMain.java22 Class<?> cls = Class.forName("TestCase"); in main() local
27 public static void test(String methodName, Class<?> cls) throws Exception { in test()
/aosp12/art/test/689-zygote-jit-deopt/src/
H A DMain.java37 private static native void ensureJitCompiled(Class<?> cls, String name); in ensureJitCompiled()
38 private static native boolean hasJitCompiledEntrypoint(Class<?> cls, String name); in hasJitCompiledEntrypoint()
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A 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()

1234567891011