Home
last modified time | relevance | path

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

/frameworks/base/libs/protoutil/tests/
DProtoOutputStream_test.cpp211 ComplexProto::Log log1 = complex.logs(0); in TEST() local
212 EXPECT_EQ(log1.id(), 12); in TEST()
213 EXPECT_THAT(log1.name(), StrEq(name1.c_str())); in TEST()
214 EXPECT_THAT(log1.data(), StrEq("funny")); // should not contain '!' in TEST()
252 ComplexProto::Log log1 = complex.logs(0); in TEST() local
253 EXPECT_EQ(log1.id(), 12); in TEST()
254 EXPECT_THAT(log1.name(), StrEq(name1.c_str())); in TEST()
255 EXPECT_THAT(log1.data(), StrEq("funny")); // should not contain '!' in TEST()
309 ComplexProto::Log log1 = complex.logs(0); in TEST() local
310 EXPECT_FALSE(log1.has_id()); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/
DCriticalEventLogTest.java581 TestableCriticalEventLog log1 = setLogInstance(); in simulateReboot_saveAndLoadCycle() local
585 log1.logHalfWatchdog("Old subject " + i); in simulateReboot_saveAndLoadCycle()
586 log1.incTimeSeconds(1); in simulateReboot_saveAndLoadCycle()
591 assertThat(log1).isNotSameInstanceAs(log2); in simulateReboot_saveAndLoadCycle()