Searched defs:priority (Results 1 - 23 of 23) sorted by relevance

/system/core/libutils/
H A DLog.cpp25 const char* tag, android_LogPriority priority, int timeoutMillis, const char* message)
26 : mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
24 LogIfSlow( const char* tag, android_LogPriority priority, int timeoutMillis, const char* message) argument
H A DCallStack.cpp54 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { argument
55 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
H A Dmisc.cpp39 int priority; member in struct:android::sysprop_change_callback_info
47 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument
55 info.priority = priority;
58 if (priority >= gSyspropList->itemAt(i).priority) {
H A DPrinter.cpp64 android_LogPriority priority,
68 mPriority(priority),
63 LogPrinter(const char* logtag, android_LogPriority priority, const char* prefix, bool ignoreBlankLines) argument
H A DProcessCallStack.cpp192 void ProcessCallStack::log(const char* logtag, android_LogPriority priority, argument
194 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
H A DThreads.cpp70 int priority; member in struct:thread_data_t
73 // we use this trampoline when we need to set the priority with
78 int prio = t->priority;
128 #if defined(__ANDROID__) /* valgrind is rejecting RT-priority create reqs */
138 t->priority = threadPriority;
662 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument
687 this, name, priority, stack, &mThread);
690 this, name, priority, stack, &mThread);
/system/libhidl/transport/
H A DHidlTransportSupport.cpp32 int policy, int priority) {
43 if (policy == SCHED_NORMAL && (priority < -20 || priority > 19)) {
44 ALOGE("Invalid priority for SCHED_NORMAL: %d", priority);
46 } else if (priority < 1 || priority > 99) {
47 ALOGE("Invalid priority for real-time policy: %d", priority);
51 details::gServicePrioMap.set(service, { policy, priority });
31 setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, int policy, int priority) argument
[all...]
/system/chre/core/tests/
H A Drequest_multiplexer_test.cc29 DummyRequest(int priority) : mPriority(priority) {} argument
/system/extras/perfprofd/quipper/base/
H A Dlogging.cc84 android_LogPriority priority = local
88 priority = ANDROID_LOG_INFO;
91 priority = ANDROID_LOG_WARN;
94 priority = ANDROID_LOG_ERROR;
97 priority = ANDROID_LOG_FATAL;
100 __android_log_write(priority, LOG_TAG, str_newline.c_str());
/system/bt/osi/src/
H A Dthread.cc148 bool thread_set_priority(thread_t* thread, int priority) { argument
151 const int rc = setpriority(PRIO_PROCESS, thread->tid, priority);
154 "%s unable to set thread priority %d for tid %d, error %d",
155 __func__, priority, thread->tid, rc);
162 bool thread_set_rt_priority(thread_t* thread, int priority) { argument
166 rt_params.sched_priority = priority;
171 "%s unable to set SCHED_FIFO priority %d for tid %d, error %s",
172 __func__, priority, thread->tid, strerror(errno));
/system/core/include/log/
H A Dlogprint.h41 FORMAT_MODIFIER_COLOR, /* converts priority to color */
59 android_LogPriority priority; member in struct:AndroidLogEntry_t
109 * returns 1 if this log line should be printed based on its priority
/system/core/liblog/include/log/
H A Dlogprint.h41 FORMAT_MODIFIER_COLOR, /* converts priority to color */
59 android_LogPriority priority; member in struct:AndroidLogEntry_t
109 * returns 1 if this log line should be printed based on its priority
/system/bt/stack/l2cap/
H A Dl2c_ucd.cc499 * Description Sets the transmission priority for a connectionless channel.
504 bool L2CA_UCDSetTxPriority(BD_ADDR rem_bda, tL2CAP_CHNL_PRIORITY priority) { argument
509 "L2CA_UCDSetTxPriority() priority: 0x%02x BDA: %08x%04x", priority,
526 /* it will update the order of CCB in LCB by priority and update round robin
528 l2cu_change_pri_ccb(p_ccb, priority);
594 /* Set the default channel priority value to use */
881 /* Set the default channel priority value to use */
H A Dl2c_api.cc1221 * Description Sets the transmission priority for a channel.
1228 bool L2CA_SetAclPriority(BD_ADDR bd_addr, uint8_t priority) { argument
1230 "L2CA_SetAclPriority() bdaddr: %02x%02x%02x%02x%04x, priority:%d",
1232 (bd_addr[4] << 8) + bd_addr[5], priority);
1234 return (l2cu_set_acl_priority(bd_addr, priority, false));
1322 * Description Sets the transmission priority for a channel.
1327 bool L2CA_SetTxPriority(uint16_t cid, tL2CAP_CHNL_PRIORITY priority) { argument
1330 L2CAP_TRACE_API("L2CA_SetTxPriority() CID: 0x%04x, priority:%d", cid,
1331 priority);
1340 /* it will update the order of CCB in LCB by priority an
[all...]
H A Dl2c_utils.cc1166 * Description queue CCB by priority. The first CCB is highest priority and
1187 L2CAP_TRACE_DEBUG("l2cu_enqueue_ccb CID: 0x%04x priority: %d",
1198 /* Insert new ccb at the end of the same priority. Lower number, higher
1199 * priority */
1230 /* if this is the first channel in this priority group */
1236 /* Initialize quota of this priority group based on its priority */
1276 /* decrease number of channels in this priority group */
1279 /* if it was the last channel in the priority grou
1329 l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority) argument
2346 l2cu_set_acl_priority(BD_ADDR bd_addr, uint8_t priority, bool reset_after_rs) argument
[all...]
/system/core/init/
H A Dservice.h107 int priority() const { return priority_; } function in class:Service
/system/core/base/
H A Dlogging.cpp235 int priority = kLogSeverityToAndroidLogPriority[severity]; local
247 if (priority == ANDROID_LOG_FATAL) {
248 __android_log_buf_print(lg_id, priority, tag, "%s:%u] %s", file, line,
251 __android_log_buf_print(lg_id, priority, tag, "%s", message);
/system/core/liblog/
H A Dfake_log_device.c76 /* global minimum priority */
173 * and a letter indicating the minimum priority level we're expected to log.
191 /* global min priority defaults to "info" level */
219 /* default priority, if there's no ":" part; also zero out '*' */
313 * Return a human-readable string for the priority level. Always returns
316 static const char* getPriorityString(int priority) { argument
322 idx = (int)priority - (int)ANDROID_LOG_VERBOSE;
560 * priority (1 byte)
/system/netd/tests/
H A Dbinder_test.cpp263 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument
269 std::string prefix = StringPrintf("%" PRIu32 ":", priority);
281 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument
283 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4);
284 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6);
/system/bt/stack/a2dp/
H A Da2dp_codec_config.cc41 // |codec_index| and |codec_priority| are the codec type and priority to use
81 // Compute the default codec priority
92 // Compute the default codec priority
93 uint32_t priority = 1000 * (codec_index_ + 1) + 1; local
94 codec_priority_ = static_cast<btav_a2dp_codec_priority_t>(priority);
411 // Compares two codecs |lhs| and |rhs| based on their priority.
412 // Returns true if |lhs| has higher priority (larger priority value).
413 // If |lhs| and |rhs| have same priority, the unique codec index is used
414 // as a tie-breaker: larger codec index value means higher priority
[all...]
/system/bt/stack/rfcomm/
H A Drfc_int.h98 uint8_t priority; member in struct:__anon1246::__anon1247::__anon1248
/system/libhwbinder/
H A DParcel.cpp217 int priority = local->getMinSchedulingPriority(); local
219 obj.flags = priority & FLAT_BINDER_FLAG_PRIORITY_MASK;
/system/netd/server/
H A DRouteController.cpp217 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, argument
269 { &priority, sizeof(priority) },
290 if (!(action == RTM_DELRULE && ret == -ENOENT && priority == RULE_PRIORITY_TETHERING)) {
303 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument
306 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart,
310 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument
312 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID,
458 uint32_t priority; local
461 priority
489 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; local
[all...]

Completed in 602 milliseconds