Package: android.frameworks.schedulerservice@1.0

ISchedulingPolicyService

interface ISchedulingPolicyService

Properties

Priority

enum Priority: int32_t
Details
Members
MIN = 1
MAX = 99

Methods

requestPriority

requestPriority (int32_t pid, int32_t tid, int32_t priority)
generates (bool success)

Request real-time priority for a specific thread in a process.

Details
Parameters
pid
Process ID.
tid
Thread ID.
priority
Value within[Priority:MIN, Priority:MAX ]
Generates
success
whether or not priority was successfully set

getMaxAllowedPriority

getMaxAllowedPriority ()
generates (int32_t priority)

Must return 0 if no priority is allowed.

Details
Generates
priority
Max priority that can be set with requestPriority.