Searched refs:testSms (Results 1 – 3 of 3) sorted by relevance
266 final String testSms = "com.android.test.defaultsms"; in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local269 ShadowSmsApplication.setDefaultSmsApplication(new ComponentName(testSms, "receiver")); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()281 final List<String> expectedPackages = Arrays.asList(testDialer, testSms, in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()290 final String testSms = "com.android.test.defaultsms"; in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local294 ShadowSmsApplication.setDefaultSmsApplication(new ComponentName(testSms, "receiver")); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage()319 final String testSms = "com.android.test.defaultsms"; in getKeepEnabledPackages_shouldContainSettingsIntelligence() local322 ShadowSmsApplication.setDefaultSmsApplication(new ComponentName(testSms, "receiver")); in getKeepEnabledPackages_shouldContainSettingsIntelligence()341 final String testSms = "com.android.test.defaultsms"; in getKeepEnabledPackages_shouldContainPackageInstaller() local344 ShadowSmsApplication.setDefaultSmsApplication(new ComponentName(testSms, "receiver")); in getKeepEnabledPackages_shouldContainPackageInstaller()
117 final String testSms = "com.android.test.defaultsms"; in isAllowlisted_shouldAllowlistDefaultSms() local118 ShadowSmsApplication.setDefaultSmsApplication(new ComponentName(testSms, "receiver")); in isAllowlisted_shouldAllowlistDefaultSms()122 assertThat(mPowerAllowlistBackend.isAllowlisted(testSms)).isTrue(); in isAllowlisted_shouldAllowlistDefaultSms()123 assertThat(mPowerAllowlistBackend.isDefaultActiveApp(testSms)).isTrue(); in isAllowlisted_shouldAllowlistDefaultSms()
253 public void testSms() { in testSms() method in UriTest