Searched refs:TEST_SYSTEM_PACKAGE_NAME (Results 1 – 5 of 5) sorted by relevance
50 private static final String TEST_SYSTEM_PACKAGE_NAME = "com.system"; field in PackagePolicyTest137 systemPackages.add(TEST_SYSTEM_PACKAGE_NAME); in testBlocklist_isPackageAllowed()145 assertTrue(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, Collections.emptySet())); in testBlocklist_isPackageAllowed()146 assertTrue(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, systemPackages)); in testBlocklist_isPackageAllowed()154 systemPackages.add(TEST_SYSTEM_PACKAGE_NAME); in testAllowlist_isPackageAllowed()161 assertFalse(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, Collections.emptySet())); in testAllowlist_isPackageAllowed()162 assertFalse(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, systemPackages)); in testAllowlist_isPackageAllowed()170 systemPackages.add(TEST_SYSTEM_PACKAGE_NAME); in testAllowlistAndSystem_isPackageAllowed()177 assertFalse(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, Collections.emptySet())); in testAllowlistAndSystem_isPackageAllowed()178 assertTrue(policy.isPackageAllowed(TEST_SYSTEM_PACKAGE_NAME, systemPackages)); in testAllowlistAndSystem_isPackageAllowed()
76 private static final String TEST_SYSTEM_PACKAGE_NAME = PRINT_SPOOLER_PACKAGE_NAME; field in PartialConversationInfoTest129 systemPackageInfo.packageName = TEST_SYSTEM_PACKAGE_NAME; in setUp()130 when(mMockPackageManager.getPackageInfo(eq(TEST_SYSTEM_PACKAGE_NAME), anyInt())) in setUp()
260 const val TEST_SYSTEM_PACKAGE_NAME = PRINT_SPOOLER_PACKAGE_NAME constant
92 private static final String TEST_SYSTEM_PACKAGE_NAME = PRINT_SPOOLER_PACKAGE_NAME; field in NotificationInfoTest146 systemPackageInfo.packageName = TEST_SYSTEM_PACKAGE_NAME; in setUp()147 when(mMockPackageManager.getPackageInfo(eq(TEST_SYSTEM_PACKAGE_NAME), anyInt())) in setUp()
110 private static final String TEST_SYSTEM_PACKAGE_NAME = PRINT_SPOOLER_PACKAGE_NAME; field in NotificationConversationInfoTest189 systemPackageInfo.packageName = TEST_SYSTEM_PACKAGE_NAME; in setUp()190 when(mMockPackageManager.getPackageInfo(eq(TEST_SYSTEM_PACKAGE_NAME), anyInt())) in setUp()