Home
last modified time | relevance | path

Searched refs:PackageMonitor (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorTest.java70 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorMultipleRegisterThrowsException()
83 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorRegisterMultipleUnRegisterThrowsException()
93 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorNotRegisterUnRegisterThrowsException()
100 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorNotRegisterWithoutSupportPackageRestartQuery()
110 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor(true)); in testPackageMonitorRegisterWithSupportPackageRestartQuery()
120 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorDoHandlePackageEventUidRemoved()
134 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorDoHandlePackageEventPackageSuspended()
150 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorDoHandlePackageEventPackageUnSuspended()
167 PackageMonitor spyPackageMonitor = spy(new TestPackageMonitor()); in testPackageMonitorDoHandlePackageEventExternalApplicationAvailable()
179 eq(PackageMonitor.PACKAGE_UPDATING)); in testPackageMonitorDoHandlePackageEventExternalApplicationAvailable()
[all …]
DPackageMonitorVisibilityTest.java128 private static class TestVisibilityPackageMonitor extends PackageMonitor {
/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
DContentProtectionAllowlistManager.java28 import com.android.internal.content.PackageMonitor;
53 final PackageMonitor mPackageMonitor;
160 protected PackageMonitor createPackageMonitor() { in createPackageMonitor()
171 private final class ContentProtectionPackageMonitor extends PackageMonitor {
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionPackageMonitor.java19 import com.android.internal.content.PackageMonitor;
21 public class GrammaticalInflectionPackageMonitor extends PackageMonitor {
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/withoutpermission/
DPackageMonitorPermissionTest.java29 import com.android.internal.content.PackageMonitor;
50 private static class TestVisibilityPackageMonitor extends PackageMonitor {
/frameworks/base/core/java/com/android/internal/policy/
DAttributeCache.java55 private PackageMonitor mPackageMonitor;
93 mPackageMonitor = new PackageMonitor(mContext, handler); in monitorPackageRemove()
97 static class PackageMonitor extends BroadcastReceiver { class in AttributeCache
99 PackageMonitor(Context context, Handler handler) { in PackageMonitor() method in AttributeCache.PackageMonitor
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerServicePackageMonitor.java23 import com.android.internal.content.PackageMonitor;
38 final class LocaleManagerServicePackageMonitor extends PackageMonitor {
DLocaleManagerService.java52 import com.android.internal.content.PackageMonitor;
103 private final PackageMonitor mPackageMonitor;
144 PackageMonitor packageMonitor) { in LocaleManagerService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DPackageUpdateMonitor.kt22 import com.android.internal.content.PackageMonitor
39 ) : PackageMonitor() {
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java49 public abstract class PackageMonitor extends android.content.BroadcastReceiver { class
71 public PackageMonitor() { in PackageMonitor() method in PackageMonitor
80 public PackageMonitor(boolean supportsPackageRestartQuery) { in PackageMonitor() method in PackageMonitor
599 private final WeakReference<PackageMonitor> mMonitorWeakReference;
601 PackageMonitorCallback(PackageMonitor monitor) { in PackageMonitorCallback()
617 PackageMonitor monitor = mMonitorWeakReference.get(); in onHandlePackageMonitorCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/
DPackageUpdateMonitor.kt22 import com.android.internal.content.PackageMonitor in <lambda>()
56 ) : PackageMonitor() { in <lambda>()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcherImpl.java37 import com.android.internal.content.PackageMonitor;
64 private final PackageMonitor mPackageMonitor = new PackageMonitor() {
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java37 import com.android.internal.content.PackageMonitor;
113 PackageMonitor packageMonitor = new PackageMonitor(true) { in build()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DContentProtectionAllowlistManagerTest.java39 import com.android.internal.content.PackageMonitor;
76 @Mock private PackageMonitor mMockPackageMonitor;
397 protected PackageMonitor createPackageMonitor() { in createPackageMonitor()
/frameworks/base/services/core/java/com/android/server/am/
DComponentAliasResolver.java41 import com.android.internal.content.PackageMonitor;
118 final PackageMonitor mPackageMonitor = new PackageMonitor() {
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerServiceTest.java54 import com.android.internal.content.PackageMonitor;
98 PackageMonitor mMockPackageMonitor;
106 mMockPackageMonitor = mock(PackageMonitor.class); in setUp()
DSystemAppUpdateTrackerTest.java53 import com.android.internal.content.PackageMonitor;
104 PackageMonitor mPackageMonitor;
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java35 import com.android.internal.content.PackageMonitor;
271 private final class RestorePackageMonitor extends PackageMonitor {
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java42 import com.android.internal.content.PackageMonitor;
140 class MyPackageMonitor extends PackageMonitor {
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java35 import com.android.internal.content.PackageMonitor;
255 private final PackageMonitor mPackageMonitor = new DataModelPackageMonitor();
1133 private final class DataModelPackageMonitor extends PackageMonitor {
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java60 import com.android.internal.content.PackageMonitor;
996 PackageMonitor packageMonitor = getWallpaperPackageMonitor( in applyComponentAtInstall()
1002 PackageMonitor getWallpaperPackageMonitor(ComponentName componentName, int which) { in getWallpaperPackageMonitor()
1003 return new PackageMonitor() { in getWallpaperPackageMonitor()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java40 import com.android.internal.content.PackageMonitor;
989 final PackageMonitor monitor = new PackageMonitor(true) { in startTrackingPackageChanges()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java74 import com.android.internal.content.PackageMonitor;
127 private final SparseArray<PackageMonitor> mPackageMonitors = new SparseArray<>();
649 PackageMonitor packageMonitor = new PerUserPackageMonitor(); in setupUser()
953 PackageMonitor getPackageMonitorForTesting(@UserIdInt int userId) { in getPackageMonitorForTesting()
1414 private class PerUserPackageMonitor extends PackageMonitor {
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java67 import com.android.internal.content.PackageMonitor;
878 PackageMonitor monitor = new PackageMonitor(true) { in registerBroadcastReceivers()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java94 import com.android.internal.content.PackageMonitor;
877 private final PackageMonitor mPackageMonitor = new PackageMonitor() {

123