Home
last modified time | relevance | path

Searched refs:CTSResult (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DViewGroupCtsActivity.java20 import android.cts.util.CTSResult;
30 private static CTSResult sResult;
31 public static void setResult(CTSResult result) { in setResult()
58 sResult.setResult(CTSResult.RESULT_OK); in onResume()
66 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupCtsActivity.java20 import android.cts.util.CTSResult;
30 private static CTSResult sResult;
31 public static void setResult(CTSResult result) { in setResult()
58 sResult.setResult(CTSResult.RESULT_OK); in onResume()
66 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
DViewGroupTest.java22 import android.cts.util.CTSResult;
62 public class ViewGroupTest extends InstrumentationTestCase implements CTSResult{
883 assertEquals(CTSResult.RESULT_OK, mResultCode); in testInvalidateChild()
/cts/tests/tests/media/src/android/media/cts/
DAudioManagerStub.java22 import android.cts.util.CTSResult;
34 private static CTSResult mCTSResult;
36 public static void setCTSResult(CTSResult cr) { in setCTSResult()
59 mCTSResult.setResult(CTSResult.RESULT_FAIL); in onPause()
73 mCTSResult.setResult(CTSResult.RESULT_FAIL); in onResume()
89 mCTSResult.setResult(CTSResult.RESULT_OK); in onActivityResult()
/cts/tests/app/app/src/android/app/stubs/
DCTSActivityTestCaseBase.java19 import android.cts.util.CTSResult;
22 public class CTSActivityTestCaseBase extends InstrumentationTestCase implements CTSResult {
49 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
DSearchManagerStubActivity.java23 import android.cts.util.CTSResult;
40 private static CTSResult sCTSResult;
44 public static void setCTSResult(CTSResult result) { in setCTSResult()
156 sCTSResult.setResult(CTSResult.RESULT_FAIL); in fail()
161 sCTSResult.setResult(CTSResult.RESULT_OK); in pass()
DLocalActivityManagerTestHelper.java24 import android.cts.util.CTSResult;
43 private static CTSResult sResult;
45 public static void setResult(CTSResult cr) { in setResult()
332 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
337 sResult.setResult(CTSResult.RESULT_OK); in pass()
/cts/tests/app/src/android/app/cts/
DLocalActivityManagerTest.java24 import android.cts.util.CTSResult;
28 public class LocalActivityManagerTest extends InstrumentationTestCase implements CTSResult {
126 assertEquals(CTSResult.RESULT_OK, resultCode); in setResult()
131 setResult(CTSResult.RESULT_FAIL); in setResult()
/cts/libs/deviceutil/src/android/cts/util/
DCTSResult.java19 public interface CTSResult { interface