Searched refs:isEnforceMode (Results 1 – 3 of 3) sorted by relevance
207 if (isFirstBoot && !isEnforceMode(mode)) { in installWhitelistedSystemPackages()275 if (!isLogMode(mode) && !isEnforceMode(mode)) { in checkWhitelistedSystemPackages()352 if ((!isEnforceMode(mode) || isImplicitWhitelistMode(mode)) && !isLogMode(mode)) { in getPackagesWhitelistErrors()376 boolean isEnforceMode() { in isEnforceMode() method in UserSystemPackageInstaller377 return isEnforceMode(getWhitelistMode()); in isEnforceMode()434 private static boolean isEnforceMode(int whitelistMode) { in isEnforceMode() method in UserSystemPackageInstaller504 if (!isEnforceMode(mode)) { in getInstallablePackagesForUserType()739 pw.print(isEnforceMode(mode) ? " (enforced)" : ""); in dumpIndented()
459 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()466 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()473 assertTrue(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()480 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()487 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()494 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()502 assertTrue(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()510 assertTrue(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()
26698 HSPLcom/android/server/pm/UserSystemPackageInstaller;->isEnforceMode(I)Z