Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java69 private BroadcastReceiver mPackageRemovedReceiver; field in ToggleAccessibilityServicePreferenceFragment
284 if (mPackageRemovedReceiver != null || getContext() == null) { in registerPackageRemoveReceiver()
287 mPackageRemovedReceiver = new BroadcastReceiver() { in registerPackageRemoveReceiver()
298 getContext().registerReceiver(mPackageRemovedReceiver, filter); in registerPackageRemoveReceiver()
302 if (mPackageRemovedReceiver == null || getContext() == null) { in unregisterPackageRemoveReceiver()
305 getContext().unregisterReceiver(mPackageRemovedReceiver); in unregisterPackageRemoveReceiver()
306 mPackageRemovedReceiver = null; in unregisterPackageRemoveReceiver()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java296 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
304 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
311 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoBase
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java380 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
388 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
395 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in NotificationSettings
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java701 mActivity.registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
709 mActivity.unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
779 private final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppButtonsPreferenceController
DAppInfoDashboardFragment.java826 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()
834 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()
838 final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoDashboardFragment
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java358 private final BroadcastReceiver mPackageRemovedReceiver; field in CarRemoteAccessService
427 mPackageRemovedReceiver = new BroadcastReceiver() { in CarRemoteAccessService()
520 mContext.registerReceiver(mPackageRemovedReceiver, filter, RECEIVER_NOT_EXPORTED); in init()
527 mContext.unregisterReceiver(mPackageRemovedReceiver); in release()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java355 verify(context).unregisterReceiver(mFragment.mPackageRemovedReceiver); in onDestroy_shouldUnregisterReceiver()