Searched refs:TestApplication (Results 1 - 8 of 8) 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 DContextFixture.java221 return TestApplication.getAppContext().getSystemService(name);
465 .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
H A DTest.java30 assertEquals(10, TestApplication.get(true));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcTrackerTest.java48 import com.android.internal.telephony.TestApplication;
271 ContentResolver realContentResolver = TestApplication.getAppContext().getContentResolver();

Completed in 2878 milliseconds