Home
last modified time | relevance | path

Searched defs:method (Results 1 – 25 of 169) sorted by relevance

1234567

/frameworks/base/tests/testables/src/android/testing/
DAndroidTestingRunner.java54 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
60 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores()
67 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters()
74 protected Statement withPotentialTimeout(FrameworkMethod method, Object test, Statement next) { in withPotentialTimeout()
87 protected List<FrameworkMethod> looperWrap(FrameworkMethod method, Object test, in looperWrap()
101 protected FrameworkMethod looperWrap(FrameworkMethod method, Object test, in looperWrap()
111 public boolean shouldRunOnUiThread(FrameworkMethod method) { in shouldRunOnUiThread()
DTestWithLooperRule.java43 public Statement apply(Statement base, FrameworkMethod method, Object target) { in apply()
74 private void wrapMethodInStatement(Statement base, FrameworkMethod method, Object target) in wrapMethodInStatement()
114 private void wrapFieldMethodFor(Statement base, String fieldStr, FrameworkMethod method, in wrapFieldMethodFor()
136 protected FrameworkMethod looperWrap(FrameworkMethod method, Object test, in looperWrap()
146 protected List<FrameworkMethod> looperWrap(FrameworkMethod method, Object test, in looperWrap()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestRunner.java54 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
58 private Statement wrapStatement(Statement statement, FrameworkMethod method, Object target) { in wrapStatement()
73 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores()
94 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters()
106 private FrameworkMethod wrapMethod(FrameworkMethod method, Object target) { in wrapMethod()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/varhandles/
Dgenerate_java.py48 def __init__(self, code, static, vartype, flavour, klass, method, memloc, argument
100 def BenchVHField(code, static, vartype, flavour, method): argument
104 def BenchVHArray(code, vartype, flavour, method): argument
108 def BenchVHByteArrayView(code, byteorder, vartype, flavour, method): argument
112 def BenchReflect(code, static, vartype, method): argument
116 def BenchUnsafe(code, static, vartype, method): argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java65 public static Object invokeStaticMethod(Class<?> clazz, String method, Object... params) { in invokeStaticMethod()
88 public static Object invokeStaticMethodThrowsException(Class<?> clazz, String method, in invokeStaticMethodThrowsException()
112 public static Object invokeNonStaticMethod(Class<?> clazz, Object caller, String method, in invokeNonStaticMethod()
137 String method, Object... params) in invokeNonStaticMethodThrowsException()
/frameworks/base/media/mca/filterfw/jni/
Djni_util.cpp137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); in ToCValue() local
140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); in ToCValue() local
143 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "floatValue", "()F"); in ToCValue() local
/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/
DPermissionMethodUtils.kt28 val method = callExpression.resolve()?.getUMethod() ?: return false in isPermissionMethodCall() constant
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java82 Method method = NfcAdapter.class.getDeclaredMethod("getNfcAdapterExtrasInterface"); in getNfcAdapterExtrasInterfaceFromNfcAdapter() local
103 Method method = NfcAdapter.class.getDeclaredMethod("getContext"); in getContextFromNfcAdapter() local
190 Method method = NfcAdapter.class.getDeclaredMethod( in attemptDeadServiceRecoveryOnNfcAdapter() local
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
DPackageVisibilityDetector.kt128 val method = node.getUMethod() ?: return false in <lambda>() constant
151 val method = node.getUMethod() ?: return false in <lambda>() constant
221 val method = getUMethod() ?: return null in <lambda>() constant
237 val method = getUMethod() ?: return false in <lambda>() constant
DPermissionMethodDetector.kt75 val method = node.getContainingUMethod() ?: return in getApplicableUastTypes() constant
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java352 final MethodTree method = state.findEnclosing(MethodTree.class); in parseBroadcastSourceRequiresPermission() local
433 final MethodSymbol method = ASTHelpers.getSymbol(tree); in parseRequiresPermissionRecursively() local
448 MethodSymbol method, VisitorState state) { in parseRequiresPermissionRecursively()
460 private boolean isSuppressedRecursively(MethodSymbol method, VisitorState state) { in isSuppressedRecursively()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java105 protected void addSingleTestMethod(Class<?> clazz, String method) { in addSingleTestMethod()
143 public boolean accept(Method method); in accept()
DUiAutomatorTestCaseFilter.java31 public boolean accept(Method method) { in accept()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java193 private String getMethodName(Method method) { in getMethodName()
197 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName()
/frameworks/base/tools/aapt/tests/
DPseudolocales_test.cpp29 static void simple_helper(const char* input, const char* expected, PseudolocalizationMethod method)… in simple_helper()
37 const char* expected, PseudolocalizationMethod method) { in compound_helper()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp118 Pseudolocalizer::Method method, in PseudolocalizeStyledString()
232 Visitor(android::StringPool* pool, Pseudolocalizer::Method method) in Visitor()
403 ResourceEntry* entry, const Pseudolocalizer::Method method, in GrammaticalGender()
435 const Pseudolocalizer::Method method, uint32_t gender_state) { in GrammaticalGenderIfNeeded()
452 void PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, in PseudolocalizeIfNeeded()
DPseudolocalizer_test.cpp31 Pseudolocalizer::Method method) { in SimpleHelper()
42 Pseudolocalizer::Method method) { in CompoundHelper()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java39 Method method = invocation.getMethod(); in answer() local
/frameworks/base/core/java/com/android/internal/os/
DBinderTransactionNameResolver.java69 Method method = mGetDefaultTransactionNameMethods.get(binderClass); in getMethodName() local
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
DCallMigrators.kt41 val method: Method, in <lambda>() constant in com.google.android.lint.parcel.CallMigrator
89 val method = psiCall.resolveMethod()!! in <lambda>() constant
/frameworks/layoutlib/common/src/com/android/layoutlib/common/util/
DReflectionUtils.java56 Method method = getMethod(clazz, name, params); in getAccessibleMethod() local
76 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke()
/frameworks/base/test-junit/src/junit/textui/
DTestRunner.java154 String method= ""; in start() local
186 …protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exceptio… in runSingleMethod()
/frameworks/base/ravenwood/scripts/
Dfix_test_runner.py44 clazz, method, state, msg = result.groups() variable
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java68 public final String method; field in LocationAccessPolicy.LocationPermissionQuery
72 int minSdkVersionForFine, boolean logAsInfo, String method) { in LocationPermissionQuery()
175 public Builder setMethod(String method) { in setMethod()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputBindResult.java183 public final IInputMethodSession method; field in InputBindResult
227 IInputMethodSession method, in InputBindResult()

1234567