/frameworks/base/core/tests/coretests/src/android/os/ |
D | StrictModeTest.java | 40 final int mask = StrictMode.allowThreadDiskReadsMask(); in testAllowThreadDiskReadsMask() 44 StrictMode.setThreadPolicyMask(mask); in testAllowThreadDiskReadsMask() 50 final int mask = StrictMode.allowThreadDiskReadsMask(); in testAllowThreadDiskWritesMask() 54 StrictMode.setThreadPolicyMask(mask); in testAllowThreadDiskWritesMask() 60 StrictMode.setThreadPolicyMask(0); in testThreadMask() 61 assertEquals(0, StrictMode.getThreadPolicyMask()); in testThreadMask()
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStoreMaintenance.java | 24 import android.os.StrictMode; 56 StrictMode.noteDiskWrite(); in onUserAdded() 80 StrictMode.noteDiskWrite(); in initUserSuperKeys() 101 StrictMode.noteDiskWrite(); in onUserRemoved() 124 StrictMode.noteDiskWrite(); in onUserPasswordChanged() 146 StrictMode.noteDiskWrite(); in onUserLskfRemoved() 164 StrictMode.noteDiskWrite(); in clearNamespace() 196 StrictMode.noteDiskWrite(); in migrateKeyNamespace() 221 StrictMode.noteDiskWrite(); in getAllAppUidsAffectedBySid() 241 StrictMode.noteDiskWrite(); in deleteAllKeys()
|
D | KeyStore2.java | 26 import android.os.StrictMode; 163 StrictMode.noteDiskWrite(); in delete() 175 StrictMode.noteDiskRead(); in list() 185 StrictMode.noteDiskRead(); in listBatch() 249 StrictMode.noteDiskWrite(); in grant() 266 StrictMode.noteDiskWrite(); in ungrant() 284 StrictMode.noteDiskRead(); in getKeyEntry() 317 StrictMode.noteDiskWrite(); in updateSubcomponents() 334 StrictMode.noteDiskWrite(); in deleteKey() 346 StrictMode.noteDiskRead(); in getNumberOfEntries()
|
D | KeyStoreOperation.java | 24 import android.os.StrictMode; 101 StrictMode.noteSlowCall("updateAad"); in updateAad() 117 StrictMode.noteSlowCall("update"); in update() 131 StrictMode.noteSlowCall("finish"); in finish() 142 StrictMode.noteSlowCall("abort"); in abort()
|
D | LegacyVpnProfileStore.java | 22 import android.os.StrictMode; 55 StrictMode.noteDiskWrite(); in put() 75 StrictMode.noteDiskRead(); in get() 95 StrictMode.noteDiskWrite(); in remove() 116 StrictMode.noteDiskRead(); in list()
|
D | SystemKeyStore.java | 21 import android.os.StrictMode; 73 StrictMode.noteDiskWrite(); in generateNewKey() 108 StrictMode.noteDiskWrite(); in getKeyFile() 120 StrictMode.noteDiskRead(); in retrieveKey() 129 StrictMode.noteDiskWrite(); in deleteKey()
|
D | KeyStoreAuthorization.java | 27 import android.os.StrictMode; 62 StrictMode.noteSlowCall("addAuthToken"); in addAuthToken() 92 StrictMode.noteDiskWrite(); in onDeviceUnlocked() 114 StrictMode.noteDiskWrite(); in onDeviceLocked()
|
D | KeyStoreSecurityLevel.java | 25 import android.os.StrictMode; 79 StrictMode.noteDiskWrite(); in createOperation() 147 StrictMode.noteDiskWrite(); in generateKey() 170 StrictMode.noteDiskWrite(); in importKey() 195 StrictMode.noteDiskWrite(); in importWrappedKey()
|
/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 | KernelMemoryBandwidthStats.java | 3 import android.os.StrictMode; 43 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in updateStats() 54 StrictMode.setThreadPolicy(policy); in updateStats()
|
D | ProcStatsUtil.java | 20 import android.os.StrictMode; 99 final int savedPolicy = StrictMode.allowThreadDiskReadsMask(); in readTerminatedProcFile() 103 StrictMode.setThreadPolicyMask(savedPolicy); in readTerminatedProcFile()
|
D | StoragedUidIoStatsReader.java | 19 import android.os.StrictMode; 78 final int oldMask = StrictMode.allowThreadDiskReadsMask(); in readAbsolute() 82 StrictMode.setThreadPolicyMask(oldMask); in readAbsolute()
|
/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/services/core/java/com/android/server/ |
D | ResourcePressureUtil.java | 19 import android.os.StrictMode; 61 final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in currentPsiState() 69 StrictMode.setThreadPolicy(savedPolicy); in currentPsiState()
|
D | ServiceThread.java | 23 import android.os.StrictMode; 43 StrictMode.initThreadDefaults(null); in run()
|
/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/java/com/android/internal/util/ |
D | MemInfoReader.java | 22 import android.os.StrictMode; 36 StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads(); in readMemInfo() 40 StrictMode.setThreadPolicy(savedPolicy); in readMemInfo()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityLeakTests.java | 33 import android.os.StrictMode; 61 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().build()); in tearDown() 163 StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() in enableStrictMode()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutBitmapSaver.java | 24 import android.os.StrictMode; 25 import android.os.StrictMode.ThreadPolicy; 171 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in saveBitmapLocked() 175 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked() 197 StrictMode.setThreadPolicy(oldPolicy); in saveBitmapLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 30 import android.os.StrictMode; 83 StrictMode.noteSlowCall("IPC detected on critical path: " + sBlockingIpcs.peek()); 112 StrictMode.ThreadPolicy.Builder builder = new StrictMode.ThreadPolicy.Builder() 116 StrictMode.setThreadPolicy(builder.build()); in builder.build()
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 26 import android.os.StrictMode; 203 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in waitToFinish() 207 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | BinderLogger.kt | 23 import android.os.StrictMode 24 import android.os.StrictMode.ThreadPolicy 59 StrictMode.setThreadPolicy(policyBuilder.build()) in start() 75 StrictMode.noteSlowCall(analysis.logMessage) in onTransactStarted()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 23 import android.os.StrictMode; 279 if (StrictMode.vmSqliteObjectLeaksEnabled()) { in finalize() 282 StrictMode.onSqliteObjectLeaked( in finalize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LetterboxConfigurationPersister.java | 19 import static android.os.StrictMode.setThreadPolicy; 27 import android.os.StrictMode; 28 import android.os.StrictMode.ThreadPolicy; 283 final ThreadPolicy currentPolicy = StrictMode.getThreadPolicy(); in runWithDiskReadsThreadPolicy()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PhantomProcessRecord.java | 27 import android.os.StrictMode; 88 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in PhantomProcessRecord() 101 StrictMode.setThreadPolicy(oldPolicy); in PhantomProcessRecord()
|