Home
last modified time | relevance | path

Searched refs:setThreadPolicy (Results 1 – 25 of 32) 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()
DKernelMemoryBandwidthStats.java54 StrictMode.setThreadPolicy(policy); in updateStats()
DProcessCpuTracker.java420 StrictMode.setThreadPolicy(savedPolicy); in updateLocked()
/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/wm/
DLetterboxConfigurationPersister.java19 import static android.os.StrictMode.setThreadPolicy;
284 setThreadPolicy(new ThreadPolicy.Builder().permitDiskReads().build()); in runWithDiskReadsThreadPolicy()
286 setThreadPolicy(currentPolicy); in runWithDiskReadsThreadPolicy()
/frameworks/base/services/core/java/com/android/server/
DResourcePressureUtil.java69 StrictMode.setThreadPolicy(savedPolicy); in currentPsiState()
/frameworks/base/core/java/com/android/internal/util/
DMemInfoReader.java40 StrictMode.setThreadPolicy(savedPolicy); in readMemInfo()
/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.java2686 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in fromAppSearch()
2702 StrictMode.setThreadPolicy(oldPolicy); in fromAppSearch()
/frameworks/base/core/java/android/app/
DQueuedWork.java207 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
DLoadedApk.java818 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() method in LoadedApk
820 StrictMode.setThreadPolicy(policy); in setThreadPolicy()
980 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
1045 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
1056 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
1125 setThreadPolicy(oldThreadPolicy); in canAccessDataDir()
DActivityThread.java4471 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()
5066 StrictMode.setThreadPolicy(oldPolicy); in handleDumpGfxInfo()
5082 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()
5099 StrictMode.setThreadPolicy(oldPolicy); in handleDumpResources()
5115 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()
5131 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
7518 StrictMode.setThreadPolicy(savedPolicy); in handleBindApplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DBinderLogger.kt59 StrictMode.setThreadPolicy(policyBuilder.build()) in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java116 StrictMode.setThreadPolicy(builder.build()); in builder.build()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java550 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict()
556 StrictMode.setThreadPolicy(oldPolicy); in onBindSliceStrict()
/frameworks/base/core/java/android/os/
DStrictMode.java1269 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() method in StrictMode
1298 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY); in setBlockGuardPolicy()
1307 BlockGuard.setThreadPolicy(androidPolicy); in setBlockGuardPolicy()
1501 setThreadPolicy(builder.build()); in initThreadDefaults()
1916 StrictMode.setThreadPolicy(oldPolicy); in onThreadPolicyViolation()
2181 setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in enableDefaults()
DProcess.java1728 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessRecord.java101 StrictMode.setThreadPolicy(oldPolicy); in PhantomProcessRecord()
DPhantomProcessList.java147 StrictMode.setThreadPolicy(oldPolicy); in lookForPhantomProcessesLocked()
DActivityManagerShellCommand.java2109 StrictMode.setThreadPolicy(oldPolicy);
2127 StrictMode.setThreadPolicy(oldPolicy);
2141 StrictMode.setThreadPolicy(oldPolicy);
2159 StrictMode.setThreadPolicy(oldPolicy);
2173 StrictMode.setThreadPolicy(oldPolicy);
2187 StrictMode.setThreadPolicy(oldPolicy);
DProcessList.java2034 StrictMode.setThreadPolicy(oldPolicy);
/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/accounts/
DAccountManagerService.java943 StrictMode.setThreadPolicy(oldPolicy); in updateAccountVisibilityLocked()

12