Home
last modified time | relevance | path

Searched refs:mPackageMonitor (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java98 private NetworkScorerPackageMonitor mPackageMonitor; field in NetworkScoreService
296 if (mPackageMonitor != null && (appData == null in registerPackageMonitorIfNeeded()
298 mPackageMonitor.mPackageToWatch))) { in registerPackageMonitorIfNeeded()
301 + mPackageMonitor.mPackageToWatch); in registerPackageMonitorIfNeeded()
303 mPackageMonitor.unregister(); in registerPackageMonitorIfNeeded()
304 mPackageMonitor = null; in registerPackageMonitorIfNeeded()
308 if (appData != null && mPackageMonitor == null) { in registerPackageMonitorIfNeeded()
309 mPackageMonitor = new NetworkScorerPackageMonitor( in registerPackageMonitorIfNeeded()
312 mPackageMonitor.register(mContext, null /* thread */, UserHandle.SYSTEM, in registerPackageMonitorIfNeeded()
316 + mPackageMonitor.mPackageToWatch); in registerPackageMonitorIfNeeded()
DServiceWatcher.java174 mPackageMonitor.register(mContext, null, UserHandle.ALL, true); in start()
324 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in ServiceWatcher
DLocationManagerService.java428 mPackageMonitor.register(mContext, mLocationHandler.getLooper(), true); in systemRunning()
2770 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in LocationManagerService
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1326 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
1345 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
2885 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
2922 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
3534 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
3551 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
3907 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDelete()
3915 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDisable()
3932 mService.mPackageMonitor.onReceive(getTestContext(), in checkHandlePackageDeleteInner()
4083 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageClearData()
[all …]
DShortcutManagerTest6.java255 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache()
270 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache()
DShortcutManagerTest7.java290 mService.mPackageMonitor.onReceive(getTestContext(), in testClearShortcuts()
DShortcutManagerTest3.java69 mService.mPackageMonitor.onReceive(getTestContext(), in publishManifestShortcuts()
DBaseShortcutManagerTest.java2139 mService.mPackageMonitor.onReceive(getTestContext(),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java62 private final PackageMonitor mPackageMonitor = new CarrierServicePackageMonitor(); field in CarrierServiceBindHelper
114 mPackageMonitor.register( in CarrierServiceBindHelper()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java252 private final PackageMonitor mPackageMonitor = new DataModelPackageMonitor(); field in ActivityChooserModel
367 mPackageMonitor.register(mContext, null, true); in ActivityChooserModel()
664 mPackageMonitor.unregister(); in finalize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java109 private RecentsPackageMonitor mPackageMonitor; field in RecentsActivity
328 mPackageMonitor = new RecentsPackageMonitor(); in onCreate()
329 mPackageMonitor.register(this); in onCreate()
535 mPackageMonitor.unregister(); in onDestroy()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java110 private final MyPackageMonitor mPackageMonitor = new MyPackageMonitor(); field in LauncherAppsService.LauncherAppsImpl
121 mShortcutServiceInternal.addListener(mPackageMonitor); in LauncherAppsImpl()
195 mPackageMonitor.register(mContext, UserHandle.ALL, true, mCallbackHandler); in startWatchingPackageBroadcasts()
205 mPackageMonitor.unregister(); in stopWatchingPackageBroadcasts()
DShortcutService.java448 mContext.registerReceiverAsUser(mPackageMonitor, UserHandle.ALL, in ShortcutService()
454 mContext.registerReceiverAsUser(mPackageMonitor, UserHandle.ALL, in ShortcutService()
2671 final BroadcastReceiver mPackageMonitor = new BroadcastReceiver() { field in ShortcutService
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java123 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in ResolverActivity
273 mPackageMonitor.register(this, getMainLooper(), false); in onCreate()
491 mPackageMonitor.register(this, getMainLooper(), false); in onRestart()
504 mPackageMonitor.unregister(); in onStop()
916 mPackageMonitor.unregister(); in configureContentView()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java112 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in MidiService
574 mPackageMonitor.register(mContext, null, true); in onUnlockUser()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java155 mPackageMonitor.register(mContext, mHandler.getLooper(), UserHandle.ALL, true); in onBootPhase()
1059 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in TrustManagerService
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java366 mPackageMonitor.register(mContext, BackgroundThread.getHandler().getLooper(), in systemRunning()
1163 PackageMonitor mPackageMonitor = new PackageMonitor() { field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java582 MyPackageMonitor mPackageMonitor = new MyPackageMonitor(); field in UsbProfileGroupSettingsManager
624 mPackageMonitor.register(context, null, UserHandle.ALL, true); in UsbProfileGroupSettingsManager()