Searched refs:mTestUid (Results 1 – 1 of 1) sorted by relevance
37 : mNetSrv(netSrv), mTestUid(testUid), mSavedUid(getuid()) { in ScopeBlockedUIDRule()44 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ScopeBlockedUIDRule()47 EXPECT_TRUE(seteuid(mTestUid) == 0); in ScopeBlockedUIDRule()53 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ~ScopeBlockedUIDRule()61 const uid_t mTestUid; variable67 ScopedChangeUID(uid_t testUid) : mTestUid(testUid), mSavedUid(getuid()) { in ScopedChangeUID()68 EXPECT_TRUE(seteuid(mTestUid) == 0); in ScopedChangeUID()73 const uid_t mTestUid;