Searched refs:methods (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
H A Dnative.cpp33 static const JNINativeMethod methods[] = { variable
38 * Register several native methods for one class.
59 * Register native methods for all classes we know about.
66 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
H A Dnative.cpp33 static const JNINativeMethod methods[] = { variable
38 * Register several native methods for one class.
59 * Register native methods for all classes we know about.
66 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
H A Dnative.cpp33 static const JNINativeMethod methods[] = { variable
38 * Register several native methods for one class.
59 * Register native methods for all classes we know about.
66 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java236 * Returns an array containing all public methods on the type represented by this ModelClass
242 * @param staticOnly Whether only static methods should be returned or both instance methods
243 * and static methods are valid.
245 * @return An array containing all public methods with the name <code>name</code> and taking
249 ModelMethod[] methods = getDeclaredMethods();
251 for (ModelMethod method : methods) {
261 * Returns all public instance methods with the given name and number of parameters.
265 * @return An array containing all public methods with the given name and number of parameters.
268 ModelMethod[] methods
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiTestUtil.java43 Method[] methods = clazz.getDeclaredMethods();
44 for (Method method : methods) {
/frameworks/base/core/jni/android/graphics/
H A DPorterDuff.cpp61 static const JNINativeMethod methods[] = { member in namespace:android
66 return RegisterMethodsOrDie(env, "android/graphics/PorterDuffXfermode", methods, NELEM(methods));
H A DPathMeasure.cpp146 static const JNINativeMethod methods[] = { member in namespace:android
159 return RegisterMethodsOrDie(env, "android/graphics/PathMeasure", methods, NELEM(methods));
/frameworks/base/tools/apilint/
H A Dapilint.py125 self.methods = []
197 clazz.methods.append(Method(clazz, line, raw, blame))
269 warn(clazz, f, "C8", "If min/max could change in future, make them dynamic methods")
296 for m in clazz.methods:
306 All methods must follow onFoo() naming style."""
318 for m in clazz.methods:
326 All methods must follow onFoo() naming style.
334 for m in clazz.methods:
338 if len(clazz.methods) == 1 and clazz.name.startswith("On"):
339 m = clazz.methods[
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHttpClientStack.java27 import org.apache.http.client.methods.HttpDelete;
28 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
29 import org.apache.http.client.methods.HttpGet;
30 import org.apache.http.client.methods.HttpHead;
31 import org.apache.http.client.methods.HttpOptions;
32 import org.apache.http.client.methods.HttpPost;
33 import org.apache.http.client.methods.HttpPut;
34 import org.apache.http.client.methods.HttpTrace;
35 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DHttpClientStackTest.java23 import org.apache.http.client.methods.HttpDelete;
24 import org.apache.http.client.methods.HttpGet;
25 import org.apache.http.client.methods.HttpHead;
26 import org.apache.http.client.methods.HttpOptions;
27 import org.apache.http.client.methods.HttpPost;
28 import org.apache.http.client.methods.HttpPut;
29 import org.apache.http.client.methods.HttpTrace;
30 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaClass.java243 Method[] methods = mClass.getDeclaredMethods();
244 if (methods == null) {
247 ModelMethod[] classMethods = new ModelMethod[methods.length];
248 for (int i = 0; i < methods.length; i++) {
249 classMethods[i] = new JavaMethod(methods[i]);
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java105 List<InputMethodInfo> methods;
108 methods = mImm.getEnabledInputMethodList();
116 methods = mImm.getInputMethodList();
124 if (methods != null) {
126 for (int i=0; i<methods.size(); i++) {
127 InputMethodInfo imi = methods.get(i);
238 System.err.println("The list command prints all enabled input methods. Use");
239 System.err.println("the -a option to see all input methods. Use");
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp152 static const JNINativeMethod methods[] = { variable
160 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
H A Dandroid_os_MemoryFile.cpp140 static const JNINativeMethod methods[] = { member in namespace:android
154 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods));
H A Dandroid_util_MemoryIntArray.cpp180 static const JNINativeMethod methods[] = { member in namespace:android
191 return RegisterMethodsOrDie(env, "android/util/MemoryIntArray", methods, NELEM(methods));
H A DBindTest.cpp210 static VMMethod methods[] = { variable
229 jamvm_registerClass("BindTest", methods);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java88 Method[] methods = clazz.getMethods();
89 for (Method method : methods) {
/frameworks/base/core/java/android/view/
H A DViewDebug.java87 * This annotation can be used to mark fields and methods to be dumped by
88 * the view server. Only non-void methods with no arguments can be annotated
202 * Note: Applies only to fields and methods that return String[].
272 * This annotation can be used to mark fields and methods to be dumped when
280 * When retrieveReturn is true, we need to retrieve second level methods
284 * @return true if we need the second level methods
1068 Method[] methods = map.get(klass);
1069 if (methods != null) {
1070 return methods;
1073 methods
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp43 err = module->methods->open(module, CONSUMERIR_TRANSMITTER,
H A Dcom_android_server_lights_LightsService.cpp55 err = module->methods->open(module, name, &device);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java51 /** The set of methods to stub out. */
53 /** All classes to output as-is, except if they have native methods. */
71 /** A map { FQCN => set { method names } } of methods to rewrite as delegates.
112 // Create the map/set of methods to change to delegates
118 Set<String> methods = mDelegateMethods.get(className);
119 if (methods == null) {
120 methods = new HashSet<>();
121 mDelegateMethods.put(className, methods);
123 methods.add(DelegateClassAdapter.ALL_NATIVES);
229 /** Sets the map of classes to output as-is, except if they have native methods */
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java33 import org.apache.http.client.methods.HttpGet;
H A DDefaultHttpClientTest.java33 import org.apache.http.client.methods.HttpGet;
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpClient.java28 import org.apache.http.client.methods.HttpUriRequest;
67 // Unimplemented methods ahoy
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java33 * with hardware keyboards. Software input methods have no obligation to trigger
34 * the methods in this class.
219 KeyListener[] methods = content.getSpans(0, content.length(),
221 for (Object method : methods) {

Completed in 1839 milliseconds

123