Home
last modified time | relevance | path

Searched refs:TestApplication (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
DTest.java36 ((AnnotationWithEnum) TestApplication.annotation).value()); in testAnnotation()
38 ((AnnotationWithEnum) TestApplication.getAnnotationWithEnum()).value()); in testAnnotation()
43 ((AnnotationWithClass) TestApplication.annotation3).value()); in testAnnotation()
64 TestApplication.interfaceClass); in testInterface()
DTestApplication.java24 public class TestApplication extends MultiDexApplication { class
32 return getSoleAnnotation(TestApplication.class); in getAnnotationWithEnum()
DMainActivity.java94 return ((AnnotationWithEnum2) TestApplication.annotation2).value().get(); in getAnnotation2Value()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestApplication.java22 public class TestApplication extends Application { class
27 TestApplication.context = getApplicationContext(); in onCreate()
31 return TestApplication.context; in getAppContext()
DContextFixture.java254 return TestApplication.getAppContext().getSystemService(name); in getSystemService()
575 .getDefaultSharedPreferences(TestApplication.getAppContext());
DSmsUsageMonitorShortCodeTest.java468 SmsUsageMonitor monitor = new SmsUsageMonitor(TestApplication.getAppContext()); in testSmsUsageMonitor()
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestApplication.java29 public class TestApplication extends Application { class
30 private static final String TAG = TestApplication.class.getSimpleName();
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/
DActivityTest.java30 import com.android.multidexlegacyandexception.TestApplication;
45 assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex()
DNoActivityJUnit3Test.java30 import com.android.multidexlegacyandexception.TestApplication;
46 Assert.assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DTestApplication.java21 public class TestApplication extends MultiDexApplication { class
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java60 import com.android.internal.telephony.TestApplication;
215 Context realContext = TestApplication.getAppContext(); in testSendTextWithInvalidDestAddr()
271 Context realContext = TestApplication.getAppContext(); in testSendMultipartTextWithInvalidText()