Home
last modified time | relevance | path

Searched refs:TEST_UID (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_callback_unit_test.cpp33 const int TEST_UID = 99999; variable
139 .uid = TEST_UID,
158 EXPECT_EQ(testUid, TEST_UID); in TEST_F()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DHighPowerDetailTest.java47 private static final int TEST_UID = 12000; field in HighPowerDetailTest
68 mFragment.mPackageUid = TEST_UID; in setUp()
90 verify(mBatteryUtils).setForceAppStandby(TEST_UID, TEST_PACKAGE, in onClick_appAddedToDozeWhitelist_getsUnrestricted()
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt88 private const val TEST_UID = 1 constant
89 private val TEST_USER = UserHandle.getUserHandleForUid(TEST_UID)
148 return LightPackageInfo(TEST_PACKAGE_NAME, listOf(), permNames, permFlags, TEST_UID, in createMockPackage()
317 verify(aom).setUidMode(appOpName, TEST_UID, expectedMode) in verifyAppOpState()
319 verify(aom, never()).setUidMode(eq(appOpName), eq(TEST_UID), anyInt()) in verifyAppOpState()
331 verify(am).killUid(eq(TEST_UID), anyString()) in verifyAppKillState()
333 verify(am, never()).killUid(eq(TEST_UID), anyString()) in verifyAppKillState()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h86 constexpr int TEST_UID = 99999; variable
Dresolv_integration_test.cpp4004 ScopeBlockedUIDRule scopeBlockUidRule(netdService, TEST_UID); in TEST_F()
4046 ScopeBlockedUIDRule scopeBlockUidRule(netdService, TEST_UID); in TEST_F()
4064 ScopeBlockedUIDRule scopeBlockUidRule(netdService, TEST_UID); in TEST_F()
4667 for (const uid_t uid : {AID_SYSTEM, TEST_UID}) { in TEST_F()
5067 ScopeBlockedUIDRule scopeBlockUidRule(mDnsClient.netdService(), TEST_UID); in TEST_F()