Home
last modified time | relevance | path

Searched refs:ACTION_PACKAGE_ADDED (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageMonitorCallbackHelperTest.java80 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testWithoutRegisterPackageMonitorCallback_callbackNotCalled()
94 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testUnregisterPackageMonitorCallback_callbackShouldNotCalled()
102 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testUnregisterPackageMonitorCallback_callbackShouldNotCalled()
158 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testRegisterPackageMonitorCallback_callbackCalled()
170 assertThat(intent.getAction()).isEqualTo(Intent.ACTION_PACKAGE_ADDED); in testRegisterPackageMonitorCallback_callbackCalled()
183 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testRegisterPackageMonitorCallbackUserNotMatch_callbackShouldNotCalled()
241 assertThat(intent.getAction()).isEqualTo(Intent.ACTION_PACKAGE_ADDED); in testNotifyPackageAddedForNewUsers_callbackCalled()
287 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testPackageMonitorCallback_onUserRemoved_callbackNotCalled()
304 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testRegisterPackageMonitorCallbackInAllowList_callbackShouldCalled()
320 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testRegisterPackageMonitorCallbackNotInAllowList_callbackShouldNotCalled()
[all …]
/frameworks/base/telephony/common/com/android/internal/telephony/
DPackageChangeReceiver.java39 sPackageIntentFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
133 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DCarrierAppInstallReceiver.java32 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction())) { in onReceive()
DInstallCarrierAppUtils.java140 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerPackageInstallReceiver()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java19 import static android.content.Intent.ACTION_PACKAGE_ADDED;
98 packageFilter.addAction(ACTION_PACKAGE_ADDED); in GpuService()
187 case ACTION_PACKAGE_ADDED: in onReceive()
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java479 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, packageName, in sendPostInstallBroadcasts()
507 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, packageName, in sendPostInstallBroadcasts()
513 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, packageName, in sendPostInstallBroadcasts()
521 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, packageName, in sendPostInstallBroadcasts()
530 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, in sendPostInstallBroadcasts()
540 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, packageName, in sendPostInstallBroadcasts()
681 sendPackageBroadcast(Intent.ACTION_PACKAGE_ADDED, in sendPackageAddedForNewUsers()
687 sendPackageBroadcast(Intent.ACTION_PACKAGE_ADDED, in sendPackageAddedForNewUsers()
871 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, removedPackage, extras, in sendSystemPackageUpdatedBroadcasts()
875 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, in sendSystemPackageUpdatedBroadcasts()
DPackageMonitorCallbackHelper.java110 notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, packageName, extras, in notifyPackageAddedForNewUsers()
187 return TextUtils.equals(action, Intent.ACTION_PACKAGE_ADDED) in isAllowedCallbackAction()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledReceiver.java47 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { in onReceive()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java19 import static android.content.Intent.ACTION_PACKAGE_ADDED;
468 mPackageReceiver.onReceive(mMockContext, new Intent(ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntentDataIsNull_doesNothing()
520 createPackageIntent(PACKAGE_1, ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntentPackageNotInstalled_doesNothing()
538 createPackageIntent(PACKAGE_1, ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntentNoOverridesForPackage_doesNothing()
564 createPackageIntent(PACKAGE_1, ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntent_appliesOverridesFromAllNamespaces()
609 createPackageIntent(PACKAGE_1, ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntentRemoveOverridesSetForSomeNamespaces_skipsIds()
730 createPackageIntent(PACKAGE_1, ACTION_PACKAGE_ADDED)); in packageReceiver_platformCompatThrowsExceptionForSomeNamespace_skipsFailedCall()
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesService.java19 import static android.content.Intent.ACTION_PACKAGE_ADDED;
417 mIntentFilter.addAction(ACTION_PACKAGE_ADDED); in PackageReceiver()
446 case ACTION_PACKAGE_ADDED: in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DPackageObserver.java86 final IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in addCallback()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DComponentController.java63 case Intent.ACTION_PACKAGE_ADDED:
114 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in startTrackingLocked()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java108 case Intent.ACTION_PACKAGE_ADDED: in onStart()
123 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java130 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in startListening()
194 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction()) in onReceive()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignedConfigService.java122 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerUpdateReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java66 Intent.ACTION_PACKAGE_ADDED,
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceController.java215 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in evaluateGameServiceProviderPackageChangedListenerLocked()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderWatcher.java87 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
DRemoteDisplayProviderWatcher.java79 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java20 import static android.content.Intent.ACTION_PACKAGE_ADDED;
163 intentFilter.addAction(ACTION_PACKAGE_ADDED); in AppHibernationService()
935 if (ACTION_PACKAGE_ADDED.equals(action) || ACTION_PACKAGE_REMOVED.equals(action)) {
942 if (ACTION_PACKAGE_ADDED.equals(action)) {
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java92 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java184 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onPhaseActivityManagerReady()
255 case Intent.ACTION_PACKAGE_ADDED:
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java87 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in setListening()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java159 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in listenForProxyAppsPackageUpdates()
173 case Intent.ACTION_PACKAGE_ADDED: in listenForProxyAppsPackageUpdates()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java210 Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, in testPackageChange_unavailableToAvailable()
230 Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, in testPackageChange_availableToUnavailable()

1234