| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Aosp/2071247 read an experimental flag max_queries_global in
OperationLimiter::start(), making the generic class OperationLimiter
specific. This commit adds a wrapper function to pass the global
limiter, allowing OperationLimiter to remain generic.
Bug: 230284143
Test: atest resolv_unit_test:OperationLimiterTest
Change-Id: I7b14ace9d27a87b3832e1c807d762850feeab5fe
|
| |
|
|
|
|
|
|
|
|
| |
NetNativeTestBase is a util class using for logging test life
cycle. So replace ResolvTestBase with NetNativeTestBase which is
same usage.
Bug: 223731710
Test: cd packages/modules/DnsResolver then atest
Change-Id: I5dd8d698ef98df254bcffba56d9f51cf5a35f231
|
| |
|
|
|
|
|
|
|
|
| |
Some of the tests are defined by TEST() that can't be logged.
Change to use TEST_F().
Bug: 223731710
Test: atest
Test: doh_ffi_test
Change-Id: Ic249256dccc27b65508a7bad8189c22c6e9c4fd1
|
|
|
OperationLimiter logically belongs with its only customer, DnsResolver.
I added OperationLimiter to libnetdutils for code sharing, but it turns
out netd doesn't have any need for this because it doesn't include other
threaded servers.
Change-Id: Id48cd47c6d257b63a276efb91bd3b270357c8c13
|