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

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowStrictModeVmPolicy.java 5 import android.os.StrictMode.VmPolicy;
11 @Implements(value=StrictMode.VmPolicy.class, minSdk = Build.VERSION_CODES.P)
16 ReflectionHelpers.callStaticMethod(StrictMode.VmPolicy.class, "__staticInitializer__");
18 // if VmPolicy was referenced first, sVmPolicy won't be set properly. So force a
20 ReflectionHelpers.setStaticField(StrictMode.class, "sVmPolicy", VmPolicy.LAX);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowStrictModeTest.java 12 StrictMode.VmPolicy policy = new StrictMode.VmPolicy.Builder().build();
  /external/libchrome/base/android/java/src/org/chromium/base/
StrictModeContext.java 24 private final StrictMode.VmPolicy mVmPolicy;
26 private StrictModeContext(StrictMode.ThreadPolicy threadPolicy, StrictMode.VmPolicy vmPolicy) {
28 mVmPolicy = vmPolicy;
35 private StrictModeContext(StrictMode.VmPolicy vmPolicy) {
36 this(null, vmPolicy);
42 * https://developer.android.com/reference/android/os/StrictMode.VmPolicy.Builder.html
45 StrictMode.VmPolicy oldPolicy = StrictMode.getVmPolicy();
46 StrictMode.setVmPolicy(StrictMode.VmPolicy.LAX)
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
Utils.java 41 StrictMode.VmPolicy.Builder vmPolicyBuilder =
42 new StrictMode.VmPolicy.Builder()
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
Utils.java 41 StrictMode.VmPolicy.Builder vmPolicyBuilder =
42 new StrictMode.VmPolicy.Builder()
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
Utils.java 41 StrictMode.VmPolicy.Builder vmPolicyBuilder =
42 new StrictMode.VmPolicy.Builder()
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
Utils.java 50 StrictMode.VmPolicy.Builder vmPolicyBuilder =
51 new StrictMode.VmPolicy.Builder()
  /cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
EncryptionAppTest.java 232 new StrictMode.VmPolicy.Builder().detectImplicitDirectBoot()
242 new StrictMode.VmPolicy.Builder().detectCredentialProtectedWhileLocked()
291 new StrictMode.VmPolicy.Builder().detectImplicitDirectBoot()
300 new StrictMode.VmPolicy.Builder().detectCredentialProtectedWhileLocked()
399 private static void assertViolation(StrictMode.VmPolicy policy,
405 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r)
411 private static void inspectViolation(StrictMode.VmPolicy policy, ThrowingRunnable violating,
416 final StrictMode.VmPolicy original = StrictMode.getVmPolicy();
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSBase.java 85 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /cts/tests/tests/os/src/android/os/cts/
StrictModeTest.java 89 private StrictMode.VmPolicy mVmPolicy;
128 new StrictMode.VmPolicy.Builder().detectLeakedClosableObjects().build());
169 new StrictMode.VmPolicy.Builder()
193 new StrictMode.VmPolicy.Builder().detectCleartextNetwork().penaltyLog().build());
212 new StrictMode.VmPolicy.Builder().detectCleartextNetwork().penaltyLog().build());
223 new StrictMode.VmPolicy.Builder().detectFileUriExposure().penaltyLog().build());
250 new StrictMode.VmPolicy.Builder().detectFileUriExposure().penaltyLog().build());
272 new StrictMode.VmPolicy.Builder()
308 new StrictMode.VmPolicy.Builder().detectUntaggedSockets().penaltyLog().build());
337 new StrictMode.VmPolicy.Builder().detectUntaggedSockets().penaltyLog().build())
    [all...]
  /cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
WebViewDeviceSideStartupTest.java 169 StrictMode.VmPolicy oldVmPolicy = StrictMode.getVmPolicy();
175 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /frameworks/base/apct-tests/perftests/core/src/android/os/
StrictModeTest.java 49 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectAll().penaltyLog().build());

Completed in 370 milliseconds