Searched refs:atom1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_api_gen_vendor.cpp | 250 VendorAtom atom1 = func(TRUNCATE_TIMESTAMP_ATOM1, kTestStringValue, in TEST() local 252 EXPECT_EQ(atom1.atomId, TRUNCATE_TIMESTAMP_ATOM1); in TEST() 253 EXPECT_EQ(atom1.reverseDomainName, kTestStringValue); in TEST() 254 EXPECT_EQ(atom1.values.size(), static_cast<size_t>(1)); in TEST() 255 EXPECT_EQ(atom1.values[0].get<VendorAtomValue::intValue>(), in TEST() 257 EXPECT_NE(atom1.atomAnnotations, std::nullopt); in TEST() 258 EXPECT_EQ(atom1.atomAnnotations->size(), static_cast<size_t>(1)); in TEST() 259 EXPECT_NE(atom1.atomAnnotations.value()[0], std::nullopt); in TEST() 260 EXPECT_EQ(atom1.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST() 261 EXPECT_TRUE(atom1.atomAnnotations.value()[0]->value.get<AnnotationValue::boolValue>()); in TEST()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 1398 const SurfaceflingerStatsLayerInfo& atom1 = atomList.atom(1); in TEST_F() local 1400 EXPECT_EQ(atom1.layer_name(), genLayerName(LAYER_ID_0)); in TEST_F() 1401 EXPECT_EQ(atom1.total_frames(), 1); in TEST_F() 1402 EXPECT_EQ(atom1.dropped_frames(), 0); in TEST_F() 1403 EXPECT_THAT(atom1.present_to_present(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F() 1404 EXPECT_THAT(atom1.post_to_present(), HistogramEq(buildExpectedHistogram({4}, {1}))); in TEST_F() 1405 EXPECT_THAT(atom1.acquire_to_present(), HistogramEq(buildExpectedHistogram({3}, {1}))); in TEST_F() 1406 EXPECT_THAT(atom1.latch_to_present(), HistogramEq(buildExpectedHistogram({2}, {1}))); in TEST_F() 1407 EXPECT_THAT(atom1.desired_to_present(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F() 1408 EXPECT_THAT(atom1.post_to_acquire(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F() [all …]
|