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

1 2

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowStrictModeTest.java 12 StrictMode.VmPolicy policy = new StrictMode.VmPolicy.Builder().build();
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowStrictMode.java 11 public static void setVmPolicy(StrictMode.VmPolicy p) {
  /packages/apps/Dialer/java/com/android/dialer/strictmode/impl/
SystemDialerStrictMode.java 25 import android.os.StrictMode.VmPolicy;
36 private static final VmPolicy VM_DEATH_PENALTY =
37 new StrictMode.VmPolicy.Builder().penaltyLog().penaltyDeath().build();
78 private static void setRecommendedVMPolicy(StrictMode.VmPolicy vmPenalties) {
88 StrictMode.VmPolicy vmPenalties, StrictModeVmConfig config) {
90 StrictMode.VmPolicy.Builder vmPolicyBuilder =
91 new StrictMode.VmPolicy.Builder(vmPenalties)
102 /** VmPolicy configuration. */
117 /** VmPolicy configuration builder. */
  /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/tests/tests/os/src/android/os/cts/
StrictModeTest.java 78 private StrictMode.VmPolicy mVmPolicy;
117 new StrictMode.VmPolicy.Builder().detectLeakedClosableObjects().build());
157 new StrictMode.VmPolicy.Builder()
179 new StrictMode.VmPolicy.Builder().detectCleartextNetwork().penaltyLog().build());
203 new StrictMode.VmPolicy.Builder().detectCleartextNetwork().penaltyLog().build());
214 new StrictMode.VmPolicy.Builder().detectFileUriExposure().penaltyLog().build());
241 new StrictMode.VmPolicy.Builder()
276 new StrictMode.VmPolicy.Builder().detectUntaggedSockets().penaltyLog().build());
306 new StrictMode.VmPolicy.Builder().detectUntaggedSockets().penaltyLog().build());
483 StrictMode.VmPolicy oldVmPolicy = StrictMode.getVmPolicy()
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/
BaseApplication.java 67 // TODO(b/69565157): Turn penaltyDeath on for VMPolicy when tests are fixed.
68 StrictMode.VmPolicy.Builder vmPolicyBuilder =
69 new StrictMode.VmPolicy.Builder().detectAll().penaltyLog();
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSBase.java 85 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractMailActivity.java 56 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /frameworks/base/core/java/android/os/
StrictMode.java 112 * StrictMode.setVmPolicy(new {@link VmPolicy.Builder StrictMode.VmPolicy.Builder}()
162 * VmPolicy.Builder#detectAll()}. Apps can still always opt-into detection using {@link
163 * VmPolicy.Builder#detectCleartextNetwork()}.
232 @TestApi public static final int DETECT_VM_CURSOR_LEAKS = 0x01 << 8; // for VmPolicy
239 @TestApi public static final int DETECT_VM_CLOSABLE_LEAKS = 0x02 << 8; // for VmPolicy
246 @TestApi public static final int DETECT_VM_ACTIVITY_LEAKS = 0x04 << 8; // for VmPolicy
249 @TestApi public static final int DETECT_VM_INSTANCE_LEAKS = 0x08 << 8; // for VmPolicy
252 @TestApi public static final int DETECT_VM_REGISTRATION_LEAKS = 0x10 << 8; // for VmPolicy
255 @TestApi public static final int DETECT_VM_FILE_URI_EXPOSURE = 0x20 << 8; // for VmPolicy
    [all...]
  /cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
WebViewDeviceSideStartupTest.java 170 StrictMode.VmPolicy oldVmPolicy = StrictMode.getVmPolicy();
176 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /packages/apps/Launcher3/src/com/android/launcher3/
BaseDraggingActivity.java 199 StrictMode.VmPolicy oldPolicy = StrictMode.getVmPolicy();
204 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectAll()
Launcher.java 263 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
BrowserTest.java 143 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().build());
  /frameworks/base/apct-tests/perftests/core/src/android/os/
StrictModeTest.java 45 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectAll().penaltyLog().build());
  /packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java 319 final StrictMode.VmPolicy oldPolicy = StrictMode.getVmPolicy();
321 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
351 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder(StrictMode.getVmPolicy())
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 88 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java 788 ? new StrictMode.VmPolicy.Builder().detectAll().build()
789 : StrictMode.VmPolicy.LAX);
  /packages/apps/Launcher2/src/com/android/launcher2/
Launcher.java 358 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
    [all...]
  /frameworks/base/config/
preloaded-classes     [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 

Completed in 1541 milliseconds

1 2