OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:oldThreadPriority
(Results
1 - 4
of
4
) sorted by null
/dalvik/vm/os/
os.h
34
void os_lowerThreadPriority(int
oldThreadPriority
);
linux.cpp
26
void os_lowerThreadPriority(int
oldThreadPriority
)
android.cpp
102
int
oldThreadPriority
= getpriority(PRIO_PROCESS, 0);
105
} else if (
oldThreadPriority
> ANDROID_PRIORITY_NORMAL) {
109
if (
oldThreadPriority
>= ANDROID_PRIORITY_BACKGROUND) {
114
oldThreadPriority
, ANDROID_PRIORITY_NORMAL);
121
oldThreadPriority
, ANDROID_PRIORITY_NORMAL);
122
return
oldThreadPriority
;
128
void os_lowerThreadPriority(int
oldThreadPriority
)
130
if (setpriority(PRIO_PROCESS, 0,
oldThreadPriority
) != 0) {
132
oldThreadPriority
, strerror(errno));
134
ALOGV("Reset priority to %d",
oldThreadPriority
);
[
all
...]
/dalvik/vm/alloc/
Heap.cpp
455
int
oldThreadPriority
= INT_MAX;
489
oldThreadPriority
= os_raiseThreadPriority();
656
if (
oldThreadPriority
!= INT_MAX) {
657
os_lowerThreadPriority(
oldThreadPriority
);
Completed in 442 milliseconds