Home
last modified time | relevance | path

Searched refs:isReplacing (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnManagerServiceTest.java223 boolean isReplacing) { in buildIntent() argument
227 intent.putExtra(Intent.EXTRA_REPLACING, isReplacing); in buildIntent()
267 private void onPackageAdded(String packageName, int userId, int uid, boolean isReplacing) { in onPackageAdded() argument
268 sendIntent(buildIntent(Intent.ACTION_PACKAGE_ADDED, packageName, userId, uid, isReplacing)); in onPackageAdded()
271 private void onPackageAdded(String packageName, int uid, boolean isReplacing) { in onPackageAdded() argument
272 onPackageAdded(packageName, UserHandle.USER_SYSTEM, uid, isReplacing); in onPackageAdded()
275 private void onPackageRemoved(String packageName, int userId, int uid, boolean isReplacing) { in onPackageRemoved() argument
277 isReplacing)); in onPackageRemoved()
280 private void onPackageRemoved(String packageName, int uid, boolean isReplacing) { in onPackageRemoved() argument
281 onPackageRemoved(packageName, UserHandle.USER_SYSTEM, uid, isReplacing); in onPackageRemoved()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java757 final boolean isReplacing = intent.getBooleanExtra(
759 onPackageRemoved(packageName, uid, isReplacing);
761 final boolean isReplacing = intent.getBooleanExtra(
763 onPackageAdded(packageName, uid, isReplacing);
874 private void onPackageRemoved(String packageName, int uid, boolean isReplacing) { in onPackageRemoved() argument
883 if (vpn == null || isReplacing) { in onPackageRemoved()
897 private void onPackageAdded(String packageName, int uid, boolean isReplacing) { in onPackageAdded() argument
907 if (vpn != null && !isReplacing) { in onPackageAdded()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java371 public boolean isReplacing() { in isReplacing() method in PackageMonitor
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java518 boolean isReplacing = extras != null && extras.getBoolean(Intent.EXTRA_REPLACING, in onPackageBroadcastReceived()
523 (extras == null || !isReplacing || (isReplacing && isArchival)); in onPackageBroadcastReceived()
529 + " isReplacing=" + isReplacing + " isArchival=" + isArchival); in onPackageBroadcastReceived()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java2551 listener.onPackagesAvailable(user, filteredPackages, isReplacing()); in onPackagesAvailable()
2581 listener.onPackagesUnavailable(user, filteredPackages, isReplacing()); in onPackagesUnavailable()
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java557 if (isReplacing()) { in registerBroadcastReceivers()
571 if (isReplacing()) { in registerBroadcastReceivers()
580 if (isReplacing()) { in registerBroadcastReceivers()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java278 if (isReplacing()) { in registerBroadcastReceivers()
291 if (isReplacing()) { in registerBroadcastReceivers()
301 if (isReplacing()) { in registerBroadcastReceivers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72380 Lcom/android/internal/content/PackageMonitor;->isReplacing()Z