Searched refs:state_changes (Results 1 – 4 of 4) sorted by relevance
/external/libweave/src/ |
D | component_manager_unittest.cc | 1212 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 …]
|
D | component_manager.h | 52 std::vector<ComponentStateChange> state_changes; member
|
D | component_manager_impl.cc | 464 std::back_inserter(snapshot.state_changes), conv); in GetAndClearRecordedStateChanges() 472 std::sort(snapshot.state_changes.begin(), snapshot.state_changes.end(), pred); in GetAndClearRecordedStateChanges()
|
D | device_registration_info.cc | 1168 if (snapshot.state_changes.empty()) in PublishStateUpdates() 1172 for (auto& state_change : snapshot.state_changes) { in PublishStateUpdates()
|