Searched refs:sLimit (Results 1 – 1 of 1) sorted by relevance
460 static int sLimit; // Number of queries to answer per socket. member in android::net::FakeSocketLimited489 if (mQueries <= sLimit) { in query()496 if (mQueries == sLimit) { in query()499 return mQueries <= sLimit; in query()524 int FakeSocketLimited::sLimit; member in android::net::FakeSocketLimited528 FakeSocketLimited::sLimit = 10; // Close the socket after 10 queries. in TEST_F()537 results.reserve(FakeSocketLimited::sLimit); in TEST_F()538 for (int i = 0; i < FakeSocketLimited::sLimit; ++i) { in TEST_F()549 FakeSocketLimited::sLimit = 10; // Close the socket after 10 queries. in TEST_F()556 const int num_queries = 10 * FakeSocketLimited::sLimit; in TEST_F()