Home
last modified time | relevance | path

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

123456

/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java48 Method method = clazz.getMethod("return5"); in return5() local
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5() local
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam() local
73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength() local
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero() local
90 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero() local
99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch() local
107 Method method = clazz.getMethod("returnNull"); in returnNull() local
115 Method method = clazz.getMethod("makeString"); in makeString() local
123 Method method = clazz.getMethod("returnStringIfZeroAB", int.class); in returnStringIfZeroAB() local
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java147 final Method method = clazz.getMethod("getSelectedText", int.class); in hasGetSelectedText() local
156 final Method method = clazz.getMethod("setComposingRegion", int.class, int.class); in hasSetComposingRegion() local
165 final Method method = clazz.getMethod("commitCorrection", CorrectionInfo.class); in hasCommitCorrection() local
174 final Method method = clazz.getMethod("requestCursorUpdates", int.class); in hasRequestCursorUpdate() local
183 final Method method = clazz.getMethod("deleteSurroundingTextInCodePoints", int.class, in hasDeleteSurroundingTextInCodePoints() local
193 final Method method = clazz.getMethod("getHandler"); in hasGetHandler() local
202 final Method method = clazz.getMethod("closeConnection"); in hasCloseConnection() local
211 final Method method = clazz.getMethod("commitContent", InputContentInfo.class, in hasCommitContent() local
/frameworks/base/startop/view_compiler/
Ddex_testcase_generator.cc59 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
150 [](MethodBuilder& method) { in GenerateSimpleTestCases()
179 [](MethodBuilder& method) { in GenerateSimpleTestCases()
190 [](MethodBuilder& method) { in GenerateSimpleTestCases()
202 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
222 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
246 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
262 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
277 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
291 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
[all …]
/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()
/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()
DNetworkTypeControllerTest.java66 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); in getCurrentState() local
72 Method method = NetworkTypeController.class.getDeclaredMethod("updateOverrideNetworkType"); in updateOverrideNetworkType() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java336 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); in getCurrentState() local
344 Method method = DataConnection.class.getDeclaredMethod("getSuggestedRetryDelay", cArgs); in getSuggestedRetryDelay() local
350 Method method = DataConnection.class.getDeclaredMethod("isUnmeteredUseOnly"); in isUnmeteredUseOnly() local
361 Method method = DataConnection.class.getDeclaredMethod("setLinkProperties", cArgs); in setLinkProperties() local
568 Method method = DataConnection.class.getDeclaredMethod("getNetworkCapabilities"); in getNetworkCapabilities() local
574 Method method = DataConnection.class.getDeclaredMethod("getDisallowedApnTypes"); in getDisallowedApnTypes() local
701 Method method = DataConnection.class.getDeclaredMethod("shouldSkip464Xlat"); in testShouldSkip464XlatEvent() local
DDcControllerTest.java83 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); in getCurrentState() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java173 EAPMethod method = new EAPMethod(eapMethodID, new HashMap<Integer, Set<AuthParam>>()); in matchNAIRealmWithRealmMethodMatch() local
201 EAPMethod method = new EAPMethod(eapMethodID, authMap); in matchNAIRealmWithExactMatch() local
228 EAPMethod method = new EAPMethod(eapMethodID, authMap); in matchNAIRealmWithEAPMethodMismatch() local
256 EAPMethod method = new EAPMethod(eapMethodID, authMap); in matchNAIRealmWithAuthTypeMismatch() local
345 EAPMethod method = new EAPMethod(eapMethodID, null); in getEapMethodForNAIRealmWithCarrierInMatch() local
392 EAPMethod method = new EAPMethod(eapMethodID, authMap); in getEapMethodForNAIRealmWithCarrierInMatchButNotCarrierEapMethod() local
417 EAPMethod method = new EAPMethod(eapMethodID, authMap); in getEapMethodForNAIRealmWithCarrierInNoMatch() local
/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/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.java192 private String getMethodName(Method method) { in getMethodName()
196 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java39 Method method = invocation.getMethod(); in answer() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java45 Method method = getMethod(clazz, name, params); in getAccessibleMethod() local
52 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java68 EventHandlerMethod method; field in EventHandler
70 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { in EventHandler()
89 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) { in EventHandlerMethod()
599 EventHandlerMethod method = new EventHandlerMethod(m, eventType); in registerSubscriber() local
720 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes) { in isValidEventBusHandlerMethod()
/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/
DPseudolocalizer_test.cpp31 Pseudolocalizer::Method method) { in SimpleHelper()
42 Pseudolocalizer::Method method) { in CompoundHelper()
DPseudolocaleGenerator.cpp113 Pseudolocalizer::Method method, in PseudolocalizeStyledString()
225 Visitor(StringPool* pool, Pseudolocalizer::Method method) in Visitor()
314 void PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, in PseudolocalizeIfNeeded()
/frameworks/base/test-runner/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/telephony/common/android/telephony/
DLocationAccessPolicy.java72 public final String method; field in LocationAccessPolicy.LocationPermissionQuery
76 int minSdkVersionForFine, boolean logAsInfo, String method) { in LocationPermissionQuery()
150 public Builder setMethod(String method) { in setMethod()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DTestPredicatesTest.java46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation() local
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DPerformanceRunner.java53 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProvider.java103 public Bundle call(String method, String arg, Bundle extras) { in call()
/frameworks/base/test-runner/src/android/test/
DActivityInstrumentationTestCase2.java185 Method method = getClass().getMethod(getName(), (Class[]) null); in runTest() local

123456