Home
last modified time | relevance | path

Searched refs:EnterprisePolicyGuard (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java90 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 {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java39 public class EnterprisePolicyGuard { class
48 public EnterprisePolicyGuard(Context context) { in EnterprisePolicyGuard() method in EnterprisePolicyGuard
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java167 import com.android.providers.contacts.enterprise.EnterprisePolicyGuard;
1489 private EnterprisePolicyGuard mEnterprisePolicyGuard;
1561 mEnterprisePolicyGuard = new EnterprisePolicyGuard(getContext()); in initialize()