/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 777 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/ |
D | RemoteViews.java | 575 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/ |
D | android_animation_PropertyValuesHolder.cpp | 33 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()
|
D | android_view_PointerIcon.cpp | 113 #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);
|
D | android_view_KeyEvent.cpp | 125 #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);
|
D | android_view_TextureView.cpp | 211 #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);
|
D | android_view_InputChannel.cpp | 289 #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);
|
D | android_view_MotionEvent.cpp | 838 #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);
|
D | android_view_InputQueue.cpp | 509 #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/ |
D | com_android_server_PowerManagerService.cpp | 57 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);
|
D | com_android_server_UsbDeviceManager.cpp | 43 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 45 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
|
D | com_android_server_UsbHostManager.cpp | 46 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/ |
D | ClassHasNativeVisitorTest.java | 70 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/ |
D | PropertyValuesHolder_Delegate.java | 39 /*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/ |
D | HasMethodAnnotationTest.java | 39 String methodName, in methodHasAnnotation() argument 42 Method method = aClass.getMethod(methodName); in methodHasAnnotation()
|
D | HasAnnotationTest.java | 44 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/ |
D | PropertyValuesHolder.java | 381 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/ |
D | TestDelegates.java | 57 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/ |
D | TestMethod.java | 40 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/ |
D | PackageManagerHostTestUtils.java | 138 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/ |
D | StubMethodAdapter.java | 51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubMethodAdapter() argument 59 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) { in StubMethodAdapter()
|
D | ClassHasNativeVisitor.java | 41 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { in setHasNativeMethods() argument
|
D | DelegateMethodAdapter2.java | 121 String methodName, in DelegateMethodAdapter2() argument 128 mMethodName = methodName; in DelegateMethodAdapter2()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 196 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/ |
D | android_media_MediaScanner.cpp | 49 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 51 LOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
|