/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | StrictModeBenchmark.java | 19 import android.os.StrictMode.ThreadPolicy; 23 private ThreadPolicy mOff = new ThreadPolicy.Builder().build(); 24 private ThreadPolicy mOn = new ThreadPolicy.Builder().detectAll().build();
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 344 public static final class ThreadPolicy { class in StrictMode 348 public static final ThreadPolicy LAX = new ThreadPolicy(0); 352 private ThreadPolicy(int mask) { in ThreadPolicy() method in StrictMode.ThreadPolicy 396 public Builder(ThreadPolicy policy) { in Builder() 573 public ThreadPolicy build() { in build() 581 return new ThreadPolicy(mMask); in build() 881 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() 990 public static ThreadPolicy getThreadPolicy() { in getThreadPolicy() 995 return new ThreadPolicy(getThreadPolicyMask()); in getThreadPolicy() 1008 public static ThreadPolicy allowThreadDiskWrites() { in allowThreadDiskWrites() [all …]
|
D | Process.java | 1295 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | NsdServiceInfoTest.java | 23 StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 93 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryDev() 146 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryXt() 269 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in javaReadNetworkStatsDetail()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MemInfoReader.java | 29 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo()
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/quality/ |
D | core.jd | 993 …ThreadPolicy.Builder.html">StrictMode.ThreadPolicy.Builder</a></code> 设置每个线程的监控政策,并使用 <code><a hre… 997 …nce/android/os/StrictMode.ThreadPolicy.Builder.html#penaltyFlashScreen()">penaltyFlashScreen()</a>…
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 314 StrictMode.ThreadPolicy policy = in readAt() 315 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt()
|
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/quality/ |
D | core.jd | 1009 … android.os.StrictMode.ThreadPolicy.Builder} 針對執行緒設定監控政策,並使用在 <code>ThreadPolicy</code> 中{@link an… 1013 …請確保使用{@link android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen() penaltyFlashScreen()}針…
|
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/ |
D | core.jd | 1138 android.os.StrictMode.ThreadPolicy.Builder}를 사용하여 스레드별 모니터링 정책을 수립하고 {@link 1139 …android.os.StrictMode.ThreadPolicy.Builder#detectAll()}을 사용하여 <code>ThreadPolicy</code>에서 지원되는 모든 … 1145 android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen() 1146 penaltyFlashScreen()}을 사용하여 <code>ThreadPolicy</code> 정책 위반의 <strong>시각적 알림</strong>을 활성화하십시오.
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/quality/ |
D | core.jd | 1138 android.os.StrictMode.ThreadPolicy.Builder} 设置每个线程的监控策略,并使用 {@link 1139 android.os.StrictMode.ThreadPolicy.Builder#detectAll()} 在 <code>ThreadPolicy</code> 中启用所有受支持的监控。 1145 android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen() 1146 penaltyFlashScreen()} 针对 <code>ThreadPolicy</code> 为违反策略的行为启用<strong>可视通知</strong>。
|
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/ |
D | core.jd | 1138 android.os.StrictMode.ThreadPolicy.Builder} и включив все поддерживаемые 1139 функции контроля в <code>ThreadPolicy</code>с помощью параметра {@link 1140 android.os.StrictMode.ThreadPolicy.Builder#detectAll()}. 1145 в отношении <code>ThreadPolicy</code>, используя {@link 1146 android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen()
|
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/quality/ |
D | core.jd | 1009 …rictMode.ThreadPolicy.Builder}を使用してスレッドごとにモニタリング ポリシーを設定し、{@link android.os.StrictMode.ThreadPolic… 1013 …{@link android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen() penaltyFlashScreen()} を使用し…
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 379 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in update() 852 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads();
|
/frameworks/base/docs/html/distribute/essentials/quality/ |
D | core.jd | 1214 android.os.StrictMode.ThreadPolicy.Builder} and enable all supported 1215 monitoring in the <code>ThreadPolicy</code> using {@link 1216 android.os.StrictMode.ThreadPolicy.Builder#detectAll()}. 1221 for the <code>ThreadPolicy</code> using {@link 1222 android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen()
|
/frameworks/base/docs/html-intl/intl/es/distribute/googleplay/quality/ |
D | core.jd | 1138 android.os.StrictMode.ThreadPolicy.Builder} y habilitar todo el control 1139 admitido en <code>ThreadPolicy</code> con {@link 1140 android.os.StrictMode.ThreadPolicy.Builder#detectAll()}. 1145 para <code>ThreadPolicy</code> mediante {@link 1146 android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 191 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 491 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 518 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
|
D | ActivityThread.java | 2905 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() 3243 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() 3259 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() 3275 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() 5342 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); in handleBindApplication()
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.jd | 276 <li>{@link android.os.StrictMode.ThreadPolicy} and {@link
|
/frameworks/base/ |
D | preloaded-classes | 1713 android.os.StrictMode$ThreadPolicy 1714 android.os.StrictMode$ThreadPolicy$Builder
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22274 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads(); 22275 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites(); 22277 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy(); 22280 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy); 22284 public static final class StrictMode.ThreadPolicy { 22285 field public static final android.os.StrictMode.ThreadPolicy LAX; 22288 public static final class StrictMode.ThreadPolicy.Builder { 22289 ctor public StrictMode.ThreadPolicy.Builder(); 22290 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy); 22291 method public android.os.StrictMode.ThreadPolicy build(); [all …]
|
/frameworks/base/api/ |
D | test-current.txt | 29320 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads(); 29321 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites(); 29323 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy(); 29326 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy); 29330 public static final class StrictMode.ThreadPolicy { 29331 field public static final android.os.StrictMode.ThreadPolicy LAX; 29334 public static final class StrictMode.ThreadPolicy.Builder { 29335 ctor public StrictMode.ThreadPolicy.Builder(); 29336 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy); 29337 method public android.os.StrictMode.ThreadPolicy build(); [all …]
|
D | current.txt | 29249 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads(); 29250 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites(); 29252 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy(); 29255 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy); 29259 public static final class StrictMode.ThreadPolicy { 29260 field public static final android.os.StrictMode.ThreadPolicy LAX; 29263 public static final class StrictMode.ThreadPolicy.Builder { 29264 ctor public StrictMode.ThreadPolicy.Builder(); 29265 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy); 29266 method public android.os.StrictMode.ThreadPolicy build(); [all …]
|
D | system-current.txt | 31767 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads(); 31768 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites(); 31770 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy(); 31773 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy); 31777 public static final class StrictMode.ThreadPolicy { 31778 field public static final android.os.StrictMode.ThreadPolicy LAX; 31781 public static final class StrictMode.ThreadPolicy.Builder { 31782 ctor public StrictMode.ThreadPolicy.Builder(); 31783 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy); 31784 method public android.os.StrictMode.ThreadPolicy build(); [all …]
|