/packages/modules/AdServices/adservices/tests/perf/assets/concurrent-configs/ |
D | msmt_concurrent_indexed.textpb | 10 methodName: "repeatedlyRegisterSourceView" 27 methodName: "repeatedlyRegisterSourceView" 44 methodName: "repeatedlyRegisterSourceView" 61 methodName: "repeatedlyRegisterSourceView" 78 methodName: "repeatedlyRegisterSourceView" 95 methodName: "repeatedlyRegisterSourceView" 112 methodName: "repeatedlyRegisterSourceView" 130 methodName: "registerSourceView" 146 methodName: "registerSourceView" 166 methodName: "repeatedlyRegisterSourceView" [all …]
|
D | msmt_load_source_deletion.textpb | 10 methodName: "setDate" 26 methodName: "repeatedlyRegisterSourceView" 50 methodName: "repeatedlyRegisterSourceClick" 73 methodName: "forceRunJob" 89 methodName: "forceRunJob" 105 methodName: "setDate" 121 methodName: "forceRunJob" 137 methodName: "executeShellCommand"
|
D | msmt_concurrent.textpb | 10 methodName: "registerSourceClick" 20 methodName: "registerSourceView" 36 methodName: "registerSourceClick" 52 methodName: "registerSourceView"
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | InstanceMethod.java | 31 final String receiverName, final String methodName) { in InstanceMethod() argument 35 this.name = methodName; in InstanceMethod() 62 public static InstanceMethod newInstance(final Class<?> receiverClass, final String methodName, in newInstance() argument 69 receiverClass.getMethod(methodName, parameterTypes), className, methodName); in newInstance() 71 return new InstanceMethod(receiverClass, null, className, methodName); in newInstance() 75 public static InstanceMethod newInstance(final String className, final String methodName, in newInstance() argument 78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance() 80 return new InstanceMethod(null, null, className, methodName); in newInstance()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiHelper.java | 111 String methodName = methodSignature; in getMethod() local 114 methodName = methodSignature.substring(0, openingIndex); in getMethod() 119 Log.d(TAG, "Method name after stripping (): " + methodName + ". Types: " in getMethod() 122 return getMethodWithParameters(clazz, methodName, paramTypesNames); in getMethod() 124 return getMethodWithoutParameters(clazz, methodName); in getMethod() 128 private static Method getMethodWithParameters(Class<?> clazz, String methodName, in getMethodWithParameters() argument 131 Log.d(TAG, "getMethod(" + clazz + ", " + methodName + ", " in getMethodWithParameters() 152 if (!method.getName().equals(methodName)) { in getMethodWithParameters() 179 private static Method getMethodWithoutParameters(Class<?> clazz, String methodName) { in getMethodWithoutParameters() argument 181 Log.d(TAG, "Getting method without params: " + methodName); in getMethodWithoutParameters() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 50 private String methodName; field in RunMethodInstrumentation 61 methodName = arguments.getString("method"); in onCreate() 65 Log.d(TAG, "Running " + className + "." + methodName); in onCreate() 82 if (className == null || methodName == null) { in onStart() 99 invokeMethod(args, className, methodName); in onStart() 109 private void invokeMethod(Bundle args, String className, String methodName) throws in invokeMethod() argument 128 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod() 139 method = clazz.getMethod(methodName, Context.class); in invokeMethod() 149 method = clazz.getMethod(methodName); in invokeMethod()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument 222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable() 227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 231 Log.v(TAG, "Could not find method: " + className + "#" + methodName); in isMethodAvailable() 236 + methodName + " exists at runtime", t); in isMethodAvailable() 253 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, in invokeMethod() argument 255 if (instance == null || TextUtils.isEmpty(methodName)) { in invokeMethod() 261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod() 266 Log.v(TAG, "Could not invoke method: " + className + "#" + methodName); in invokeMethod() 271 + "#" + methodName + " at runtime", t); in invokeMethod()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/util/ |
D | ThreadAsserts.java | 33 public static void assertWorkerThread(String methodName) { in assertWorkerThread() argument 35 throw new IllegalStateException("Can not invoke " + methodName + " on the main thread"); in assertWorkerThread() 46 public static void assertMainThread(String methodName) { in assertMainThread() argument 49 "Can not invoke " + methodName + " on a background thread"); in assertMainThread()
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/ |
D | MethodData.java | 23 public final String methodName; field in MethodData 31 public MethodData(String methodName, String returnType) { in MethodData() argument 32 this.methodName = methodName; in MethodData()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/ |
D | HostsideDefaultNetworkRestrictionsTests.java | 49 private void runMeteredTest(String methodName) throws DeviceNotAvailableException { in runMeteredTest() argument 50 runDeviceTestsWithCustomOptions(TEST_PKG, METERED_TEST_CLASS, methodName, in runMeteredTest() 54 private void runNonMeteredTest(String methodName) throws DeviceNotAvailableException { in runNonMeteredTest() argument 55 runDeviceTestsWithCustomOptions(TEST_PKG, NON_METERED_TEST_CLASS, methodName, in runNonMeteredTest()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | TestContentProvider.java | 82 public Bundle call(String methodName, String uriString, Bundle extras) { in call() argument 83 if (TextUtils.isEmpty(methodName)) { in call() 106 if (!methodName.equals(pathSegments.get(0))) { in call() 110 if (METHOD_GET_TEXT.equals(methodName)) { in call() 117 } else if (METHOD_GET_ICON.equals(methodName)) { in call()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | AbstractSyncCallback.java | 138 public final String internalSetCalled(String methodName) { in internalSetCalled() argument 139 logD("%s called on %s", methodName, Thread.currentThread().getName()); in internalSetCalled() 142 methodName in internalSetCalled() 153 logV("%s returning", methodName); in internalSetCalled() 154 return methodName; in internalSetCalled()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/src/android/app/sdksandbox/testutils/testscenario/ |
D | SdkSandboxTestScenarioRunner.java | 94 String methodName, in onLoadSdk() 105 methodName, /*throwException*/ false, Bundle.class); in onLoadSdk() 110 methodName, /*throwException*/ true); in onLoadSdk() 134 String methodName, boolean throwException, Class<?>... parameterTypes) in findMethodOnTestInstance() argument 137 return mTestInstance.getClass().getMethod(methodName, parameterTypes); in findMethodOnTestInstance()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | DistanceMeasurementInitiator.java | 159 private int getDistanceMeasurementMethodId(String methodName) { in getDistanceMeasurementMethodId() argument 161 if (methodMapping.second.equals(methodName)) { in getDistanceMeasurementMethodId() 165 throw new IllegalArgumentException("unknown distance measurement method name" + methodName); in getDistanceMeasurementMethodId() 182 String methodName = getDistanceMeasurementMethodName((int) method.getId()); in getDistanceMeasurementMethods() local 183 dbgMessage.append(methodName).append(", "); in getDistanceMeasurementMethods() 184 methods.add(methodName); in getDistanceMeasurementMethods()
|
/packages/modules/StatsD/framework/test/hostsidetests/src/com/android/tests/statsd/host/ |
D | StatsdPermissionTest.java | 46 private void runStatsdDeviceTest(String className, String methodName) throws Exception { in runStatsdDeviceTest() argument 48 String fullTestName = fullClassName + "$" + methodName; in runStatsdDeviceTest() 49 boolean result = runDeviceTests(STATSD_TEST_APP_PACKAGE, fullClassName, methodName); in runStatsdDeviceTest()
|
D | StatsdRestartTest.java | 60 private void runStatsdDeviceTest(String className, String methodName) in runStatsdDeviceTest() argument 63 String fullTestName = fullClassName + "$" + methodName; in runStatsdDeviceTest() 65 runDeviceTests(STATSD_TEST_APP_PACKAGE, fullClassName, methodName); in runStatsdDeviceTest()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticManagerTest.java | 244 String methodName = mTestName.getMethodName(); in configureMockedHal() local 246 if (Objects.equals(methodName, "testInitialLiveFrameException_Invalid_Arg")) { in configureMockedHal() 250 } else if (Objects.equals(methodName, "testInitialLiveFrameException_NOT_AVAILABLE")) { in configureMockedHal() 254 } else if (Objects.equals(methodName, "testInitialLiveFrameException_ACCESS_DENIED")) { in configureMockedHal() 258 } else if (Objects.equals(methodName, "testInitialLiveFrameException_TRY_AGAIN")) { in configureMockedHal() 262 } else if (Objects.equals(methodName, "testInitialLiveFrameException_INTERNAL_ERROR")) { in configureMockedHal() 270 if (Objects.equals(methodName, "testInitialFreezeFrameInfoException_Invalid_Arg")) { in configureMockedHal() 273 } else if (Objects.equals(methodName, in configureMockedHal() 277 } else if (Objects.equals(methodName, in configureMockedHal() 281 } else if (Objects.equals(methodName, "testInitialFreezeFrameInfoException_TRY_AGAIN")) { in configureMockedHal() [all …]
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | TestHelper.java | 76 String methodName = test.getMethodName(); in getTestName() local 77 if (methodName != null) { in getTestName() 78 testName.append('#').append(methodName).append("()"); in getTestName()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/errorlogging/ |
D | AbstractAdServicesErrorLoggerTest.java | 180 Exception createSQLiteException(String className, String methodName, int lineNumber) { in createSQLiteException() argument 183 new StackTraceElement(className, methodName, "file", lineNumber) in createSQLiteException() 192 String className, String methodName, int lineNumber) { in createSQLiteExceptionWith3StackTraceElements() argument 197 new StackTraceElement(className, methodName, "file", lineNumber) in createSQLiteExceptionWith3StackTraceElements()
|
D | StatsdAdServicesErrorLoggerImplTest.java | 47 String methodName = "getTopics"; in logAdServicesError_success() local 56 .setMethodName(methodName) in logAdServicesError_success() 83 eq(methodName), in logAdServicesError_success()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | ResultSyncCallback.java | 63 StringBuilder methodName = new StringBuilder(name).append("(").append(result); in internalInjectResult() local 70 methodName in internalInjectResult() 78 super.internalSetCalled(methodName.append(')').toString()); in internalInjectResult()
|
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/ |
D | GuardedLogLineDetector.kt | 270 val methodName = resolvedMethod?.name in isLoggingFunction() constant 271 return methodClassName == "android.util.Log" && methodName in LOG_LOGGING_FUNCTIONS in isLoggingFunction() 278 val methodName = resolvedMethod?.name in isLoggableFunction() constant 279 return methodClassName == "android.util.Log" && methodName == "isLoggable" in isLoggableFunction()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConcurrentInterpreter.kt | 129 callSite.className, callSite.methodName, callSite.fileName, e) in <lambda>() 158 .filter { method -> method.name == element.methodName } in <lambda>() 224 methodName: String, 231 "$methodName:thread$threadIndex",
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackTestCase.java | 111 String methodName = callCallback(callback); in call() local 112 if (methodName == null) { in call() 116 mSetCalledMethodQueue.offer(methodName); in call() 117 return methodName; in call() 124 String methodName = mSetCalledMethodQueue.poll(CALLBACK_TIMEOUT_MS, MILLISECONDS); in getSetCalledMethodName() local 125 if (methodName == null) { in getSetCalledMethodName() 132 return methodName; in getSetCalledMethodName()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/ |
D | SafeAndroidJUnitRunner.java | 105 String methodName = "N/A"; in getSafeDeclaredMethods() local 107 methodName = method.getName(); in getSafeDeclaredMethods() 118 Log.w(TAG, "ignoring method " + methodName + " due to exception: " + e); in getSafeDeclaredMethods()
|