Home
last modified time | relevance | path

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

/external/libweave/src/
Dcomponent_manager_unittest.cc1212 ASSERT_EQ(4u, snapshot.state_changes.size()); in TEST_F()
1214 EXPECT_EQ("comp1", snapshot.state_changes[0].component); in TEST_F()
1215 EXPECT_EQ(time1, snapshot.state_changes[0].timestamp); in TEST_F()
1217 *snapshot.state_changes[0].changed_properties); in TEST_F()
1219 EXPECT_EQ("comp2", snapshot.state_changes[1].component); in TEST_F()
1220 EXPECT_EQ(time1, snapshot.state_changes[1].timestamp); in TEST_F()
1222 *snapshot.state_changes[1].changed_properties); in TEST_F()
1224 EXPECT_EQ("comp1", snapshot.state_changes[2].component); in TEST_F()
1225 EXPECT_EQ(time2, snapshot.state_changes[2].timestamp); in TEST_F()
1227 *snapshot.state_changes[2].changed_properties); in TEST_F()
[all …]
Dcomponent_manager.h52 std::vector<ComponentStateChange> state_changes; member
Dcomponent_manager_impl.cc464 std::back_inserter(snapshot.state_changes), conv); in GetAndClearRecordedStateChanges()
472 std::sort(snapshot.state_changes.begin(), snapshot.state_changes.end(), pred); in GetAndClearRecordedStateChanges()
Ddevice_registration_info.cc1168 if (snapshot.state_changes.empty()) in PublishStateUpdates()
1172 for (auto& state_change : snapshot.state_changes) { in PublishStateUpdates()