Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkStatsApiTest.kt69 private const val TEST_UID2 = 1002 constant
89 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp()
101 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp()
106 .addEntry(Entry(IFACE_VT, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp()
118 .addEntry(Entry(IFACE_VT, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp()
127 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp()
141 Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in testAddEntry()
145 Entry(IFACE_VT, TEST_UID2, SET_DEFAULT, TAG_NONE, in testAddEntry()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java67 private final static int TEST_UID2 = 11112; field in HelpersTest
170 TEST_UID1, TEST_UID2, TEST_UID3 in testHandleRemovedUidEntries()
173 TEST_UID1, TEST_UID2 in testHandleRemovedUidEntries()
216 final MatrixCursor cursor2 = prepareData(new int[] {TEST_UID2}, unknownUids, in testHandleRemovedUidEntries()
222 Helpers.handleRemovedUidEntries(context, downloadProvider, TEST_UID2); in testHandleRemovedUidEntries()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h87 constexpr int TEST_UID2 = 99998; variable
Dresolv_integration_test.cpp6533 ASSERT_RESULT_OK(secureVpnNetwork.addUser(TEST_UID2)); in TEST_F()
6621 EXPECT_RESULT_OK(secureVpnNetwork.enableVpnIsolation(TEST_UID2)); in TEST_F()
6629 expectDnsWorksForUid(host_name, selectedNetwork->netId(), TEST_UID2, result); in TEST_F()
6638 expectDnsWorksForUid(host_name, selectedNetwork->netId(), TEST_UID2, result); in TEST_F()
6643 EXPECT_RESULT_OK(secureVpnNetwork.disableVpnIsolation(TEST_UID2)); in TEST_F()