Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java777 String methodName; in pairOrAcceptPair() local
779 methodName = String.format("pair(device=%s)", device); in pairOrAcceptPair()
781 methodName = String.format("acceptPair(device=%s)", device); in pairOrAcceptPair()
785 fail(String.format("%s bluetooth not enabled", methodName)); in pairOrAcceptPair()
807 fail(String.format("%s invalid state: state=%d", methodName, state)); in pairOrAcceptPair()
817 writeOutput(String.format("%s completed in %d ms", methodName, in pairOrAcceptPair()
820 writeOutput(String.format("%s completed", methodName)); in pairOrAcceptPair()
831 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); in pairOrAcceptPair()
844 String methodName = String.format("unpair(device=%s)", device); in unpair() local
847 fail(String.format("%s bluetooth not enabled", methodName)); in unpair()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViews.java575 String methodName; field in RemoteViews.ReflectionActionWithoutParams
579 ReflectionActionWithoutParams(int viewId, String methodName) { in ReflectionActionWithoutParams() argument
581 this.methodName = methodName; in ReflectionActionWithoutParams()
586 this.methodName = in.readString(); in ReflectionActionWithoutParams()
592 out.writeString(this.methodName); in writeToParcel()
603 method = klass.getMethod(this.methodName); in apply()
606 + this.methodName + "()"); in apply()
612 + this.methodName + "()"); in apply()
619 + this.methodName + "()"); in apply()
650 String methodName; field in RemoteViews.ReflectionAction
[all …]
/frameworks/base/core/jni/
Dandroid_animation_PropertyValuesHolder.cpp33 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getIntMethod() argument
35 const char *nativeString = env->GetStringUTFChars(methodName, 0); in android_animation_PropertyValuesHolder_getIntMethod()
37 env->ReleaseStringUTFChars(methodName, nativeString); in android_animation_PropertyValuesHolder_getIntMethod()
42 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getFloatMethod() argument
44 const char *nativeString = env->GetStringUTFChars(methodName, 0); in android_animation_PropertyValuesHolder_getFloatMethod()
46 env->ReleaseStringUTFChars(methodName, nativeString); in android_animation_PropertyValuesHolder_getFloatMethod()
Dandroid_view_PointerIcon.cpp113 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
114 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
115 LOG_FATAL_IF(! var, "Unable to find method " methodName);
117 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
118 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
119 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dandroid_view_KeyEvent.cpp125 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
126 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
127 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
129 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
130 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
131 LOG_FATAL_IF(! var, "Unable to find method" methodName);
Dandroid_view_TextureView.cpp211 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
212 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
213 LOG_FATAL_IF(!var, "Unable to find method " methodName);
Dandroid_view_InputChannel.cpp289 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
290 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
291 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dandroid_view_MotionEvent.cpp838 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
839 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
840 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
842 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
843 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
844 LOG_FATAL_IF(! var, "Unable to find method" methodName);
Dandroid_view_InputQueue.cpp509 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
510 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
511 LOG_FATAL_IF(! var, "Unable to find static method " methodName);
/frameworks/base/services/jni/
Dcom_android_server_PowerManagerService.cpp57 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument
59 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
147 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
148 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
149 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dcom_android_server_UsbDeviceManager.cpp43 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument
45 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
Dcom_android_server_UsbHostManager.cpp46 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument
48 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DClassHasNativeVisitorTest.java70 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { in setHasNativeMethods() argument
72 mMethodsFound.add(methodName); in setHasNativeMethods()
74 super.setHasNativeMethods(hasNativeMethods, methodName); in setHasNativeMethods()
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Delegate.java39 /*package*/ static int nGetIntMethod(Class<?> targetClass, String methodName) { in nGetIntMethod() argument
45 /*package*/ static int nGetFloatMethod(Class<?> targetClass, String methodName) { in nGetFloatMethod() argument
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
DHasMethodAnnotationTest.java39 String methodName, in methodHasAnnotation() argument
42 Method method = aClass.getMethod(methodName); in methodHasAnnotation()
DHasAnnotationTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() argument
46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation()
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java381 String methodName = getMethodName(prefix, mPropertyName); in getPropertyFunction() local
385 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
406 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
846 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
847 mJniSetter = nGetIntMethod(targetClass, methodName); in setupSetter()
982 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
983 mJniSetter = nGetFloatMethod(targetClass, methodName); in setupSetter()
1006 native static private int nGetIntMethod(Class targetClass, String methodName); in nGetIntMethod() argument
1007 native static private int nGetFloatMethod(Class targetClass, String methodName); in nGetFloatMethod() argument
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java57 String methodName = methods[i]; in testMethodDelegates() local
60 String className = methodName.substring(0, methodName.indexOf('#')); in testMethodDelegates()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { in TestMethod() argument
43 this.testMethodName = methodName; in TestMethod()
/frameworks/base/core/tests/hosttests/src/android/content/pm/
DPackageManagerHostTestUtils.java138 String methodName, String runnerName, Map<String, String> params) throws IOException, in doRunTests() argument
143 if (className != null && methodName != null) { in doRunTests()
144 testRunner.setMethodName(className, methodName); in doRunTests()
174 String methodName, String runnerName, Map<String, String> params) throws IOException, in runDeviceTestsDidAllTestsPass() argument
176 CollectingTestRunListener listener = doRunTests(pkgName, className, methodName, in runDeviceTestsDidAllTestsPass()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubMethodAdapter() argument
59 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) { in StubMethodAdapter()
DClassHasNativeVisitor.java41 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { in setHasNativeMethods() argument
DDelegateMethodAdapter2.java121 String methodName, in DelegateMethodAdapter2() argument
128 mMethodName = methodName; in DelegateMethodAdapter2()
/frameworks/base/core/java/android/view/
DMenuInflater.java196 public InflatedOnMenuItemClickListener(Context context, String methodName) { in InflatedOnMenuItemClickListener() argument
200 mMethod = c.getMethod(methodName, PARAM_TYPES); in InflatedOnMenuItemClickListener()
203 "Couldn't resolve menu item onClick handler " + methodName + in InflatedOnMenuItemClickListener()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp49 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument
51 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()

12