Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java99 private NetworkScorerPackageMonitor mPackageMonitor; field in NetworkScoreService
367 if (mPackageMonitor != null && (appData == null in registerPackageMonitorIfNeeded()
369 mPackageMonitor.mPackageToWatch))) { in registerPackageMonitorIfNeeded()
372 + mPackageMonitor.mPackageToWatch); in registerPackageMonitorIfNeeded()
374 mPackageMonitor.unregister(); in registerPackageMonitorIfNeeded()
375 mPackageMonitor = null; in registerPackageMonitorIfNeeded()
379 if (appData != null && mPackageMonitor == null) { in registerPackageMonitorIfNeeded()
380 mPackageMonitor = new NetworkScorerPackageMonitor( in registerPackageMonitorIfNeeded()
383 mPackageMonitor.register(mContext, null /* thread */, UserHandle.SYSTEM, in registerPackageMonitorIfNeeded()
387 + mPackageMonitor.mPackageToWatch); in registerPackageMonitorIfNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1377 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
1396 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
3025 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
3062 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
3674 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
3691 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
4076 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDelete()
4084 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDisable()
4101 mService.mPackageMonitor.onReceive(getTestContext(), in checkHandlePackageDeleteInner()
4252 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageClearData()
[all …]
DShortcutManagerTest6.java255 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache()
270 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache()
DShortcutManagerTest3.java76 mService.mPackageMonitor.onReceive(getTestContext(), in publishManifestShortcuts()
517 mService.mPackageMonitor.onReceive(getTestContext(), in testGetSharingShortcutCount()
DShortcutManagerTest7.java291 mService.mPackageMonitor.onReceive(getTestContext(), in testClearShortcuts()
DBaseShortcutManagerTest.java2253 mService.mPackageMonitor.onReceive(getTestContext(),
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java253 private final PackageMonitor mPackageMonitor = new DataModelPackageMonitor(); field in ActivityChooserModel
369 mPackageMonitor.register(mContext, null, true); in ActivityChooserModel()
671 mPackageMonitor.unregister(); in finalize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java70 private final PackageChangeReceiver mPackageMonitor = new CarrierServicePackageMonitor(); field in CarrierServiceBindHelper
135 mPackageMonitor.register( in CarrierServiceBindHelper()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java129 private final MyPackageMonitor mPackageMonitor = new MyPackageMonitor(); field in LauncherAppsService.LauncherAppsImpl
148 mShortcutServiceInternal.addListener(mPackageMonitor); in LauncherAppsImpl()
264 mPackageMonitor.register(mContext, UserHandle.ALL, true, mCallbackHandler); in startWatchingPackageBroadcasts()
274 mPackageMonitor.unregister(); in stopWatchingPackageBroadcasts()
DShortcutService.java464 mContext.registerReceiverAsUser(mPackageMonitor, UserHandle.ALL, in ShortcutService()
470 mContext.registerReceiverAsUser(mPackageMonitor, UserHandle.ALL, in ShortcutService()
2915 final BroadcastReceiver mPackageMonitor = new BroadcastReceiver() { field in ShortcutService
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java114 private PackageMonitor mPackageMonitor = new PackageMonitor() { field in RecentsActivity
319 mPackageMonitor.register(this, Looper.getMainLooper(), UserHandle.ALL, in onCreate()
565 mPackageMonitor.unregister(); in onDestroy()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java339 private final PackageChangeReceiver mPackageMonitor = new EuiccPackageMonitor(); field in EuiccConnector
405 mPackageMonitor.register(mContext, null /* thread */, null /* user */); in init()
414 mPackageMonitor.unregister(); in onHalting()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java155 private final PackageMonitor mPackageMonitor = createPackageMonitor(); field in ResolverActivity
319 mPackageMonitor.register(this, getMainLooper(), false);
789 mPackageMonitor.register(this, getMainLooper(), false);
800 mPackageMonitor.unregister();
1289 mPackageMonitor.unregister();
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java112 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in MidiService
571 mPackageMonitor.register(mContext, null, true); in onUnlockUser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java195 MyPackageMonitor mPackageMonitor = new MyPackageMonitor(); field in UsbProfileGroupSettingsManager
241 mPackageMonitor.register(context, null, UserHandle.ALL, true); in UsbProfileGroupSettingsManager()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java415 mPackageMonitor.register(mContext, BackgroundThread.getHandler().getLooper(), in systemRunning()
1432 PackageMonitor mPackageMonitor = new PackageMonitor() { field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java209 mPackageMonitor.register(mContext, mHandler.getLooper(), UserHandle.ALL, true); in onBootPhase()
1402 private final PackageMonitor mPackageMonitor = new PackageMonitor() {
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java129 PackageMonitor mPackageMonitor; field in UsageStatsService
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt80554 Landroid/widget/ActivityChooserModel;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor;