OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:VendorPolicyLoader
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java
22
import com.android.emailcommon.
VendorPolicyLoader
;
39
VendorPolicyLoader
.injectPolicyForTest(context, context.getPackageName(),
VendorPolicyLoaderTest.java
23
import com.android.emailcommon.
VendorPolicyLoader
;
24
import com.android.emailcommon.
VendorPolicyLoader
.Provider;
38
VendorPolicyLoader
.clearInstanceForTest();
45
VendorPolicyLoader
pl = new
VendorPolicyLoader
(getContext(), "no.such.package",
54
assertEquals(false,
VendorPolicyLoader
.isSystemPackage(c, "no.such.package"));
55
assertEquals(false,
VendorPolicyLoader
.isSystemPackage(c, mTestApkPackageName));
56
assertEquals(true,
VendorPolicyLoader
.isSystemPackage(c, "com.android.settings"));
60
* Actually call {@link
VendorPolicyLoader
#getPolicy}, using MockVendorPolicy as a vendor
65
VendorPolicyLoader
pl = VendorPolicyLoader.getInstance(getContext())
[
all
...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
VendorPolicyLoader.java
39
public class
VendorPolicyLoader
{
60
private static
VendorPolicyLoader
sInstance;
64
public static
VendorPolicyLoader
getInstance(Context context) {
66
// It's okay to instantiate
VendorPolicyLoader
multiple times. No need to synchronize.
67
sInstance = new
VendorPolicyLoader
(context);
81
sInstance = new
VendorPolicyLoader
(context, apkPackageName, name, true);
94
private
VendorPolicyLoader
(Context context) {
102
public
VendorPolicyLoader
(Context context, String apkPackageName, String className,
121
LogUtils.w(Logging.LOG_TAG, "
VendorPolicyLoader
: " + e);
124
LogUtils.w(Logging.LOG_TAG, "
VendorPolicyLoader
: " + e)
[
all
...]
/packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java
38
import com.android.emailcommon.
VendorPolicyLoader
;
315
VendorPolicyLoader
.clearInstanceForTest();
[
all
...]
Completed in 38 milliseconds