Home
last modified time | relevance | path

Searched refs:ThreadPolicy (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/benchmarks/src/android/os/
DStrictModeBenchmark.java19 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/
DStrictMode.java344 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 …]
/frameworks/base/tests/CoreTests/android/core/
DNsdServiceInfoTest.java23 StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java93 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/
DMemInfoReader.java29 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/quality/
Dcore.jd993ThreadPolicy.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/
DMediaHTTPConnection.java314 StrictMode.ThreadPolicy policy = in readAt()
315 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt()
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dcore.jd1138 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/zh-cn/distribute/googleplay/quality/
Dcore.jd1138 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-tw/distribute/googleplay/quality/
Dcore.jd1009 … 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/ja/distribute/googleplay/quality/
Dcore.jd1009 …rictMode.ThreadPolicy.Builder}を使用してスレッドごとにモニタリング ポリシーを設定し、{@link android.os.StrictMode.ThreadPolic…
1013 …{@link android.os.StrictMode.ThreadPolicy.Builder#penaltyFlashScreen() penaltyFlashScreen()} を使用し…
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/
Dcore.jd1138 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/distribute/essentials/quality/
Dcore.jd1214 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/core/java/com/android/internal/os/
DProcessCpuTracker.java379 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in update()
852 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads();
/frameworks/base/docs/html-intl/intl/es/distribute/googleplay/quality/
Dcore.jd1138 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/
DWebViewFactory.java191 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider()
/frameworks/base/core/java/android/app/
DLoadedApk.java491 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
518 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
DActivityThread.java2902 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider()
3240 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService()
3256 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity()
3272 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider()
5331 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); in handleBindApplication()
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.jd276 <li>{@link android.os.StrictMode.ThreadPolicy} and {@link
/frameworks/base/
Dpreloaded-classes1713 android.os.StrictMode$ThreadPolicy
1714 android.os.StrictMode$ThreadPolicy$Builder
Dcompiled-classes-phone3196 android.os.StrictMode$ThreadPolicy
3197 android.os.StrictMode$ThreadPolicy$Builder
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22274 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/
Dcurrent.txt29148 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads();
29149 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites();
29151 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy();
29154 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
29158 public static final class StrictMode.ThreadPolicy {
29159 field public static final android.os.StrictMode.ThreadPolicy LAX;
29162 public static final class StrictMode.ThreadPolicy.Builder {
29163 ctor public StrictMode.ThreadPolicy.Builder();
29164 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy);
29165 method public android.os.StrictMode.ThreadPolicy build();
[all …]
Dtest-current.txt29217 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads();
29218 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites();
29220 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy();
29223 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
29227 public static final class StrictMode.ThreadPolicy {
29228 field public static final android.os.StrictMode.ThreadPolicy LAX;
29231 public static final class StrictMode.ThreadPolicy.Builder {
29232 ctor public StrictMode.ThreadPolicy.Builder();
29233 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy);
29234 method public android.os.StrictMode.ThreadPolicy build();
[all …]
Dsystem-current.txt31616 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads();
31617 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites();
31619 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy();
31622 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
31626 public static final class StrictMode.ThreadPolicy {
31627 field public static final android.os.StrictMode.ThreadPolicy LAX;
31630 public static final class StrictMode.ThreadPolicy.Builder {
31631 ctor public StrictMode.ThreadPolicy.Builder();
31632 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy);
31633 method public android.os.StrictMode.ThreadPolicy build();
[all …]

12