diff options
author | Tej Singh <singhtejinder@google.com> | 2020-07-01 18:51:43 -0700 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2020-07-01 18:56:40 -0700 |
commit | 75ad6c103fd58958551d8a0e90759223825930a1 (patch) | |
tree | 27361fdb60d4434aaa95495674883c617deb72d7 /cmds/statsd/tests/shell/ShellSubscriber_test.cpp | |
parent | 657b7d5d29708dcd9f2e969ce3a1923d280a9429 (diff) |
Remove old puller code from uid sandboxing
Uid sandboxing has been enabled for months now. Remove the old code that
ran before we flipped the flag.
Test: atest statsd_test
Bug: 152544281
Change-Id: Ib7cb79f368ef112774a278a2cf57fffc907a1099
Diffstat (limited to 'cmds/statsd/tests/shell/ShellSubscriber_test.cpp')
-rw-r--r-- | cmds/statsd/tests/shell/ShellSubscriber_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/statsd/tests/shell/ShellSubscriber_test.cpp b/cmds/statsd/tests/shell/ShellSubscriber_test.cpp index e384b6ac7c84..4fa4135e983f 100644 --- a/cmds/statsd/tests/shell/ShellSubscriber_test.cpp +++ b/cmds/statsd/tests/shell/ShellSubscriber_test.cpp @@ -190,9 +190,9 @@ TEST(ShellSubscriberTest, testPulledSubscription) { sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); const vector<int32_t> uids = {AID_SYSTEM}; - EXPECT_CALL(*pullerManager, Pull(10016, uids, _, _, _)) + EXPECT_CALL(*pullerManager, Pull(10016, uids, _, _)) .WillRepeatedly(Invoke([](int tagId, const vector<int32_t>&, const int64_t, - vector<std::shared_ptr<LogEvent>>* data, bool) { + vector<std::shared_ptr<LogEvent>>* data) { data->clear(); data->push_back(makeCpuActiveTimeAtom(/*uid=*/kUid1, /*timeMillis=*/kCpuTime1)); data->push_back(makeCpuActiveTimeAtom(/*uid=*/kUid2, /*timeMillis=*/kCpuTime2)); |