Searched defs:self (Results 1 - 8 of 8) sorted by relevance

/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp81 IPCThreadState* self = IPCThreadState::self(); local
82 const int pid = self->getCallingPid();
83 const int uid = self->getCallingUid();
/system/update_engine/payload_generator/
H A Dxz_android.cc38 auto* self = local
40 *size = std::min(*size, self->data_.size() - self->pos_);
41 memcpy(buf, self->data_.data() + self->pos_, *size);
42 self->pos_ += *size;
59 auto* self = local
62 self->data_->reserve(self->data_->size() + size);
63 self
[all...]
/system/weaved/buffet/
H A Davahi_mdns_client.cc142 AvahiMdnsClient* self = static_cast<AvahiMdnsClient*>(userdata); local
143 self->RepublishService();
/system/connectivity/shill/dbus/
H A Dchromeos_dhcpcd_listener.cc88 ChromeosDHCPCDListener* self = local
90 return self->HandleMessage(connection, raw_message);
/system/core/libutils/
H A DLooper.cpp98 Looper* const self = static_cast<Looper*>(st); local
99 if (self != NULL) {
100 self->decStrong((void*)threadDestructor);
H A DThreads.cpp142 // prctl(PR_SET_NAME) only works for self; prctl(PR_SET_THREAD_NAME) was
720 Thread* const self = static_cast<Thread*>(user); local
722 sp<Thread> strong(self->mHoldSelf);
724 self->mHoldSelf.clear();
728 self->mTid = gettid();
737 self->mStatus = self->readyToRun();
738 result = (self->mStatus == NO_ERROR);
740 if (result && !self->exitPending()) {
751 result = self
[all...]
/system/core/liblog/
H A Dlog_is_loggable.c299 unsigned char (*const evaluate)(const struct cache2 *self);
302 static inline unsigned char do_cache2(struct cache2 *self) argument
308 if (pthread_mutex_trylock(&self->lock)) {
310 return self->evaluate(self);
313 change_detected = check_cache(&self->cache_persist)
314 || check_cache(&self->cache_ro);
316 if (current_serial != self->serial) {
320 refresh_cache(&self->cache_persist, self
331 evaluate_persist_ro(const struct cache2 *self) argument
367 evaluate_security(const struct cache2 *self) argument
[all...]
/system/webservd/webservd/
H A Drequest.cc48 auto self = reinterpret_cast<Request*>(cls); local
49 return self->ProcessPostData(key, filename, content_type, transfer_encoding,
57 auto self = reinterpret_cast<Request*>(cls); local
62 self->headers_.emplace_back(brillo::http::GetCanonicalHeaderName(key),
67 self->post_data_.emplace_back(key, data);
69 self->get_data_.emplace_back(key, data);
320 Request* self = static_cast<Request*>(cls); local
323 if (!self->response_data_stream_->ReadNonBlocking(buf, max, &read, &eos,
328 if (read > 0 || self->waiting_for_data_)
337 MHD_suspend_connection(self
[all...]

Completed in 8062 milliseconds