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

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

Completed in 156 milliseconds