/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageMonitorCallbackHelperTest.java | 80 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/ |
D | PackageChangeReceiver.java | 39 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/ |
D | CarrierAppInstallReceiver.java | 32 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction())) { in onReceive()
|
D | InstallCarrierAppUtils.java | 140 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerPackageInstallReceiver()
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 19 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/ |
D | BroadcastHelper.java | 479 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()
|
D | PackageMonitorCallbackHelper.java | 110 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/ |
D | PackageInstalledReceiver.java | 47 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { in onReceive()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/ |
D | AppCompatOverridesServiceTest.java | 19 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/ |
D | AppCompatOverridesService.java | 19 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/ |
D | PackageObserver.java | 86 final IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in addCallback()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ComponentController.java | 63 case Intent.ACTION_PACKAGE_ADDED: 114 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in startTrackingLocked()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 108 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/ |
D | PluginManagerImpl.java | 130 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/ |
D | SignedConfigService.java | 122 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerUpdateReceiver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | PhoneStateMonitor.java | 66 Intent.ACTION_PACKAGE_ADDED,
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceController.java | 215 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in evaluateGameServiceProviderPackageChangedListenerLocked()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRoute2ProviderWatcher.java | 87 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
|
D | RemoteDisplayProviderWatcher.java | 79 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationService.java | 20 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/ |
D | TvRemoteProviderWatcher.java | 92 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 184 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onPhaseActivityManagerReady() 255 case Intent.ACTION_PACKAGE_ADDED:
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ServiceListing.java | 87 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in setListening()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssVisibilityControl.java | 159 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/ |
D | EuiccConnectorTest.java | 210 Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, in testPackageChange_unavailableToAvailable() 230 Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, in testPackageChange_availableToUnavailable()
|