Searched refs:failingPackage (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | WatchdogRollbackLoggerTest.java | 149 for (String failingPackage: sFailingPackages) { in testApexdLoggingCallsWithParents() 153 bundle.putString(LOGGING_PARENT_KEY, getParent(failingPackage)); in testApexdLoggingCallsWithParents() 156 when(mMockPm.getPackageInfo(same(failingPackage), anyInt())).thenReturn(packageInfo); in testApexdLoggingCallsWithParents() 161 for (String failingPackage: sFailingPackages) { in testApexdLoggingCallsWithParents() 162 verify(mMockPm, times(1)).getPackageInfo(failingPackage, PACKAGE_INFO_FLAGS); in testApexdLoggingCallsWithParents() 163 verify(mMockPm, times(1)).getPackageInfo(getParent(failingPackage), 0); in testApexdLoggingCallsWithParents() 173 for (String failingPackage: sFailingPackages) { in testApexdLoggingCallsWithNoParents() 176 when(mMockPm.getPackageInfo(same(failingPackage), anyInt())).thenReturn(packageInfo); in testApexdLoggingCallsWithNoParents() 182 for (String failingPackage: sFailingPackages) { in testApexdLoggingCallsWithNoParents() 183 verify(mMockPm, times(1)).getPackageInfo(failingPackage, PACKAGE_INFO_FLAGS); in testApexdLoggingCallsWithNoParents()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | WatchdogRollbackLogger.java | 88 @NonNull VersionedPackage failingPackage) { in getLogPackage() argument 91 logPackageName = getLoggingParentName(context, failingPackage.getPackageName()); in getLogPackage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 925 private boolean mayPerformReboot(@Nullable VersionedPackage failingPackage) { in mayPerformReboot() argument 926 if (failingPackage == null) { in mayPerformReboot() 933 return isPersistentSystemApp(failingPackage.getPackageName()); in mayPerformReboot()
|
D | PackageWatchdog.java | 491 VersionedPackage failingPackage = packages.size() > 0 ? packages.get(0) : null; in handleFailureImmediately() local 498 failingPackage, failureReason, 1); in handleFailureImmediately() 508 maybeExecute(currentObserverToNotify, failingPackage, failureReason, in handleFailureImmediately() 511 currentObserverToNotify.execute(failingPackage, failureReason, 1); in handleFailureImmediately()
|