Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 143) sorted by relevance

123456

/aosp14/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
H A DEnforcePermissionHelperDetectorTest.kt206 package test; regex
221 package test; regex
234 package test; regex
255 package test; regex
270 package test; regex
283 package test; regex
304 package test; regex
319 package test; regex
332 package test; regex
360 package test; regex
[all …]
/aosp14/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java59 public static void dragQuarterScreenDown(ActivityInstrumentationTestCase test) { in dragQuarterScreenDown()
88 public static void dragQuarterScreenUp(ActivityInstrumentationTestCase test) { in dragQuarterScreenUp()
143 public static void scrollToBottom(InstrumentationTestCase test, Activity activity, in scrollToBottom()
226 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v, in dragViewToBottom()
264 public static void tapView(InstrumentationTestCase test, View v) { in tapView()
304 public static void touchAndCancelView(InstrumentationTestCase test, View v) { in touchAndCancelView()
339 public static void clickView(InstrumentationTestCase test, View v) { in clickView()
390 public static void longClickView(ActivityInstrumentationTestCase test, View v) { in longClickView()
400 public static void longClickView(InstrumentationTestCase test, View v) { in longClickView()
450 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v) { in dragViewToTop()
[all …]
H A DTestPrinter.java73 private void failed(Test test, Throwable t) { in failed()
78 public void addError(Test test, Throwable t) { in addError()
82 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
86 public void endTest(Test test) { in endTest()
94 public void startTest(Test test) { in startTest()
H A DTestCaseUtil.java43 public static List<? extends Test> getTests(Test test, boolean flatten) { in getTests()
47 private static List<? extends Test> getTests(Test test, boolean flatten, in getTests()
113 static String getTestName(Test test) { in getTestName()
H A DAndroidTestRunner.java66 public void setTest(Test test) { in setTest()
70 private void setTest(Test test, Class<? extends Test> testClass) { in setTest()
199 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase()
211 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
241 public void testFailed(int status, Test test, Throwable t) { in testFailed()
H A DInstrumentationTestRunner.java690 public void startTest(Test test) { in startTest()
698 public void addError(Test test, Throwable t) { in addError()
705 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
712 public void endTest(Test test) { in endTest()
766 public void startTest(Test test) { in startTest()
814 public void addError(Test test, Throwable t) { in addError()
826 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
838 public void endTest(Test test) { in endTest()
H A DNoExecTestResult.java35 protected void run(final TestCase test) { in run()
/aosp14/frameworks/base/test-base/src/junit/framework/
H A DTestListener.java10 public void addError(Test test, Throwable t); in addError()
14 public void addFailure(Test test, AssertionFailedError t); in addFailure()
18 public void endTest(Test test); in endTest()
22 public void startTest(Test test); in startTest()
H A DTestResult.java40 public synchronized void addError(Test test, Throwable t) { in addError()
49 public synchronized void addFailure(Test test, AssertionFailedError t) { in addFailure()
77 public void endTest(Test test) { in endTest()
111 protected void run(final TestCase test) { in run()
131 public void runProtected(final Test test, Protectable p) { in runProtected()
154 public void startTest(Test test) { in startTest()
H A DTestSuite.java58 Object test; in createTest() local
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DQuickSelectTest.java106 private void test(List<Integer> input, int k, Integer expected) throws Exception { in test() method in QuickSelectTest
110 private void test(List<Integer> input, int start, int length, int k, Integer expected) in test() method in QuickSelectTest
122 private void test(int[] input, int k, Integer expected) throws Exception { in test() method in QuickSelectTest
126 private void test(int[] input, int start, int length, int k, Integer expected) in test() method in QuickSelectTest
138 private void test(long[] input, int k, Long expected) throws Exception { in test() method in QuickSelectTest
142 private void test(long[] input, int start, int length, int k, Long expected) throws Exception { in test() method in QuickSelectTest
/aosp14/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DUnitTestSuiteBuilderTest.java73 public void addError(Test test, Throwable t) { in addError()
77 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
81 public void endTest(Test test) { in endTest()
84 public void startTest(Test test) { in startTest()
104 private String testName(Test test) { in testName()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java36 public static void assertInTouchModeAfterClick(InstrumentationTestCase test, View viewToTouch) { in assertInTouchModeAfterClick()
48 public static void assertInTouchModeAfterTap(InstrumentationTestCase test, View viewToTouch) { in assertInTouchModeAfterTap()
60 …public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View ch… in assertNotInTouchModeAfterKey()
H A DKeyUtils.java39 public static void tapMenuKey(ActivityInstrumentationTestCase test) { in tapMenuKey()
52 public static void chordMenuKey(ActivityInstrumentationTestCase test, char shortcutKey) { in chordMenuKey()
71 public static void longClick(ActivityInstrumentationTestCase test) { in longClick()
/aosp14/frameworks/base/test-runner/tests/src/android/test/
H A DTestCaseUtilTest.java30 private static List<String> getTestCaseNames(Test test) { in getTestCaseNames()
57 … Test test = TestCaseUtil.invokeSuiteMethodIfPossible(OneTestTestCase.class, new HashSet<>()); in testInvokeSuiteMethodIfPossible_ForTestCase() local
62 … Test test = TestCaseUtil.invokeSuiteMethodIfPossible(TwoTestsInTestSuite.class, new HashSet<>()); in testInvokeSuiteMethodIfPossible_ForTestSuiteWithSuiteMethod() local
68 …Test test = TestCaseUtil.invokeSuiteMethodIfPossible(OneTestTestCaseWithSuite.class, new HashSet<>… in testInvokeSuiteMethodIfPossible_ForTestCaseWithSuiteMethod() local
H A DAndroidTestRunnerTest.java259 public void addError(Test test, Throwable t) { in addError()
262 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
265 public void endTest(Test test) { in endTest()
268 public void startTest(Test test) { in startTest()
/aosp14/frameworks/base/tests/testables/src/android/testing/
H A DAndroidTestingRunner.java54 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
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()
/aosp14/frameworks/base/test-runner/src/junit/textui/
H A DResultPrinter.java116 public void addError(Test test, Throwable t) { in addError()
123 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
130 public void endTest(Test test) { in endTest()
136 public void startTest(Test test) { in startTest()
H A DTestRunner.java75 static public TestResult run(Test test) { in run()
90 public void testFailed(int status, Test test, Throwable t) { in testFailed()
108 public TestResult doRun(Test test) { in doRun()
188 Test test= TestSuite.createTest(testClass, method); in runSingleMethod() local
/aosp14/frameworks/base/test-runner/src/junit/runner/
H A DBaseTestRunner.java38 public synchronized void startTest(Test test) { in startTest()
70 public synchronized void endTest(Test test) { in endTest()
74 public synchronized void addError(final Test test, final Throwable t) { in addError()
78 public synchronized void addFailure(final Test test, final AssertionFailedError t) { in addFailure()
88 public abstract void testFailed(int status, Test test, Throwable t); in testFailed()
124 Test test= null; in getTest() local
/aosp14/system/core/init/
H A Dueventd_parser_test.cpp28 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems()
34 void TestPermissions(const Permissions& expected, const Permissions& test) { in TestPermissions()
43 void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test) { in TestSysfsPermissions()
49 const ExternalFirmwareHandler& test) { in TestExternalFirmwareHandler()
57 void TestVector(const T& expected, const T& test, F function) { in TestVector()
/aosp14/frameworks/base/tests/libs-permissions/product/java/com/android/test/libs/product/
H A DLibsProductTest.java27 public static void test() { in test() method in LibsProductTest
/aosp14/frameworks/base/tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/
H A DLibsSystemExtTest.java27 public static void test() { in test() method in LibsSystemExtTest
/aosp14/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
H A DBluetoothMidiDecoderTest.java90 void test(byte[] encoded, byte[][] decoded) throws IOException { in test() method in BluetoothMidiDecoderTest.DecoderChecker
95 void test(byte[][] encoded, byte[][] decoded) throws IOException { in test() method in BluetoothMidiDecoderTest.DecoderChecker
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeNextAlarmController.java25 public FakeNextAlarmController(LeakCheck test) { in FakeNextAlarmController()

123456