Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java21 import static android.os.Process.setThreadPriority;
50 setThreadPriority(state.tid, mBoostToPriority); in boost()
64 setThreadPriority(state.tid, state.prevPriority); in reset()
82 setThreadPriority(state.tid, priority); in setBoostToPriority()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java21 import static android.os.Process.setThreadPriority;
98 setThreadPriority(mAnimationThreadId, priority); in updatePriorityLocked()
99 setThreadPriority(mSurfaceAnimationThreadId, priority); in updatePriorityLocked()
DPersisterQueue.java286 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
DTaskSnapshotPersister.java243 android.os.Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java78 Process.setThreadPriority(mSavedPriority); // To realign priority & cgroup, if needed in setUp()
87 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in tearDown()
88 Process.setThreadPriority(mSavedPriority); in tearDown()
116 Process.setThreadPriority(prio); in testPassPriorityToService()
DBinderThreadPriorityService.java49 Process.setThreadPriority(priority);
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java257 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in onGetSuggestionsMultiple()
263 Process.setThreadPriority(pri); in onGetSuggestionsMultiple()
280 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in onCancel()
283 Process.setThreadPriority(pri); in onCancel()
291 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in onClose()
294 Process.setThreadPriority(pri); in onClose()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThreadPriorityBoosterTest.java21 import static android.os.Process.setThreadPriority;
50 setThreadPriority(origPriority); in testThreadPriorityBooster()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java19 import static android.os.Process.setThreadPriority;
206 setThreadPriority(android.os.Process.THREAD_PRIORITY_BACKGROUND + 1);
/frameworks/base/core/java/android/os/
DHandlerThread.java65 Process.setThreadPriority(mPriority); in run()
DProcess.java743 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority() method in Process
862 public static final native void setThreadPriority(int priority) in setThreadPriority() method in Process
DAsyncTask.java376 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in AsyncTask()
/frameworks/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java75 Process.setThreadPriority(theThread.mPriority); in run()
/frameworks/base/core/java/com/android/internal/util/
DConcurrentUtils.java61 Process.setThreadPriority(linuxThreadPriority); in newFixedThreadPool()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DRootScanner.java130 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
DDocumentLoader.java191 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java47 Process.setThreadPriority(Process.THREAD_PRIORITY_DEFAULT); in run()
DOomAdjuster.java38 import static android.os.Process.setThreadPriority;
1784 setThreadPriority(app.pid, TOP_APP_PRIORITY_BOOST); in applyOomAdjLocked()
1787 setThreadPriority(app.renderThreadTid, in applyOomAdjLocked()
1802 setThreadPriority(app.pid, app.savedPriority); in applyOomAdjLocked()
1806 setThreadPriority(app.renderThreadTid, -4); in applyOomAdjLocked()
1817 setThreadPriority(app.pid, 0); in applyOomAdjLocked()
1819 setThreadPriority(app.renderThreadTid, 0); in applyOomAdjLocked()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java308 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java423 Process.setThreadPriority(mPriority); in run()
488 Process.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in onRun()
489 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in onRun()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java415 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java880 Process.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in handleRebuildList()
943 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in handleRebuildList()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java338 Process.setThreadPriority(THREAD_PRIORITY); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java247 Process.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in doInBackground()
/frameworks/base/core/java/android/app/
DInstrumentation.java2181 Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_DISPLAY); in run()

12