/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() 1154 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() 1225 public static ThreadPolicy getThreadPolicy() { in getThreadPolicy() 1230 return new ThreadPolicy( in getThreadPolicy() 1245 public static ThreadPolicy allowThreadDiskWrites() { in allowThreadDiskWrites() [all …]
|
D | Process.java | 1213 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 | 401 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in update()
|
/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/core/java/android/os/strictmode/ |
D | UnbufferedIoViolation.java | 18 import android.os.StrictMode.ThreadPolicy.Builder;
|
/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/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 199 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryDev() 255 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryXt() 405 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in javaReadNetworkStatsDetail()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MemInfoReader.java | 35 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 42 import android.os.StrictMode.ThreadPolicy; 547 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in onBindSliceStrict() 549 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 394 StrictMode.ThreadPolicy policy = in readAt() 395 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 | 699 private StrictMode.ThreadPolicy allowThreadDiskReads() { in allowThreadDiskReads() 710 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() 830 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 863 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 882 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked()
|
D | ActivityThread.java | 3660 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() 4070 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() 4086 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() 4102 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() 6466 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); in handleBindApplication() 6467 final StrictMode.ThreadPolicy writesAllowedPolicy = StrictMode.getThreadPolicy(); in handleBindApplication()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 1458 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1475 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1493 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1507 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1525 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1539 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites();
|
D | ProcessList.java | 1695 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
|
/frameworks/base/api/ |
D | removed.txt | 367 public static final class StrictMode.ThreadPolicy.Builder { 368 …method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android…
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 367 public static final class StrictMode.ThreadPolicy.Builder { 368 …method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android…
|
/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 | 6022 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12202 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;-><init>()V 12203 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;-><init>(Landroid/os/StrictMode$ThreadPolicy;)V 12204 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->build()Landroid/os/StrictMode$ThreadPolicy; 12205 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->detectAll()Landroid/os/StrictMode$ThreadPolicy$Bui… 12206 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->detectCustomSlowCalls()Landroid/os/StrictMode$Thre… 12207 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->detectNetwork()Landroid/os/StrictMode$ThreadPolicy… 12208 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->penaltyDeath()Landroid/os/StrictMode$ThreadPolicy$… 12209 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->penaltyLog()Landroid/os/StrictMode$ThreadPolicy$Bu… 12210 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->permitAll()Landroid/os/StrictMode$ThreadPolicy$Bui… 12211 HSPLandroid/os/StrictMode$ThreadPolicy$Builder;->permitDiskReads()Landroid/os/StrictMode$ThreadPoli… [all …]
|