Home
last modified time | relevance | path

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

/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.java376 public static final class ThreadPolicy { class in StrictMode
380 public static final ThreadPolicy LAX = new ThreadPolicy(0);
384 private ThreadPolicy(int mask) { in ThreadPolicy() method in StrictMode.ThreadPolicy
428 public Builder(ThreadPolicy policy) { in Builder()
633 public ThreadPolicy build() { in build()
641 return new ThreadPolicy(mMask); in build()
992 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy()
1110 public static ThreadPolicy getThreadPolicy() { in getThreadPolicy()
1115 return new ThreadPolicy(getThreadPolicyMask()); in getThreadPolicy()
1128 public static ThreadPolicy allowThreadDiskWrites() { in allowThreadDiskWrites()
[all …]
DProcess.java997 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess()
/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.java99 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryDev()
150 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryXt()
278 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/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java66 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readDelta()
DKernelMemoryBandwidthStats.java40 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in updateStats()
DProcessCpuTracker.java385 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in update()
870 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads();
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java320 StrictMode.ThreadPolicy policy = in readAt()
321 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt()
/frameworks/base/core/java/android/app/
DQueuedWork.java170 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in waitToFinish()
DLoadedApk.java648 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
674 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
DActivityThread.java3121 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider()
3482 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService()
3498 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity()
3514 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider()
5761 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); in handleBindApplication()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java208 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider()
/frameworks/base/
Dpreloaded-classes1985 android.os.StrictMode$ThreadPolicy
1986 android.os.StrictMode$ThreadPolicy$Builder
Dcompiled-classes-phone3350 android.os.StrictMode$ThreadPolicy
3351 android.os.StrictMode$ThreadPolicy$Builder
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java836 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in updateAccountVisibilityLocked()
/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.txt31387 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads();
31388 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites();
31390 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy();
31393 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
31397 public static final class StrictMode.ThreadPolicy {
31398 field public static final android.os.StrictMode.ThreadPolicy LAX;
31401 public static final class StrictMode.ThreadPolicy.Builder {
31402 ctor public StrictMode.ThreadPolicy.Builder();
31403 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy);
31404 method public android.os.StrictMode.ThreadPolicy build();
[all …]
Dsystem-current.txt34158 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskReads();
34159 method public static android.os.StrictMode.ThreadPolicy allowThreadDiskWrites();
34161 method public static android.os.StrictMode.ThreadPolicy getThreadPolicy();
34164 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
34168 public static final class StrictMode.ThreadPolicy {
34169 field public static final android.os.StrictMode.ThreadPolicy LAX;
34172 public static final class StrictMode.ThreadPolicy.Builder {
34173 ctor public StrictMode.ThreadPolicy.Builder();
34174 ctor public StrictMode.ThreadPolicy.Builder(android.os.StrictMode.ThreadPolicy);
34175 method public android.os.StrictMode.ThreadPolicy build();
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3879 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in startProcessLocked()
5651 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow()
/frameworks/base/services/
Dprofile-classes2179 Landroid/os/StrictMode$ThreadPolicy;