Searched refs:current (Results 1 - 25 of 91) sorted by relevance

1234

/system/connectivity/dhcp_client/
H A Dmessage_loop_event_dispatcher.cc29 if (!base::MessageLoop::current())
31 base::MessageLoop::current()->PostTask(FROM_HERE, task);
37 if (!base::MessageLoop::current())
39 base::MessageLoop::current()->PostDelayedTask(
/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c8 * account regular expression specificity. With the current
161 /* Insert b's nodes in between the current a node
214 file_context_bucket_t *current; local
221 current = master;
224 while (current) {
226 if (current->next) {
228 current->data =
229 fc_merge(current->data,
230 current->next->data);
234 temp = current
323 file_context_node_t *current; local
[all...]
/system/connectivity/apmanager/
H A Devent_dispatcher.cc40 if (!base::MessageLoop::current())
42 base::MessageLoop::current()->PostTask(FROM_HERE, task);
48 if (!base::MessageLoop::current())
50 base::MessageLoop::current()->PostDelayedTask(
/system/core/metricsd/uploader/
H A Dmetrics_log.cc60 LOG(ERROR) << "Failed to persist the current log to " << path.value();
69 int current = stability->other_user_crash_count(); local
70 stability->set_other_user_crash_count(current + count);
76 int current = stability->kernel_crash_count(); local
77 stability->set_kernel_crash_count(current + count);
83 int current = stability->unclean_system_shutdown_count(); local
84 stability->set_unclean_system_shutdown_count(current + count);
/system/extras/showmap/
H A Dshowmap.cpp132 mapinfo *current = *head; local
139 if (current && coalesce_by_name && !strcmp(map->name, current->name)) {
140 current->size += map->size;
141 current->rss += map->rss;
142 current->pss += map->pss;
143 current->shared_clean += map->shared_clean;
144 current->shared_dirty += map->shared_dirty;
145 current->private_clean += map->private_clean;
146 current
175 mapinfo *current = NULL; local
[all...]
/system/core/libsysutils/src/
H A DSocketClient.cpp117 char *current = result; local
126 *(current++) = '"';
131 *(current++) = '\\'; // fallthrough
133 *(current++) = *(arg++);
136 *(current++) = '"';
137 *(current++) = '\0';
139 result = (char *)realloc(result, current-result);
186 int current = 0; local
195 writev(mSocket, iov + current, iovcnt - current));
[all...]
/system/core/libcutils/
H A Dhashmap.c202 Entry* current = *p; local
205 if (current == NULL) {
217 if (equalKeys(current->key, current->hash, key, hash, map->equals)) {
218 void* oldValue = current->value;
219 current->value = value;
224 p = &current->next;
265 Entry* current = *p; local
268 if (current == NULL) {
282 if (equalKeys(current
297 Entry* current; local
[all...]
/system/update_engine/
H A Dproxy_resolver.cc35 // MessageLoop::current() since the unit test using a FakeSystemState may
36 // have not define a MessageLoop for the current thread.
37 MessageLoop::current()->CancelTask(idle_callback_id_);
45 idle_callback_id_ = MessageLoop::current()->PostTask(
H A Dchrome_browser_proxy_resolver_unittest.cc115 MessageLoop::current()->BreakLoop();
121 MessageLoop::current()->BreakLoop();
144 MessageLoop::current()->PostDelayedTask(
155 MessageLoop::current()->Run();
H A Ddbus_test_utils.h45 brillo::MessageLoop::current()->CancelTask(callback_connected_task_);
60 callback_connected_task_ = brillo::MessageLoop::current()->PostTask(
/system/connectivity/shill/
H A Devent_dispatcher.cc40 base::MessageLoop::current()->Run();
48 base::MessageLoop::current()->PostTask(FROM_HERE, task);
52 base::MessageLoop::current()->PostDelayedTask(
H A Dshill_daemon.cc60 brillo::MessageLoop::current()->Run();
/system/update_engine/update_manager/
H A Dgeneric_variables_unittest.cc175 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
183 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
203 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
208 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
213 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
218 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
H A Devaluation_context_unittest.cc221 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
228 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
243 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
255 MessageLoopRunMaxIterations(MessageLoop::current(), 10);
257 MessageLoopRunUntil(MessageLoop::current(),
272 MessageLoopRunMaxIterations(MessageLoop::current(), 10);
274 MessageLoopRunUntil(MessageLoop::current(),
299 MessageLoopRunMaxIterations(MessageLoop::current(), 100);
318 MessageLoopRunUntil(MessageLoop::current(),
349 MessageLoopRunUntil(MessageLoop::current(),
[all...]
/system/core/init/parser/
H A Dtokenizer.h25 // The current token can be accessed with current(), which returns
49 const Token& current();
H A Dtokenizer_test.cpp27 ASSERT_EQ(Tokenizer::TOK_START, tokenizer.current().type)
31 ASSERT_EQ(test_text, tokenizer.current().text); \
32 ASSERT_EQ(Tokenizer::TOK_TEXT, tokenizer.current().type)
36 ASSERT_EQ(Tokenizer::TOK_NEWLINE, tokenizer.current().type)
/system/update_engine/common/
H A Dmock_http_fetcher.cc89 timeout_id_ = MessageLoop::current()->PostDelayedTask(
101 timeout_id_ = MessageLoop::current()->PostDelayedTask(
116 MessageLoop::current()->CancelTask(timeout_id_);
129 MessageLoop::current()->CancelTask(timeout_id_);
H A Dcpu_limiter.cc48 manage_shares_id_ = brillo::MessageLoop::current()->PostDelayedTask(
59 brillo::MessageLoop::current()->CancelTask(manage_shares_id_);
H A Dhttp_fetcher.cc30 MessageLoop::current()->CancelTask(no_resolver_idle_id_);
56 no_resolver_idle_id_ = MessageLoop::current()->PostTask(
/system/core/adb/
H A Dadb_auth.h43 void *adb_auth_nextkey(void *current);
56 static inline void *adb_auth_nextkey(void *current) { return NULL; } argument
/system/connectivity/shill/net/
H A Dio_ready_handler.cc45 if (!base::MessageLoopForIO::current()->WatchFileDescriptor(
/system/core/debuggerd/
H A Dutility.cpp180 size_t current = 0; local
189 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) {
206 current += sizeof(uintptr_t);
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dvendor_manager.cc108 if (!base::MessageLoopForIO::current()->WatchFileDescriptor(
117 if (!base::MessageLoopForIO::current()->WatchFileDescriptor(
/system/extras/tests/lib/testUtil/
H A DtestUtil.c168 // Obtain pointer to current log to logcat error interface tag
266 struct timespec start, current, delta; local
273 // Get current time
274 clock_gettime(CLOCK_MONOTONIC, &current);
277 delta = tsDelta(&start, &current);
292 struct timespec start, current, delta; local
298 // Get current time
299 clock_gettime(CLOCK_MONOTONIC, &current);
302 delta = tsDelta(&start, &current);
363 // Obtain the current he
[all...]
/system/extras/tests/workloads/
H A Dpwrsummary.sh166 current=$(echo $1 $baselineCurrent | awk '{ printf "%.2f", $1-$2; }')
196 printf "%s,%s,%f,%f,%f,%f,%f,%f," $testdir "$build" $minperf $aveperf $maxperf $current $baselinePower $power
199 printf "%-30s %-8s %12.2f %12.2f %12.2f %12.2f %12.2f %12.2f " $testdir "$build" $minperf $aveperf $maxperf $current $baselinePower $power
231 echo "$i : no baseline current"

Completed in 432 milliseconds

1234