/system/core/libutils/ |
H A D | Log.cpp | 24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument 26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
|
H A D | misc.cpp | 41 int priority; member in struct:android::sysprop_change_callback_info 49 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument 57 info.priority = priority; 60 if (priority >= gSyspropList->itemAt(i).priority) {
|
H A D | CallStack.cpp | 53 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { argument 54 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
|
H A D | Printer.cpp | 66 android_LogPriority priority, 70 mPriority(priority), 65 LogPrinter(const char* logtag, android_LogPriority priority, const char* prefix, bool ignoreBlankLines) argument
|
H A D | ProcessCallStack.cpp | 205 void ProcessCallStack::log(const char* logtag, android_LogPriority priority, argument 207 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
|
H A D | Threads.cpp | 77 int priority; member in struct:thread_data_t 80 // we use this trampoline when we need to set the priority with 85 int prio = t->priority; 135 #if defined(__ANDROID__) /* valgrind is rejecting RT-priority create reqs */ 145 t->priority = threadPriority; 669 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument 694 this, name, priority, stack, &mThread); 697 this, name, priority, stack, &mThread);
|
/system/core/toolbox/ |
H A D | log.c | 92 android_LogPriority priority; local 97 priority = ANDROID_LOG_INFO; 114 priority = filterCharToPri(optarg[0]); 115 if (priority == ANDROID_LOG_UNKNOWN) { 141 __android_log_print(priority, tag, "%s", buffer);
|
/system/extras/perfprofd/quipper/base/ |
H A D | logging.cc | 84 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/utils/src/ |
H A D | bt_utils.c | 113 ** Description Raise task priority for A2DP streaming 121 int priority = ANDROID_PRIORITY_AUDIO; local 145 // always use urgent priority for HCI worker thread until we can adjust 149 priority = ANDROID_PRIORITY_URGENT_AUDIO; 151 if (setpriority(PRIO_PROCESS, tid, priority) < 0) { 152 LOG_WARN(LOG_TAG, "failed to change priority tid: %d to %d", tid, priority); 160 ** Description increase the a2dp consumer task priority temporarily when start 162 ** the a2dp consumer task priority when stop audio playing. 168 int priority local [all...] |
/system/bt/osi/src/ |
H A D | thread.c | 153 bool thread_set_priority(thread_t *thread, int priority) { argument 157 const int rc = setpriority(PRIO_PROCESS, thread->tid, priority); 159 LOG_ERROR(LOG_TAG, "%s unable to set thread priority %d for tid %d, error %d", 160 __func__, priority, thread->tid, rc);
|
/system/core/include/log/ |
H A D | logprint.h | 40 FORMAT_MODIFIER_COLOR, /* converts priority to color */ 55 android_LogPriority priority; member in struct:AndroidLogEntry_t 106 * returns 1 if this log line should be printed based on its priority
|
/system/connectivity/shill/ |
H A D | routing_table_unittest.cc | 184 uint32_t priority; local 199 arg->GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&priority) && 200 priority == metric; 207 uint32_t priority; local 231 arg->GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&priority) && 232 priority == entry.metric;
|
H A D | service_unittest.cc | 341 const int32_t priority = 1; local 343 kPriorityProperty, brillo::Any(priority), &error)); 1226 ASSERT_EQ(kPriority0, service_->priority()); 1232 EXPECT_EQ(kPriority1, service_->priority()); 2220 // by Chrome they should rank same, so the priority will be considered
|
H A D | service.cc | 1128 if (DecideBetween(a->priority(), b->priority(), &ret)) { 1159 // we want to pick the highest priority one. The 1567 bool Service::SetPriority(const int32_t& priority, Error* error) { argument 1568 if (priority_ == priority) { 1571 priority_ = priority; 1580 bool Service::SetPriorityWithinTechnology(const int32_t& priority, argument 1582 if (priority_within_technology_ == priority) { 1585 priority_within_technology_ = priority;
|
H A D | service.h | 406 int32_t priority() const { return priority_; } function in class:shill::Service 407 bool SetPriority(const int32_t& priority, Error* error); 411 bool SetPriorityWithinTechnology(const int32_t& priority, Error* error);
|
/system/core/base/ |
H A D | logging.cpp | 219 int priority = kLogSeverityToAndroidLogPriority[severity]; local 226 if (priority == ANDROID_LOG_FATAL) { 227 __android_log_buf_print(lg_id, priority, tag, "%s:%u] %s", file, line, 230 __android_log_buf_print(lg_id, priority, tag, "%s", message);
|
/system/netd/tests/ |
H A D | binder_test.cpp | 235 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument 241 std::string prefix = StringPrintf("%" PRIu32 ":", priority); 253 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument 255 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4); 256 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6);
|
/system/core/liblog/ |
H A D | fake_log_device.c | 73 /* global minimum priority */ 177 * and a letter indicating the minimum priority level we're expected to log. 196 /* global min priority defaults to "info" level */ 225 /* default priority, if there's no ":" part; also zero out '*' */ 306 * Return a human-readable string for the priority level. Always returns 309 static const char* getPriorityString(int priority) argument 317 idx = (int)priority - (int)ANDROID_LOG_VERBOSE; 553 * priority (1 byte)
|
/system/bt/stack/l2cap/ |
H A D | l2c_api.c | 1284 ** Description Sets the transmission priority for a channel. 1291 BOOLEAN L2CA_SetAclPriority (BD_ADDR bd_addr, UINT8 priority) argument 1293 L2CAP_TRACE_API ("L2CA_SetAclPriority() bdaddr: %02x%02x%02x%02x%04x, priority:%d", 1295 bd_addr[3], (bd_addr[4] << 8) + bd_addr[5], priority); 1297 return (l2cu_set_acl_priority(bd_addr, priority, FALSE)); 1382 ** Description Sets the transmission priority for a channel. 1387 BOOLEAN L2CA_SetTxPriority (UINT16 cid, tL2CAP_CHNL_PRIORITY priority) argument 1391 L2CAP_TRACE_API ("L2CA_SetTxPriority() CID: 0x%04x, priority:%d", cid, priority); 1400 /* it will update the order of CCB in LCB by priority an [all...] |
H A D | l2c_utils.c | 1251 ** Description queue CCB by priority. The first CCB is highest priority and 1274 L2CAP_TRACE_DEBUG ("l2cu_enqueue_ccb CID: 0x%04x priority: %d", 1289 /* Insert new ccb at the end of the same priority. Lower number, higher priority */ 1323 /* if this is the first channel in this priority group */ 1330 /* Initialize quota of this priority group based on its priority */ 1371 /* decrease number of channels in this priority group */ 1374 /* if it was the last channel in the priority grou 1433 l2cu_change_pri_ccb(tL2C_CCB *p_ccb, tL2CAP_CHNL_PRIORITY priority) argument 2552 l2cu_set_acl_priority(BD_ADDR bd_addr, UINT8 priority, BOOLEAN reset_after_rs) argument [all...] |
/system/bt/stack/rfcomm/ |
H A D | rfc_int.h | 94 UINT8 priority; member in struct:__anon1257::__anon1258::__anon1259
|
/system/netd/server/ |
H A D | RouteController.cpp | 265 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, argument 316 { &priority, sizeof(priority) }, 346 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument 349 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, 353 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument 355 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID, 498 uint32_t priority; local 501 priority = RULE_PRIORITY_SECURE_VPN; 503 priority 529 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; local [all...] |