HAP_ps APIs
HAP_ps
Enquire thread priority ceiling

Classes

struct  HAP_req_userpd_params_t
 

Enumerations

enum  HAP_req_userpd_params_type { HAP_req_get_orig_apps_pid = 1 }
 

Functions

int HAP_get_thread_priority_ceiling (void)
 
int HAP_get_userpd_params (HAP_req_userpd_params_t *request)
 

Detailed Description

Enumeration Type Documentation

◆ HAP_req_userpd_params_type

Identifies the HAP request user pd parameters type

Parameters
HAP_req_get_orig_apps_pid: Returns the process original apps pid.

Function Documentation

◆ HAP_get_thread_priority_ceiling()

int HAP_get_thread_priority_ceiling ( void  )

Return the ceiling thread priority for the current process

Return the thread priority ceiling for the current process. QuRT thread priorities run from 1 to 255, with 1 being the highest. Unprivileged user processes will have a ceiling priority of 64.

Args: None Returns: Thread priority ceiling value (bet 1 & 255) on success, -1 on failure

◆ HAP_get_userpd_params()

int HAP_get_userpd_params ( HAP_req_userpd_params_t request)

Method to retrieve user process values from the DSP. This API support from SM8750 onwards.

Parameters
[in]request: Request params.
Returns
Returns 0 for success, error code on failure.