Searched refs:mPackageRemovedReceiver (Results 1 – 7 of 7) sorted by relevance
69 private BroadcastReceiver mPackageRemovedReceiver; field in ToggleAccessibilityServicePreferenceFragment284 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()
296 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()304 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()311 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoBase
380 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()388 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()395 protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in NotificationSettings
701 mActivity.registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()709 mActivity.unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()779 private final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppButtonsPreferenceController
826 getContext().registerReceiver(mPackageRemovedReceiver, filter); in startListeningToPackageRemove()834 getContext().unregisterReceiver(mPackageRemovedReceiver); in stopListeningToPackageRemove()838 final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() { field in AppInfoDashboardFragment
358 private final BroadcastReceiver mPackageRemovedReceiver; field in CarRemoteAccessService427 mPackageRemovedReceiver = new BroadcastReceiver() { in CarRemoteAccessService()520 mContext.registerReceiver(mPackageRemovedReceiver, filter, RECEIVER_NOT_EXPORTED); in init()527 mContext.unregisterReceiver(mPackageRemovedReceiver); in release()
355 verify(context).unregisterReceiver(mFragment.mPackageRemovedReceiver); in onDestroy_shouldUnregisterReceiver()