/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 | 421 public static final class ThreadPolicy { class in StrictMode 423 public static final ThreadPolicy LAX = new ThreadPolicy(0, null, null); 430 private ThreadPolicy(@ThreadPolicyMask int mask, OnThreadViolationListener listener, in ThreadPolicy() method in StrictMode.ThreadPolicy 475 public Builder(ThreadPolicy policy) { in Builder() 691 public ThreadPolicy build() { in build() 704 return new ThreadPolicy(mMask, mListener, mExecutor); in build() 1155 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() 1226 public static ThreadPolicy getThreadPolicy() { in getThreadPolicy() 1231 return new ThreadPolicy( in getThreadPolicy() 1246 public static ThreadPolicy allowThreadDiskWrites() { in allowThreadDiskWrites() [all …]
|
D | Process.java | 1148 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuSpeedReader.java | 67 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readDelta() 101 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readAbsolute()
|
D | ProcStatsUtil.java | 98 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readTerminatedProcFile()
|
D | KernelMemoryBandwidthStats.java | 43 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in updateStats()
|
D | ProcessCpuTracker.java | 396 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in update()
|
/frameworks/base/core/java/android/os/strictmode/ |
D | UnbufferedIoViolation.java | 18 import android.os.StrictMode.ThreadPolicy.Builder;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutBitmapSaver.java | 25 import android.os.StrictMode.ThreadPolicy; 170 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in saveBitmapLocked() 174 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | StrictModeTest.java | 73 new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in timeThreadViolation() 95 new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in timeCrossBinderThreadViolation()
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 46 StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MemInfoReader.java | 31 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 173 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryDev() 229 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryXt() 350 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in javaReadNetworkStatsDetail()
|
/frameworks/base/media/apex/java/android/media/ |
D | Media2HTTPConnection.java | 310 StrictMode.ThreadPolicy policy = in readAt() 311 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 42 import android.os.StrictMode.ThreadPolicy; 539 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in onBindSliceStrict() 541 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 393 StrictMode.ThreadPolicy policy = in readAt() 394 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt()
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 175 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in waitToFinish()
|
D | LoadedApk.java | 698 private StrictMode.ThreadPolicy allowThreadDiskReads() { in allowThreadDiskReads() 709 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() 812 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 845 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 864 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 906 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
|
D | ActivityThread.java | 3641 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() 4030 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() 4046 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() 4062 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() 6426 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); in handleBindApplication() 6427 final StrictMode.ThreadPolicy writesAllowedPolicy = StrictMode.getThreadPolicy(); in handleBindApplication()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 1451 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1468 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1486 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1500 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1518 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1532 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites();
|
D | ProcessList.java | 1585 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
|
/frameworks/base/api/ |
D | removed.txt | 359 public static final class StrictMode.ThreadPolicy.Builder { 360 …method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android…
|
D | test-current.txt | 1964 public static final class StrictMode.ThreadPolicy.Builder { 1965 method @NonNull public android.os.StrictMode.ThreadPolicy.Builder detectExplicitGc();
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 862 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in updateAccountVisibilityLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5975 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow()
|