Searched refs:mTestUid (Results 1 – 1 of 1) sorted by relevance
45 : mNetSrv(netSrv), mTestUid(testUid), mSavedUid(getuid()) { in ScopeBlockedUIDRule()54 EXPECT_RESULT_OK(mFw->addRule(mTestUid, STANDBY_MATCH)); in ScopeBlockedUIDRule()58 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ScopeBlockedUIDRule()62 EXPECT_TRUE(seteuid(mTestUid) == 0); in ScopeBlockedUIDRule()69 EXPECT_RESULT_OK(mFw->removeRule(mTestUid, STANDBY_MATCH)); in ~ScopeBlockedUIDRule()72 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ~ScopeBlockedUIDRule()83 const uid_t mTestUid; variable116 ScopedChangeUID(uid_t testUid) : mTestUid(testUid), mSavedUid(getuid()) { in ScopedChangeUID()117 EXPECT_TRUE(seteuid(mTestUid) == 0); in ScopedChangeUID()122 const uid_t mTestUid;