Home
last modified time | relevance | path

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

12345

/packages/modules/Wifi/service/java/com/android/server/wifi/mainline_supplicant/
DMainlineSupplicant.java201 final String methodName = "addStaInterface"; in addStaInterface() local
202 if (!checkIsActiveAndLogError(methodName)) { in addStaInterface()
227 handleServiceSpecificException(e, methodName); in addStaInterface()
229 handleRemoteException(e, methodName); in addStaInterface()
243 final String methodName = "removeStaInterface"; in removeStaInterface() local
244 if (!checkIsActiveAndLogError(methodName)) { in removeStaInterface()
262 handleServiceSpecificException(e, methodName); in removeStaInterface()
264 handleRemoteException(e, methodName); in removeStaInterface()
278 final String methodName = "registerStaIfaceCallback"; in registerStaIfaceCallback() local
286 handleServiceSpecificException(e, methodName); in registerStaIfaceCallback()
[all …]
/packages/modules/AdServices/adservices/tests/perf/assets/concurrent-configs/
Dmsmt_concurrent_indexed.textpb10 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: "registerTrigger"
[all …]
Dmsmt_stressed_battery.textpb10 methodName: "repeatedlyRegisterSourceView"
28 methodName: "repeatedlyRegisterSourceView"
46 methodName: "repeatedlyRegisterSourceView"
64 methodName: "repeatedlyRegisterSourceView"
82 methodName: "repeatedlyRegisterSourceView"
100 methodName: "repeatedlyRegisterSourceView"
119 methodName: "startBatterySaverMode"
129 methodName: "repeatedlyRegisterTrigger"
143 methodName: "repeatedlyRegisterTrigger"
157 methodName: "repeatedlyRegisterTrigger"
[all …]
Dmsmt_stressed_cpu.textpb9 methodName: "repeatedlyRegisterSourceView"
27 methodName: "repeatedlyRegisterSourceView"
45 methodName: "repeatedlyRegisterSourceView"
63 methodName: "repeatedlyRegisterSourceView"
81 methodName: "repeatedlyRegisterSourceView"
99 methodName: "repeatedlyRegisterSourceView"
117 methodName: "startCpuStress"
127 methodName: "repeatedlyRegisterTrigger"
141 methodName: "repeatedlyRegisterTrigger"
155 methodName: "repeatedlyRegisterTrigger"
[all …]
Dmsmt_load_source_deletion.textpb10 methodName: "setDate"
26 methodName: "repeatedlyRegisterSourceView"
50 methodName: "repeatedlyRegisterSourceClick"
73 methodName: "forceRunJob"
89 methodName: "forceRunJob"
105 methodName: "setDate"
121 methodName: "forceRunJob"
137 methodName: "executeShellCommand"
Dmsmt_concurrent.textpb10 methodName: "repeatedlyRegisterSourceClick"
28 methodName: "repeatedlyRegisterSourceView"
53 methodName: "repeatedlyRegisterSourceClick"
71 methodName: "repeatedlyRegisterTrigger"
95 methodName: "repeatedlyRegisterTrigger"
119 methodName: "registerSourceView"
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DInstanceMethod.java31 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/
DApiHelper.java111 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/
DRunMethodInstrumentation.java50 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/
DCompatUtils.java220 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/AdServices/adservices/service-core/java/com/android/adservices/service/profiling/
DRbATraceImpl.java50 public void beginSection(String featureName, String className, String methodName) { in beginSection() argument
61 mTrace.beginSection(createMetricName(featureName, className, methodName)); in beginSection()
84 public int beginAsyncSection(String featureName, String className, String methodName) { in beginAsyncSection() argument
98 mTrace.beginAsyncSection(createMetricName(featureName, className, methodName), traceCookie); in beginAsyncSection()
114 String featureName, String className, String methodName, int cookie) { in endAsyncSection() argument
115 mTrace.endAsyncSection(createMetricName(featureName, className, methodName), cookie); in endAsyncSection()
124 static String createMetricName(String featureName, String className, String methodName) { in createMetricName() argument
125 return featureName + "_" + className + "#" + methodName; in createMetricName()
DRbATraceProvider.java85 String featureName, String className, String methodName, Flags flags) { in beginSection() argument
86 getTrace(flags).beginSection(featureName, className, methodName); in beginSection()
118 String featureName, String className, String methodName, Flags flags) { in beginAsyncSection() argument
119 return getTrace(flags).beginAsyncSection(featureName, className, methodName); in beginAsyncSection()
158 String featureName, String className, String methodName, int cookie, Flags flags) { in endAsyncSection() argument
159 getTrace(flags).endAsyncSection(featureName, className, methodName, cookie); in endAsyncSection()
DRbATrace.java41 void beginSection(String featureName, String className, String methodName); in beginSection() argument
67 int beginAsyncSection(String featureName, String className, String methodName); in beginAsyncSection() argument
84 void endAsyncSection(String featureName, String className, String methodName, int cookie); in endAsyncSection() argument
DNoOpRbATrace.java24 public void beginSection(String featureName, String className, String methodName) {} in beginSection() argument
32 public int beginAsyncSection(String featureName, String className, String methodName) { in beginAsyncSection() argument
44 String featureName, String className, String methodName, int cookie) {} in endAsyncSection() argument
/packages/services/Car/libs/car-internal-dep-lib/src/com/android/car/internal/dep/
DTrace.java49 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument
50 android.os.Trace.asyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin()
56 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument
57 android.os.Trace.asyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd()
63 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument
64 android.os.Trace.traceBegin(traceTag, methodName); in traceBegin()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/util/
DThreadAsserts.java33 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/
DMethodData.java23 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/AdServices/adservices/tests/test-util/java/com/android/adservices/flags/
DFlagsTestingHelper.java66 String methodName = method.getName(); in asMapWithOptionalPrefix() local
67 if (prefix == null || methodName.startsWith(prefix)) { in asMapWithOptionalPrefix()
68 getters.put(methodName, method); in asMapWithOptionalPrefix()
76 String methodName = method.getName() + "()"; in asMapWithOptionalPrefix() local
91 map.put(methodName, (value == null) ? "null" : value.toString()); in asMapWithOptionalPrefix()
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/testutils/
DTestContentProvider.java82 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/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DDistanceMeasurementInitiator.java118 private int getDistanceMeasurementMethodId(String methodName) { in getDistanceMeasurementMethodId() argument
120 if (methodMapping.second.equals(methodName)) { in getDistanceMeasurementMethodId()
124 throw new IllegalArgumentException("unknown distance measurement method name" + methodName); in getDistanceMeasurementMethodId()
141 String methodName = getDistanceMeasurementMethodName((int) method.getId()); in getDistanceMeasurementMethods() local
142 dbgMessage.append(methodName).append(", "); in getDistanceMeasurementMethods()
143 methods.add(methodName); in getDistanceMeasurementMethods()
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/src/android/app/sdksandbox/testutils/testscenario/
DSdkSandboxTestScenarioRunner.java94 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/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DAbstractSyncCallback.java133 public final String internalSetCalled(String methodName) { in internalSetCalled() argument
134 logD("%s called on %s", methodName, Thread.currentThread().getName()); in internalSetCalled()
138 methodName in internalSetCalled()
147 logV("%s returning", methodName); in internalSetCalled()
148 return methodName; in internalSetCalled()
/packages/services/Car/tests/CarLibUnitTest/fake_dep/src/com/android/car/internal/dep/
DTrace.java53 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument
62 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument
71 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/errorlogging/
DAbstractAdServicesErrorLoggerTest.java264 Exception createSQLiteException(String className, String methodName, int lineNumber) { in createSQLiteException() argument
267 new StackTraceElement(className, methodName, "file", lineNumber) in createSQLiteException()
276 String className, String methodName, int lineNumber) { in createSQLiteExceptionWith3StackTraceElements() argument
281 new StackTraceElement(className, methodName, "file", lineNumber) in createSQLiteExceptionWith3StackTraceElements()
291 String className, String methodName, int lineNumber, int number) { in createThrowableWithMultipleCauses() argument
298 new StackTraceElement(className, methodName, "file", lineNumber) in createThrowableWithMultipleCauses()
/packages/modules/StatsD/framework/test/hostsidetests/src/com/android/tests/statsd/host/
DStatsdPermissionTest.java46 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()

12345