Home
last modified time | relevance | path

Searched refs:gApiLevel (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
DDnsResolver.cpp35 using android::net::gApiLevel; in resolv_init()
36 gApiLevel = getApiLevel(); in resolv_init()
41 if (gApiLevel >= 30) { in resolv_init()
59 if (gApiLevel >= 30) { in verifyCallbacks()
70 uint64_t gApiLevel = 0; variable
DDnsResolver.h52 extern uint64_t gApiLevel;
Dresolv_private.h210 if (fchown(sock, (android::net::gApiLevel >= 30) ? uid : AID_DNS, -1) == -1) { in resolv_tag_socket()
/packages/modules/DnsResolver/tests/
Dresolv_callback_unit_test.cpp46 if (android::net::gApiLevel < (version)) { \
163 const uint64_t tmpApiLevel = gApiLevel; in TEST_F()
166 gApiLevel = 30; // R in TEST_F()
175 gApiLevel = 29; // Q in TEST_F()
181 gApiLevel = tmpApiLevel; in TEST_F()