Home
last modified time | relevance | path

Searched refs:isIgnoreOtaMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java461 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
468 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
475 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
482 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
489 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
496 assertTrue(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
504 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
512 assertFalse(mUserSystemPackageInstaller.isIgnoreOtaMode()); in testSetWhitelistEnabledMode()
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java204 final boolean isConsideredUpgrade = isUpgrade && !isIgnoreOtaMode(mode); in installWhitelistedSystemPackages()
411 boolean isIgnoreOtaMode() { in isIgnoreOtaMode() method in UserSystemPackageInstaller
412 return isIgnoreOtaMode(getWhitelistMode()); in isIgnoreOtaMode()
454 private static boolean isIgnoreOtaMode(int whitelistMode) { in isIgnoreOtaMode() method in UserSystemPackageInstaller
743 pw.print(isIgnoreOtaMode(mode) ? " (ignore OTAs)" : ""); in dump()