Home
last modified time | relevance | path

Searched refs:RulesUpdaterContract (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesUpdaterContractTest.java45 Intent intent = RulesUpdaterContract.createUpdaterIntent(packageName); in createUpdaterIntent()
47 assertEquals(RulesUpdaterContract.ACTION_TRIGGER_RULES_UPDATE_CHECK, intent.getAction()); in createUpdaterIntent()
57 Intent expectedIntent = RulesUpdaterContract.createUpdaterIntent(packageName); in sendBroadcast()
58 expectedIntent.putExtra(RulesUpdaterContract.EXTRA_CHECK_TOKEN, tokenBytes); in sendBroadcast()
62 RulesUpdaterContract.sendBroadcast(mockContext, packageName, tokenBytes); in sendBroadcast()
67 eq(RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION)); in sendBroadcast()
/frameworks/base/core/java/android/app/timezone/
DRulesUpdaterContract.java30 public final class RulesUpdaterContract { class
70 Intent intent = new Intent(RulesUpdaterContract.ACTION_TRIGGER_RULES_UPDATE_CHECK); in createUpdaterIntent()
87 RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION); in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTracker.java21 import android.app.timezone.RulesUpdaterContract;
495 RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION)) { in validateUpdaterAppManifest()
498 + RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION); in validateUpdaterAppManifest()
502 RulesUpdaterContract.createUpdaterIntent(mUpdateAppPackageName), in validateUpdaterAppManifest()
503 RulesUpdaterContract.TRIGGER_TIME_ZONE_RULES_CHECK_PERMISSION)) { in validateUpdaterAppManifest()
DPackageTrackerIntentHelperImpl.java21 import android.app.timezone.RulesUpdaterContract;
88 RulesUpdaterContract.sendBroadcast( in sendTriggerUpdateCheck()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java30 import android.app.timezone.RulesUpdaterContract;
1295 Intent expectedIntent = RulesUpdaterContract.createUpdaterIntent(updateAppPackageName); in configureUpdateAppManifestOk()
1298 eq(RulesUpdaterContract.TRIGGER_TIME_ZONE_RULES_CHECK_PERMISSION))) in configureUpdateAppManifestOk()
1301 updateAppPackageName, RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION)) in configureUpdateAppManifestOk()
1306 Intent expectedIntent = RulesUpdaterContract.createUpdaterIntent(updateAppPackageName); in configureUpdateAppManifestBad()
1309 eq(RulesUpdaterContract.TRIGGER_TIME_ZONE_RULES_CHECK_PERMISSION))) in configureUpdateAppManifestBad()
1313 updateAppPackageName, RulesUpdaterContract.UPDATE_TIME_ZONE_RULES_PERMISSION)) in configureUpdateAppManifestBad()