Home
last modified time | relevance | path

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

123456789

/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 …]
/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
/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()
H A DPluginManagerImpl.java89 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener()
94 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener()
96 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener() local
100 Class<T> cls) { in addPluginListener()
105 Class<T> cls, boolean allowMultiple) { in addPluginListener()
213 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
/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/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/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/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/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/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/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/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()
/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/core/java/android/os/
H A 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()
/aosp12/frameworks/base/core/java/android/content/
H A 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
/aosp12/art/test/680-checker-deopt-dex-pc-0/src/
H A DMain.java55 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint()
56 public native static void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled()
/aosp12/art/test/common/
H A Druntime_state.cc64 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasOatFile(JNIEnv* env, jclass cls) { in Java_Main_hasOatFile()
75 jclass cls) { in Java_Main_getCompilerFilter()
115 extern "C" JNIEXPORT jboolean JNICALL Java_Main_compiledWithOptimizing(JNIEnv* env, jclass cls) { in Java_Main_compiledWithOptimizing()
164 jclass cls, in Java_Main_isAotCompiled()
183 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
198 jclass cls, in Java_Main_hasJitCompiledEntrypoint()
215 jclass cls, in Java_Main_hasJitCompiledCode()
295 jclass cls, in Java_Main_ensureJitCompiled()
315 jclass cls, in Java_Main_ensureJitBaselineCompiled()
335 jclass cls, in Java_Main_hasSingleImplementation()
[all …]

123456789