Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 97) sorted by relevance

1234

/system/timezone/input_data/android/
Dcountryzones.txt94 # appear before legacy zones, and then legacy zones appear in reverse priority
95 # order (see priority below). This is for easier maintenance and validation
98 # been superseded by the same zone are listed together in reverse priority
124 # priority:
127 # for a given time range). Zones that are identical but lower priority
129 # with the higher priority zone for that period. The priority is in the
130 # range >=1, the default is 1. Whether a priority needs to be
136 # Often the exact priority assigned doesn't matter and zone priorities are
289 priority:15600
295 priority:3310
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneInfo.java37 private final int priority; field in ZoneInfo
45 private ZoneInfo(String zoneId, int priority, List<ZoneOffsetPeriod> zoneOffsetPeriods) { in ZoneInfo() argument
46 if (priority < MIN_PRIORITY) { in ZoneInfo()
50 this.priority = priority; in ZoneInfo()
62 public static ZoneInfo create(TimeZoneNames timeZoneNames, BasicTimeZone timeZone, int priority, in create() argument
75 return new ZoneInfo(timeZone.getID(), priority, zoneOffsetPeriods); in create()
98 return priority; in getPriority()
104 "priority=" + priority + in toString()
/system/libhidl/transport/
DHidlTransportSupport.cpp62 bool setMinSchedulerPolicy(const sp<IBase>& service, int policy, int priority) { in setMinSchedulerPolicy() argument
70 if (priority < -20 || priority > 19) { in setMinSchedulerPolicy()
71 LOG(ERROR) << "Invalid priority for SCHED_NORMAL: " << priority; in setMinSchedulerPolicy()
77 if (priority < 1 || priority > 99) { in setMinSchedulerPolicy()
78 LOG(ERROR) << "Invalid priority for " << policy << " policy: " << priority; in setMinSchedulerPolicy()
93 details::gServicePrioMap->setLocked(service, {policy, priority}); in setMinSchedulerPolicy()
/system/core/libutils/
Dmisc.cpp39 int priority; member
48 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { in add_sysprop_change_callback() argument
55 info.priority = priority; in add_sysprop_change_callback()
58 if (priority >= gSyspropList->itemAt(i).priority) { in add_sysprop_change_callback()
DCallStack.cpp53 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { in log() argument
54 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false); in log()
90 android_LogPriority priority) { in logStackInternal() argument
91 stack->log(logtag, priority); in logStackInternal()
DPrinter.cpp66 android_LogPriority priority, in LogPrinter() argument
70 mPriority(priority), in LogPrinter()
/system/libartpalette/
Dpalette_fake.cc36 enum PaletteStatus PaletteSchedSetPriority(int32_t tid, int32_t priority) { in PaletteSchedSetPriority() argument
37 if (priority < art::palette::kMinManagedThreadPriority || in PaletteSchedSetPriority()
38 priority > art::palette::kMaxManagedThreadPriority) { in PaletteSchedSetPriority()
42 g_tid_priority_map[tid] = priority; in PaletteSchedSetPriority()
47 /*out*/ int32_t* priority) { in PaletteSchedGetPriority() argument
52 *priority = g_tid_priority_map[tid]; in PaletteSchedGetPriority()
/system/bt/gd/os/linux_generic/
Dthread.cc35 Thread::Thread(const std::string& name, const Priority priority) in Thread() argument
36 : name_(name), reactor_(), running_thread_(&Thread::run, this, priority) {} in Thread()
38 void Thread::run(Priority priority) { in run() argument
39 if (priority == Priority::REAL_TIME) { in run()
/system/update_engine/
Dlogging_android.cc99 const char* LogPriorityToCString(int priority) { in LogPriorityToCString() argument
100 switch (priority) { in LogPriorityToCString()
183 ss << "[" << LogPriorityToCString(log_message->priority) << ':' in GetPrefix()
224 android_LogPriority priority = in RedirectToLiblog() local
228 priority = ANDROID_LOG_INFO; in RedirectToLiblog()
231 priority = ANDROID_LOG_WARN; in RedirectToLiblog()
234 priority = ANDROID_LOG_ERROR; in RedirectToLiblog()
237 priority = ANDROID_LOG_FATAL; in RedirectToLiblog()
245 __android_log_write(priority, nullptr /* tag */, str.c_str()); in RedirectToLiblog()
/system/core/liblog/include_vndk/log/
Dlog_main.h94 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__) argument
101 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
102 android_vprintLog(priority, NULL, tag, fmt, args)
336 #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) argument
343 #define IF_ALOG(priority, tag) if (android_testLog(ANDROID_##priority, tag)) argument
/system/core/liblog/include/log/
Dlog_main.h94 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__) argument
101 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
102 android_vprintLog(priority, NULL, tag, fmt, args)
336 #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) argument
343 #define IF_ALOG(priority, tag) if (android_testLog(ANDROID_##priority, tag)) argument
/system/core/liblog/tests/
Dliblog_host_test.cpp36 static std::string MakeLogPattern(int priority, const char* tag, const char* message) { in MakeLogPattern() argument
40 priority = priority > ANDROID_LOG_SILENT ? ANDROID_LOG_FATAL : priority; in MakeLogPattern()
41 char log_char = log_characters[priority]; in MakeLogPattern()
47 static void CheckMessage(bool expected, const std::string& output, int priority, const char* tag, in CheckMessage() argument
49 std::regex message_regex(MakeLogPattern(priority, tag, message)); in CheckMessage()
/system/libbase/
Dlogging.cpp154 static LogSeverity PriorityToLogSeverity(int priority) { in PriorityToLogSeverity() argument
155 switch (priority) { in PriorityToLogSeverity()
319 int32_t priority = LogSeverityToPriority(severity); in LogdLogChunk() local
323 __android_log_message log_message = {sizeof(__android_log_message), lg_id, priority, tag, in LogdLogChunk()
327 __android_log_buf_print(lg_id, priority, tag, "%s", message); in LogdLogChunk()
407 auto severity = PriorityToLogSeverity(log_message->priority); in SetLogger()
523 int32_t priority = LogSeverityToPriority(severity); in LogLine() local
526 sizeof(__android_log_message), LOG_ID_DEFAULT, priority, tag, file, line, message}; in LogLine()
557 int32_t priority = LogSeverityToPriority(severity); in ShouldLog() local
558 return __android_log_is_loggable(priority, tag, ANDROID_LOG_INFO); in ShouldLog()
[all …]
/system/core/libutils/include/utils/
DCallStack.h66 android_LogPriority priority = ANDROID_LOG_DEBUG,
122 android_LogPriority priority = ANDROID_LOG_DEBUG) {
124 logStackInternal(logtag, stack, priority);
157 android_LogPriority priority);
Dmisc.h35 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
/system/bt/osi/src/
Dthread.cc148 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority() argument
151 const int rc = setpriority(PRIO_PROCESS, thread->tid, priority); in thread_set_priority()
154 __func__, priority, thread->tid, rc); in thread_set_priority()
161 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority() argument
165 rt_params.sched_priority = priority; in thread_set_rt_priority()
170 __func__, priority, thread->tid, strerror(errno)); in thread_set_rt_priority()
/system/bt/gd/os/
Dthread.h44 Thread(const std::string& name, Priority priority);
67 void run(Priority priority);
/system/bt/osi/include/
Dthread.h66 bool thread_set_priority(thread_t* thread, int priority);
73 bool thread_set_rt_priority(thread_t* thread, int priority);
/system/core/rootdir/
Dinit.zygote64_32.rc3 priority -20
18 priority -20
/system/core/liblog/
Dlogger_write.cpp149 int32_t __android_log_set_minimum_priority(int32_t priority) { in __android_log_set_minimum_priority() argument
150 return minimum_log_priority.exchange(priority, std::memory_order_relaxed); in __android_log_set_minimum_priority()
260 int32_t priority = in __android_log_stderr_logger() local
261 log_message->priority > ANDROID_LOG_SILENT ? ANDROID_LOG_FATAL : log_message->priority; in __android_log_stderr_logger()
262 char priority_char = log_characters[priority]; in __android_log_stderr_logger()
281 const_cast<unsigned char*>(reinterpret_cast<const unsigned char*>(&log_message->priority)); in __android_log_logd_logger()
309 if (log_message->priority == ANDROID_LOG_FATAL) { in __android_log_write_log_message()
/system/core/liblog/include/android/
Dlog.h195 int32_t priority; member
351 int32_t __android_log_set_minimum_priority(int32_t priority) __INTRODUCED_IN(30);
/system/core/include/android/
Dlog.h195 int32_t priority; member
351 int32_t __android_log_set_minimum_priority(int32_t priority) __INTRODUCED_IN(30);
/system/vold/
Dwait_for_keymaster.rc4 priority -20
/system/netd/server/
DRouteController.cpp261 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, in modifyIpRule() argument
314 { &priority, sizeof(priority) }, in modifyIpRule()
335 if (!(action == RTM_DELRULE && ret == -ENOENT && priority == RULE_PRIORITY_TETHERING)) { in modifyIpRule()
348 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() argument
351 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
355 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() argument
357 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID, in modifyIpRule()
517 uint32_t priority; in modifyVpnUidRangeRule() local
520 priority = RULE_PRIORITY_SECURE_VPN; in modifyVpnUidRangeRule()
522 priority = RULE_PRIORITY_BYPASSABLE_VPN; in modifyVpnUidRangeRule()
[all …]
/system/core/storaged/
Dstoraged.rc4 priority 10

1234