Searched refs:EnterprisePolicyGuard (Results 1 – 3 of 3) sorted by relevance
90 Thread.currentThread().setContextClassLoader(EnterprisePolicyGuard.class.getClassLoader()); in setUp()100 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(getContext(), true); in testDirectorySupport()118 EnterprisePolicyGuard guard; in testCrossProfile_userSettingOn()188 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(context, false); in testCrossProfile_userSettingOff()224 private static void checkDirectorySupport(EnterprisePolicyGuard guard, Uri uri, in checkDirectorySupport()235 private static void checkCrossProfile(EnterprisePolicyGuard guard, Uri uri, boolean expected) { in checkCrossProfile()304 private static class EnterprisePolicyGuardTestable extends EnterprisePolicyGuard {
39 public class EnterprisePolicyGuard { class48 public EnterprisePolicyGuard(Context context) { in EnterprisePolicyGuard() method in EnterprisePolicyGuard
167 import com.android.providers.contacts.enterprise.EnterprisePolicyGuard;1489 private EnterprisePolicyGuard mEnterprisePolicyGuard;1561 mEnterprisePolicyGuard = new EnterprisePolicyGuard(getContext()); in initialize()