Home
last modified time | relevance | path

Searched refs:onPackageRemoved (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/pm/
DPackageList.java63 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in PackageList
65 mWrappedObserver.onPackageRemoved(packageName, uid); in onPackageRemoved()
DLauncherAppsService.java1236 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in LauncherAppsService.LauncherAppsImpl.MyPackageMonitor
1245 listener.onPackageRemoved(user, packageName); in onPackageRemoved()
1254 super.onPackageRemoved(packageName, uid); in onPackageRemoved()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java242 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnUserUnlocked_cleansUpRemovedPackages()
249 verify(mDb, times(1)).onPackageRemoved(pkg); in testOnUserUnlocked_cleansUpRemovedPackages()
292 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnUserRemoved_cleanupPendingPackages()
306 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnPackageRemoved_userUnlocked()
308 verify(userHistory, times(1)).onPackageRemoved(pkg); in testOnPackageRemoved_userUnlocked()
314 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnPackageRemoved_userLocked()
327 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnPackageRemoved_historyDisabled()
345 mHistoryManager.onPackageRemoved(USER_SYSTEM, pkg); in testOnPackageRemoved_multiUser()
347 verify(userHistorySystem, times(1)).onPackageRemoved(pkg); in testOnPackageRemoved_multiUser()
348 verify(userHistoryAll, never()).onPackageRemoved(pkg); in testOnPackageRemoved_multiUser()
DNotificationHistoryDatabaseTest.java176 mDataBase.onPackageRemoved("test"); in testOnPackageRemove_posts()
/frameworks/base/telephony/common/com/android/internal/telephony/
DPackageChangeReceiver.java94 public void onPackageRemoved(@Nullable String packageName) { in onPackageRemoved() method in PackageChangeReceiver
148 onPackageRemoved(pkg); in onReceive()
/frameworks/base/core/java/android/content/pm/
DIOnAppsChangedListener.aidl27 void onPackageRemoved(in UserHandle user, String packageName); in onPackageRemoved() method
DLauncherApps.java204 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved() method in LauncherApps.Callback
1568 public void onPackageRemoved(UserHandle user, String packageName)
1709 mCallback.onPackageRemoved(info.packageName, info.user); in handleMessage()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java104 userHistory.onPackageRemoved(pendingPackageRemovals.get(i)); in onUserUnlocked()
134 public void onPackageRemoved(@UserIdInt int userId, String packageName) { in onPackageRemoved() method in NotificationHistoryManager
150 userHistory.onPackageRemoved(packageName); in onPackageRemoved()
DShortcutHelper.java78 public void onPackageRemoved(String packageName, UserHandle user) {
DNotificationHistoryDatabase.java166 public void onPackageRemoved(String packageName) { in onPackageRemoved() method in NotificationHistoryDatabase
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java453 mPermissionMonitor.onPackageRemoved(MOCK_UID1); in testUserAndPackageAddRemove()
504 mPermissionMonitor.onPackageRemoved(UserHandle.getUid(MOCK_USER1, MOCK_UID1)); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
548 mPermissionMonitor.onPackageRemoved(UserHandle.getUid(MOCK_USER1, MOCK_UID1)); in testUidFilteringDuringPackageInstallAndUninstall()
564 mPermissionMonitor.onPackageRemoved(UserHandle.getUid(user, uid)); in removePackageForUsers()
695 mObserver.onPackageRemoved(MOCK_PACKAGE1, MOCK_UID1); in testPackageUninstallBasic()
708 mObserver.onPackageRemoved(MOCK_PACKAGE1, MOCK_UID1); in testPackageRemoveThenAdd()
743 mObserver.onPackageRemoved(MOCK_PACKAGE1, MOCK_UID1); in testPackageUninstallWithMultiplePackages()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java425 mObserver.onPackageRemoved(TEST_COMPONENT.getPackageName(), TEST_USER_ID); in testClearsRecordInMemoryOnPackageUninstalled()
436 mObserver.onPackageRemoved(TEST_COMPONENT.getPackageName(), TEST_USER_ID); in testClearsWriteQueueItemOnPackageUninstalled()
453 mObserver.onPackageRemoved(TEST_COMPONENT.getPackageName(), TEST_USER_ID); in testClearsFileOnPackageUninstalled()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java146 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in PackageMonitor
378 onPackageRemoved(pkg, uid); in onReceive()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java138 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in PermissionMonitor.PackageListObserver
407 public synchronized void onPackageRemoved(int uid) { in onPackageRemoved() method in PermissionMonitor
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java237 transportManager.onPackageRemoved(PACKAGE_A); in testOnPackageRemoved_unregisterTransports()
247 transportManager.onPackageRemoved(PACKAGE_A + "unknown"); in testOnPackageRemoved_whenUnknownPackage_nothingHappens()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java609 db.onPackageRemoved(removedPackage, System.currentTimeMillis()); in verifyPackageNotRetained()
700 db.onPackageRemoved(removedPackage, System.currentTimeMillis()); in testPackageDataIsRemoved()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java416 public void onPackageRemoved(String packageName) { in onPackageRemoved() method in CarrierServiceBindHelper.CarrierServicePackageMonitor
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java140 void onPackageRemoved(@NonNull String packageName, int uid); in onPackageRemoved() method
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java972 private void onPackageRemoved(int userId, String packageName) { in onPackageRemoved() method in UsageStatsService
986 tokenRemoved = userService.onPackageRemoved(packageName, timeRemoved); in onPackageRemoved()
1372 onPackageRemoved(msg.arg1, (String) msg.obj); in handleMessage()
2311 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in UsageStatsService.MyPackageMonitor
2314 super.onPackageRemoved(packageName, uid); in onPackageRemoved()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java240 public void onPackageRemoved(String packageName, int uid) { in register() method
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java380 onPackageRemoved(packageName, userIds); in onReceive()
476 private void onPackageRemoved(@NonNull final String packageName, in onPackageRemoved() method in OverlayManagerService.PackageReceiver
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java960 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in DataManager.PerUserPackageMonitor
961 super.onPackageRemoved(packageName, uid); in onPackageRemoved()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstanceManager.java124 public void onPackageRemoved(String pkg) { in onPackageRemoved() method in PluginInstanceManager
DPluginManagerImpl.java291 manager.onPackageRemoved(pkg); in onReceive()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/
DTransportManager.java124 void onPackageRemoved(String packageName) { in onPackageRemoved() method in TransportManager

123