Home
last modified time | relevance | path

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

/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.java400 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/net/
DNetworkStatsFactory.java211 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryDev()
261 StrictMode.setThreadPolicy(savedPolicy); in readNetworkStatsSummaryXt()
393 StrictMode.setThreadPolicy(savedPolicy); in javaReadNetworkStatsDetail()
/frameworks/base/core/java/com/android/internal/util/
DMemInfoReader.java35 StrictMode.setThreadPolicy(savedPolicy); in readMemInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java174 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked()
196 StrictMode.setThreadPolicy(oldPolicy); in saveBitmapLocked()
/frameworks/base/core/java/android/app/
DQueuedWork.java179 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
DLoadedApk.java709 private void setThreadPolicy(StrictMode.ThreadPolicy policy) { in setThreadPolicy() method in LoadedApk
711 StrictMode.setThreadPolicy(policy); in setThreadPolicy()
817 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
857 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
868 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
910 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
DActivityThread.java3645 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()
4041 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()
4057 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()
4073 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
6473 StrictMode.setThreadPolicy(savedPolicy); in handleBindApplication()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdServiceInfoTest.java47 StrictMode.setThreadPolicy(policy);
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java549 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSliceStrict()
555 StrictMode.setThreadPolicy(oldPolicy); in onBindSliceStrict()
/frameworks/base/core/java/android/os/
DStrictMode.java1155 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() method in StrictMode
1177 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY); in setBlockGuardPolicy()
1186 BlockGuard.setThreadPolicy(androidPolicy); in setBlockGuardPolicy()
1376 setThreadPolicy(builder.build()); in initThreadDefaults()
1784 StrictMode.setThreadPolicy(oldPolicy); in onThreadPolicyViolation()
2009 setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build()); in enableDefaults()
DProcess.java1158 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
/frameworks/base/media/apex/java/android/media/
DMedia2HTTPConnection.java313 StrictMode.setThreadPolicy(policy); in readAt()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java396 StrictMode.setThreadPolicy(policy); in readAt()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1460 StrictMode.setThreadPolicy(oldPolicy);
1478 StrictMode.setThreadPolicy(oldPolicy);
1492 StrictMode.setThreadPolicy(oldPolicy);
1510 StrictMode.setThreadPolicy(oldPolicy);
1524 StrictMode.setThreadPolicy(oldPolicy);
1538 StrictMode.setThreadPolicy(oldPolicy);
DProcessList.java1591 StrictMode.setThreadPolicy(oldPolicy);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java869 StrictMode.setThreadPolicy(oldPolicy); in updateAccountVisibilityLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java6025 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()
/frameworks/base/config/
Dboot-image-profile.txt12247 HSPLandroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
25688 HSPLdalvik/system/BlockGuard;->setThreadPolicy(Ldalvik/system/BlockGuard$Policy;)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22280 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);
/frameworks/base/api/
Dcurrent.txt35140 method public static void setThreadPolicy(android.os.StrictMode.ThreadPolicy);