/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuSpeedReader.java | 20 import android.os.StrictMode; 67 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readDelta() 91 StrictMode.setThreadPolicy(policy); in readDelta() 101 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readAbsolute() 118 StrictMode.setThreadPolicy(policy); in readAbsolute()
|
D | ProcStatsUtil.java | 20 import android.os.StrictMode; 98 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readTerminatedProcFile() 151 StrictMode.setThreadPolicy(savedPolicy); in readTerminatedProcFile()
|
D | KernelMemoryBandwidthStats.java | 3 import android.os.StrictMode; 43 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in updateStats() 54 StrictMode.setThreadPolicy(policy); in updateStats()
|
D | StoragedUidIoStatsReader.java | 19 import android.os.StrictMode; 77 final int oldMask = StrictMode.allowThreadDiskReadsMask(); in readAbsolute() 110 StrictMode.setThreadPolicyMask(oldMask); in readAbsolute()
|
D | KernelCpuProcStringReader.java | 19 import android.os.StrictMode; 153 final int oldMask = StrictMode.allowThreadDiskReadsMask(); in open() 182 StrictMode.setThreadPolicyMask(oldMask); in open()
|
D | KernelWakelockReader.java | 22 import android.os.StrictMode; 94 final int oldMask = StrictMode.allowThreadDiskReadsMask(); in readKernelWakelockStats() 122 StrictMode.setThreadPolicyMask(oldMask); in readKernelWakelockStats()
|
D | KernelCpuUidTimeReader.java | 23 import android.os.StrictMode; 294 final int oldMask = StrictMode.allowThreadDiskWritesMask(); in removeUidsFromKernelModule() 302 StrictMode.setThreadPolicyMask(oldMask); in removeUidsFromKernelModule() 390 final int oldMask = StrictMode.allowThreadDiskReadsMask(); in readFreqs() 402 StrictMode.setThreadPolicyMask(oldMask); in readFreqs()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | StrictModeTest.java | 49 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectAll().penaltyLog().build()); in timeVmViolation() 72 StrictMode.setThreadPolicy( in timeThreadViolation() 73 new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in timeThreadViolation() 94 StrictMode.setThreadPolicy( in timeCrossBinderThreadViolation() 95 new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in timeCrossBinderThreadViolation()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | StrictModeBenchmark.java | 19 import android.os.StrictMode.ThreadPolicy; 28 StrictMode.setThreadPolicy(mOn); in timeToggleThreadPolicy() 29 StrictMode.setThreadPolicy(mOff); in timeToggleThreadPolicy()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MemInfoReader.java | 21 import android.os.StrictMode; 35 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo() 39 StrictMode.setThreadPolicy(savedPolicy); in readMemInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/chooser/ |
D | ChooserHelper.java | 24 import android.os.StrictMode; 47 StrictMode.disableDeathOnFileUriExposure(); in onChoose() 52 StrictMode.enableDeathOnFileUriExposure(); in onChoose()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 32 import android.os.StrictMode; 199 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryDev() 237 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryDev() 255 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readNetworkStatsSummaryXt() 287 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryXt() 405 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in javaReadNetworkStatsDetail() 448 StrictMode.setThreadPolicy(savedPolicy); in javaReadNetworkStatsDetail()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutBitmapSaver.java | 24 import android.os.StrictMode; 25 import android.os.StrictMode.ThreadPolicy; 170 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in saveBitmapLocked() 174 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked() 196 StrictMode.setThreadPolicy(oldPolicy); in saveBitmapLocked()
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 25 import android.os.StrictMode; 175 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in waitToFinish() 179 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
|
D | LoadedApk.java | 45 import android.os.StrictMode; 699 private StrictMode.ThreadPolicy allowThreadDiskReads() { in allowThreadDiskReads() 707 return StrictMode.allowThreadDiskReads(); in allowThreadDiskReads() 710 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() 712 StrictMode.setThreadPolicy(policy); in setThreadPolicy() 830 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 863 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 882 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() 1274 final boolean reportRegistrationLeaks = StrictMode.vmRegistrationLeaksEnabled(); in removeContextRegistrations() 1289 StrictMode.onIntentReceiverLeaked(leak); in removeContextRegistrations() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceThread.java | 21 import android.os.StrictMode; 41 StrictMode.initThreadDefaults(null); in run()
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 26 import android.os.StrictMode; 46 StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); 47 StrictMode.setThreadPolicy(policy);
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 19 import android.os.StrictMode; 81 if (options.statsTag == -1 && StrictMode.vmUntaggedSocketEnabled()) { in tag() 82 StrictMode.onUntaggedSocket(); in tag()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 23 import android.os.StrictMode; 105 if (StrictMode.vmSqliteObjectLeaksEnabled()) { in SQLiteCursor() 289 StrictMode.onSqliteObjectLeaked( in finalize()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 41 import android.os.StrictMode; 42 import android.os.StrictMode.ThreadPolicy; 547 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in onBindSliceStrict() 549 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict() 555 StrictMode.setThreadPolicy(oldPolicy); in onBindSliceStrict()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 24 import android.os.StrictMode; 394 StrictMode.ThreadPolicy policy = in readAt() 395 new StrictMode.ThreadPolicy.Builder().permitAll().build(); in readAt() 397 StrictMode.setThreadPolicy(policy); in readAt()
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.aidl | 20 parcelable StrictMode.ViolationInfo;
|
D | Process.java | 1213 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess() 1223 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
|
/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/am/ |
D | ActivityManagerShellCommand.java | 77 import android.os.StrictMode; 1458 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1467 StrictMode.setThreadPolicy(oldPolicy); 1475 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1485 StrictMode.setThreadPolicy(oldPolicy); 1493 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1499 StrictMode.setThreadPolicy(oldPolicy); 1507 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 1517 StrictMode.setThreadPolicy(oldPolicy); 1525 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); [all …]
|