Home
last modified time | relevance | path

Searched refs:wasPackageEverLaunched (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java109 when(mPackageManagerInternal.wasPackageEverLaunched(eq(TEST_APP_NAME), anyInt())) in testGetBackupEligibilityRules_skipRestoreFlagOn_skipsLaunchedAppRestore()
126 when(mPackageManagerInternal.wasPackageEverLaunched(eq(TEST_APP_NAME), anyInt())) in testGetBackupEligibilityRules_skipRestoreFlagOff_allowsAppRestore()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java865 when(mMockPackageManagerInternal.wasPackageEverLaunched(eq(TEST_PACKAGE_NAME), eq(mUserId))) in isAppEligibleForRestore_hasBeenLaunched_returnsFalse()
880 when(mMockPackageManagerInternal.wasPackageEverLaunched(eq(TEST_PACKAGE_NAME), eq(mUserId))) in isAppEligibleForRestore_hasNotBeenLaunched_returnsTrue()
895 when(mMockPackageManagerInternal.wasPackageEverLaunched(eq(TEST_PACKAGE_NAME), eq(mUserId))) in isAppEligibleForRestore_launchedButHasBackupAgent_returnsTrue()
910 when(mMockPackageManagerInternal.wasPackageEverLaunched(eq(TEST_PACKAGE_NAME), eq(mUserId))) in isAppEligibleForRestore_doNotSkipRestoreForLaunched_returnsTrue()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java319 return !mPackageManagerInternal.wasPackageEverLaunched(app.packageName, mUserId); in isAppEligibleForRestore()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java449 public abstract boolean wasPackageEverLaunched(String packageName, int userId); in wasPackageEverLaunched() method in PackageManagerInternal
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerInternalBase.java396 public final boolean wasPackageEverLaunched(String packageName, int userId) { in wasPackageEverLaunched() method in PackageManagerInternalBase
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1160 if (!wasPackageEverLaunched(packageName, userId)) { in scheduleSync()
3580 if (!wasPackageEverLaunched(packageName, userId)) { in updateOrAddPeriodicSyncH()
4315 private boolean wasPackageEverLaunched(String packageName, int userId) { in wasPackageEverLaunched() method in SyncManager
4317 return mPackageManagerInternal.wasPackageEverLaunched(packageName, userId); in wasPackageEverLaunched()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java3402 final boolean wasPackageEverLaunched = mService
3403 .wasPackageEverLaunched(r.getApplicationInfo().packageName, r.userId);
3406 @WindowProcessController.StoppedState int stoppedState = wasPackageEverLaunched
DContentProviderHelper.java560 final boolean firstLaunch = !mService.wasPackageEverLaunched( in getContentProviderImpl()
DBroadcastQueueModernImpl.java1012 final boolean firstLaunch = !mService.wasPackageEverLaunched(info.packageName, r.userId); in scheduleReceiverColdLocked()
DActiveServices.java1520 hostApp == null ? !mAm.wasPackageEverLaunched(r.packageName, r.userId) : false; in startServiceInnerLocked()
4312 hostApp == null ? !mAm.wasPackageEverLaunched(s.packageName, s.userId) : false; in bindServiceLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java1879 .wasPackageEverLaunched(info.packageName, info.userId); in wasFirstLaunch()
/frameworks/base/services/
Dart-wear-profile18513 PLcom/android/server/pm/PackageManagerInternalBase;->wasPackageEverLaunched(Ljava/lang/String;I)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12596 Landroid/content/pm/PackageManagerInternal;->wasPackageEverLaunched(Ljava/lang/String;I)Z