Home
last modified time | relevance | path

Searched refs:mPackageRemovedReceiver (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java84 private BroadcastReceiver mPackageRemovedReceiver; field in ToggleAccessibilityServicePreferenceFragment
277 if (mPackageRemovedReceiver != null || getContext() == null) { in registerPackageRemoveReceiver()
280 mPackageRemovedReceiver = new BroadcastReceiver() { in registerPackageRemoveReceiver()
291 getContext().registerReceiver(mPackageRemovedReceiver, filter); in registerPackageRemoveReceiver()
295 if (mPackageRemovedReceiver == null || getContext() == null) { in unregisterPackageRemoveReceiver()
298 getContext().unregisterReceiver(mPackageRemovedReceiver); in unregisterPackageRemoveReceiver()
299 mPackageRemovedReceiver = null; in unregisterPackageRemoveReceiver()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java275 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
283 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
290 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoBase
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java379 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
387 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
394 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in NotificationSettings
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java675 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
683 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
687 final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoDashboardFragment
DAppButtonsPreferenceController.java713 mActivity.registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
721 mActivity.unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
783 private final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppButtonsPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java346 verify(context).unregisterReceiver(mFragment.mPackageRemovedReceiver); in onDestroy_shouldUnregisterReceiver()