Home
last modified time | relevance | path

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

12

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigratorPackageChangesReceiverTest.java114 verify(mMigrationStateManager).onPackageRemoved(eq(mContext), eq(MOCK_CONFIGURED_PACKAGE)); in testPackageRemoved_callsOnPackageRemoved()
123 verify(mMigrationStateManager, never()).onPackageRemoved(any(), any()); in testOnReceive_nullPackage_noMigrationStateManagerCall()
132 verify(mMigrationStateManager, never()).onPackageRemoved(any(), any()); in testOnReceive_nullUserHandle_noMigrationStateManagerCall()
141 verify(mMigrationStateManager, never()).onPackageRemoved(any(), any()); in testOnReceive_notAForegroundUser_noMigrationStateManagerCall()
DMigrationStateManagerTest.java297 mMigrationStateManager.onPackageRemoved(mContext, MOCK_UNCONFIGURED_PACKAGE_ONE); in testOnPackageRemoved_migratorPackageExists_nonMigratorPackagePassed()
312 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromIdleState_migrationAwarePackage()
326 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromAppUpgradeRequiredState_migrationAwarePackage()
340 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromModuleUpgradeRequiredState_migrationAwarePackage()
354 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromAllowedState_migrationAwarePackage()
368 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromInProgressState_migrationAwarePackage()
379 mMigrationStateManager.onPackageRemoved(mContext, MOCK_CONFIGURED_PACKAGE); in testOnPackageRemoved_fromCompleteState_migrationAwarePackage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DPackageRemovalMonitor.java38 protected abstract void onPackageRemoved(); in onPackageRemoved() method in PackageRemovalMonitor
44 onPackageRemoved(); in onReceive()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestratorTest.java97 .onPackageRemoved(eq(SELF_PACKAGE_NAME), eq(mCurrentUid), eq(CURRENT_USER)); in testPackageAdded_callsTrackerToUpdateState_noGrantTimeOrPermsCalls()
116 .onPackageRemoved(eq(SELF_PACKAGE_NAME), eq(mCurrentUid), eq(CURRENT_USER)); in testPackageRemoved_resetsGrantTime()
138 .onPackageRemoved(eq(SELF_PACKAGE_NAME), eq(mCurrentUid), eq(CURRENT_USER)); in testPackageReplaced_noGrantTimeResetsOrPermsRevokes()
/packages/modules/Virtualization/java/service/src/com/android/system/virtualmachine/
DVirtualizationSystemService.java112 onPackageRemoved(intent); in onReceive()
127 private void onPackageRemoved(Intent intent) { in onPackageRemoved() method in VirtualizationSystemService.Receiver
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java327 private void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in PermissionMonitorTest
328 processOnHandlerThread(() -> mPermissionMonitor.onPackageRemoved(packageName, uid)); in onPackageRemoved()
355 processOnHandlerThread(() -> mPermissionMonitor.onPackageRemoved(packageName, uid)); in removePackage()
839 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in doTestUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
892 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in doTestUidFilteringDuringPackageInstallAndUninstall()
1100 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in testLockdownUidFilteringWithInstallAndUnInstall()
1118 mPermissionMonitor.onPackageRemoved(packageName, user.getUid(appId))); in removePackageForUsers()
1191 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in testPackageUninstallBasic()
1201 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in testPackageRemoveThenAdd()
1229 onPackageRemoved(MOCK_PACKAGE1, MOCK_UID11); in testPackageUninstallWithMultiplePackages()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java307 protected void onPackageRemoved() { in onPackageRemoved() method in AppInfoBase
317 onPackageRemoved();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPackagesMonitor.java69 PicasaSource.onPackageRemoved(context, packageName); in onReceiveAsync()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java141 public static void onPackageRemoved(Context context, String packageName) {/*do nothing*/} in onPackageRemoved() method in PicasaSource
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelLauncherCallbacks.kt56 override fun onPackageRemoved(packageName: String, user: UserHandle) { in onPackageRemoved() method in com.android.launcher3.model.ModelLauncherCallbacks
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigratorPackageChangesReceiver.java72 mMigrationStateManager.onPackageRemoved(context, packageName); in onReceive()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultPackageStatusNotifier.java83 public void onPackageRemoved(String packageName, UserHandle userHandle) { in onPackageRemoved() method in DefaultPackageStatusNotifier.ListenerWrapper
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java391 protected void onPackageRemoved() { in onPackageRemoved() method in NotificationSettings
404 onPackageRemoved();
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestrator.java101 mFirstGrantTimeManager.onPackageRemoved(packageName, uid, userHandle); in onReceive()
DFirstGrantTimeManager.java290 void onPackageRemoved( in onPackageRemoved() method in FirstGrantTimeManager
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java141 getCallbacks().onPackageRemoved(TestUtil.DUMMY_PACKAGE, Process.myUserHandle()); in testTwoCallbacks_receiveUpdates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppInfoWithHeaderTest.java227 protected void onPackageRemoved() { in onPackageRemoved() method in AppInfoWithHeaderTest.TestFragment
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DTestUtil.java262 public void onPackageRemoved(String packageName, UserHandle user) { } in onPackageRemoved() method in TestUtil.PackageInstallCheck
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java278 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() method in PaymentBackend.SettingsPackageMonitor
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleFragment.kt316 override fun onPackageRemoved() { in <lambda>() method
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java140 public void onPackageRemoved(String packageName, int uid) {
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java683 private void onPackageRemoved() { in onPackageRemoved() method in AppInfoDashboardFragment
849 onPackageRemoved();
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DDefaultCombinedPicker.java186 public void onPackageRemoved(String packageName, int uid) {
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java176 onPackageRemoved(packageName, uid);
863 synchronized void onPackageRemoved(@NonNull final String packageName, final int uid) { in onPackageRemoved() method in PermissionMonitor
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java145 public void onPackageRemoved(String packageName, int uid) {

12