Searched refs:mPackageMonitorCallbackHelper (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageMonitorCallbackHelperTest.java | 60 PackageMonitorCallbackHelper mPackageMonitorCallbackHelper; field in PackageMonitorCallbackHelperTest 67 mPackageMonitorCallbackHelper = new PackageMonitorCallbackHelper(); in setup() 73 mPackageMonitorCallbackHelper = null; in teardown() 80 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testWithoutRegisterPackageMonitorCallback_callbackNotCalled() 92 mPackageMonitorCallbackHelper.registerPackageMonitorCallback(callback, 0 /* userId */, in testUnregisterPackageMonitorCallback_callbackShouldNotCalled() 94 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testUnregisterPackageMonitorCallback_callbackShouldNotCalled() 101 mPackageMonitorCallbackHelper.unregisterPackageMonitorCallback(callback); in testUnregisterPackageMonitorCallback_callbackShouldNotCalled() 102 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_ADDED, in testUnregisterPackageMonitorCallback_callbackShouldNotCalled() 115 mPackageMonitorCallbackHelper.registerPackageMonitorCallback(callback, 0 /* userId */, in testPackageMonitorCallback_SuspendNoAccessCallbackNotCalled() 117 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGES_SUSPENDED, in testPackageMonitorCallback_SuspendNoAccessCallbackNotCalled() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceInjector.java | 144 private final Singleton<PackageMonitorCallbackHelper> mPackageMonitorCallbackHelper; field in PackageManagerServiceInjector 238 mPackageMonitorCallbackHelper = new Singleton<>(packageMonitorCallbackHelper); in PackageManagerServiceInjector() 420 return mPackageMonitorCallbackHelper.get(this, mPackageManager); in getPackageMonitorCallbackHelper()
|
D | BroadcastHelper.java | 93 private final PackageMonitorCallbackHelper mPackageMonitorCallbackHelper; field in BroadcastHelper 101 mPackageMonitorCallbackHelper = injector.getPackageMonitorCallbackHelper(); in BroadcastHelper() 651 mPackageMonitorCallbackHelper.notifyPackageAddedForNewUsers(packageName, appId, userIds, in sendPackageAddedForNewUsers() 830 mPackageMonitorCallbackHelper.notifyPackageChanged(packageName, dontKillApp, componentNames, in sendPackageChangedBroadcast() 1107 mPackageMonitorCallbackHelper.notifyPackageMonitor(action, pkg, extras, userIds, in notifyPackageMonitor() 1115 mPackageMonitorCallbackHelper.notifyResourcesChanged(mediaStatus, replacing, pkgNames, in notifyResourcesChanged()
|
D | PackageManagerService.java | 728 private final PackageMonitorCallbackHelper mPackageMonitorCallbackHelper; field in PackageManagerService 1959 mPackageMonitorCallbackHelper = testParams.packageMonitorCallbackHelper; in PackageManagerService() 2105 mPackageMonitorCallbackHelper = injector.getPackageMonitorCallbackHelper(); in PackageManagerService() 4386 mPackageMonitorCallbackHelper.onUserRemoved(userId); 4683 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_UNSTOPPED, 6443 mPackageMonitorCallbackHelper.registerPackageMonitorCallback(callback, targetUserId, in registerPackageMonitorCallback() 6449 mPackageMonitorCallbackHelper.unregisterPackageMonitorCallback(callback); in unregisterPackageMonitorCallback() 7150 mPackageMonitorCallbackHelper.notifyPackageMonitor(Intent.ACTION_PACKAGE_RESTARTED, in sendPackageRestartedBroadcast() 7175 mPackageMonitorCallbackHelper.notifyPackageMonitorWithIntent(intent, userId, in sendPackageDataClearedBroadcast()
|