/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 98 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()
|
D | ServiceWatcher.java | 174 mPackageMonitor.register(mContext, null, UserHandle.ALL, true); in start() 324 private final PackageMonitor mPackageMonitor = new PackageMonitor() { field in ServiceWatcher
|
D | LocationManagerService.java | 428 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/ |
D | ShortcutManagerTest1.java | 1326 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 …]
|
D | ShortcutManagerTest6.java | 255 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache() 270 mService.mPackageMonitor.onReceive(mServiceContext, in testHasShortcutHostPermissionInner_clearCache()
|
D | ShortcutManagerTest7.java | 290 mService.mPackageMonitor.onReceive(getTestContext(), in testClearShortcuts()
|
D | ShortcutManagerTest3.java | 69 mService.mPackageMonitor.onReceive(getTestContext(), in publishManifestShortcuts()
|
D | BaseShortcutManagerTest.java | 2139 mService.mPackageMonitor.onReceive(getTestContext(),
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceBindHelper.java | 62 private final PackageMonitor mPackageMonitor = new CarrierServicePackageMonitor(); field in CarrierServiceBindHelper 114 mPackageMonitor.register( in CarrierServiceBindHelper()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 252 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/ |
D | RecentsActivity.java | 109 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/ |
D | LauncherAppsService.java | 110 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()
|
D | ShortcutService.java | 448 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/ |
D | ResolverActivity.java | 123 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/ |
D | MidiService.java | 112 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/ |
D | TrustManagerService.java | 155 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/ |
D | VoiceInteractionManagerService.java | 366 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/ |
D | UsbProfileGroupSettingsManager.java | 582 MyPackageMonitor mPackageMonitor = new MyPackageMonitor(); field in UsbProfileGroupSettingsManager 624 mPackageMonitor.register(context, null, UserHandle.ALL, true); in UsbProfileGroupSettingsManager()
|