Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A 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()
H A DTestApplication.java24 public class TestApplication extends MultiDexApplication { class
32 return getSoleAnnotation(TestApplication.class); in getAnnotationWithEnum()
H A DMainActivity.java94 return ((AnnotationWithEnum2) TestApplication.annotation2).value().get(); in getAnnotation2Value()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestApplication.java22 public class TestApplication extends Application { class
27 TestApplication.context = getApplicationContext(); in onCreate()
31 return TestApplication.context; in getAppContext()
H A DContextFixture.java284 return TestApplication.getAppContext().getSystemService(name); in getSystemService()
691 .getDefaultSharedPreferences(TestApplication.getAppContext());
H A DSmsUsageMonitorShortCodeTest.java468 SmsUsageMonitor monitor = new SmsUsageMonitor(TestApplication.getAppContext()); in testSmsUsageMonitor()
/aosp12/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
H A DTestApplication.java29 public class TestApplication extends Application { class
30 private static final String TAG = TestApplication.class.getSimpleName();
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmSmsDispatcherTest.java71 import com.android.internal.telephony.TestApplication;
236 Context realContext = TestApplication.getAppContext(); in registerTestIntentReceiver()
246 PendingIntent pendingIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendTextWithInvalidDestAddr()
308 PendingIntent sentIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendMultipartTextWithInvalidText()
389 PendingIntent pendingIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendSmsByCarrierApp()
444 PendingIntent sentIntent1 = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in sendMultipartTextSms()
446 PendingIntent sentIntent2 = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in sendMultipartTextSms()
/aosp12/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)); in testExceptionInMainDex()
H A DNoActivityJUnit3Test.java30 import com.android.multidexlegacyandexception.TestApplication;
46 Assert.assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex()
/aosp12/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
H A DTestApplication.java21 public class TestApplication extends MultiDexApplication { class