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

  /packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java 27 public static Bundle getPolicy(String policy, Bundle args) {
VendorPolicyLoaderTest.java 47 // getPolicy() shouldn't throw any exception.
48 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null));
59 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
76 Bundle actualResult = pl.getPolicy("policy1", args);
96 // getPolicy() shouldn't throw any exception.
97 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null));
99 // MockVendorPolicy.getPolicy() shouldn't get called.
  /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/luni/src/main/java/org/apache/harmony/luni/util/
PriviAction.java 68 * @see Policy#getPolicy
133 return (T)Policy.getPolicy();
  /packages/apps/Email/src/com/android/email/
VendorPolicyLoader.java 36 * <code>Bundle getPolicy(String, Bundle)</code>, which serves vendor specific configurations.
44 private static final String GET_POLICY_METHOD = "getPolicy";
142 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null;
144 * getPolicy returns null).
147 /* package */ Bundle getPolicy(String policy, Bundle args) {
168 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null)
193 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID);
219 Bundle out = getPolicy(FIND_PROVIDER, params);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
PolicyTest.java 173 * @tests java.security.Policy#getPolicy()
186 method = "getPolicy",
192 Policy oldPolicy = Policy.getPolicy();
198 Policy newPolicy = Policy.getPolicy();
221 Policy policy = Policy.getPolicy();
305 method = "getPolicy",
316 Policy oldPolicy = Policy.getPolicy();
356 Policy p = Policy.getPolicy();
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509CertStoreSelector.java 69 cs.setPolicy(selector.getPolicy());
  /frameworks/base/include/ui/
InputReader.h 180 virtual InputReaderPolicyInterface* getPolicy() = 0;
231 virtual InputReaderPolicyInterface* getPolicy() { return mPolicy.get(); }
350 inline InputReaderPolicyInterface* getPolicy() { return mContext->getPolicy(); }
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 41 Policy back = Policy.getPolicy();
  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
JSR166TestCase.java 401 * getPolicy/setPolicy.
407 Policy savedPolicy = Policy.getPolicy();
417 Policy savedPolicy = Policy.getPolicy();
471 new SecurityPermission("getPolicy"),
  /libcore/luni/src/main/java/java/security/
Policy.java 47 static final SecurityPermission GET_POLICY = new SecurityPermission("getPolicy");
452 * the {@code SecurityPermission} {@code getPolicy} to be granted, otherwise
460 public static Policy getPolicy() {
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
TSTInfo.java 177 public String getPolicy() {
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 89 public int getPolicy() {
  /frameworks/base/libs/ui/
InputReader.cpp 665 mContext->getPolicy()->getInputDeviceCalibration(mName, mCalibration);
926 if (! getPolicy()->getDisplayInfo(mAssociatedDisplayId, NULL, NULL, & orientation)) {
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
X509CertSelectorTest.java 270 assertEquals(selector.getPolicy(), selector1.getPolicy());
678 * @tests java.security.cert.X509CertSelector#getPolicy()
683 method = "getPolicy",
700 assertNull(selector.getPolicy());
703 assertEquals("The returned date should be equal to specified", p1, selector.getPolicy());
706 assertEquals("The returned date should be equal to specified", p2, selector.getPolicy());
    [all...]
  /frameworks/base/core/java/android/os/
StrictMode.java 772 final ViolationInfo info = new ViolationInfo(e, e.getPolicy());
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
X509CertSelector.java 898 public Set<String> getPolicy() {
    [all...]
  /frameworks/base/libs/ui/tests/
InputReader_test.cpp 627 virtual InputReaderPolicyInterface* getPolicy() {
    [all...]
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 499 milliseconds