Home
last modified time | relevance | path

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

/system/core/storaged/tests/
Dstoraged_test.cpp596 map<string, io_usage> merged_entries_0 = merge_io_usage(entries_0); in TEST() local
597 EXPECT_EQ(merged_entries_0.size(), 2UL); in TEST()
598 EXPECT_EQ(merged_entries_0.count("app1"), 1UL); in TEST()
599 EXPECT_EQ(merged_entries_0.count("app2"), 1UL); in TEST()
600 EXPECT_EQ(merged_entries_0["app1"].bytes[READ][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
601 EXPECT_EQ(merged_entries_0["app1"].bytes[WRITE][FOREGROUND][CHARGER_ON], 2000UL); in TEST()
602 EXPECT_EQ(merged_entries_0["app2"].bytes[READ][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()