Searched refs:EnterprisePolicyGuard (Results 1 – 3 of 3) sorted by relevance
89 Thread.currentThread().setContextClassLoader(EnterprisePolicyGuard.class.getClassLoader()); in setUp()99 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(getContext(), true); in testDirectorySupport()117 EnterprisePolicyGuard guard; in testCrossProfile_userSettingOn()187 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(context, false); in testCrossProfile_userSettingOff()223 private static void checkDirectorySupport(EnterprisePolicyGuard guard, Uri uri, in checkDirectorySupport()234 private static void checkCrossProfile(EnterprisePolicyGuard guard, Uri uri, boolean expected) { in checkCrossProfile()303 private static class EnterprisePolicyGuardTestable extends EnterprisePolicyGuard {
39 public class EnterprisePolicyGuard { class48 public EnterprisePolicyGuard(Context context) { in EnterprisePolicyGuard() method in EnterprisePolicyGuard
166 import com.android.providers.contacts.enterprise.EnterprisePolicyGuard;1547 private EnterprisePolicyGuard mEnterprisePolicyGuard;1619 mEnterprisePolicyGuard = new EnterprisePolicyGuard(getContext()); in initialize()