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;
49 setThreadPriority(tid, mBoostToPriority); in boost()
63 setThreadPriority(myTid(), state.prevPriority); in reset()
80 setThreadPriority(tid, priority); in setBoostToPriority()
DVibratorService.java793 Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_DISPLAY); in run()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java79 Process.setThreadPriority(mSavedPriority); // To realign priority & cgroup, if needed in setUp()
88 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in tearDown()
89 Process.setThreadPriority(mSavedPriority); in tearDown()
117 Process.setThreadPriority(prio); in testPassPriorityToService()
DBinderThreadPriorityService.java50 Process.setThreadPriority(priority);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java21 import static android.os.Process.setThreadPriority;
94 setThreadPriority(mAnimationThreadId, priority); in updatePriorityLocked()
DTaskSnapshotPersister.java212 android.os.Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
/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/packages/SystemUI/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java19 import static android.os.Process.setThreadPriority;
187 setThreadPriority(android.os.Process.THREAD_PRIORITY_BACKGROUND + 1);
/frameworks/base/core/java/com/android/internal/util/
DConcurrentUtils.java58 Process.setThreadPriority(linuxThreadPriority); in newFixedThreadPool()
/frameworks/base/core/java/android/os/
DHandlerThread.java63 Process.setThreadPriority(mPriority); in run()
DProcess.java646 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority() method in Process
764 public static final native void setThreadPriority(int priority) in setThreadPriority() method in Process
DAsyncTask.java331 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in AsyncTask()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java75 Process.setThreadPriority(theThread.mPriority); in run()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java217 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
230 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
238 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
/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()
DTaskPersister.java646 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java257 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/support/compat/java/android/support/v4/content/
DModernAsyncTask.java136 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in ModernAsyncTask()
/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.java342 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in run()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java670 Process.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in handleRebuildList()
726 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in handleRebuildList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java233 Process.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in doInBackground()
/frameworks/base/core/java/android/app/
DInstrumentation.java2066 Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_DISPLAY); in run()

12