Home
last modified time | relevance | path

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

/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/
DVendorAtomCodeGenTest.java278 VendorAtom atom3 = funcWrapper.methodSignature( in testCreateAtomWithTruncateTimestampApiGen() local
282 assertThat(atom3.atomId).isEqualTo(VendorAtomsLog.TRUNCATE_TIMESTAMP_ATOM3); in testCreateAtomWithTruncateTimestampApiGen()
283 assertThat(atom3.reverseDomainName).isEqualTo(kTestStringValue); in testCreateAtomWithTruncateTimestampApiGen()
284 assertThat(atom3.values.length).isEqualTo(1); in testCreateAtomWithTruncateTimestampApiGen()
285 assertThat(atom3.values[0].getIntValue()).isEqualTo(kTestIntValue); in testCreateAtomWithTruncateTimestampApiGen()
287 assertThat(atom3.valuesAnnotations).isNull(); in testCreateAtomWithTruncateTimestampApiGen()
288 assertThat(atom3.atomAnnotations).isNotNull(); in testCreateAtomWithTruncateTimestampApiGen()
289 assertThat(atom3.atomAnnotations.length).isEqualTo(1); in testCreateAtomWithTruncateTimestampApiGen()
290 assertThat(atom3.atomAnnotations[0].annotationId) in testCreateAtomWithTruncateTimestampApiGen()
292 assertThat(atom3.atomAnnotations[0].value.getBoolValue()).isEqualTo(true); in testCreateAtomWithTruncateTimestampApiGen()
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_api_gen_vendor.cpp276 VendorAtom atom3 = func(TRUNCATE_TIMESTAMP_ATOM2, kTestStringValue, kTestIntValue); in TEST() local
277 EXPECT_EQ(atom3.atomId, TRUNCATE_TIMESTAMP_ATOM2); in TEST()
278 EXPECT_EQ(atom3.reverseDomainName, kTestStringValue); in TEST()
279 EXPECT_EQ(atom3.values.size(), static_cast<size_t>(1)); in TEST()
280 EXPECT_EQ(atom3.values[0].get<VendorAtomValue::intValue>(), kTestIntValue); in TEST()
281 EXPECT_NE(atom3.atomAnnotations, std::nullopt); in TEST()
282 EXPECT_EQ(atom3.atomAnnotations->size(), static_cast<size_t>(1)); in TEST()
283 EXPECT_NE(atom3.atomAnnotations.value()[0], std::nullopt); in TEST()
284 EXPECT_EQ(atom3.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST()
285 EXPECT_TRUE(atom3.atomAnnotations.value()[0]->value.get<AnnotationValue::boolValue>()); in TEST()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp1434 const SurfaceflingerStatsLayerInfo& atom3 = atomList.atom(3); in TEST_F() local
1436 EXPECT_EQ(atom3.layer_name(), genLayerName(LAYER_ID_0)); in TEST_F()
1437 EXPECT_EQ(atom3.total_frames(), 1); in TEST_F()
1438 EXPECT_EQ(atom3.dropped_frames(), 0); in TEST_F()
1439 EXPECT_THAT(atom3.present_to_present(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F()
1440 EXPECT_THAT(atom3.post_to_present(), HistogramEq(buildExpectedHistogram({4}, {1}))); in TEST_F()
1441 EXPECT_THAT(atom3.acquire_to_present(), HistogramEq(buildExpectedHistogram({3}, {1}))); in TEST_F()
1442 EXPECT_THAT(atom3.latch_to_present(), HistogramEq(buildExpectedHistogram({2}, {1}))); in TEST_F()
1443 EXPECT_THAT(atom3.desired_to_present(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F()
1444 EXPECT_THAT(atom3.post_to_acquire(), HistogramEq(buildExpectedHistogram({1}, {1}))); in TEST_F()
[all …]