Searched refs:mPackageRemovedReceiver (Results 1 – 6 of 6) sorted by relevance
84 private BroadcastReceiver mPackageRemovedReceiver; field in ToggleAccessibilityServicePreferenceFragment277 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()
275 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()283 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()290 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoBase
379 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()387 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()394 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in NotificationSettings
675 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()683 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()687 final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoDashboardFragment
713 mActivity.registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()721 mActivity.unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()783 private final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppButtonsPreferenceController
346 verify(context).unregisterReceiver(mFragment.mPackageRemovedReceiver); in onDestroy_shouldUnregisterReceiver()