Home
last modified time | relevance | path

Searched refs:mPackageIntentReceiver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java138 PackageIntentReceiver mPackageIntentReceiver; field in ApplicationsState
282 if (mPackageIntentReceiver == null) { in doResumeIfNeededLocked()
283 mPackageIntentReceiver = new PackageIntentReceiver(); in doResumeIfNeededLocked()
284 mPackageIntentReceiver.registerReceiver(); in doResumeIfNeededLocked()
483 if (mPackageIntentReceiver != null) { in doPauseLocked()
484 mPackageIntentReceiver.unregisterReceiver(); in doPauseLocked()
485 mPackageIntentReceiver = null; in doPauseLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1916 private final BroadcastReceiver mPackageIntentReceiver = new BroadcastReceiver() { field in NotificationManagerService
2603 getContext().registerReceiverAsUser(mPackageIntentReceiver, UserHandle.ALL, pkgFilter, null, in init()
2610 getContext().registerReceiverAsUser(mPackageIntentReceiver, UserHandle.ALL, in init()
2614 getContext().registerReceiverAsUser(mPackageIntentReceiver, UserHandle.ALL, sdFilter, null, in init()
2654 if (mPackageIntentReceiver != null) { in onDestroy()
2655 getContext().unregisterReceiver(mPackageIntentReceiver); in onDestroy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java508 BroadcastReceiver mPackageIntentReceiver; field in NotificationManagerServiceTest
807 mPackageIntentReceiver = broadcastReceivers.get(i); in initNMS()
823 assertNotNull("package intent receiver should exist", mPackageIntentReceiver); in initNMS()
957 mPackageIntentReceiver.onReceive(getContext(), intent); in simulatePackageSuspendBroadcast()
969 mPackageIntentReceiver.onReceive(getContext(), intent); in simulatePackageRemovedBroadcast()
983 mPackageIntentReceiver.onReceive(getContext(), intent); in simulatePackageDistractionBroadcast()