/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 767 String methodName; in pairOrAcceptPair() local 769 methodName = String.format("pair(device=%s)", device); in pairOrAcceptPair() 771 methodName = String.format("acceptPair(device=%s)", device); in pairOrAcceptPair() 775 fail(String.format("%s bluetooth not enabled", methodName)); in pairOrAcceptPair() 797 fail(String.format("%s invalid state: state=%d", methodName, state)); in pairOrAcceptPair() 807 writeOutput(String.format("%s completed in %d ms", methodName, in pairOrAcceptPair() 810 writeOutput(String.format("%s completed", methodName)); in pairOrAcceptPair() 821 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); in pairOrAcceptPair() 834 String methodName = String.format("unpair(device=%s)", device); in unpair() local 837 fail(String.format("%s bluetooth not enabled", methodName)); in unpair() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Trace.java | 247 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument 249 nativeTraceBegin(traceTag, methodName); in traceBegin() 282 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument 284 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin() 300 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument 302 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd() 362 public static void beginAsyncSection(@NonNull String methodName, int cookie) { in beginAsyncSection() argument 363 asyncTraceBegin(TRACE_TAG_APP, methodName, cookie); in beginAsyncSection() 374 public static void endAsyncSection(@NonNull String methodName, int cookie) { in endAsyncSection() argument 375 asyncTraceEnd(TRACE_TAG_APP, methodName, cookie); in endAsyncSection()
|
/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() 50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, in getMultiparameterMethod() argument 53 const char *nativeString = env->GetStringUTFChars(methodName, 0); in getMultiparameterMethod() 60 env->ReleaseStringUTFChars(methodName, nativeString); in getMultiparameterMethod() 65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) in android_animation_PropertyValuesHolder_getMultipleFloatMethod() argument [all …]
|
D | android_media_RemoteDisplay.cpp | 101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 103 ALOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
|
/frameworks/layoutlib/bridge/src/android/animation/ |
D | PropertyValuesHolder_Delegate.java | 64 private static long registerMethod(Class<?> targetClass, String methodName, Class[] types, in registerMethod() argument 68 methodName, nArgs); in registerMethod() 84 method = targetClass.getDeclaredMethod(methodName, args); in registerMethod() 115 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) { in nGetIntMethod() argument 116 return nGetMultipleIntMethod(targetClass, methodName, 1); in nGetIntMethod() 120 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) { in nGetFloatMethod() argument 121 return nGetMultipleFloatMethod(targetClass, methodName, 1); in nGetFloatMethod() 125 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, in nGetMultipleIntMethod() argument 127 return registerMethod(targetClass, methodName, INTEGER_VARIANTS, numParams); in nGetMultipleIntMethod() 131 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, in nGetMultipleFloatMethod() argument [all …]
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 67 String methodName = null; in addTestClass() local 69 methodName = className.substring(hashPos + 1); in addTestClass() 72 addTestClass(className, methodName); in addTestClass() 83 public void addTestClass(String className, String methodName) throws ClassNotFoundException { in addTestClass() argument 85 if (methodName != null) { in addTestClass() 86 addSingleTestMethod(clazz, methodName); in addTestClass()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | SysTrace.java | 102 public static void beginSectionAsync(String methodName, int cookie) { in beginSectionAsync() argument 104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie); in beginSectionAsync() 116 public static void endSectionAsync(String methodName, int cookie) { in endSectionAsync() argument 118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie); in endSectionAsync()
|
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/ |
D | SelectTest.java | 238 boolean accept(String className, @Nullable String methodName) { in accept() argument 244 return classSet == null || classSet.accept(className, methodName); in accept() 274 final String methodName = getMethodName(selectTestArg); in add() local 276 if (methodName == null) { in add() 297 methodSet.add(methodName); in add() 303 boolean accept(String className, @Nullable String methodName) { in accept() argument 308 return methodName == null || methodSet == null || methodSet.contains(methodName); in accept() 325 for (String methodName : methodSet) { in toString() 326 joiner.add(className + METHOD_SEPARATOR + methodName); in toString()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | StubMethodAdapterTest.java | 46 final String methodName = "returnTrue"; in testBoolean() local 48 testBoolean((name, type) -> false, Assert::assertTrue, methodName); in testBoolean() local 50 testBoolean((name, type) -> methodName.equals(name) && in testBoolean() 51 Type.BOOLEAN_TYPE.equals(type.getReturnType()), Assert::assertFalse, methodName); in testBoolean() local 58 String methodName) throws Exception { in testBoolean() argument 68 Method method = aClass.getMethod(methodName); in testBoolean()
|
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/core/java/android/widget/ |
D | RemoteViews.java | 340 public String methodName; field in RemoteViews.MethodKey 350 && Objects.equals(p.methodName, methodName); in equals() 356 ^ Objects.hashCode(methodName); in hashCode() 359 public void set(Class targetClass, Class paramClass, String methodName) { in set() argument 362 this.methodName = methodName; in set() 920 private MethodHandle getMethod(View view, String methodName, Class<?> paramType, in getMethod() argument 927 sLookupKey.set(klass, paramType, methodName); in getMethod() 934 method = klass.getMethod(methodName); in getMethod() 936 method = klass.getMethod(methodName, paramType); in getMethod() 941 + methodName + getParameters(paramType)); in getMethod() [all …]
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | Session.java | 77 String methodName = source.readString(); 78 return new Info(id, methodName); 382 StringBuilder methodName = new StringBuilder(); in toString() local 383 methodName.append(getFullMethodPath(false /*truncatePath*/)); in toString() 385 methodName.append("(InCall package: "); in toString() 386 methodName.append(mOwnerInfo); in toString() 387 methodName.append(")"); in toString() 389 return methodName.toString() + "@" + getFullSessionId(); in toString()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | ExtensionRegistryFactory.java | 90 private static final ExtensionRegistryLite invokeSubclassFactory(String methodName) in invokeSubclassFactory() argument 93 .getMethod(methodName).invoke(null); in invokeSubclassFactory()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 81 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 83 ALOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback() 333 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 334 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 335 LOG_FATAL_IF(! (var), "Unable to find method " methodName);
|
D | com_android_server_hdmi_HdmiCecController.cpp | 168 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 170 ALOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback() 332 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 333 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 334 LOG_FATAL_IF(! (var), "Unable to find method " methodName);
|
D | com_android_server_UsbHostManager.cpp | 48 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument 50 ALOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 327 final String methodName; in getExportedCallStats() local 331 methodName = resolvedCode == null in getExportedCallStats() 335 methodName = previousMethodName; in getExportedCallStats() 337 previousMethodName = methodName; in getExportedCallStats() 338 exported.methodName = methodName; in getExportedCallStats() 361 callStat.methodName = DEBUG_ENTRY_PREFIX + variableName; in createDebugEntry() 412 if (e.methodName.startsWith(DEBUG_ENTRY_PREFIX)) { in dumpLocked() 422 .append('#').append(e.methodName) in dumpLocked() 578 public String methodName; field in BinderCallsStats.ExportedCallStat
|
/frameworks/base/core/java/android/animation/ |
D | PropertyValuesHolder.java | 698 String methodName = getMethodName(prefix, mPropertyName); in getPropertyFunction() local 702 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction() 722 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction() 1274 String methodName = getMethodName("set", mPropertyName); in setupSetter() local 1276 mJniSetter = nGetIntMethod(targetClass, methodName); in setupSetter() 1421 String methodName = getMethodName("set", mPropertyName); in setupSetter() local 1423 mJniSetter = nGetFloatMethod(targetClass, methodName); in setupSetter() 1526 String methodName = getMethodName("set", mPropertyName); in setupSetter() local 1531 mJniSetter = nGetMultipleFloatMethod(targetClass, methodName, numParams); in setupSetter() 1633 String methodName = getMethodName("set", mPropertyName); in setupSetter() local [all …]
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | TestPredicatesTest.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/tests/coretests/src/com/android/internal/os/ |
D | BinderCallsStatsTest.java | 257 assertEquals("resolved", callStatsList.get(0).methodName); in testTransactionCodeResolved() 281 assertEquals("foo1", callStatsList.get(0).methodName); in testMultipleTransactionCodeResolved() 284 assertEquals("foo2", callStatsList.get(1).methodName); in testMultipleTransactionCodeResolved() 287 assertEquals("resolved", callStatsList.get(2).methodName); in testMultipleTransactionCodeResolved() 303 assertEquals("1", callStatsList.get(0).methodName); in testResolvingCodeDoesNotThrowWhenMethodNotPresent() 519 assertEquals("1", stat.methodName); in testGetExportedStatsWhenDetailedTrackingEnabled() 593 assertEquals("1", callStats.methodName); in testOverflow_overflowEntry() 599 assertEquals("-1", callStats.methodName); in testOverflow_overflowEntry() 650 assertEquals("__DEBUG_start_time_millis", debugEntry1.methodName); in testAddsDebugEntries() 654 assertEquals("__DEBUG_end_time_millis", debugEntry2.methodName); in testAddsDebugEntries() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
D | TestDelegates.java | 60 for (String methodName : methods) { in testMethodDelegates() 62 String className = methodName.substring(0, methodName.indexOf('#')); in testMethodDelegates()
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 41 … private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params) in invokeMethod() argument 47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses); in invokeMethod()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 44 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { in TestMethod() argument 47 this.testMethodName = methodName; in TestMethod()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerService.java | 457 private void assertCalledByServiceLocked(@NonNull String methodName) { in assertCalledByServiceLocked() argument 458 if (!isCalledByServiceLocked(methodName)) { in assertCalledByServiceLocked() 464 private boolean isCalledByServiceLocked(@NonNull String methodName) { in isCalledByServiceLocked() argument 469 Slog.e(mTag, methodName + ": called by UID " + callingUid in isCalledByServiceLocked() 476 Slog.w(mTag, methodName + ": invalid service name: " + serviceName); in isCalledByServiceLocked() 487 Slog.w(mTag, methodName + ": could not verify UID for " + serviceName); in isCalledByServiceLocked() 491 Slog.e(mTag, methodName + ": called by UID " + callingUid + ", but service UID is " in isCalledByServiceLocked()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StubCallMethodAdapter.java | 51 public StubCallMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubCallMethodAdapter() argument 60 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) { in StubCallMethodAdapter()
|