Searched refs:enablePermissionEnforcement (Results 1 – 1 of 1) sorted by relevance
137 enablePermissionEnforcement(false, TEST_PKG_NAME_CURRENT); in testForegroundServiceTypeMissing()138 enablePermissionEnforcement(false, TEST_PKG_NAME_API33); in testForegroundServiceTypeMissing()152 enablePermissionEnforcement(false, TEST_PKG_NAME_CURRENT); in testForegroundServiceTypeNone()153 enablePermissionEnforcement(false, TEST_PKG_NAME_API33); in testForegroundServiceTypeNone()166 enablePermissionEnforcement(false, TEST_PKG_NAME_CURRENT); in testForegroundServiceTypeDataSync()167 enablePermissionEnforcement(false, TEST_PKG_NAME_API33); in testForegroundServiceTypeDataSync()403 enablePermissionEnforcement(true, testPackageName); in testPermissionEnforcementCommon()467 enablePermissionEnforcement(false, testPackageName); in testPermissionEnforcementCommon()492 private void enablePermissionEnforcement(boolean enable, String packageName) throws Exception { in enablePermissionEnforcement() method in ActivityManagerForegroundServiceTypeTest