Home
last modified time | relevance | path

Searched refs:setThreadPolicy (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/benchmarks/src/android/os/
DStrictModeBenchmark.java28 StrictMode.setThreadPolicy(mOn); in timeToggleThreadPolicy()
29 StrictMode.setThreadPolicy(mOff); in timeToggleThreadPolicy()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java91 StrictMode.setThreadPolicy(policy); in readDelta()
118 StrictMode.setThreadPolicy(policy); in readAbsolute()
DProcStatsUtil.java151 StrictMode.setThreadPolicy(savedPolicy); in readTerminatedProcFile()
DKernelMemoryBandwidthStats.java54 StrictMode.setThreadPolicy(policy); in updateStats()
DProcessCpuTracker.java409 StrictMode.setThreadPolicy(savedPolicy); in update()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DStrictModeTest.java72 StrictMode.setThreadPolicy( in timeThreadViolation()
94 StrictMode.setThreadPolicy( in timeCrossBinderThreadViolation()
/frameworks/base/services/core/java/com/android/server/
DMemoryPressureUtil.java50 StrictMode.setThreadPolicy(savedPolicy); in currentPsiState()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java175 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked()
197 StrictMode.setThreadPolicy(oldPolicy); in saveBitmapLocked()
DShortcutPackage.java2612 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in awaitInAppSearch()
2636 StrictMode.setThreadPolicy(oldPolicy); in awaitInAppSearch()
/frameworks/base/core/java/com/android/internal/util/
DMemInfoReader.java40 StrictMode.setThreadPolicy(savedPolicy); in readMemInfo()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java237 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryDev()
287 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryXt()
449 StrictMode.setThreadPolicy(savedPolicy); in javaReadNetworkStatsDetail()
/frameworks/base/core/java/android/app/
DQueuedWork.java180 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
DLoadedApk.java747 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() method in LoadedApk
749 StrictMode.setThreadPolicy(policy); in setThreadPolicy()
913 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
977 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
988 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
1053 setThreadPolicy(oldThreadPolicy); in canAccessDataDir()
DActivityThread.java4012 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()
4595 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()
4611 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()
4627 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
6741 StrictMode.setThreadPolicy(savedPolicy); in handleBindApplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java110 StrictMode.setThreadPolicy(builder.build()); in builder.build()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java544 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict()
550 StrictMode.setThreadPolicy(oldPolicy); in onBindSliceStrict()
/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessRecord.java101 StrictMode.setThreadPolicy(oldPolicy); in PhantomProcessRecord()
DActivityManagerShellCommand.java1557 StrictMode.setThreadPolicy(oldPolicy);
1575 StrictMode.setThreadPolicy(oldPolicy);
1589 StrictMode.setThreadPolicy(oldPolicy);
1607 StrictMode.setThreadPolicy(oldPolicy);
1621 StrictMode.setThreadPolicy(oldPolicy);
1635 StrictMode.setThreadPolicy(oldPolicy);
DPhantomProcessList.java145 StrictMode.setThreadPolicy(oldPolicy); in lookForPhantomProcessesLocked()
DProcessList.java1975 StrictMode.setThreadPolicy(oldPolicy);
/frameworks/base/core/java/android/os/
DStrictMode.java1256 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() method in StrictMode
1278 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY); in setBlockGuardPolicy()
1287 BlockGuard.setThreadPolicy(androidPolicy); in setBlockGuardPolicy()
1477 setThreadPolicy(builder.build()); in initThreadDefaults()
1892 StrictMode.setThreadPolicy(oldPolicy); in onThreadPolicyViolation()
2125 setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in enableDefaults()
DProcess.java1345 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java397 StrictMode.setThreadPolicy(policy); in readAt()
/frameworks/base/config/
Dboot-profile.txt208 Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java4997 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()

12