HomeSort by relevance Sort by last modified time
    Searched refs:getPolicy (Results 1 - 25 of 43) sorted by null

1 2

  /packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java 29 public static Bundle getPolicy(String policy, Bundle args) {
VendorPolicyLoaderTest.java 48 // getPolicy() shouldn't throw any exception.
49 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null));
60 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
77 Bundle actualResult = pl.getPolicy("policy1", args);
97 // getPolicy() shouldn't throw any exception.
98 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null));
100 // MockVendorPolicy.getPolicy() shouldn't get called.
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
ProvisionParserTests.java 118 Policy policy = parser.getPolicy();
131 Policy policy = parser.getPolicy();
140 Policy policy = parser.getPolicy();
  /packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java 108 final NetworkPolicy policy = getPolicy(template);
113 NetworkPolicy policy = getPolicy(template);
121 public NetworkPolicy getPolicy(NetworkTemplate template) {
131 NetworkPolicy policy = getPolicy(template);
135 return getPolicy(buildUnquotedNetworkTemplate(template));
163 return getPolicy(template).cycleDay;
176 return getPolicy(template).warningBytes;
188 return getPolicy(template).limitBytes;
200 NetworkPolicy policy = getPolicy(template);
211 NetworkPolicy policy = getPolicy(template)
    [all...]
  /libcore/luni/src/main/java/java/security/
Policy.java 55 public static Policy getPolicy() { return null; }
  /device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/
EmailPolicy.java 27 * it (using reflection) and will make calls to the getPolicy() method at certain times. This
43 * In all cases, getPolicy() should return a bundle. For default behavior, or for any unknown
51 * the call to getPolicy() is made with an unknown or unexpected policy keys, or the expected
190 public static Bundle getPolicy(String policy, Bundle arguments) {
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 94 public int getPolicy() {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
VendorPolicyLoader.java 34 * <code>Bundle getPolicy(String, Bundle)</code>, which serves vendor specific configurations.
42 private static final String GET_POLICY_METHOD = "getPolicy";
140 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null;
142 * getPolicy returns null).
145 public Bundle getPolicy(String policy, Bundle args) {
166 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null)
191 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID);
261 Bundle out = getPolicy(FIND_PROVIDER, params);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509CertStoreSelector.java 69 cs.setPolicy(selector.getPolicy());
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
TSTInfoTest.java 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 41 Policy back = Policy.getPolicy();
  /packages/apps/Email/src/com/android/email/activity/setup/
SetupData.java 149 public Policy getPolicy() {
AccountSetupOptions.java 232 if (mSetupData.getPolicy() != null) {
234 account.mPolicy = mSetupData.getPolicy();
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
TSTInfo.java 177 public String getPolicy() {
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasProvision.java 298 mPolicy = pp.getPolicy();
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
JSR166TestCase.java 626 * getPolicy/setPolicy.
632 Policy savedPolicy = Policy.getPolicy();
642 Policy savedPolicy = Policy.getPolicy();
696 new SecurityPermission("getPolicy"),
    [all...]
  /frameworks/base/services/input/
InputReader.h 363 virtual InputReaderPolicyInterface* getPolicy() = 0;
429 virtual InputReaderPolicyInterface* getPolicy();
923 inline InputReaderPolicyInterface* getPolicy() { return mContext->getPolicy(); }
    [all...]
InputReader.cpp 816 InputReaderPolicyInterface* InputReader::ContextImpl::getPolicy() {
914 mContext->getPolicy()->getKeyboardLayoutOverlay(mIdentifier.descriptor);
923 String8 alias = mContext->getPolicy()->getDeviceAlias(mIdentifier);
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
X509CertSelectorTest.java 236 assertEquals(selector.getPolicy(), selector1.getPolicy());
541 * java.security.cert.X509CertSelector#getPolicy()
564 assertNull(selector.getPolicy());
567 assertEquals("The returned date should be equal to specified", p1, selector.getPolicy());
570 assertEquals("The returned date should be equal to specified", p2, selector.getPolicy());
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ProvisionParser.java 60 public Policy getPolicy() {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar 
  /packages/apps/Exchange/src/com/android/exchange/
EasSyncService.java 570 pp.getPolicy());
582 pp.getPolicy());
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
X509CertSelector.java 886 public Set<String> getPolicy() {
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java     [all...]
  /frameworks/base/core/java/android/os/
StrictMode.java     [all...]

Completed in 622 milliseconds

1 2