Searched refs:isPackageQuarantined (Results 1 – 2 of 2) sorted by relevance
3696 assertTrue(isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQas()3703 assertFalse(isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQas()3734 assertFalse("package is not quarantined", isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3750 isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3758 isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3767 isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3775 isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3790 assertFalse("not quarantined anymore", isPackageQuarantined(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3837 private boolean isPackageQuarantined(String packageName) { in isPackageQuarantined() method in PackageManagerTest3839 () -> mPackageManager.isPackageQuarantined(packageName)); in isPackageQuarantined()
13036 …aggedApi("android.content.pm.quarantined_enabled") public boolean isPackageQuarantined(@NonNull St…