Home
last modified time | relevance | path

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

/cts/tests/src/android/widget/cts/
DViewGroupStubActivity.java20 import android.app.cts.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/media/src/android/media/cts/
DAudioManagerStub.java22 import android.app.cts.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/tests/app/src/android/app/cts/
DCTSActivityTestCaseBase.java21 public class CTSActivityTestCaseBase extends InstrumentationTestCase implements CTSResult {
48 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
DLocalActivityManagerTest.java25 public class LocalActivityManagerTest extends InstrumentationTestCase implements CTSResult {
122 assertEquals(CTSResult.RESULT_OK, resultCode); in setResult()
127 setResult(CTSResult.RESULT_FAIL); in setResult()
/cts/tests/src/android/app/cts/
DSearchManagerStubActivity.java39 private static CTSResult sCTSResult;
43 public static void setCTSResult(CTSResult result) { in setCTSResult()
155 sCTSResult.setResult(CTSResult.RESULT_FAIL); in fail()
160 sCTSResult.setResult(CTSResult.RESULT_OK); in pass()
DLocalActivityManagerTestHelper.java26 import android.app.cts.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/libs/deviceutil/src/android/app/cts/
DCTSResult.java19 public interface CTSResult { interface
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java22 import android.app.cts.CTSResult;
61 public class ViewGroupTest extends InstrumentationTestCase implements CTSResult{
875 assertEquals(CTSResult.RESULT_OK, mResultCode); in testInvalidateChild()