Searched defs:workers (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java51 int workers = 5; field in class:TestWebServer
409 if (pool.size() >= workers) {
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp196 // If client/server pairs, then half the workers are
203 vector<sp<IBinder> > workers; local
207 workers.push_back(serviceMgr->getService(generateServiceName(i)));
215 int target = cs_pair ? num % server_count : rand() % workers.size();
223 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply);
277 int workers,
283 // Create all the workers and wait for them to spawn.
284 for (int i = 0; i < workers; i++) {
285 pipes.push_back(make_worker(i, iterations, workers, payload_size, cs_pair));
289 // Run the workers an
276 run_main(int iterations, int workers, int payload_size, int cs_pair, bool training_round=false) argument
334 int workers = 2; local
[all...]
H A Dschd-dbg.cpp37 vector<sp<IBinder> > workers; variable
292 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply);
335 // If client/server pairs, then half the workers are
342 workers.push_back(serviceMgr->getService(generateServiceName(i)));
360 ASSERT(NO_ERROR == workers[target]->transact(BINDER_NOP, data, &reply));

Completed in 83 milliseconds