Home
last modified time | relevance | path

Searched refs:configBytes (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/tests/shell/
DShellSubscriber_test.cpp266 configBytes = protoToBytes(config); in SetUp()
290 vector<uint8_t> configBytes; member in android::os::statsd::__anon791bde9e0111::ShellSubscriberCallbackTest
309 configBytes = protoToBytes(getPulledConfig()); in SetUp()
313 configBytes, callback, /* startTimeSec= */ 0, uidMap, pullerManager)); in SetUp()
344 setAtomIds(CreateAtomIdSetFromShellSubscriptionBytes(configBytes), &shellSubscriber)) in TEST_F()
347 ASSERT_TRUE(shellSubscriber.startNewSubscription(configBytes, callback)); in TEST_F()
366 setAtomIds(CreateAtomIdSetFromShellSubscriptionBytes(configBytes), &shellSubscriber)) in TEST_F()
382 results[i] = shellSubscriber.startNewSubscription(configBytes, callbacks[i]); in TEST_F()
389 EXPECT_FALSE(shellSubscriber.startNewSubscription(configBytes, callback)); in TEST_F()
407 setAtomIds(CreateAtomIdSetFromShellSubscriptionBytes(configBytes), in TEST_F()
[all …]
/packages/modules/StatsD/lib/libstatspull/tests/
Dstats_subscription_test.cpp143 string configBytes; in TEST_F() local
144 config.SerializeToString(&configBytes); in TEST_F()
152 subId = AStatsManager_addSubscription(reinterpret_cast<const uint8_t*>(configBytes.data()), in TEST_F()
153 configBytes.size(), &callback, &callbackData); in TEST_F()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriberClient.cpp46 static optional<ReadConfigResult> readConfig(const vector<uint8_t>& configBytes, in readConfig() argument
50 if (!config.ParseFromArray(configBytes.data(), configBytes.size())) { in readConfig()