Searched refs:TEST_UID (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/ |
D | resolv_callback_unit_test.cpp | 33 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/ |
D | HighPowerDetailTest.java | 47 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/ |
D | GrantRevokeTests.kt | 88 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/ |
D | resolv_test_utils.h | 86 constexpr int TEST_UID = 99999; variable
|
D | resolv_integration_test.cpp | 4004 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()
|